/* =============================================
   YASMINE VARANAI — GLOBAL STYLESHEET
   Warm Sage-Gold-Sand Palette · 1200px Max Width
   ============================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Warm elegant palette — NO dark/black */
  --sand-50: #FDFBF7;
  --sand-100: #F9F4EC;
  --sand-200: #F0E8DA;
  --sand-300: #E5D9C7;
  --sand-400: #D4C5AC;
  --sage-500: #8B9A7E;
  --sage-600: #6E8060;
  --sage-700: #566A4A;
  --warm-800: #5C4F3D;
  --warm-900: #3D3229;
  --gold-400: #C9A86C;
  --gold-500: #B89455;
  --gold-600: #A67C52;
  --terra-500: #B87D5E;
  --terra-600: #9A6648;
  --white: #FFFFFF;
  --text-primary: #3D3229;
  --text-secondary: #6B5D4F;
  --text-muted: #9A8E80;
  --border: #E8DFD2;
  --border-light: #F0EAE0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-w: 1200px;
  --nav-h: 70px;
  --section-gap: 96px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--sand-50);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}
/* Aggressive overflow containment — prevents any child overflow issues on mobile */
img, video, iframe, svg { max-width: 100%; }
section, .hero, .inner-hero, .page-hero { overflow: hidden; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
h2 em, h1 em { font-style: italic; color: var(--sage-600); }

.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.01em;
}
.btn--primary { background: var(--sage-600); color: var(--white); }
.btn--primary:hover { background: var(--sage-700); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(110,128,96,0.25); }
.btn--outline { background: transparent; color: var(--text-primary); border: 1.5px solid var(--border); }
.btn--outline:hover { border-color: var(--sage-600); color: var(--sage-600); }
.btn--white { background: var(--white); color: var(--text-primary); }
.btn--white:hover { background: var(--sand-100); }
.btn--ghost { background: rgba(255,255,255,0.12); color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(253,251,247,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; flex-direction: column; line-height: 1.2; }
.nav__logo-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--text-primary); }
.nav__logo-sub { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav__links a { font-size: 0.84rem; font-weight: 500; color: var(--text-secondary); transition: color 0.3s var(--ease); }
.nav__links a:hover { color: var(--sage-600); }
.nav__cta { font-size: 0.8rem !important; font-weight: 600 !important; color: var(--white) !important; background: var(--sage-600); padding: 9px 22px; border-radius: 5px; transition: background 0.3s var(--ease) !important; }
.nav__cta:hover { background: var(--sage-700) !important; }

/* Dropdown (Areas menu) */
.nav__dropdown { position: relative; }
.nav__dropdown > a { cursor: pointer; display: inline-flex; align-items: center; gap: 2px; }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(61,50,41,0.1);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0.25s;
  display: flex;
  flex-direction: column;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0s;
}
.nav__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all 0.2s ease;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 500;
}
.nav__dropdown-menu a:hover {
  background: var(--sand-100);
  color: var(--sage-700);
}
.nav__dropdown-menu a::after { display: none !important; }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav__hamburger span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: 0.3s; }
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--sand-50); z-index: 999; padding: 24px 28px; overflow-y: auto; }
.mobile-menu.active { display: block; }
.mobile-menu > a { display: block; font-family: var(--font-display); font-size: 1.3rem; padding: 14px 0; border-bottom: 1px solid var(--border-light); color: var(--text-primary); text-decoration: none; }
.mobile-menu > a:last-child { border: none; margin-top: 20px; background: var(--sage-600); color: var(--white); text-align: center; border-radius: 8px; padding: 14px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; }

/* Collapsible "Areas" group */
.mobile-menu__group {
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu__toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.mobile-menu__chevron {
  font-size: 0.9rem;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  color: var(--sage-600);
}
.mobile-menu__group.open .mobile-menu__chevron {
  transform: rotate(180deg);
}
.mobile-menu__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22,1,0.36,1);
}
.mobile-menu__group.open .mobile-menu__submenu {
  max-height: 600px;
}
.mobile-menu__submenu a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 0 10px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 2px solid var(--border-light);
  margin-left: 4px;
}
.mobile-menu__submenu a:hover { color: var(--sage-600); border-left-color: var(--sage-500); }
.mobile-menu__submenu a:last-child { margin-bottom: 10px; }

/* ===================== HERO (Home only — in index.html) ===================== */

/* ===================== STATS BAR ===================== */
.stats-bar { background: var(--sand-200); border-bottom: 1px solid var(--sand-300); }
.stats-bar__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats-bar__item { text-align: center; padding: 28px 12px; position: relative; }
.stats-bar__item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; height: 60%;
  width: 1px; background: var(--sand-300);
}
.stats-bar__num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--sage-700); line-height: 1; }
.stats-bar__label { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); margin-top: 4px; }

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 64px;
  background: var(--sand-100);
  border-bottom: 1px solid var(--border-light);
}
.page-hero__grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.page-hero__content { padding-top: 8px; }
.page-hero__desc { font-size: 0.95rem; color: var(--text-secondary); margin-top: 14px; line-height: 1.7; }

.page-hero__img-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; border-radius: 10px; }
.page-hero__details { margin-top: 16px; }
.page-hero__detail { display: flex; justify-content: space-between; font-size: 0.84rem; padding: 9px 0; border-bottom: 1px solid var(--border-light); }
.page-hero__detail strong { font-weight: 600; color: var(--text-primary); }
.page-hero__detail span, .page-hero__detail a { color: var(--text-secondary); }
.page-hero__detail a { color: var(--sage-600); }

.page-hero--simple { text-align: center; padding-bottom: 56px; }
.page-hero--simple .page-hero__desc { max-width: 600px; margin-left: auto; margin-right: auto; }
.page-hero--simple .page-hero__btns { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ===================== UNIFIED INNER HERO (About / Buy / Sell / Home Value) ===================== */
.inner-hero {
  padding: calc(var(--nav-h) + 56px) 0 0;
  background: var(--sand-100);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.inner-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
}
.inner-hero__text {
  padding-bottom: 64px;
}
.inner-hero__text h1 { margin-bottom: 16px; }
.inner-hero__text > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 22px;
}
.inner-hero__text-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 8px;
}
.inner-hero__photo {
  position: relative;
}
.inner-hero__photo img {
  width: 100%;
  min-height: 480px;
  max-height: 600px;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px 12px 0 0;
  display: block;
}
.inner-hero__photo--top-position img { object-position: top center; }

/* Highlights list (used in home-value) */
.inner-hero__highlights {
  display: grid; gap: 12px;
  margin: 8px 0 22px;
}
.inner-hero__highlight {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 10px;
  border-left: 3px solid var(--sage-600);
}
.inner-hero__highlight-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--sage-600); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
}
.inner-hero__highlight-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-primary);
}
.inner-hero__highlight-text strong { display: block; font-size: 0.92rem; margin-bottom: 1px; }

/* Details card (about page) */
.inner-hero__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--white);
}
.inner-hero__detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
}
.inner-hero__detail:nth-child(odd) { border-right: 1px solid var(--border-light); }
.inner-hero__detail:nth-last-child(-n+2) { border-bottom: none; }
.inner-hero__detail strong {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.inner-hero__detail span { font-size: 0.86rem; color: var(--text-primary); }
.inner-hero__detail a { font-size: 0.86rem; color: var(--sage-600); text-decoration: none; transition: color 0.2s; }
.inner-hero__detail a:hover { color: var(--sage-700); }

@media (max-width: 1024px) {
  .inner-hero { padding: calc(var(--nav-h) + 36px) 0 0; }
  .inner-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .inner-hero__text { padding-bottom: 36px; }
  .inner-hero__photo img { min-height: 360px; border-radius: 0; }
  .inner-hero__details { grid-template-columns: 1fr; }
  .inner-hero__detail:nth-child(odd) { border-right: none; }
  .inner-hero__detail { border-bottom: 1px solid var(--border-light); }
  .inner-hero__detail:last-child { border-bottom: none; }
}

/* ===================== CONTENT SECTION ===================== */
.section { padding: var(--section-gap) 0; }
.section--alt { background: var(--sand-100); }
.section--sage { background: var(--sage-600); }
.section--warm { background: var(--sand-200); }
.section__header { text-align: center; max-width: 580px; margin: 0 auto 48px; }
.section__header p { color: var(--text-secondary); font-size: 0.95rem; margin-top: 10px; }
.section__narrow { max-width: 760px; margin: 0 auto; }
.section__narrow h2 { margin-bottom: 16px; }
.section__narrow h3 { margin: 24px 0 10px; color: var(--text-primary); }
.section__narrow p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 14px; }
.section__narrow blockquote {
  font-family: var(--font-display); font-size: 1.08rem; font-style: italic;
  color: var(--text-secondary); border-left: 3px solid var(--sage-500);
  padding: 4px 0 4px 20px; margin: 20px 0; line-height: 1.65;
}

/* ===================== TWO-COLUMN GRID ===================== */
.duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.duo--img-first { direction: ltr; }
.duo__content h2 { margin-bottom: 14px; }
.duo__content p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 14px; }
.duo__content ul { list-style: none; margin: 16px 0; }
.duo__content ul li {
  padding: 7px 0 7px 18px; font-size: 0.9rem; color: var(--text-secondary);
  position: relative;
}
.duo__content ul li::before { content: '◆'; position: absolute; left: 0; font-size: 0.5rem; color: var(--sage-500); top: 11px; }
.duo__img img { width: 100%; border-radius: 10px; aspect-ratio: 3/4; object-fit: cover; object-position: center; max-height: 620px; }

/* ===================== SERVICE CARDS ===================== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 28px 24px; transition: all 0.35s var(--ease);
}
.card:hover { border-color: var(--sage-500); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(61,50,41,0.06); }
.card__num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--sand-300); line-height: 1; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; color: var(--text-primary); }
.card p { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.7; }
.card__link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 0.82rem; font-weight: 600; color: var(--sage-600); transition: gap 0.3s; }
.card__link:hover { gap: 9px; }
.card__tag { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-600); background: rgba(110,128,96,0.1); padding: 4px 12px; border-radius: 20px; margin-top: 12px; }

/* ===================== INTRO (Meet Yasmine — homepage) ===================== */
.intro { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.intro__img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; border-radius: 10px; }
.intro__badge {
  margin-top: 12px; background: var(--sage-600); color: var(--white);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 10px 16px; border-radius: 6px;
  text-align: center; line-height: 1.4;
}
.intro__badge span { display: block; font-size: 0.62rem; font-weight: 400; opacity: 0.85; }
.intro__body h2 { margin-bottom: 14px; }
.intro__body blockquote {
  font-family: var(--font-display); font-size: 1.05rem; font-style: italic;
  color: var(--text-secondary); border-left: 3px solid var(--sage-500);
  padding: 2px 0 2px 18px; margin: 16px 0; line-height: 1.6;
}
.intro__body p { color: var(--text-secondary); font-size: 0.93rem; margin-bottom: 12px; }
.intro__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.intro__tag {
  font-size: 0.75rem; font-weight: 600; padding: 6px 16px; border-radius: 24px;
  background: rgba(110,128,96,0.1); color: var(--sage-600);
}

/* ===================== PROCESS STEPS ===================== */
.steps { max-width: 760px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border-light); }
.step:last-child { border-bottom: none; }
.step__num {
  width: 44px; height: 44px; border: 2px solid var(--sage-500); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--sage-600);
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--text-secondary); }

/* ===================== STAT CARDS (alt to dark) ===================== */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-row--4 { grid-template-columns: repeat(4, 1fr); }
.stat-card {
  text-align: center; padding: 28px 16px; background: var(--white);
  border: 1px solid var(--border); border-radius: 10px;
}
.stat-card__num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--sage-700); margin-bottom: 6px; }
.stat-card h4 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.stat-card p { font-size: 0.78rem; color: var(--text-muted); }

/* Sage-bg stat cards */
.section--sage .stat-card { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }
.section--sage .stat-card__num { color: var(--sand-100); }
.section--sage .stat-card h4 { color: rgba(255,255,255,0.9); }
.section--sage .stat-card p { color: rgba(255,255,255,0.6); }
.section--sage .section__header h2 { color: var(--white); }
.section--sage .section__header h2 em { color: var(--sand-300); }
.section--sage .section__header p { color: rgba(255,255,255,0.7); }
.section--sage .label { color: var(--sand-300); }

/* ===================== TESTIMONIALS ===================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 28px 24px;
}
.testimonial__qm { font-family: var(--font-display); font-size: 3rem; color: var(--sand-300); line-height: 1; margin-bottom: 4px; }
.testimonial__stars { color: var(--gold-500); font-size: 0.82rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--sand-200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--sage-600);
}
.testimonial__name { font-weight: 600; font-size: 0.88rem; color: var(--text-primary); }
.testimonial__role { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }

.review-links { display: flex; gap: 20px; justify-content: center; margin-top: 36px; }
.review-links a { font-size: 0.84rem; font-weight: 600; color: var(--sage-600); text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s; }
.review-links a:hover { color: var(--sage-700); }

/* ===================== SOCIAL SECTION ===================== */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.social-img { position: relative; }
.social-img img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top center; border-radius: 10px; }
.social-img__handle {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(61,50,41,0.7); backdrop-filter: blur(8px);
  color: var(--white); font-size: 0.8rem; font-weight: 600;
  padding: 7px 14px; border-radius: 6px;
}
.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: var(--sand-100); border: 1px solid var(--border-light);
  border-radius: 8px; font-size: 0.88rem; font-weight: 500; transition: all 0.3s var(--ease);
}
.social-link:hover { border-color: var(--sage-500); background: rgba(110,128,96,0.06); }
.social-link span { color: var(--text-muted); font-size: 0.8rem; }

.social-section__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 24px 14px; background: var(--sand-100); border: 1px solid var(--border-light);
  border-radius: 10px; text-align: center; transition: all 0.3s var(--ease);
}
.social-card:hover { border-color: var(--sage-500); transform: translateY(-2px); }
.social-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; }
.social-card span { font-size: 0.76rem; color: var(--text-muted); }

/* ===================== CTA ===================== */
.cta {
  padding: var(--section-gap) 0; text-align: center;
  background: linear-gradient(135deg, var(--sage-600), var(--sage-700));
}
.cta h2 { color: var(--white); margin-bottom: 12px; }
.cta h2 em { color: var(--sand-300); }
.cta p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 28px; }
.cta .label { color: var(--sand-300); }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================== VALUES GRID ===================== */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 28px 24px; transition: all 0.35s var(--ease);
}
.value-card:hover { border-color: var(--sage-500); transform: translateY(-2px); }
.value-card h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { font-size: 0.87rem; color: var(--text-secondary); }

/* ===================== CREDENTIALS ===================== */
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cred-card { text-align: center; padding: 28px 16px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; }
.cred-card__num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--sage-700); margin-bottom: 6px; }
.cred-card h4 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.cred-card p { font-size: 0.78rem; color: var(--text-muted); }

/* ===================== CONTACT — redesigned for balance ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.contact-info {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.contact-info__card {
  background: linear-gradient(160deg, var(--sand-50) 0%, var(--sand-100) 100%);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
}
.contact-info__photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(61,50,41,0.12);
  margin: 0 auto 16px;
  display: block;
}
.contact-info__card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.contact-info__role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-info__primary {
  display: block;
  background: var(--sage-600);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: all 0.25s ease;
}
.contact-info__primary:hover {
  background: var(--sage-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(110,128,96,0.3);
}
.contact-info__primary-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2px;
}
.contact-info__primary-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.contact-info__secondary {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 20px;
  transition: border-color 0.25s ease;
}
.contact-info__secondary:hover { border-color: var(--sage-500); }
.contact-info__secondary-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-info__secondary-value {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  word-break: break-all;
}

.contact-info__meta {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-bottom: 18px;
  text-align: left;
}
.contact-info__meta > div {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.contact-info__meta strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info__social {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}
.contact-info__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sage-600);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}
.contact-info__social a:hover {
  background: var(--sage-600);
  color: var(--white);
  transform: translateY(-2px);
  border-color: var(--sage-600);
}

.contact-info__profiles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.contact-info__profiles a {
  font-size: 0.82rem;
  color: var(--sage-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-info__profiles a:hover { color: var(--sage-700); }

.contact-form h2 { margin-bottom: 6px; }
.contact-form > p { color: var(--text-secondary); font-size: 0.93rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-body); font-size: 0.9rem; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 6px;
  background: var(--white); color: var(--text-primary);
  transition: border-color 0.3s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--sage-500); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239A8E80' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-submit { width: 100%; justify-content: center; margin-top: 6px; font-size: 0.95rem; padding: 14px; }
.form-success { display: none; text-align: center; padding: 36px 28px; background: linear-gradient(160deg, #FDFBF7 0%, #F0F7EE 100%); border: 1px solid rgba(110,128,96,0.25); border-radius: 14px; margin-top: 14px; animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1); }
.form-success.show { display: block; }
.form-success__icon { width: 60px; height: 60px; margin: 0 auto 16px; background: var(--sage-600); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; box-shadow: 0 8px 24px rgba(110,128,96,0.3); animation: popIn 0.5s 0.1s cubic-bezier(0.22,1,0.36,1) backwards; }
.form-success h3 { font-family: var(--font-display); font-size: 1.45rem; color: var(--sage-700); margin: 0 0 10px; font-weight: 600; }
.form-success p { font-size: 0.96rem; color: var(--text-primary); line-height: 1.7; margin: 0 0 8px; }
.form-success__sub { font-size: 0.88rem !important; color: var(--text-secondary) !important; margin-top: 14px !important; }
.form-success__sub a { color: var(--sage-600); font-weight: 600; text-decoration: none; }
.form-success__sub a:hover { color: var(--sage-700); text-decoration: underline; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* Honeypot — hidden from humans, visible to bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ===================== FOOTER ===================== */
.footer { background: var(--sand-200); border-top: 1px solid var(--sand-300); padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--text-primary); }
.footer__brand-sub { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; margin-bottom: 14px; }
.footer__brand-desc { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.7; }
.footer h4 { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { font-size: 0.86rem; color: var(--text-secondary); transition: color 0.3s; }
.footer__links a:hover { color: var(--sage-600); }
.footer__bottom { border-top: 1px solid var(--sand-300); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-muted); }
.footer__bottom-links { display: flex; gap: 16px; }
.footer__bottom-links a { color: var(--text-muted); transition: color 0.3s; }
.footer__bottom-links a:hover { color: var(--sage-600); }

/* ===================== CHAT WIDGET ===================== */
.chat-toggle {
  position: fixed; bottom: 20px; right: 20px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sage-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  box-shadow: 0 6px 24px rgba(110,128,96,0.35);
  transition: all 0.3s var(--ease); overflow: hidden;
}
.chat-toggle:hover { background: var(--sage-700); transform: scale(1.05); }
.chat-toggle img { width: 100%; height: 100%; object-fit: cover; }

/* Smooth transitions — including bottom so it slides up gracefully when CTA appears */
.chat-toggle {
  transition: bottom 0.35s cubic-bezier(0.22,1,0.36,1),
              transform 0.25s cubic-bezier(0.22,1,0.36,1),
              background 0.3s;
}
.chat-toggle__dot {
  position: absolute; top: 2px; right: 2px;
  width: 12px; height: 12px; background: #4ADE80;
  border-radius: 50%; border: 2px solid var(--white);
}
.chat-panel {
  position: fixed;
  /* Top below nav with 20px gap; bottom above toggle with 88px gap. Auto-fills space. */
  top: calc(var(--nav-h) + 20px);
  bottom: 88px;
  right: 20px;
  z-index: 901;
  width: 380px;
  max-height: 640px;
  /* Ensure minimum usable size even on short screens */
  min-height: 380px;
  background: var(--white); border-radius: 14px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.18);
  border: 1px solid var(--border);
  /* HIDDEN by default — multiple properties for absolute safety */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.28s cubic-bezier(0.22,1,0.36,1),
              transform 0.28s cubic-bezier(0.22,1,0.36,1),
              visibility 0s linear 0.28s;
}
.chat-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 0.28s cubic-bezier(0.22,1,0.36,1),
              transform 0.28s cubic-bezier(0.22,1,0.36,1),
              visibility 0s linear 0s;
}
.chat-panel__header {
  padding: 16px 20px; background: var(--sage-600);
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.chat-panel__header img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.3); }
.chat-panel__header-info h4 { font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; color: var(--white); margin: 0; }
.chat-panel__header-info p { font-size: 0.72rem; color: rgba(255,255,255,0.7); margin: 0; }
.chat-panel__close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.3rem; cursor: pointer; padding: 4px; }
.chat-panel__close:hover { color: var(--white); }
.chat-panel__messages {
  flex: 1 1 auto;
  padding: 18px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--sand-300) transparent;
}
.chat-panel__messages::-webkit-scrollbar { width: 6px; }
.chat-panel__messages::-webkit-scrollbar-track { background: transparent; }
.chat-panel__messages::-webkit-scrollbar-thumb { background: var(--sand-300); border-radius: 3px; }
.chat-panel__messages::-webkit-scrollbar-thumb:hover { background: var(--sand-400); }
.chat-msg {
  max-width: 85%; padding: 10px 14px; border-radius: 12px;
  font-size: 0.86rem; line-height: 1.55;
}
.chat-msg--bot { background: var(--sand-100); color: var(--text-primary); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg--user { background: var(--sage-600); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg--bot a { color: var(--sage-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Typing indicator — 3 animated dots */
.chat-msg--typing { padding: 14px 16px; display: flex; gap: 4px; align-items: center; min-height: 0; }
.chat-msg--typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted); opacity: 0.5;
  animation: typingDot 1.2s infinite ease-in-out;
}
.chat-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Quick reply chips */
.chat-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 4px 4px 0;
  animation: chipsIn 0.3s cubic-bezier(0.22,1,0.36,1);
}
@keyframes chipsIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chat-chip {
  background: var(--white);
  color: var(--sage-700);
  border: 1.5px solid var(--sage-500);
  border-radius: 20px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.chat-chip:hover {
  background: var(--sage-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(110,128,96,0.25);
}

/* Disabled input state */
.chat-panel__input input:disabled {
  background: var(--sand-100);
  cursor: not-allowed;
}
.chat-panel__input {
  padding: 12px 16px; border-top: 1px solid var(--border-light);
  display: flex; gap: 8px;
  flex-shrink: 0;
  background: var(--white);
}
.chat-panel__input input {
  flex: 1; font-family: var(--font-body); font-size: 0.88rem;
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  outline: none; background: var(--sand-50);
}
.chat-panel__input input:focus { border-color: var(--sage-500); }
.chat-panel__input button {
  background: var(--sage-600); color: var(--white); border: none;
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  font-size: 0.84rem; cursor: pointer; transition: 0.3s;
}
.chat-panel__input button:hover { background: var(--sage-700); }

/* ===================== COOKIE CONSENT ===================== */
.yv-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(61,50,41,0.12);
  padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.yv-cookie-banner.visible { transform: translateY(0); }
.yv-cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.yv-cookie-banner__text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.yv-cookie-banner__text strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.yv-cookie-banner__link {
  color: var(--sage-600);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 4px;
}
.yv-cookie-banner__link:hover { color: var(--sage-700); }
.yv-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.yv-cookie-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.yv-cookie-btn--primary {
  background: var(--sage-600);
  color: var(--white);
}
.yv-cookie-btn--primary:hover {
  background: var(--sage-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(110,128,96,0.25);
}
.yv-cookie-btn--secondary {
  background: var(--sand-100);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.yv-cookie-btn--secondary:hover {
  background: var(--sand-200);
  border-color: var(--sage-500);
}
.yv-cookie-btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 10px 12px;
}
.yv-cookie-btn--ghost:hover { color: var(--sage-600); }

/* Modal */
.yv-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.yv-cookie-modal.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}
.yv-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45,40,32,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.yv-cookie-modal__panel {
  position: relative;
  max-width: 560px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  top: 50%;
  transform: translateY(-50%) scale(0.96);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.yv-cookie-modal.visible .yv-cookie-modal__panel {
  transform: translateY(-50%) scale(1);
}
.yv-cookie-modal__header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.yv-cookie-modal__header h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}
.yv-cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px 8px;
  transition: color 0.2s;
}
.yv-cookie-modal__close:hover { color: var(--text-primary); }
.yv-cookie-modal__body {
  padding: 20px 28px;
  overflow-y: auto;
  flex: 1;
}
.yv-cookie-modal__intro {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 20px;
}
.yv-cookie-cat {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.yv-cookie-cat:last-child { border-bottom: none; }
.yv-cookie-cat__switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.yv-cookie-cat__title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.yv-cookie-cat__required {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: rgba(201,168,108,0.12);
  padding: 3px 10px;
  border-radius: 12px;
}
.yv-cookie-cat__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 6px 0 0;
  padding-right: 60px;
}

/* Toggle switch */
.yv-cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.yv-cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.yv-cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--sand-300);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.25s;
}
.yv-cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.yv-cookie-toggle input:checked + .yv-cookie-toggle__slider { background: var(--sage-600); }
.yv-cookie-toggle input:checked + .yv-cookie-toggle__slider::before { transform: translateX(20px); }
.yv-cookie-toggle input:disabled + .yv-cookie-toggle__slider { opacity: 0.6; cursor: not-allowed; }
.yv-cookie-toggle input:disabled + .yv-cookie-toggle__slider::before { background: var(--sand-200); }

.yv-cookie-modal__footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-light);
  background: var(--sand-50);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .yv-cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .yv-cookie-banner__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .yv-cookie-banner__actions .yv-cookie-btn { flex: 1; min-width: 100px; }
  .yv-cookie-banner { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }
  .yv-cookie-modal__panel { max-height: calc(100vh - 24px); margin: 12px auto; }
  .yv-cookie-modal__header { padding: 16px 20px; }
  .yv-cookie-modal__body { padding: 16px 20px; }
  .yv-cookie-modal__footer { padding: 14px 20px; }
  .yv-cookie-cat__desc { padding-right: 0; }
}

/* Don't overlap the sticky CTA on mobile */
body.mcta-shown .yv-cookie-banner {
  bottom: 72px;
}

/* ===================== STICKY MOBILE CTA BAR ===================== */
.mcta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 86px; /* leaves space for chat toggle at bottom-right */
  z-index: 899;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-top-right-radius: 12px;
  box-shadow: 0 -4px 20px rgba(61,50,41,0.08);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.mcta.visible { transform: translateY(0); }

.mcta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease;
  min-height: 46px;
}
.mcta__btn:active { transform: scale(0.97); }
.mcta__btn--call {
  background: var(--sage-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(110,128,96,0.25);
}
.mcta__btn--call:active { background: var(--sage-700); }
.mcta__btn--secondary {
  background: var(--sand-100);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.mcta__btn--secondary:active { background: var(--sand-200); }
.mcta__icon { font-size: 1.05rem; line-height: 1; }
.mcta__label-short { display: none; }

/* Chat toggle stays put — CTA bar makes room for it on the right instead */
body.mcta-shown .mcta { right: 80px; }

/* Show on tablet and mobile (below 1024px) */
@media (max-width: 1024px) {
  .mcta { display: flex; }
}
@media (max-width: 380px) {
  .mcta__btn { font-size: 0.78rem; padding: 10px; }
  .mcta__label-full { display: none; }
  .mcta__label-short { display: inline; }
}

/* Add bottom padding to body so CTA doesn't cover content */
@media (max-width: 1024px) {
  body.mcta-shown { padding-bottom: 72px; }
  body.mcta-shown .footer { padding-bottom: 80px; }
}

/* ===================== ANIMATIONS ===================== */

/* Legacy fade-up (still works) */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── PAGE ENTRANCE ─────────────────────────── */
body { animation: pageEntrance 0.6s ease forwards; }
@keyframes pageEntrance { from { opacity: 0; } to { opacity: 1; } }

/* ─── NAV TRANSITIONS ────────────────────────── */
.nav {
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, background 0.35s ease, height 0.35s ease;
}
.nav--scrolled {
  box-shadow: 0 4px 30px rgba(61,50,41,0.08);
  height: 60px;
}
.nav--scrolled .nav__inner { height: 60px; }
.nav--hidden { transform: translateY(-100%); }

/* ─── REVEAL ANIMATIONS ─────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal-up.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* On mobile, use Y-transforms instead of X to prevent horizontal overflow */
@media (max-width: 1024px) {
  .reveal-left, .reveal-right {
    transform: translateY(20px);
  }
  .reveal-left.revealed, .reveal-right.revealed {
    transform: translateY(0);
  }
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

.reveal-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(0.22,1,0.36,1);
}
.reveal-clip.revealed { clip-path: inset(0 0 0% 0); }

/* ─── TEXT SPLIT REVEAL ──────────────────────── */
.text-reveal { opacity: 0; }
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.05em;
}
.word {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.text-revealed .word { transform: translateY(0); }

/* ─── IMAGE HOVER ZOOM ───────────────────────── */
.img-hover-zoom { overflow: hidden; border-radius: 10px; }
.img-hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) !important;
}
.img-hover-zoom:hover img { transform: scale(1.05); }

/* ─── CARD HOVER LIFT ────────────────────────── */
.card, .testimonial, .value-card, .cred-card, .stat-card {
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s ease, border-color 0.35s ease;
}

/* ─── BUTTON HOVER ENHANCEMENTS ──────────────── */
.btn--primary {
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), background 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.btn--primary:active { transform: scale(0.97) !important; }
.btn--outline, .btn--ghost {
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}

/* ─── LINK UNDERLINE ANIMATION ───────────────── */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--sage-600);
  transition: width 0.35s cubic-bezier(0.22,1,0.36,1);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta::after { display: none; }

/* ─── REDUCED MOTION ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  body { opacity: 1; }
  .reveal-up, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .reveal-clip { clip-path: none; }
  .text-reveal { opacity: 1; }
  .word { transform: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .intro { grid-template-columns: 280px 1fr; gap: 36px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; gap: 36px; }
  .duo__img { order: -1; max-width: 480px; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid > :last-child { grid-column: span 2; }
  .social-grid { grid-template-columns: 1fr; gap: 36px; }
  .social-img { max-width: 380px; }
  .page-hero__grid { grid-template-columns: 1fr 300px; gap: 36px; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .social-section__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info { position: static; max-width: 440px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .nav__inner { padding: 0 28px; }
  .stats-bar__inner { padding: 0 28px; }
  /* Collapse nav to hamburger on tablet (hover dropdowns don't work on touch) */
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  :root { --section-gap: 72px; }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  :root { --section-gap: 56px; --nav-h: 62px; }
  .container { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .stats-bar__inner { padding: 0 20px; }
  h1 { font-size: clamp(1.85rem, 7vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 1.9rem); }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .intro { grid-template-columns: 1fr; gap: 28px; }
  .intro__img { max-width: 280px; margin: 0 auto; }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item:nth-child(2)::after { display: none; }
  .stats-bar__item { padding: 22px 8px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-grid > :last-child { grid-column: span 1; }
  .page-hero { padding: calc(var(--nav-h) + 32px) 0 40px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__img-wrap { max-width: 280px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .social-section__grid { grid-template-columns: 1fr 1fr; }
  .stat-row, .stat-row--4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .btn { padding: 12px 24px; font-size: 0.82rem; }
  .cta { padding: 56px 0; }
  .chat-panel {
    width: auto;
    right: 16px;
    left: 16px;
    top: calc(var(--nav-h) + 16px);
    bottom: 84px;
    max-height: none; /* let it fill the full available space */
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav__inner { padding: 0 16px; }
  .nav__logo-sub { display: none; }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .cred-grid, .social-section__grid,
  .stat-row, .stat-row--4 { grid-template-columns: 1fr; }
  .cta__btns { flex-direction: column; align-items: stretch; }
  .cta__btns .btn { width: 100%; justify-content: center; }
}
