/* ==========================================================================
   Body Tune Up — Koh Samui
   Design system + components. Plain modern CSS, no build step.
   ========================================================================== */

/* ----- Design tokens ----- */
:root {
  /* Brand palette — derived from the Body Tune Up logo (blue + cyan).
     Token names kept for stability; values are now blue. */
  --sand-50:  #f7fafc;   /* page background — cool near-white */
  --sand-100: #eaf3f9;   /* alternating sections — light sky */
  --sand-200: #dbe9f2;   /* soft fills */
  --sand-300: #c2dbe9;   /* hover borders */
  --clay:     #a9cbe0;   /* soft steel-blue neutral */
  --sky:      #1aaee6;   /* bright cyan accent (logo "UP") */
  --sky-50:   #e7f4fb;   /* light tint for icon tiles */
  --sage:     #0078c0;   /* primary brand blue (logo) */
  --sage-600: #0a6aaa;   /* deeper blue — eyebrows, links */
  --forest:   #0a4d76;   /* deep ocean blue — headings, dark UI, buttons */
  --forest-700:#0b5e92;  /* mid ocean — gradients */
  --forest-800:#062f4b;  /* darkest — footer, dark sections */
  --ink:      #1f2f39;   /* cool dark slate — body text */
  --muted:    #5b6b76;   /* cool grey — secondary text */
  --line:     #e2edf4;   /* cool light border */
  --white:    #ffffff;

  --accent:   var(--forest);
  --accent-soft: var(--sage);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Radius & shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(8,40,64,.05);
  --shadow-md: 0 10px 30px -12px rgba(8,40,64,.18);
  --shadow-lg: 0 24px 60px -20px rgba(8,40,64,.28);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 78px;
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

/* ----- Headings ----- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; color: var(--forest); letter-spacing: -.01em; }
.section-title { font-size: clamp(2rem, 4vw, 3.05rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }

/* ----- Utilities ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand-100); }
.section--forest { background: var(--forest); color: var(--sand-100); }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--sage-600);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--sky); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.65; color: var(--ink); }
.section--forest .lead, .section--forest p { color: rgba(245,240,232,.82); }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--forest); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--invert .section-title { color: var(--sand-50); }
.section-intro { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }
.section--forest .section-intro { color: rgba(245,240,232,.72); }

/* Arrow link */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--forest); letter-spacing: .01em;
}
.link-arrow svg { width: 1.05rem; height: 1.05rem; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.section--forest .link-arrow { color: var(--sky); }

/* Generic small icon */
.ic { width: 1.15rem; height: 1.15rem; flex: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: .85rem 1.6rem; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(135deg, var(--forest-700), var(--forest)); }
.btn--primary:hover { background: linear-gradient(135deg, var(--sage-600), var(--forest-700)); }
.btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }
.btn--sm { padding: .62rem 1.2rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-scrolled {
  background: rgba(247,250,252,.92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 13px; background: linear-gradient(140deg, var(--forest-700), var(--forest));
  color: var(--sand-100); box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.22rem; color: var(--forest); letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--sage-600); font-weight: 600; }
/* Brand legible on hero (transparent header) before scroll */
.site-header:not(.is-scrolled) .brand-name { color: #fff; }
.site-header:not(.is-scrolled) .brand-sub { color: rgba(255,255,255,.8); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: 1.7rem; }
.nav-list a {
  font-weight: 500; font-size: .96rem; color: var(--ink); position: relative; padding: .3rem 0;
  transition: color .2s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--sage); border-radius: 2px; transition: width .3s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--forest); }
.nav-list a.is-active::after, .nav-list a:hover::after { width: 100%; }
.site-header:not(.is-scrolled) .nav-list a { color: rgba(255,255,255,.92); }
.site-header:not(.is-scrolled) .nav-list a:hover { color: #fff; }
.site-header:not(.is-scrolled) .nav-cta { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); background: rgba(255,255,255,.1); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--forest); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease), background .3s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
body.nav-open .nav-toggle span { background: var(--forest); }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--header-h); color: #fff; isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(5,32,52,.86) 0%, rgba(9,46,73,.6) 42%, rgba(9,46,73,.18) 78%),
    linear-gradient(to top, rgba(5,32,52,.55), transparent 38%);
}
.hero-inner { padding-block: clamp(3rem, 8vh, 6rem); max-width: 760px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .82rem; font-weight: 600; color: var(--sky); margin-bottom: 1.4rem; }
.hero-title { font-size: clamp(3rem, 8vw, 5.6rem); color: #fff; font-weight: 300; line-height: .98; letter-spacing: -.02em; }
.hero-title-sub {
  display: block; font-size: clamp(1.05rem, 2.4vw, 1.6rem); letter-spacing: .35em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 500; color: var(--sky); margin-top: 1.1rem;
}
.hero-lead { font-size: clamp(1.1rem, 1.9vw, 1.4rem); color: rgba(255,255,255,.9); max-width: 36em; margin-top: 1.6rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-trust { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.8rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.hero-trust .ic { color: var(--sky); }

.hero-strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  background: rgba(5,32,52,.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-strip-inner { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center; padding-block: 1rem; }
.hero-strip span { display: inline-flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.9); }
.hero-strip .ic { color: var(--sky); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 5.2rem; transform: translateX(-50%); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center; color: #fff;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.4); animation: bob 2.4s var(--ease) infinite;
}
.hero-scroll svg { width: 22px; height: 22px; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-media { position: relative; }
.about-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img--main { aspect-ratio: 4/5; }
.about-img--accent {
  position: absolute; right: -8%; bottom: -10%; width: 52%; aspect-ratio: 1/1;
  border: 6px solid var(--sand-50);
}
.about-badge {
  position: absolute; left: -6%; top: 8%;
  background: var(--forest); color: var(--sand-100);
  border-radius: var(--r-md); padding: 1rem 1.2rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem; max-width: 220px;
}
.about-badge-num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--sky); }
.about-badge-text { font-size: .82rem; line-height: 1.3; color: rgba(245,240,232,.9); }
.about-body .lead { margin-top: 1.2rem; }
.about-body p + p { margin-top: 1.1rem; color: var(--muted); }

.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.8rem 0; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .5rem 1rem; font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-sm);
}
.pill span { color: var(--sage-600); font-weight: 600; }

/* ==========================================================================
   Conditions
   ========================================================================== */
.cond-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem;
}
.cond-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.cond-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sand-300); }
.cond-ic {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--sky-50); color: var(--forest); margin-bottom: 1rem;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.cond-ic svg { width: 26px; height: 26px; }
.cond-card:hover .cond-ic { background: var(--forest); color: var(--sky); }
.cond-card h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.cond-card p { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.cond-foot { text-align: center; margin-top: 2.5rem; color: var(--muted); display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Approach / pillars
   ========================================================================== */
.approach-grid { display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.approach-media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.approach-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.approach-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.approach-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.6rem 1.4rem;
  background: linear-gradient(to top, rgba(5,32,52,.85), transparent);
  color: #fff; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25;
}
.approach-caption .eyebrow { margin-bottom: .5rem; }

.pillars { display: grid; gap: .4rem; counter-reset: pillar; }
.pillar {
  display: grid; grid-template-columns: auto auto 1fr; align-items: start; gap: 1.1rem;
  padding: 1.4rem 1.2rem; border-radius: var(--r-md);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.pillar:hover { background: var(--sand-100); }
.pillar-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--sage-600); padding-top: .35rem; }
.pillar-ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--sage); color: #fff; box-shadow: var(--shadow-sm);
}
.pillar-ic svg { width: 25px; height: 25px; }
.pillar h3 { font-size: 1.18rem; margin-bottom: .25rem; }
.pillar p { font-size: .95rem; color: var(--muted); }

/* ==========================================================================
   Services
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.svc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--sky)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ic {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(140deg, var(--sand-100), var(--sand-200)); color: var(--forest); margin-bottom: 1.3rem;
}
.svc-ic svg { width: 30px; height: 30px; }
.svc-card h3 { margin-bottom: .55rem; }
.svc-card p { color: var(--muted); font-size: .96rem; }
.svc-card--wide { grid-column: span 1; }
.svc-foot { text-align: center; margin-top: 2.4rem; color: var(--muted); }
.svc-foot strong { color: var(--forest); font-weight: 600; }

/* ==========================================================================
   Team
   ========================================================================== */
.avatar {
  display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(140deg, var(--forest-700), var(--forest)); color: var(--sky);
  font-family: var(--font-display); font-weight: 500; width: 76px; height: 76px; font-size: 1.7rem;
  box-shadow: var(--shadow-sm); flex: none;
}
.avatar--lg { width: 150px; height: 150px; font-size: 3.2rem; }
.avatar--xs { width: 40px; height: 40px; font-size: .95rem; }
.avatar--ghost { background: var(--sand-100); color: var(--sage-600); box-shadow: inset 0 0 0 1px var(--line); }
.avatar--ghost svg { width: 34px; height: 34px; }

.founder {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow-md); margin-bottom: 1.5rem;
}
.founder-body h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: .2rem 0 .8rem; }
.founder-body p { color: var(--muted); }
.cred-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.4rem; margin-top: 1.4rem; }
.cred-list li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; color: var(--ink); }
.cred-list svg { width: 1.1rem; height: 1.1rem; color: var(--sage); flex: none; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2.2rem 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card .avatar { margin-bottom: 1.2rem; }
.team-card h3 { font-size: 1.4rem; }
.team-role { color: var(--sage-600); font-weight: 600; font-size: .9rem; margin: .2rem 0 .9rem; }
.team-card p { color: var(--muted); font-size: .95rem; }
.team-card--join { background: var(--sand-100); border-style: dashed; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-viewport { overflow: hidden; }
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px, 1fr);
  gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  scroll-snap-align: start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 2rem 1.9rem; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; gap: 1rem;
}
.stars { display: flex; gap: .15rem; color: #e8c87a; }
.stars svg { width: 1.05rem; height: 1.05rem; }
.review-card blockquote { font-size: 1.05rem; line-height: 1.6; color: rgba(245,240,232,.92); }
.review-card blockquote::before { content: "\201C"; }
.review-card blockquote::after { content: "\201D"; }
.review-author { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--sand-50); margin-top: auto; }
.review-author .avatar--xs { background: rgba(255,255,255,.12); color: var(--sky); }
.review-author span { display: block; font-weight: 400; font-size: .85rem; color: var(--sky); }
.reviews-controls { display: flex; gap: .8rem; justify-content: center; margin-top: 1.8rem; }
.rev-btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.rev-btn:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.rev-btn svg { width: 22px; height: 22px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; isolation: isolate; color: #fff; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(5,32,52,.9), rgba(8,40,64,.7)); }
.cta-inner { padding-block: clamp(4rem, 9vw, 7rem); max-width: 640px; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta-inner p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin: 1rem 0 2rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-intro .lead { margin-top: 1rem; }
.contact-info { display: grid; gap: 1.2rem; margin: 2rem 0; }
.contact-info li { display: flex; gap: 1rem; align-items: flex-start; }
.ci-ic {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--sky-50); color: var(--forest);
}
.ci-ic svg { width: 22px; height: 22px; }
.contact-info strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage-600); margin-bottom: .15rem; }
.contact-info a, .contact-info span { color: var(--ink); }
.contact-info a:hover { color: var(--forest); text-decoration: underline; }

.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 280px; border: 0; filter: grayscale(.2) contrast(.95); }

.contact-form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-lg);
}
.form-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest); margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: .88rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.field label span { color: #c0735f; }
.field input, .field select, .field textarea {
  background: var(--sand-50); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .8rem .95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(0,120,192,.25);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input.invalid, .field textarea.invalid { border-color: #d08a76; box-shadow: 0 0 0 3px rgba(208,138,118,.18); }
.error { color: #bb6a52; font-size: .82rem; min-height: 1rem; margin-top: .25rem; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: .4rem 0 1.2rem; }
.consent input { margin-top: .25rem; accent-color: var(--sage); width: 1.05rem; height: 1.05rem; flex: none; }
.consent a { color: var(--forest); text-decoration: underline; }
.form-success {
  display: flex; align-items: center; gap: .6rem; margin-top: 1.2rem;
  background: var(--sky-50); color: var(--forest-700); border-radius: var(--r-sm);
  padding: 1rem 1.1rem; font-weight: 500; font-size: .95rem;
}
.form-success svg { width: 1.3rem; height: 1.3rem; color: var(--sage); flex: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest-800); color: rgba(245,240,232,.72); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.brand--footer .brand-name { color: #fff; }
.brand--footer .brand-sub { color: var(--sky); }
.footer-brand p { margin: 1.2rem 0 1.4rem; font-size: .95rem; max-width: 32ch; }
.social { display: flex; gap: .7rem; }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.07); color: var(--sand-100); transition: background .25s var(--ease), transform .25s var(--ease);
}
.social a:hover { background: var(--sage); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { font-size: .94rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--sky); }
.footer-contact li { font-size: .94rem; line-height: 1.5; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem;
}
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a:hover { color: var(--sky); }

/* ==========================================================================
   Back-to-top
   ========================================================================== */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest); color: #fff; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--sage-600); }
.to-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .cond-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  :root { --header-h: 70px; }
  /* The mobile slide-in panel is a position:fixed child of the header. A
     backdrop-filter ancestor clips fixed descendants to the header box (panel
     too short → links spill onto the page), so disable it at mobile widths. */
  .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(247,250,252,.97); }
  body.legal .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(247,250,252,.98); }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: var(--sand-50); padding: calc(var(--header-h) + 1.5rem) 2rem 2rem;
    box-shadow: -20px 0 60px -20px rgba(8,40,64,.4);
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: 99;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 1rem 0; font-size: 1.1rem; color: var(--ink) !important; }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 1.5rem; text-align: center; }
  .site-header:not(.is-scrolled) .nav-cta { background: linear-gradient(135deg, var(--forest-700), var(--forest)); box-shadow: var(--shadow-sm); }
  .nav-toggle { display: block; z-index: 100; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(5,32,52,.45); z-index: 98; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin: 0 auto 2.5rem; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-media { position: static; max-width: 460px; margin: 0 auto 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

@media (max-width: 680px) {
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cred-list { grid-template-columns: 1fr; text-align: left; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-strip { display: none; }
  .hero-scroll { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .cond-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Brand logo (image lockup)
   ========================================================================== */
.brand-logo { display: block; width: auto; height: 56px; }
.brand-logo--dark { display: none; }                                   /* colored — on light header */
.site-header.is-scrolled .brand-logo--light { display: none; }
.site-header.is-scrolled .brand-logo--dark { display: block; }
body.legal .brand-logo--light { display: none; }
body.legal .brand-logo--dark { display: block; }
.brand--footer .brand-logo { height: 78px; }
@media (max-width: 880px) { .brand-logo { height: 46px; } .brand--footer .brand-logo { height: 70px; } }

/* ==========================================================================
   Pricing / packages
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2.3rem 1.9rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card--featured { background: linear-gradient(160deg, var(--forest-700), var(--forest)); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--sky); color: #04293f; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: .4rem .9rem; border-radius: var(--r-pill); white-space: nowrap;
}
.price-name { font-family: var(--font-display); font-size: 1.45rem; color: var(--forest); }
.price-card--featured .price-name { color: #fff; }
.price-desc { color: var(--muted); font-size: .92rem; margin-top: .35rem; min-height: 2.6em; }
.price-card--featured .price-desc { color: rgba(255,255,255,.82); }
.price-amount { font-family: var(--font-display); font-size: 2.7rem; color: var(--forest); margin: 1.2rem 0 .1rem; display: flex; align-items: baseline; gap: .35rem; line-height: 1; }
.price-amount .cur { font-size: 1.05rem; color: var(--sage-600); font-family: var(--font-body); font-weight: 600; }
.price-card--featured .price-amount, .price-card--featured .price-amount .cur { color: #fff; }
.price-unit { font-size: .85rem; color: var(--muted); }
.price-card--featured .price-unit { color: rgba(255,255,255,.75); }
.price-feats { display: grid; gap: .6rem; margin: 1.5rem 0 1.9rem; }
.price-feats li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.price-feats svg { width: 1.1rem; height: 1.1rem; color: var(--sage); flex: none; margin-top: .15rem; }
.price-card--featured .price-feats li { color: rgba(255,255,255,.9); }
.price-card--featured .price-feats svg { color: var(--sky); }
.price-card .btn { margin-top: auto; }
.price-card--featured .btn--primary { background: #fff; color: var(--forest); }
.price-card--featured .btn--primary:hover { background: var(--sky-50); }
.price-note { text-align: center; margin-top: 2rem; color: var(--muted); font-size: .9rem; }
.price-addons { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.4rem; }

/* ==========================================================================
   FAQ (native <details> accordion)
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .9rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.25rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-size: 1.12rem; color: var(--forest); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--forest); transition: background .3s var(--ease); }
.faq-ic svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.faq-item[open] .faq-ic { background: var(--forest); color: #fff; }
.faq-item[open] .faq-ic svg { transform: rotate(180deg); }
.faq-answer { padding: 0 1.4rem 1.35rem; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.wa-fab {
  position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 95;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #25d366; color: #fff; padding: .82rem 1.15rem; border-radius: var(--r-pill);
  box-shadow: var(--shadow-md); font-weight: 600;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.wa-fab svg { width: 24px; height: 24px; }
.wa-label { font-size: .92rem; }
@media (max-width: 560px) { .wa-label { display: none; } .wa-fab { padding: .9rem; } }

/* ==========================================================================
   Legal pages (privacy / terms)
   ========================================================================== */
.legal-page { padding-top: var(--header-h); }
.legal-hero { background: var(--forest); color: var(--sand-100); padding-block: clamp(3rem, 7vw, 5rem); }
.legal-hero .eyebrow { color: var(--sky); }
.legal-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-hero p { color: rgba(245,240,232,.7); margin-top: .6rem; }
.legal-body { max-width: 800px; padding-block: clamp(3rem, 6vw, 5rem); }
.legal-body h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--muted); margin-bottom: .9rem; }
.legal-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: .5rem; }
.legal-body a { color: var(--forest); text-decoration: underline; }
/* Force a solid header on legal pages (no dark hero behind it) */
body.legal .site-header { background: rgba(247,250,252,.95); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
body.legal .site-header:not(.is-scrolled) .brand-name { color: var(--forest); }
body.legal .site-header:not(.is-scrolled) .brand-sub { color: var(--sage-600); }
body.legal .site-header:not(.is-scrolled) .nav-list a { color: var(--ink); }
body.legal .site-header:not(.is-scrolled) .nav-toggle span { background: var(--forest); }
body.legal .site-header:not(.is-scrolled) .nav-cta { box-shadow: var(--shadow-sm); background: linear-gradient(135deg, var(--forest-700), var(--forest)); }

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-scroll { animation: none; }
}
