/* =========================
  CSS RESET & BASE STYLES
========================= */
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-size: 100%; font: inherit; vertical-align: baseline; box-sizing: border-box;
}
html { box-sizing: border-box; font-size: 100%; scroll-behavior: smooth; }
*, *:before, *:after {box-sizing: inherit;}
body {
  min-height: 100vh;
  background: #fff;
  color: #222;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
}
img {max-width: 100%; display: block;}
a {text-decoration: none; color: inherit; transition: color 0.2s;}
button, input, textarea, select {
  font-family: inherit; font-size: inherit; outline: none; border: none; background: none;
}
ul, ol {list-style: none;}
h1, h2, h3, h4, h5, h6  {
  font-family: 'EB Garamond', Garamond, Georgia, serif;
  color: #2B2F3A;
}
strong {font-weight: 700; color: #2B2F3A;}

/* =====================
  TYPOGRAPHY SCALE
====================== */
h1 { font-size: 2.8rem; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; margin-bottom: 20px; }
h2 { font-size: 2.2rem; line-height: 1.18; font-weight: 600; margin-bottom: 16px; }
h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 600; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; }
p, ul, ol, dl, li, dd, dt { font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif; font-size: 1rem; margin-bottom: 12px; color: #222; }
.text-section > h2,
.text-section > h3 { margin-top: 30px; }
.text-section > p:last-child,
.text-section > ul:last-child,
.text-section > ol:last-child {margin-bottom: 0;}

/* ======================
  LAYOUT CONTAINERS
======================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.text-section { max-width: 750px; }

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(30,35,50,.05);
}
.section:last-child, section:last-child { margin-bottom: 0; }

/* ================================
  FLEXBOX SPACING & CARD PATTERNS
================================= */
.card-container, .feature-grid, .card-grid, .portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 10px 0 rgba(30,35,45,.08);
  padding: 26px 22px 26px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 320px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 4px 26px 0 rgba(20,25,30,.14);
  transform: translateY(-5px) scale(1.015);
  z-index: 1;
}

.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: flex-start;
  gap: 20px;
  padding: 20px 32px 20px 32px;
  margin-bottom: 24px;
  background: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 1.5px 12px rgba(20,24,28,.07);
  border: 1px solid #e0e0e0;
  max-width: 660px;
}
.testimonial-card p {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #222;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-card strong {
  font-weight: 700;
  font-size: 1rem;
  color: #2B2F3A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 200px;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 2.5px;
  margin-bottom: 3px;
}

/* ============================
  HEADER & NAVIGATION BAR
============================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(40,40,45,.04);
  border-bottom: 1.5px solid #ededed;
  margin-bottom: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 75px;
}
header a img { height: 44px; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #323436;
  font-size: 1.06rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .15s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #2B2F3A;
}
.main-nav a.active, .main-nav a[aria-current="page"] {
  font-weight: 700;
  border-bottom: 2.5px solid #2B2F3A;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2B2F3A;
  color: #FFF;
  font-family: 'EB Garamond', serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 30px;
  box-shadow: 0 2px 14px rgba(40,40,55,.10);
  border: none;
  letter-spacing: .01em;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
  cursor: pointer;
  margin-left: 23px;
}
.cta-button:hover,
.cta-button:focus {
  background: #9E8A6D;
  color: #fff;
  transform: translateY(-2.5px) scale(1.025);
  box-shadow: 0 6px 22px 0 rgba(50,40,30,0.10);
}

button {
  cursor: pointer;
  transition: background .18s, color .18s;
}

/* Burger - Hide on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #2B2F3A;
  z-index: 70;
  margin-left: 18px;
  transition: color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #9E8A6D;
}

/* ===============================
  MOBILE NAVIGATION OVERLAY MENU
================================ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(43,47,58,0.97);
  box-shadow: 0 0 22px 8px rgba(40,40,45,.08);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform .37s cubic-bezier(.86,.12,.39,.96);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 27px 28px 0 0;
  transition: color .2s;
  z-index: 1100;
}
.mobile-menu-close:hover {color: #ECDCC0;}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
  width: 100vw;
  align-items: flex-start;
  padding: 0 38px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 6px 0;
  letter-spacing: 0.01em;
  transition: color .19s, background .19s;
  border-radius: 8px;
  min-width: 70vw;
}
.mobile-nav a:hover {
  color: #ECDCC0;
  background: rgba(255,255,255,0.03);
}

/* =============================
  HERO & FEATURE SECTIONS
============================= */
.hero-section {
  background: #f7f7f7;
  padding: 65px 0 55px 0;
  display: flex;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 15px;
  max-width: 850px;
  margin: 0 auto;
}
.hero-section h1 {color: #2B2F3A;}
.hero-section p {font-size: 1.28rem; max-width: 650px; margin-bottom: 22px; color: #363636;}
.hero-section .cta-button {margin-top: 14px;}

.features-section {
  background: #fff;
}
.feature-grid {
  gap: 28px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature-grid li {
  flex: 1 1 290px;
  background: #faf9f8;
  border-radius: 15px;
  box-shadow: 0 1.5px 12px rgba(30,34,36,.05);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 22px 0 rgba(50,45,35,0.08);
  transform: translateY(-4px) scale(1.009);
}
.feature-grid img {height: 48px; width: auto; margin-bottom: 12px;}
.feature-grid h3 {font-size: 1.18rem; color: #2B2F3A; margin-bottom: 7px;}
.feature-grid p {font-size: 0.99rem; color: #434343;}

.about-short-section,
.cta-section, .faq-preview-section, .thank-you-section, .privacy-section, .gdpr-section, .terms-section, .cookie-policy-section {
  background: #fff;
  box-shadow: 0 1.5px 12px rgba(40,40,60,.06);
}

.services-section {
  background: #fafafa;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(40,40,45,.06);
}

/* =========================
  TESTIMONIALS & FAQ CARDS
========================= */
.testimonials-section, .testimonials-preview-section {
  background: #f7f7f7;
  border-radius: 14px;
}
.faq-section, .faq-preview-section {
  background: #fafafa;
}

.faq-section dl {
  margin: 0 0 36px 0;
}
.faq-section dt {
  font-weight: 600;
  font-size: 1.14rem;
  color: #2B2F3A;
  margin-bottom: 2px;
}
.faq-section dd {
  margin-bottom: 18px;
  margin-left: 12px;
  color: #333;
  font-size: 1.01rem;
  line-height: 1.55;
}

.faq-preview-section ul, .faq-section ul {
  margin-left: 18px;
}
.faq-preview-section li, .faq-section li {
  margin-bottom: 13px;
  font-size: 1rem;
}

/* =========================
  FOOTER LAYOUT & STYLES
========================= */
footer {
  background: #2B2F3A;
  color: #fff;
  padding: 55px 0 24px 0;
  box-shadow: 0 4px 16px 0 rgba(40,40,60,0.10) inset;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #f2f2f2 !important;
  font-size: 1rem;
  font-weight: 500;
  transition: color .18s;
  position: relative;
  padding: 4px 0;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #ECDCC0;
}
.footer-nav .cta-button {
  background: #ECDCC0;
  color: #2B2F3A;
  margin-left: 17px;
}
.footer-nav .cta-button:hover {background: #9E8A6D; color: #fff;}

.brand-credits {
  text-align: center;
  font-size: 1.05rem;
  color: #b2b2b8;
  margin-top: 4px;
}
.brand-credits strong {
  color: #ECDCC0;
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
}

/* =============================
  COOKIE CONSENT COMPONENTS
============================= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #323436;
  color: #FFF;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 22px 15px 18px 15px;
  z-index: 1900;
  box-shadow: 0 -2px 20px 0 rgba(40,40,60,0.13);
  transition: transform .22s cubic-bezier(.6,.3,.5,1.02), opacity .22s;
  font-size: 1rem;
}
.cookie-consent-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-consent-banner button {
  padding: 6px 22px;
  border-radius: 19px;
  background: #ECDCC0;
  color: #2B2F3A;
  font-size: 1rem;
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  border: none;
  margin-left: 0;
  transition: background .17s, color .17s;
  box-shadow: 0 2px 8px rgba(60,60,55,0.10);
}
.cookie-consent-banner button:hover {background: #fff; color: #2B2F3A;}
.cookie-consent-banner button:active {background: #ECDCC0;}
.cookie-consent-banner .cookie-settings-btn {
  background: none;
  color: #fff;
  border: 1.2px solid #ECDCC0;
  padding: 6px 19px;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: #ECDCC0;
  color: #222;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(43,47,58,.84);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #222;
  padding: 36px 26px 26px 26px;
  border-radius: 12px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 12px 40px 0 rgba(30,32,42,0.19);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-family: 'EB Garamond', serif;
  color: #2B2F3A;
  font-size: 1.48rem;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 16px;
  border: none;
  background: none;
  font-size: 1.35rem;
  color: #2B2F3A;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin: 17px 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #2B2F3A;
  width: 20px; height: 20px;
}
.cookie-category label {
  font-size: 1.02rem;
  font-weight: 500;
}
.cookie-category .always-on {
  color: #666;
  font-size: 0.94rem;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 7px 25px;
  border-radius: 19px;
  background: #ECDCC0;
  color: #2B2F3A;
  border: none;
  font-size: 1rem;
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  transition: background .17s, color .17s;
}
.cookie-modal button:hover {background: #9E8A6D; color: #fff;}

/* =========================
  SPECIAL PAGE SECTIONS
========================= */
.appointment-section, .contact-section, .about-section, .benefits-section, .portfolio-intro-section, .case-studies-section, .process-section, .review-cta-section, .values-section {
  background: #fff;
  box-shadow: 0 1.5px 10px 0 rgba(30,35,55,.04);
  border-radius: 16px;
}

.case-studies-section ul, .portfolio-intro-section ul, .about-section ul {
  margin-left: 22px;
}
.case-studies-section li, .portfolio-intro-section li, .about-section li {
  margin-bottom: 12px;
  font-size: 1.02rem;
}

/* CONTACT LIST */
.contact-section ul {
  margin: 20px 0;
}
.contact-section li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  font-size: 1.07rem;
}
.contact-section li img {width: 26px; height: 26px;}
.contact-section a:hover {color: #9E8A6D;}
.contact-section strong {color: #2B2F3A;}

/* =========================
   VISUAL ELEMENTS
========================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: 0 1.5px 16px 0 rgba(30,35,40,.04);
}
section:last-child {margin-bottom:0;}

/* =========================
    ANIMATIONS & STATES
========================= */
.cta-button, .card, .feature-grid li, .testimonial-card, .main-nav a, .footer-nav a, .mobile-nav a, .cookie-consent-banner, .cookie-modal {
  transition: box-shadow .16s, background .19s, color .15s, border .13s, transform .18s;
}

/* Scroll Animations (Fade-in up) */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(0.22,0.61,0.36,1), transform .9s cubic-bezier(0.22,0.61,0.36,1);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* =========================
      RESPONSIVE DESIGN
========================= */
@media (max-width: 1150px) {
  .container {max-width: 98vw;}
}
@media (max-width: 900px) {
  .feature-grid li, .card { min-width: 190px; }
  footer .container {padding: 0 7px;}
  .container {padding: 0 8px;}
}
@media (max-width: 768px) {
  html {font-size: 96%;}
  h1 {font-size: 2rem;}
  h2 {font-size: 1.25rem;}
  .section, section {
    margin-bottom: 38px;
    padding: 26px 8px;
    border-radius: 13px;
  }
  .hero-section, .features-section,.about-short-section,.testimonials-preview-section,.faq-preview-section,
  .faq-section, .cta-section, .services-section, .appointment-section, .privacy-section, .gdpr-section, .terms-section, .cookie-policy-section {
    padding: 28px 8px;
  }
  .feature-grid, .card-container, .card-grid, .portfolio-grid {flex-direction: column; gap: 16px;}
  .feature-grid li, .card {
    padding: 18px 12px;
    min-width: 0;
    margin-bottom: 15px;
  }
  .testimonials-section .testimonial-card {padding: 15px 9px;}
  .testimonial-card {
    padding: 15px 8px;
    margin-bottom: 17px;
  }
  .main-nav {display: none; visibility: hidden;}
  .cta-button {padding: 9px 18px; font-size: 1rem;}
  header .container {flex-direction: row; padding: 0 9px;}
  .mobile-menu-toggle {display: block;}
}
@media (max-width: 540px) {
  .container {padding: 0 5px;}
  h1 {font-size: 1.25rem;}
  h2 {font-size: 1.08rem;}
  .cta-button {padding: 7px 12px; font-size: .97rem;}
  header a img {height: 36px;}
}
@media (max-width: 410px) {
  .cookie-modal {min-width: 85vw;max-width: 97vw;}
  .cookie-modal h2 {font-size: 1rem;}
}
/* NAV: Hide burger on desktop */
@media (min-width: 769px) {
  .mobile-menu {display: none !important;}
  .mobile-menu-toggle {display: none !important;}
  .main-nav {display: flex !important;}
}

/* ===========================
    MONOCHROME BRAND PALETTE
============================ */
body {
  background: #fafcff;
  color: #222;
}
h1, h2, h3, h4 {
  color: #2B2F3A;
}
a, .main-nav a, .footer-nav a {
  color: #2B2F3A;
}
.cta-button, .footer-nav .cta-button {
  background: #2B2F3A;
  color: #FFF;
}
.cta-button:hover, .footer-nav .cta-button:hover {
  background: #9E8A6D;
  color: #FFF;
}
footer {
  background: #2B2F3A;
  color: #fff;
}
footer .brand-credits strong {
  color: #ECDCC0;
}

.feature-grid li {
  background: #f8f8f7;
  border: 1px solid #f0f0ef;
}

/* Testimonials readable: dark text on light background for contrast */
.testimonial-card {
  background: #f9f9f9;
  color: #181818;
}
.testimonial-card p, .testimonial-card strong {color: #2B2F3A;}

/* ===========================
    MICRO-INTERACTIONS
============================ */
.cta-button:active {transform: scale(.96);}
.feature-grid li:active {transform: scale(.99);}
.card:active {transform: scale(.97);}
.main-nav a:active {color: #ECC998;}

/* ===========================
   HIDE FOCUS OUTLINES ON MOUSE, SHOW ON TAB
=========================== */
:focus {outline: none;}
button:focus-visible, a:focus-visible, .cta-button:focus-visible {
  outline: 2px solid #ECDCC0;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #ECDCC040;
}

/* ===========================
   PRINT STYLES
=========================== */
@media print {
  * {background: #fff !important; color: #000 !important; box-shadow: none !important;}
  a, a:visited {color: #000 !important; text-decoration: underline;}
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {display: none !important;}
  .cta-button {display: none !important;}
}

/* =====================================
  CUSTOM UTILITY CLASSES IF NEEDED
====================================== */
.mt-0 {margin-top:0 !important;}
.mb-0 {margin-bottom:0 !important;}
.mt-2 {margin-top:2px !important;}
.mt-12 {margin-top:12px !important;}
.gap-30 {gap:30px !important;}
.gap-20 {gap:20px !important;}
.gap-24 {gap:24px !important;}

/* ===============
   END OF STYLES
================ */