/* --- CSS RESET & BASE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header,
hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F4F0EA;
  color: #1A2639;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; vertical-align: middle; }
ul, ol { list-style: none; }
strong { font-weight: bold; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
  box-shadow: none;
}

/* ----------------------------
   TYPOGRAPHY
---------------------------- */
h1, h2, h3, h4, .cta-btn {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #1A2639;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #1A2639;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #1A2639;
}
.subheadline {
  font-size: 1.25rem;
  color: #8C715A;
  font-weight: 500;
  margin-bottom: 28px;
}
p, li {
  color: #333;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}
blockquote {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.25rem;
  color: #1A2639;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  quotes: "\201C" "\201D" "\2018" "\2019";
}

/* ----------------------------
   LAYOUT CONTAINERS
---------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 870px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.text-section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 28px rgba(26,38,57,0.09);
  padding: 32px;
  margin-bottom: 24px;
}
/* SPACING AND ALIGNMENT PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26,38,57,0.10);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
  padding: 20px 24px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(26,38,57,0.18);
  transform: translateY(-3px);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 20px rgba(26,38,57,0.09);
  margin-bottom: 24px;
  padding: 20px 28px;
  min-width: 0;
}
.testimonial-author {
  color: #8C715A;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(26,38,57,0.12);
  padding: 28px 20px 22px 20px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.feature-item:hover {
  box-shadow: 0 8px 28px rgba(26,38,57,0.18);
  transform: translateY(-2px) scale(1.03);
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.service-list li, .feature-grid li {
  margin-bottom: 14px;
  font-size: 1rem;
}
/* ----------------------------
   HEADER & NAVIGATION
---------------------------- */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(26,38,57,0.07);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header img {
  height: 42px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Playfair Display', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: #1A2639;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #8C715A;
  color: #fff;
}
.cta-btn {
  background: #1A2639;
  color: #fff;
  border-radius: 12px;
  font-size: 1.09rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 13px 32px;
  margin-left: 10px;
  box-shadow: 0 2px 16px rgba(26,38,57,0.096);
  transition: background 0.16s, color 0.18s, transform 0.18s;
  border: 2px solid #1A2639;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #8C715A;
  color: #fff;
  border-color: #8C715A;
  transform: translateY(-2px) scale(1.04);
}

/* ----------------------------
   MOBILE NAVIGATION
---------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #8C715A;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  padding: 5px 17px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.15s, color 0.14s, box-shadow 0.16s;

}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #1A2639;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,38,57,0.12);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,38,57,0.98);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.78,0.09,0.46,1.08);
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #fff;
  color: #1A2639;
  border: none;
  font-size: 2rem;
  margin: 16px 24px 0 0;
  padding: 5px 16px;
  border-radius: 7px;
  cursor: pointer;
  z-index: 10001;
  transition: background 0.15s, color 0.14s, box-shadow 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #8C715A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-left: 32px;
  margin-top: 48px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Playfair Display', Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 0 10px 0;
  border-radius: 3px;
  transition: color 0.15s, background 0.14s;
  min-width: 200px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8C715A;
  color: #fff;
  padding-left: 10px;
}

@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .content-wrapper { max-width: 99vw; }
}
@media (max-width: 960px) {
  .container { max-width: 98vw; }
  .main-nav a { font-size: 0.95rem; }
  .cta-btn { font-size: 1rem; }
}
@media (max-width: 820px) {
  .feature-grid { gap: 14px; }
}
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .content-wrapper { padding-left: 0; padding-right: 0; }
  header .container {
    flex-direction: row;
    padding-top: 14px; padding-bottom: 14px;
    align-items: center;
    gap: 10px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn { margin-left: 4px; }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 16px;
    flex-direction: column;
  }
  .feature-item, .card {
    min-width: unset;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .section { padding: 32px 0 28px 0; margin-bottom: 36px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.23rem; }
  .cta-btn { font-size: 0.99rem; padding: 11px 17px; }
  .feature-item img {
    width: 36px; height: 36px;
  }
  .feature-item,
  .card,
  .testimonial-card,
  .text-section {
    padding: 15px 10px 14px 10px;
  }
}

/* ----------------------------
   FOOTER
---------------------------- */
footer {
  background: #1A2639;
  color: #fff;
  margin-top: 54px;
  padding: 44px 0 34px 0;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  box-shadow: 0 -5px 20px rgba(26,38,57,0.11);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
}
.footer-logo img {
  height: 52px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 3px rgba(140, 113, 90, 0.07));
}
.footer-contact, .footer-links, .footer-social {
  min-width: 180px;
  margin-right: 20px;
}
.footer-contact h3, .footer-links h3, .footer-social h3 {
  color: #F4F0EA;
  font-size: 1.14rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.footer-contact p, .footer-links ul, .footer-social a {
  color: #DECCC2;
  font-size: 1rem;
  margin-bottom: 5px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}
.footer-links a {
  color: #DECCC2;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  transition: color 0.14s, font-weight 0.08s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #8C715A;
  font-weight: bold;
}
.footer-social a {
  margin-right: 12px;
  display: inline-block;
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, box-shadow 0.14s;
  box-shadow: 0 2px 10px rgba(26,38,57,0.12);
}
.footer-social a:hover, .footer-social a:focus {
  background: #8C715A;
}
.footer-social img { width: 24px; height: 24px; filter: none; }

@media (max-width: 940px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .footer-logo img { margin-bottom: 4px; }
}
@media (max-width: 540px) {
  footer {
    padding: 26px 0 18px 0;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }
  .footer-logo img {
    height: 40px;
  }
}

/* ----------------------------
   BUTTONS, FORMS, LISTS
---------------------------- */
button, .cta-btn {
  font-family: 'Playfair Display', Helvetica, Arial, sans-serif;
  font-weight: bold;
  border: none;
  cursor: pointer;
  outline: none;
}
.cta-btn:active {
  transform: scale(0.97);
}
ul, .service-list {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list span {
  color: #8C715A;
  font-size: 1rem;
  font-weight: bold;
  margin-left: 7px;
}

/* -----------------------------
   HERO, SECTIONS & UTILITIES
----------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0px;
  width: 100%;
  border-radius: 18px;
}
section > .container > .content-wrapper {
  margin-bottom: 0;
  padding-bottom: 0;
}
.feature-grid, .feature-item {
  width: 100%;
}

/* ----------------------------
   TESTIMONIALS CARDS
---------------------------- */
.testimonial-card {
  background: #fff;
  color: #1A2639;
  border-left: 6px solid #8C715A;
  margin-bottom: 22px;
  padding: 20px 34px 24px 28px;
  box-shadow: 0 4px 12px rgba(26,38,57,0.08);
  max-width: 570px;
  width: 100%;
}
.testimonial-card blockquote {
  font-size: 1.18rem;
  color: #1A2639;
  margin-bottom: 13px;
  quotes: none !important;
}
.testimonial-card .testimonial-author {
  color: #8C715A;
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-weight: bold;
}
@media (max-width: 540px) {
  .testimonial-card {
    padding: 12px 7vw 13px 14px;
    font-size: 1rem;
  }
}

/* ------------------------
   COOKIE CONSENT BANNER
------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1A2639;
  color: #F4F0EA;
  z-index: 99999;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 32px;
  justify-content: space-between;
  box-shadow: 0 -6px 40px rgba(26,38,57,0.18);
  gap: 32px;
  transition: transform 0.18s, opacity 0.18s;
}
.cookie-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
}
.cookie-banner .cookie-banner-text {
  font-size: 1rem;
  flex: 1 0 200px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  font-family: 'Playfair Display', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 9px;
  padding: 7px 24px;
  margin: 0;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  box-shadow: 0 2px 10px rgba(26,38,57,0.14);
}
.cookie-btn.accept {
  background: #8C715A;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #1A2639;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #1A2639;
  border: 2px solid #8C715A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #8C715A;
  color: #fff;
}
.cookie-btn.settings {
  background: #F4F0EA;
  color: #8C715A;
  border: 2px solid #8C715A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #8C715A;
  color: #fff;
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 17px 12px;
  }
  .cookie-banner .cookie-btns { gap: 8px; }
}
/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top: 0; bottom: 0;
  background: rgba(26,38,57,0.82);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: cookieModalFadeIn 0.28s;
}
.cookie-modal.hide {
  display: none;
  pointer-events: none;
  opacity: 0;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #1A2639;
  border-radius: 22px;
  padding: 34px 20px 25px 26px;
  width: 98vw;
  max-width: 420px;
  box-shadow: 0 8px 40px rgba(26,38,57,0.19);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 19px;
  background: #8C715A;
  color: #fff;
  border: none;
  font-size: 1.13rem;
  border-radius: 6px;
  padding: 3px 16px;
  cursor: pointer;
  transition: background 0.11s, color 0.11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #1A2639;
}
.cookie-modal-content h2 {
  font-size: 1.18rem;
  color: #1A2639;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.015rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #8C715A;
  width: 22px;
  height: 22px;
}
.cookie-category .essential {
  color: #8C715A;
  font-weight: 700;
}

/* -----------------------------
   MICRO-INTERACTIONS & EFFECTS
----------------------------- */
.card, .feature-item, .testimonial-card, .cta-btn, .cookie-btn, .footer-social a, .mobile-menu-toggle,
.main-nav a, .mobile-nav a, .mobile-menu-close, .cookie-modal-close {
  transition: box-shadow 0.18s, background 0.17s, color 0.15s, transform 0.11s;
}

/* -----------------------------
   VISUAL STYLE & GEOMETRY
----------------------------- */
.card, .feature-item, .testimonial-card, .text-section,
footer, .cookie-banner, .cookie-modal-content {
  border-radius: 20px;
}

/* BOLD GEOMETRIC SEPARATORS */
h2:not(:first-child) {
  border-top: 3px solid #8C715A;
  padding-top: 20px;
  margin-top: 25px;
}
@media (max-width: 540px){
  h2:not(:first-child) { margin-top: 18px; padding-top: 13px; }
}

/* -----------------------------
   MISCELLANEOUS
----------------------------- */
::-webkit-selection, ::selection {
  background: #8C715A;
  color: #fff;
}
hr {
  height: 3px;
  border: none;
  background: #8C715A;
  border-radius: 2px;
  margin: 28px 0;
}

/* ----------- END ------------ */
