/*
Theme Name: Travel Viet
Theme URI: https://travelviet.com.au
Author: Travel Viet
Description: Warm, boutique single-page theme for Travel Viet — a Melbourne-based Vietnam travel specialist. Includes an editable hero, destinations, About, native blog/Guides, an emailing consultation form, and Customizer settings for contact details. Built for AWS Lightsail WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: travelviet
*/

/* ============================================================
   TRAVEL VIET — warm boutique travel agency
   Design tokens + base + components
   ============================================================ */

:root{
  /* brand (from logo) */
  --brand:        #1f5d8c;
  --brand-deep:   #122a40;
  --brand-deeper: #0d1f30;
  --sky:          #3f97cd;

  /* warm boutique surfaces */
  --bg:        #faf5ec;
  --surface:   #fffdf8;
  --sand:      #f1e6d4;
  --sand-deep: #e7d8bf;

  /* ink + text */
  --ink:    #2c2620;
  --muted:  #6f6557;
  --faint:  #9a8e7c;
  --line:   #e7dccb;
  --line-2: #d9cbb4;

  /* accent — logo-derived, tweakable */
  --accent:        #1f6fb0;
  --accent-2:      #ef9a2b;
  --accent-ink:    #fff;
  --accent-soft:   #e4eef7;

  /* type — tweakable */
  --font-head: "Marcellus", Georgia, serif;
  --font-body: "Mulish", system-ui, sans-serif;

  /* shape + rhythm — tweakable */
  --r:    18px;
  --r-sm: 11px;
  --r-pill: 999px;
  --section-py: 116px;
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;

  --shadow-sm: 0 1px 2px rgba(40,28,12,.05), 0 2px 8px rgba(40,28,12,.04);
  --shadow:    0 4px 12px rgba(40,28,12,.07), 0 18px 40px rgba(40,28,12,.09);
  --shadow-lg: 0 8px 24px rgba(40,28,12,.10), 0 40px 80px rgba(40,28,12,.14);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  font-size:17px;
  line-height:1.65;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-head); font-weight:400; line-height:1.08; margin:0; letter-spacing:-.01em; }
p{ margin:0; text-wrap:pretty; }
::selection{ background:var(--accent); color:#fff; }

.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }

/* ---- shared type scale ---- */
.eyebrow{
  font-family:var(--font-body);
  font-weight:700; font-size:12.5px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--accent); margin:0 0 18px;
  display:inline-flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:26px; height:1.5px; background:var(--accent); display:inline-block; }
.display{ font-size:clamp(38px, 6vw, 76px); }
h2.section-title{ font-size:clamp(31px, 4.2vw, 50px); }
h3.card-title{ font-size:clamp(21px, 2.4vw, 26px); }
.lead{ font-size:clamp(18px,1.5vw,21px); color:var(--muted); line-height:1.6; }
.muted{ color:var(--muted); }

/* ---- buttons ---- */
.btn{
  --bg:var(--accent);
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-body); font-weight:700; font-size:15.5px; letter-spacing:.005em;
  padding:15px 28px; border-radius:var(--r-pill);
  background:var(--bg); color:var(--accent-ink);
  border:1px solid transparent; cursor:pointer;
  transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s;
  box-shadow:0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent);
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -10px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn:active{ transform:translateY(0); }
.btn--ghost{
  background:transparent; color:var(--ink); border-color:var(--line-2);
  box-shadow:none;
}
.btn--ghost:hover{ background:var(--surface); border-color:var(--ink); box-shadow:var(--shadow-sm); }
.btn--light{ background:#fff; color:var(--brand-deep); box-shadow:0 10px 30px -12px rgba(0,0,0,.5); }
.btn--on-dark.btn--ghost{ color:#fff; border-color:rgba(255,255,255,.4); }
.btn--on-dark.btn--ghost:hover{ background:rgba(255,255,255,.1); border-color:#fff; }
.btn .arr{ transition:transform .25s; }
.btn:hover .arr{ transform:translateX(4px); }
.btn--lg{ padding:18px 34px; font-size:16.5px; }

.link-arrow{
  font-weight:700; font-size:15px; color:var(--accent);
  display:inline-flex; align-items:center; gap:8px;
}
.link-arrow .arr{ transition:transform .25s; }
.link-arrow:hover .arr{ transform:translateX(5px); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar{
  background:var(--brand-deep); color:#e9eef4;
  font-size:13px; letter-spacing:.01em;
}
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:42px; padding-block:8px; }
.topbar a{ color:#e9eef4; opacity:.9; }
.topbar a:hover{ opacity:1; color:#fff; }
.topbar .tb-left{ display:flex; gap:22px; align-items:center; flex-wrap:wrap; }
.topbar .tb-item{ display:inline-flex; gap:8px; align-items:center; opacity:.92; white-space:nowrap; }
.topbar .tb-item svg{ opacity:.8; }
.topbar .tb-right{ display:flex; gap:18px; align-items:center; }
.topbar .tag{ color:var(--accent-2); font-weight:700; letter-spacing:.04em; white-space:nowrap; }
@media (max-width:880px){ .topbar .tb-right{ display:none; } .topbar .tb-left{ gap:16px; } }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:sticky; top:0; z-index:60;
  background:color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom:1px solid transparent;
  transition:border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled{ border-bottom-color:var(--line); background:color-mix(in srgb, var(--bg) 94%, transparent); box-shadow:var(--shadow-sm); }
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; min-height:80px; gap:24px; }
.brand{ display:flex; align-items:center; gap:13px; flex-shrink:0; }
.brand img{ height:56px; width:auto; }
.brand .bn{ display:flex; flex-direction:column; line-height:1; }
.brand .bn b{ font-family:var(--font-head); font-size:20px; letter-spacing:.02em; color:var(--brand-deep); }
.brand .bn span{ font-size:10px; letter-spacing:.26em; text-transform:uppercase; color:var(--faint); font-weight:700; margin-top:4px; }
.nav-links{ display:flex; align-items:center; gap:6px; flex-wrap:nowrap; white-space:nowrap; }
.nav-links a{
  font-weight:600; font-size:15px; color:var(--ink);
  padding:10px 15px; border-radius:var(--r-pill); position:relative;
  transition:color .2s, background .2s;
}
.nav-links a:hover{ color:var(--accent); background:var(--accent-soft); }
.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-actions .call{ font-weight:700; font-size:15px; color:var(--brand-deep); display:inline-flex; gap:8px; align-items:center; }
.nav-actions .call:hover{ color:var(--accent); }
.hamburger{ display:none; background:none; border:none; cursor:pointer; padding:8px; color:var(--ink); }
@media (max-width:1040px){
  .nav-links, .nav-actions .call{ display:none; }
  .hamburger{ display:inline-flex; }
}

/* mobile menu */
.mobile-menu{
  position:fixed; inset:0 0 0 auto; width:min(86vw,360px); z-index:80;
  background:var(--surface); transform:translateX(100%); transition:transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow:var(--shadow-lg); padding:28px; display:flex; flex-direction:column; gap:4px;
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu a{ font-family:var(--font-head); font-size:23px; padding:14px 4px; border-bottom:1px solid var(--line); }
.mobile-menu .btn{ margin-top:20px; }
.mm-close{ align-self:flex-end; background:none; border:none; cursor:pointer; padding:8px; color:var(--ink); margin-bottom:8px; }
.scrim{ position:fixed; inset:0; background:rgba(18,12,4,.45); z-index:70; opacity:0; pointer-events:none; transition:opacity .35s; }
.scrim.open{ opacity:1; pointer-events:auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero{ position:relative; overflow:hidden; background:var(--brand-deeper); }
.hero-media{ position:absolute; inset:0; --veil:1; }
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-media::after{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(13,25,40,calc(.5*var(--veil))) 0%, rgba(13,25,40,calc(.18*var(--veil))) 32%, rgba(13,25,40,calc(.52*var(--veil))) 78%, rgba(13,25,40,calc(.86*var(--veil))) 100%),
    linear-gradient(90deg, rgba(13,25,40,calc(.68*var(--veil))) 0%, rgba(13,25,40,calc(.08*var(--veil))) 58%, transparent 100%);
}
.hero-inner{ position:relative; z-index:2; padding-block:clamp(72px,12vh,140px) clamp(40px,7vh,72px); min-height:clamp(620px,84vh,860px); display:flex; flex-direction:column; justify-content:flex-end; }
.hero h1{ color:#fff; max-width:16ch; margin-bottom:22px; text-shadow:0 2px 30px rgba(0,0,0,.25); }
.hero h1 em{ font-style:italic; color:var(--accent-2); }
.hero .lead{ color:rgba(255,255,255,.92); max-width:46ch; margin-bottom:34px; font-weight:400; }
.hero-eyebrow{ color:#fff; }
.hero-eyebrow{ font-family:var(--font-body); font-weight:700; font-size:13px; letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,.92); margin:0 0 20px; display:inline-flex; align-items:center; gap:11px; }
.hero-eyebrow::before{ content:""; width:30px; height:1.5px; background:var(--accent-2); display:inline-block; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }

/* trip style selector */
.selector{
  margin-top:clamp(34px,6vh,58px);
  background:rgba(255,253,248,.93);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.5);
  border-radius:var(--r);
  padding:22px 24px;
  box-shadow:var(--shadow-lg);
  max-width:760px;
}
.selector .sel-label{ font-size:13px; font-weight:700; letter-spacing:.04em; color:var(--muted); margin-bottom:14px; display:flex; align-items:center; gap:9px; }
.selector .sel-label svg{ color:var(--accent); }
.chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  font-family:var(--font-body); font-weight:600; font-size:14.5px;
  padding:10px 18px; border-radius:var(--r-pill); cursor:pointer;
  background:var(--surface); color:var(--ink); border:1.5px solid var(--line-2);
  transition:all .2s; display:inline-flex; align-items:center; gap:8px;
}
.chip:hover{ border-color:var(--accent); color:var(--accent); }
.chip[aria-pressed="true"]{ background:var(--accent); border-color:var(--accent); color:#fff; box-shadow:0 6px 16px -8px color-mix(in srgb,var(--accent) 70%,transparent); }
.chip .dot{ width:7px; height:7px; border-radius:50%; background:currentColor; opacity:.6; }

/* floating stat card on hero */
.hero-badge{
  position:absolute; right:var(--gutter); bottom:clamp(40px,8vh,90px); z-index:3;
  background:rgba(255,253,248,.95); border-radius:var(--r); padding:20px 24px;
  box-shadow:var(--shadow-lg); max-width:230px; display:none;
}
.hero-badge .stars{ color:var(--accent-2); font-size:15px; letter-spacing:2px; }
.hero-badge p{ font-size:14px; color:var(--muted); margin-top:8px; }
.hero-badge b{ font-family:var(--font-head); font-size:30px; color:var(--brand-deep); display:block; }
@media (min-width:1180px){ .hero-badge{ display:block; } }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust{ background:var(--surface); border-bottom:1px solid var(--line); }
.trust .wrap{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding-block:34px; }
.trust .ti{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.trust .ti b{ font-family:var(--font-head); font-size:clamp(26px,3vw,38px); color:var(--brand-deep); line-height:1; }
.trust .ti span{ font-size:14px; color:var(--muted); font-weight:600; }
.trust .ti em{ font-style:normal; color:var(--accent); }
@media (max-width:760px){ .trust .wrap{ grid-template-columns:repeat(2,1fr); gap:28px 16px; } }

/* ============================================================
   SECTION HELPERS
   ============================================================ */
section{ padding-block:var(--section-py); }
.section-head{ max-width:680px; margin-bottom:54px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head .lead{ margin-top:18px; }
.bg-sand{ background:var(--sand); }
.bg-surface{ background:var(--surface); }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.pillar{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:38px 32px; transition:transform .3s, box-shadow .3s, border-color .3s;
}
.pillar:hover{ transform:translateY(-5px); box-shadow:var(--shadow); border-color:var(--sand-deep); }
.pillar .ic{
  width:62px; height:62px; border-radius:16px; display:grid; place-items:center;
  background:var(--accent-soft); color:var(--accent); margin-bottom:24px;
}
.pillar .ic svg{ width:30px; height:30px; }
.pillar h3{ font-size:24px; margin-bottom:12px; color:var(--brand-deep); }
.pillar p{ color:var(--muted); font-size:16px; }
@media (max-width:900px){ .pillars{ grid-template-columns:1fr; gap:18px; } }

/* ============================================================
   ITINERARIES
   ============================================================ */
.itins-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:46px; flex-wrap:wrap; }
.itins-head .section-head{ margin-bottom:0; }
.itin-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.itin{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s, opacity .3s;
}
.itin:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:var(--sand-deep); }
.itin.is-hidden{ display:none; }
.itin-img{ position:relative; aspect-ratio:4/3.1; overflow:hidden; }
.itin-img img{ width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.2,.8,.2,1); }
.itin:hover .itin-img img{ transform:scale(1.06); }
.itin-img .dur{
  position:absolute; top:14px; left:14px; background:rgba(255,253,248,.95);
  border-radius:var(--r-pill); padding:7px 15px; font-size:13px; font-weight:700;
  color:var(--brand-deep); display:inline-flex; gap:7px; align-items:center; box-shadow:var(--shadow-sm);
}
.itin-img .dur svg{ color:var(--accent); }
.itin-body{ padding:26px 26px 28px; display:flex; flex-direction:column; flex:1; }
.itin-tags{ display:flex; gap:7px; flex-wrap:wrap; margin-bottom:14px; }
.itin-tags span{ font-size:11.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--brand); background:#eaf1f7; padding:4px 11px; border-radius:var(--r-pill); }
.itin h3{ font-size:25px; color:var(--brand-deep); margin-bottom:10px; }
.itin .route{ font-size:14px; color:var(--accent); font-weight:700; margin-bottom:14px; display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.itin .route .sep{ color:var(--faint); }
.itin p.desc{ color:var(--muted); font-size:15.5px; margin-bottom:20px; }
.itin .hl{ list-style:none; padding:0; margin:0 0 22px; display:flex; flex-direction:column; gap:9px; }
.itin .hl li{ font-size:14.5px; color:var(--ink); display:flex; gap:10px; align-items:flex-start; }
.itin .hl li svg{ color:var(--accent); flex-shrink:0; margin-top:3px; }
.itin-foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:14px; padding-top:20px; border-top:1px solid var(--line); }
.itin-foot .price{ line-height:1.2; }
.itin-foot .price small{ display:block; font-size:12px; color:var(--faint); font-weight:600; }
.itin-foot .price b{ font-family:var(--font-head); font-size:26px; color:var(--brand-deep); }
.itin-foot .price b span{ font-size:13px; color:var(--muted); font-family:var(--font-body); font-weight:600; }
.itin-foot .tips-label{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; color:var(--brand-deep); }
.itin-foot .tips-label svg{ color:var(--accent); }
.no-match{ display:none; text-align:center; padding:60px 20px; color:var(--muted); grid-column:1/-1; }
.no-match.show{ display:block; }
.more-places{ margin-top:54px; text-align:center; }
.more-places .mp-label{ display:block; font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--faint); margin-bottom:18px; }
.more-places .mp-pills{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; max-width:760px; margin-inline:auto; }
.more-places .mp-pills span{ font-size:14.5px; font-weight:600; color:var(--brand-deep); background:var(--surface); border:1px solid var(--line-2); padding:9px 17px; border-radius:var(--r-pill); transition:color .2s, border-color .2s; cursor:default; }
.more-places .mp-pills span:hover{ border-color:var(--accent); color:var(--accent); }
.itin-img image-slot{ width:100%; height:100%; display:block; }
@media (max-width:1180px){ .itin-grid{ grid-template-columns:repeat(2,1fr); max-width:760px; margin-inline:auto; } }
@media (max-width:620px){ .itin-grid{ grid-template-columns:1fr; max-width:420px; } }

/* ============================================================
   FEATURE (two regions)
   ============================================================ */
.feature{ display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(30px,5vw,72px); align-items:center; }
.feature.flip .feat-media{ order:2; }
.feat-media{ position:relative; }
.feat-media .fm-main{ border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:4/4.6; }
.feat-media .fm-main img{ width:100%; height:100%; object-fit:cover; }
.feat-media .fm-sub{ position:absolute; width:46%; aspect-ratio:3/3.4; border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow-lg); border:5px solid var(--surface); }
.feat-media .fm-sub img{ width:100%; height:100%; object-fit:cover; }
.feature:not(.flip) .fm-sub{ right:-6%; bottom:-7%; }
.feature.flip .fm-sub{ left:-6%; bottom:-7%; }
.feat-text h2{ color:var(--brand-deep); margin-bottom:20px; }
.feat-text p{ color:var(--muted); margin-bottom:18px; font-size:17px; }
.feat-text .seasons{ display:flex; gap:10px; flex-wrap:wrap; margin:24px 0 30px; }
.feat-text .seasons span{ font-size:13.5px; font-weight:600; color:var(--brand-deep); background:var(--surface); border:1px solid var(--line-2); padding:8px 15px; border-radius:var(--r-pill); }
@media (max-width:920px){
  .feature{ grid-template-columns:1fr; gap:48px; }
  .feature.flip .feat-media{ order:0; }
  .feat-media{ max-width:480px; }
  .feat-media .fm-sub{ width:40%; }
}

/* ============================================================
   ABOUT / STEPHANIE + FORM
   ============================================================ */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,5vw,72px); align-items:start; }
.about-portrait{ position:relative; }
.about-portrait image-slot{ width:100%; aspect-ratio:4/4.7; border-radius:var(--r); box-shadow:var(--shadow-lg); }
.about-portrait .quote-tag{
  position:absolute; left:-18px; bottom:36px; background:var(--surface); border-radius:var(--r);
  padding:18px 22px; box-shadow:var(--shadow-lg); max-width:240px; border:1px solid var(--line);
}
.about-portrait .quote-tag p{ font-family:var(--font-head); font-size:17px; line-height:1.4; color:var(--brand-deep); }
.about-portrait .quote-tag b{ display:block; margin-top:10px; font-family:var(--font-body); font-size:13px; color:var(--accent); font-weight:700; letter-spacing:.02em; }
.about-text h2{ color:var(--brand-deep); margin-bottom:22px; }
.about-text p{ color:var(--muted); margin-bottom:18px; }
.about-sign{ display:flex; align-items:center; gap:16px; margin-top:28px; padding-top:26px; border-top:1px solid var(--line); }
.about-sign .sg-name{ font-family:var(--font-head); font-size:22px; color:var(--brand-deep); }
.about-sign .sg-role{ font-size:14px; color:var(--muted); }
.creds{ display:flex; flex-direction:column; gap:14px; margin:28px 0 0; }
.creds li{ list-style:none; display:flex; gap:13px; align-items:flex-start; font-size:15.5px; }
.creds li svg{ color:var(--accent); flex-shrink:0; margin-top:3px; }
@media (max-width:920px){ .about-grid{ grid-template-columns:1fr; gap:54px; } .about-portrait{ max-width:440px; } }

/* form */
.consult{ background:var(--brand-deep); position:relative; overflow:hidden; }
.consult::before{ content:""; position:absolute; inset:0; background:radial-gradient(110% 80% at 100% 0%, rgba(63,151,205,.22), transparent 55%); }
.consult .wrap{ position:relative; z-index:2; }
.consult-grid{ display:grid; grid-template-columns:.92fr 1.08fr; gap:clamp(40px,6vw,90px); align-items:center; }
.consult-copy .eyebrow{ color:var(--accent-2); }
.consult-copy .eyebrow::before{ background:var(--accent-2); }
.consult-copy h2{ color:#fff; margin-bottom:20px; }
.consult-copy p{ color:rgba(255,255,255,.82); font-size:17px; margin-bottom:26px; }
.consult-copy .cc-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:15px; }
.consult-copy .cc-list li{ color:#fff; display:flex; gap:13px; align-items:center; font-size:16px; font-weight:500; }
.consult-copy .cc-list li .num{ width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.12); display:grid; place-items:center; font-size:13px; font-weight:700; color:var(--accent-2); flex-shrink:0; }
.consult-copy .cc-note{ display:flex; align-items:center; gap:11px; margin-top:26px; padding:15px 18px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); border-radius:var(--r-sm); color:#fff; font-size:15px; }
.consult-copy .cc-note svg{ color:var(--accent-2); flex-shrink:0; }
.consult-copy .cc-note strong{ color:var(--accent-2); font-weight:700; }

.form-card{ background:var(--surface); border-radius:var(--r); padding:clamp(28px,3vw,40px); box-shadow:var(--shadow-lg); }
.form-card h3{ font-size:25px; color:var(--brand-deep); margin-bottom:6px; }
.form-card .fc-sub{ font-size:14.5px; color:var(--muted); margin-bottom:26px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13.5px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.field label .req{ color:var(--accent); }
.field input, .field select, .field textarea{
  width:100%; font-family:var(--font-body); font-size:15.5px; color:var(--ink);
  padding:13px 15px; border:1.5px solid var(--line-2); border-radius:var(--r-sm);
  background:var(--bg); transition:border-color .2s, box-shadow .2s; -webkit-appearance:none; appearance:none;
}
.field textarea{ resize:vertical; min-height:90px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-soft); background:var(--surface);
}
.field select{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236f6557' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 15px center; padding-right:42px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-card .btn{ width:100%; margin-top:8px; }
.form-card .fc-fine{ font-size:12.5px; color:var(--faint); text-align:center; margin-top:16px; line-height:1.5; }
.form-success{ display:none; text-align:center; padding:30px 10px; }
.form-success.show{ display:block; animation:pop .5s cubic-bezier(.2,.9,.3,1.2); }
.form-card.done .form-body{ display:none; }
.form-success .tick{ width:74px; height:74px; border-radius:50%; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; margin:0 auto 22px; }
.form-success h3{ margin-bottom:10px; }
.form-success p{ color:var(--muted); font-size:15.5px; max-width:34ch; margin:0 auto; }
@keyframes pop{ from{ transform:scale(.9); opacity:0 } to{ transform:scale(1); opacity:1 } }
@media (max-width:920px){ .consult-grid{ grid-template-columns:1fr; gap:44px; } .field-row{ grid-template-columns:1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.tst{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:32px 30px; display:flex; flex-direction:column;
}
.tst .stars{ color:var(--accent-2); letter-spacing:3px; font-size:15px; margin-bottom:18px; }
.tst blockquote{ margin:0 0 22px; font-size:17px; line-height:1.55; color:var(--ink); font-family:var(--font-head); }
.tst .who{ display:flex; align-items:center; gap:13px; margin-top:auto; }
.tst .who .av{ width:46px; height:46px; border-radius:50%; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; font-family:var(--font-head); font-size:18px; flex-shrink:0; }
.tst .who b{ font-size:15px; color:var(--brand-deep); display:block; }
.tst .who span{ font-size:13px; color:var(--muted); }
@media (max-width:920px){ .tst-grid{ grid-template-columns:1fr; max-width:480px; margin-inline:auto; } }

/* ============================================================
   BLOG / GUIDES
   ============================================================ */
.blog-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:46px; flex-wrap:wrap; }
.blog-head .section-head{ margin-bottom:0; }
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.post{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.post:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:var(--sand-deep); }
.post-img{ aspect-ratio:16/10; overflow:hidden; }
.post-img img{ width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.2,.8,.2,1); }
.post:hover .post-img img{ transform:scale(1.06); }
.post-body{ padding:26px 26px 28px; display:flex; flex-direction:column; flex:1; }
.post-meta{ display:flex; align-items:center; gap:10px; font-size:12.5px; font-weight:700; letter-spacing:.04em; margin-bottom:14px; }
.post-meta .cat{ color:var(--accent); text-transform:uppercase; }
.post-meta .dot{ width:4px; height:4px; border-radius:50%; background:var(--line-2); }
.post-meta .date{ color:var(--faint); }
.post h3{ font-size:23px; color:var(--brand-deep); margin-bottom:12px; line-height:1.2; }
.post p{ color:var(--muted); font-size:15px; margin-bottom:20px; }
.post .link-arrow{ margin-top:auto; font-size:14.5px; }
@media (max-width:980px){ .blog-grid{ grid-template-columns:1fr; max-width:460px; margin-inline:auto; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid{ display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(34px,5vw,80px); align-items:start; }
.faq-list{ display:flex; flex-direction:column; }
.faq-item{ border-bottom:1px solid var(--line-2); }
.faq-q{
  width:100%; background:none; border:none; cursor:pointer; text-align:left;
  font-family:var(--font-head); font-size:clamp(19px,2vw,23px); color:var(--brand-deep);
  padding:26px 50px 26px 0; position:relative; display:block; transition:color .2s;
}
.faq-q:hover{ color:var(--accent); }
.faq-q .pm{ position:absolute; right:6px; top:50%; transform:translateY(-50%); width:24px; height:24px; transition:transform .3s; color:var(--accent); }
.faq-item.open .faq-q .pm{ transform:translateY(-50%) rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s cubic-bezier(.2,.8,.2,1); }
.faq-a-inner{ padding:0 50px 28px 0; color:var(--muted); font-size:16px; line-height:1.65; }
@media (max-width:820px){ .faq-grid{ grid-template-columns:1fr; gap:36px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background:var(--brand-deeper); color:#c3ccd6; padding-block:70px 36px; }
.footer a:hover{ color:#fff; }
.foot-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.foot-brand img{ height:54px; margin-bottom:20px; }
.foot-brand p{ font-size:14.5px; color:#9aa6b2; max-width:30ch; line-height:1.6; }
.foot-social{ display:flex; gap:11px; margin-top:22px; }
.foot-social a{ width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.18); display:grid; place-items:center; color:#c3ccd6; transition:all .2s; }
.foot-social a:hover{ background:var(--accent); border-color:var(--accent); color:#fff; }
.foot-col h4{ font-family:var(--font-body); font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:#fff; margin-bottom:20px; font-weight:700; }
.foot-col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:13px; }
.foot-col a, .foot-col li{ font-size:14.5px; color:#9aa6b2; }
.foot-contact li{ display:flex; gap:12px; align-items:flex-start; }
.foot-contact svg{ color:var(--accent-2); flex-shrink:0; margin-top:3px; }
.foot-bottom{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:30px; font-size:13px; color:#7d8794; flex-wrap:wrap; }
.foot-bottom .fb-links{ display:flex; gap:22px; flex-wrap:wrap; }
@media (max-width:900px){ .foot-top{ grid-template-columns:1fr 1fr; gap:36px; } }
@media (max-width:560px){ .foot-top{ grid-template-columns:1fr; } }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.08s } .reveal.d2{ transition-delay:.16s } .reveal.d3{ transition-delay:.24s }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } html{ scroll-behavior:auto; } }

/* density variants (data-density on html) */
html[data-density="cozy"]{ --section-py:138px; }
html[data-density="compact"]{ --section-py:84px; }


/* ============================================================
   BLOG ARCHIVE + SINGLE (added for WordPress theme)
   ============================================================ */
.tv-page-head{ background:var(--brand-deep); color:#fff; padding:clamp(80px,12vh,140px) 0 clamp(48px,7vh,80px); position:relative; overflow:hidden; }
.tv-page-head::before{ content:""; position:absolute; inset:0; background:radial-gradient(110% 80% at 100% 0%, rgba(63,151,205,.22), transparent 55%); }
.tv-page-head .wrap{ position:relative; z-index:2; }
.tv-page-head .eyebrow{ color:var(--accent-2); }
.tv-page-head .eyebrow::before{ background:var(--accent-2); }
.tv-page-head h1{ color:#fff; font-size:clamp(34px,5vw,58px); max-width:18ch; }
.tv-page-head p{ color:rgba(255,255,255,.85); margin-top:16px; max-width:54ch; font-size:18px; }

.tv-section{ padding-block:clamp(64px,9vh,110px); }
.tv-article{ max-width:760px; margin-inline:auto; }
.tv-article .tv-cover{ border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow); margin-bottom:34px; aspect-ratio:16/9; }
.tv-article .tv-cover img{ width:100%; height:100%; object-fit:cover; }
.tv-meta{ display:flex; gap:10px; align-items:center; font-size:13px; font-weight:700; letter-spacing:.04em; margin-bottom:14px; }
.tv-meta .cat{ color:var(--accent); text-transform:uppercase; }
.tv-meta .dot{ width:4px; height:4px; border-radius:50%; background:var(--line-2); }
.tv-meta .date{ color:var(--faint); }
.tv-content{ font-size:18px; line-height:1.75; color:var(--ink); }
.tv-content > *{ margin-bottom:1.1em; }
.tv-content h2{ font-family:var(--font-head); font-size:clamp(26px,3vw,34px); color:var(--brand-deep); margin-top:1.4em; }
.tv-content h3{ font-family:var(--font-head); font-size:23px; color:var(--brand-deep); margin-top:1.2em; }
.tv-content a{ color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.tv-content img{ border-radius:var(--r); margin-block:1.4em; }
.tv-content blockquote{ border-left:3px solid var(--accent); padding-left:22px; font-family:var(--font-head); font-size:21px; color:var(--brand-deep); font-style:italic; }
.tv-content ul, .tv-content ol{ padding-left:22px; }
.tv-content li{ margin-bottom:.5em; }
.tv-back{ display:inline-flex; align-items:center; gap:8px; font-weight:700; color:var(--accent); margin-bottom:30px; font-size:15px; }
.tv-pagination{ display:flex; gap:12px; justify-content:center; margin-top:54px; }
.tv-pagination .page-numbers{ display:inline-grid; place-items:center; min-width:44px; height:44px; padding:0 14px; border-radius:var(--r-pill); border:1.5px solid var(--line-2); font-weight:700; color:var(--ink); background:var(--surface); }
.tv-pagination .page-numbers.current{ background:var(--accent); border-color:var(--accent); color:#fff; }
.tv-pagination a.page-numbers:hover{ border-color:var(--accent); color:var(--accent); }
.tv-empty{ text-align:center; color:var(--muted); padding:60px 20px; }
.tv-article-foot{ margin-top:48px; padding-top:30px; border-top:1px solid var(--line); }
