/* ============================================================
   THUNDER CLOUD — Premium navy & gold design system
   Headings/Thai body: Kanit · English/numbers: Inter
   ============================================================ */

:root {
  /* Brand */
  --navy:      #1e3a8a;
  --navy-deep: #142a63;
  --blue:      #3b82f6;
  --blue-600:  #2563eb;
  --line:      #00c300;
  --line-700:  #00a300;
  --gold:      #ffc107;
  --gold-soft: #ffd66b;
  --gold-deep: #c8920a;
  --red:       #ef4444;
  --ink:       #1f2937;
  --muted:     #6b7280;
  --light:     #f8fafc;
  --line-soft: #e7ebf3;
  --white:     #ffffff;

  /* Premium hero gradient stops */
  --hero-a:    #07080f;
  --hero-b:    #0a1430;
  --hero-c:    #0e2c5a;

  /* Gradients */
  --grad-blue:  linear-gradient(135deg, #2b59d6 0%, #3b82f6 55%, #5aa0ff 100%);
  --grad-navy:  linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  --grad-gold:  linear-gradient(135deg, #ffdд76 0%, var(--gold) 45%, var(--gold-deep) 100%);

  /* Shadows */
  --sh-sm:  0 2px 8px rgba(20, 33, 71, .08);
  --sh-md:  0 10px 30px rgba(20, 33, 71, .12);
  --sh-lg:  0 24px 60px rgba(13, 25, 60, .22);
  --sh-gold: 0 10px 30px rgba(200, 146, 10, .35);

  /* Radii */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --maxw: 1200px;
  --nav-h: 72px;

  --font-th: 'Kanit', 'Inter', system-ui, sans-serif;
  --font-en: 'Inter', 'Kanit', system-ui, sans-serif;
}

/* fix accidental typo fallback */
:root { --grad-gold: linear-gradient(135deg, #ffe08a 0%, #ffc107 45%, #c8920a 100%); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-th);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

.num { font-family: var(--font-en); font-feature-settings: "tnum" 1; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.2;
  margin: 14px 0 12px; color: var(--ink); letter-spacing: -.01em;
}
.sec-head p { font-size: clamp(16px, 2vw, 19px); color: var(--muted); margin: 0; }
.sec-head .eyebrow { justify-content: center; }

.gold-text { color: var(--gold-deep); }
.blue-text { color: var(--blue-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-th); font-size: 16px; font-weight: 600;
  padding: 14px 26px; border-radius: var(--r-pill); border: 0;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap; line-height: 1; text-align: center;
}
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 26px rgba(37, 99, 235, .38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37, 99, 235, .46); }
.btn-line { background: var(--line); color: #fff; box-shadow: 0 10px 26px rgba(0, 163, 0, .34); }
.btn-line:hover { background: var(--line-700); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 163, 0, .42); }
.btn-gold { background: var(--grad-gold); color: #3a2a02; box-shadow: var(--sh-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(200, 146, 10, .5); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--line-soft); box-shadow: var(--sh-sm); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-600); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.btn-lg { padding: 17px 34px; font-size: 17.5px; }
.btn-block { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 80;
  height: var(--nav-h);
  background: rgba(10, 17, 40, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(8, 13, 33, .95); box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(145deg, #16234d, #0c1530);
  border: 1px solid rgba(255, 215, 120, .35);
  display: grid; place-items: center; box-shadow: inset 0 0 12px rgba(255,200,80,.18);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { font-weight: 700; font-size: 19px; color: #fff; letter-spacing: .02em; line-height: 1; }
.brand-name b { color: var(--gold-soft); font-weight: 700; }
.brand-name span { display: block; font-size: 10.5px; letter-spacing: .12em; color: rgba(255,255,255,.55); font-weight: 400; margin-top: 3px; text-transform: none; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.78);
  padding: 9px 14px; border-radius: 10px; transition: color .16s, background .16s; position: relative;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 79;
  background: rgba(8, 13, 33, .98); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 14px 24px 26px; transform: translateY(-120%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { color: rgba(255,255,255,.84); font-size: 17px; font-weight: 500; padding: 13px 6px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-menu .btn { margin-top: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 20%, rgba(255, 193, 7, .14), transparent 55%),
    radial-gradient(90% 80% at 10% 90%, rgba(59, 130, 246, .18), transparent 60%),
    linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 45%, var(--hero-c) 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,210,120,.10), transparent), url("/assets/tc_set_b.webp");
  opacity: 0; /* placeholder hook, kept subtle off */
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  min-height: calc(100vh - var(--nav-h)); padding: 60px 0 70px;
}
.hero-copy { max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 193, 7, .12); border: 1px solid rgba(255, 214, 107, .35);
  color: var(--gold-soft); font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.hero h1 {
  font-size: clamp(36px, 5.4vw, 62px); font-weight: 700; line-height: 1.12;
  margin: 0 0 20px; letter-spacing: -.015em;
}
.hero h1 .em {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold), var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 30px rgba(255, 193, 7, .25);
}
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: rgba(255,255,255,.82); margin: 0 0 32px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stats .st b { display: block; font-family: var(--font-en); font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: #fff; line-height: 1; }
.hero-stats .st span { font-size: 14px; color: rgba(255,255,255,.6); }
.hero-stats .sep { width: 1px; background: rgba(255,255,255,.14); }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.5); border: 1px solid rgba(255, 214, 107, .22);
}
.hero-visual .frame img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-visual .glow { position: absolute; inset: -20% -10% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,193,7,.35), transparent 65%); filter: blur(20px); z-index: -1; }
.hero-chip {
  position: absolute; background: rgba(12, 19, 44, .82); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--sh-lg);
}
.hero-chip svg { width: 22px; height: 22px; }
.hero-chip b { font-size: 15px; color: #fff; display: block; line-height: 1.2; }
.hero-chip span { font-size: 12.5px; color: rgba(255,255,255,.62); }
.hero-chip.c1 { left: -26px; top: 30px; animation: floaty 5s ease-in-out infinite; }
.hero-chip.c2 { right: -20px; bottom: 40px; animation: floaty 5.6s ease-in-out infinite .6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-marquee {
  border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18);
  overflow: hidden; white-space: nowrap;
}
.hero-marquee .track { display: inline-flex; gap: 56px; padding: 16px 0; animation: marquee 26s linear infinite; }
.hero-marquee .track span { font-size: 15px; color: rgba(255,255,255,.62); display: inline-flex; align-items: center; gap: 12px; }
.hero-marquee .track span::before { content: "✦"; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust { background: var(--light); border-bottom: 1px solid var(--line-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 36px 0; }
.trust-card {
  display: flex; align-items: center; gap: 16px; background: #fff;
  padding: 22px 24px; border-radius: var(--r-md); box-shadow: var(--sh-sm);
  border: 1px solid var(--line-soft);
}
.trust-ic {
  width: 54px; height: 54px; flex: 0 0 auto; border-radius: 14px;
  display: grid; place-items: center; background: linear-gradient(145deg, #eef3ff, #dde8ff); color: var(--blue-600);
}
.trust-ic svg { width: 27px; height: 27px; }
.trust-card.gold .trust-ic { background: linear-gradient(145deg, #fff5d6, #ffe9a6); color: var(--gold-deep); }
.trust-card.green .trust-ic { background: linear-gradient(145deg, #d9fadf, #b9f3c4); color: var(--line-700); }
.trust-card b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.trust-card span { font-size: 14px; color: var(--muted); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 90px 0; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 34px 32px; box-shadow: var(--sh-md);
  display: flex; flex-direction: column; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.svc-card.feature { border: 1.5px solid rgba(255,193,7,.5); }
.svc-card.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-gold); }
.svc-badge {
  position: absolute; top: 22px; right: 22px; font-size: 12.5px; font-weight: 600;
  padding: 6px 13px; border-radius: var(--r-pill); letter-spacing: .02em;
}
.svc-badge.pop { background: var(--grad-gold); color: #3a2a02; box-shadow: var(--sh-gold); }
.svc-badge.month { background: #eef3ff; color: var(--blue-600); border: 1px solid #d7e4ff; }
.svc-ic { width: 58px; height: 58px; border-radius: 16px; background: var(--grad-navy); display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 10px 24px rgba(37,99,235,.3); }
.svc-ic svg { width: 30px; height: 30px; color: #fff; }
.svc-card h3 { font-size: 25px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.svc-card .sub { font-size: 15px; color: var(--muted); margin: 0 0 22px; }
.svc-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 13px; }
.svc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: #344054; }
.svc-list .ck { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: #e9f7ec; color: var(--line-700); display: grid; place-items: center; margin-top: 1px; }
.svc-list .ck svg { width: 14px; height: 14px; }
.svc-actions { display: flex; gap: 12px; margin-top: auto; }
.svc-actions .btn { flex: 1; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc { padding: 90px 0; background:
  radial-gradient(80% 60% at 50% 0%, rgba(59,130,246,.07), transparent 60%), var(--light); }
.calc-shell {
  max-width: 920px; margin: 0 auto; background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); border: 1px solid var(--line-soft); overflow: hidden;
}
.calc-head { background: var(--grad-navy); color: #fff; padding: 30px 38px; position: relative; overflow: hidden; }
.calc-head::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,193,7,.3), transparent 70%); }
.calc-head h3 { margin: 0 0 4px; font-size: 23px; font-weight: 700; }
.calc-head p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.78); }
/* steps progress */
.steps { display: flex; align-items: center; gap: 0; padding: 24px 38px 0; }
.step { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.step .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; font-size: 15px; background: #eef1f7; color: var(--muted); border: 2px solid transparent; transition: .25s; }
.step .lbl { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: .25s; }
.step.active .dot { background: var(--grad-blue); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,.4); }
.step.active .lbl { color: var(--ink); font-weight: 600; }
.step.done .dot { background: #e9f7ec; color: var(--line-700); border-color: #bfe8c8; }
.step-bar { flex: 1; height: 2px; background: #e7ebf3; margin: 0 14px; border-radius: 2px; position: relative; overflow: hidden; }
.step-bar::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: var(--blue); transition: width .35s ease; }

.calc-body { padding: 32px 38px 38px; }
.calc-pane { display: none; animation: fade .35s ease; }
.calc-pane.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pane-title { font-size: 18px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.pane-sub { font-size: 14.5px; color: var(--muted); margin: 0 0 22px; }

.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.opt {
  position: relative; cursor: pointer; border: 1.5px solid var(--line-soft); border-radius: var(--r-md);
  padding: 16px 14px; background: #fff; transition: .18s; text-align: left;
}
.opt:hover { border-color: var(--blue); box-shadow: 0 6px 16px rgba(37,99,235,.12); }
.opt.sel { border-color: var(--blue); background: #f4f8ff; box-shadow: 0 8px 20px rgba(37,99,235,.16); }
.opt.sel::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; display: grid; place-items: center; }
.opt b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.opt span { font-size: 12.5px; color: var(--muted); font-family: var(--font-en); }

.field { margin-bottom: 22px; }
.field > label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 11px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  cursor: pointer; border: 1.5px solid var(--line-soft); background: #fff; color: #344054;
  font-family: var(--font-th); font-size: 14.5px; font-weight: 500; padding: 9px 16px; border-radius: var(--r-pill); transition: .16s;
}
.chip:hover { border-color: var(--blue); }
.chip.sel { background: var(--navy); color: #fff; border-color: var(--navy); }

.calc-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.calc-foot .btn-back { background: #fff; color: var(--muted); border: 1.5px solid var(--line-soft); }
.calc-foot .btn-back:hover { color: var(--ink); border-color: #cdd5e3; }

/* result */
.result { text-align: center; padding: 8px 0; }
.result .price-card {
  background: var(--grad-navy); color: #fff; border-radius: var(--r-lg); padding: 34px; margin: 0 auto 24px; max-width: 460px;
  position: relative; overflow: hidden; box-shadow: var(--sh-lg);
}
.result .price-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,193,7,.35), transparent 70%); }
.result .price-card .cap { font-size: 14.5px; color: rgba(255,255,255,.72); margin-bottom: 6px; }
.result .price-card .amt { font-family: var(--font-en); font-size: clamp(34px, 6vw, 48px); font-weight: 800; line-height: 1.1; }
.result .price-card .amt .unit { font-size: 22px; font-weight: 600; color: var(--gold-soft); }
.result .price-card .model { font-size: 15px; color: rgba(255,255,255,.82); margin-top: 8px; }
.result .disc { font-size: 13px; color: var(--muted); max-width: 440px; margin: 0 auto 22px; }
.result .res-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BRANCHES
   ============================================================ */
.branches { padding: 90px 0; }
.br-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.br-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.br-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.br-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.br-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.br-card:hover .br-photo img { transform: scale(1.05); }
.br-tag { position: absolute; left: 14px; top: 14px; background: rgba(10,17,40,.82); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.16); }
.br-open { position: absolute; right: 14px; top: 14px; background: rgba(0,195,0,.92); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill); display: flex; align-items: center; gap: 6px; }
.br-open .d { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.br-info { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.br-info h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.br-addr { display: flex; gap: 9px; font-size: 14.5px; color: var(--muted); margin: 0 0 7px; }
.br-addr svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; color: var(--blue); }
.br-actions { display: flex; gap: 9px; margin-top: 18px; }
.br-actions .btn { flex: 1; padding: 10px; font-size: 13.5px; }
.br-actions .ic-btn { flex: 0 0 auto; width: 42px; padding: 0; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { padding: 90px 0; background: var(--light); }
.rv-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.rv-item { position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer; box-shadow: var(--sh-sm); background: #fff; aspect-ratio: 1; }
.rv-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rv-item:hover img { transform: scale(1.07); }
.rv-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10,17,40,.45)); opacity: 0; transition: .25s; }
.rv-item:hover::after { opacity: 1; }
.rv-zoom { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .25s; z-index: 2; }
.rv-item:hover .rv-zoom { opacity: 1; transform: scale(1); }
.rv-zoom svg { width: 16px; height: 16px; color: var(--navy); }
.rv-item.big { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
.rv-stars { display: inline-flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.rv-stars svg { width: 22px; height: 22px; }

/* ============================================================
   VIDEO
   ============================================================ */
.video { padding: 90px 0; }
.vid-frame { max-width: 960px; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line-soft); position: relative; aspect-ratio: 16/9; background: #0a1228; }
.vid-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid-poster { position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; background-size: cover; background-position: center; }
.vid-poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(7,8,15,.6), rgba(14,44,90,.45)); }
.vid-play { position: relative; width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 2px solid rgba(255,255,255,.6); display: grid; place-items: center; transition: .2s; }
.vid-poster:hover .vid-play { transform: scale(1.08); background: var(--line); border-color: var(--line); }
.vid-play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.vid-cap { position: absolute; left: 28px; bottom: 26px; color: #fff; z-index: 2; }
.vid-cap b { font-size: 20px; font-weight: 700; display: block; }
.vid-cap span { font-size: 14px; color: rgba(255,255,255,.78); }

/* ============================================================
   RATE TABLE
   ============================================================ */
.rates { padding: 90px 0; background: var(--light); }
.rate-card { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: var(--r-xl); padding: 14px; box-shadow: var(--sh-lg); border: 1px solid var(--line-soft); cursor: zoom-in; position: relative; }
.rate-card img { width: 100%; border-radius: var(--r-lg); display: block; }
.rate-zoom-hint { position: absolute; right: 26px; bottom: 26px; background: rgba(10,17,40,.82); color: #fff; font-size: 13px; padding: 8px 14px; border-radius: var(--r-pill); display: flex; align-items: center; gap: 7px; backdrop-filter: blur(6px); }
.rate-zoom-hint svg { width: 15px; height: 15px; }
.rate-notes { max-width: 1000px; margin: 22px auto 0; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; }
.rate-notes .n { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #344054; }
.rate-notes .n svg { width: 18px; height: 18px; color: var(--line-700); flex: 0 0 auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 90px 0; }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line-soft); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq-item.open { box-shadow: var(--sh-md); border-color: #d7e0f0; }
.faq-q { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px; font-family: var(--font-th); font-size: 17px; font-weight: 500; color: var(--ink); }
.faq-q .qn { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; background: #eef3ff; color: var(--blue-600); display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; font-size: 14px; }
.faq-q .qt { flex: 1; }
.faq-q .ar { flex: 0 0 auto; width: 22px; height: 22px; color: var(--muted); transition: transform .3s; }
.faq-item.open .faq-q .ar { transform: rotate(180deg); color: var(--blue-600); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .inner { padding: 0 24px 22px 70px; font-size: 15.5px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: linear-gradient(180deg, #0a1024 0%, #070a17 100%); color: #fff; padding: 70px 0 28px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { font-size: 15px; color: rgba(255,255,255,.62); max-width: 280px; margin: 0 0 20px; }
.foot-tag { font-size: 20px; font-weight: 700; color: var(--gold-soft); margin: 0 0 6px; }
.foot-col h4 { font-size: 15px; font-weight: 600; color: #fff; margin: 0 0 18px; letter-spacing: .02em; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { font-size: 14.5px; color: rgba(255,255,255,.64); transition: color .16s; display: inline-flex; align-items: center; gap: 9px; }
.foot-col a:hover { color: var(--gold-soft); }
.foot-line a { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 11px 15px; border-radius: 12px; transition: .18s; }
.foot-line a:hover { background: rgba(0,195,0,.14); border-color: rgba(0,195,0,.4); }
.foot-line .li-ic { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 8px; background: var(--line); display: grid; place-items: center; }
.foot-line .li-ic svg { width: 18px; height: 18px; color: #fff; }
.foot-line b { font-size: 14.5px; color: #fff; display: block; line-height: 1.2; }
.foot-line span { font-size: 12px; color: rgba(255,255,255,.5); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; flex-wrap: wrap; }
.foot-bottom p { font-size: 13px; color: rgba(255,255,255,.45); margin: 0; }
.foot-legal { font-size: 12.5px; color: rgba(255,255,255,.38); max-width: 560px; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floats { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--sh-lg); cursor: pointer; transition: transform .2s; position: relative; }
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 27px; height: 27px; color: #fff; }
.float-btn.line { background: var(--line); }
.float-btn.call { background: var(--grad-blue); }
.float-btn .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: .5; animation: ring 2s infinite; }
.float-btn.line { color: var(--line); } .float-btn.call { color: var(--blue); }
.float-btn svg { color: #fff; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.float-btn .tip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: #0a1024; color: #fff; font-size: 13px; font-weight: 500; padding: 8px 13px; border-radius: 9px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; }
.float-btn .tip::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: #0a1024; }
.float-btn:hover .tip { opacity: 1; right: 74px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,9,20,.92); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; animation: fade .25s ease; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--r-md); box-shadow: var(--sh-lg); }
.lb-close { position: absolute; top: 24px; right: 28px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; display: grid; place-items: center; transition: .18s; }
.lb-close:hover { background: rgba(255,255,255,.22); }
.lb-close svg { width: 22px; height: 22px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; display: grid; place-items: center; transition: .18s; }
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-nav svg { width: 24px; height: 24px; }
.lb-nav.prev { left: 24px; } .lb-nav.next { right: 24px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding: 44px 0 56px; text-align: center; }
  .hero-copy { max-width: 640px; margin: 0 auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-chip.c1 { left: 0; } .hero-chip.c2 { right: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .trust-grid { grid-template-columns: 1fr; }
  .br-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .rv-grid { grid-template-columns: repeat(2, 1fr); }
  .rv-item.big { grid-column: span 2; grid-row: auto; }
  .opt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .services, .calc, .branches, .reviews, .video, .rates, .faq { padding: 56px 0; }
  .sec-head { margin-bottom: 34px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 42px); }
  .hero-stats { gap: 18px; }
  .hero-cta .btn { flex: 1; }
  .calc-head, .calc-body, .steps { padding-left: 20px; padding-right: 20px; }
  .steps .step .lbl { display: none; }
  .step.active .lbl { display: block; }
  .calc-body { padding-bottom: 28px; }
  .svc-card { padding: 26px 22px; }
  .svc-actions { flex-direction: column; }
  .rv-grid { gap: 10px; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .floats { right: 16px; bottom: 16px; }
  .float-btn { width: 52px; height: 52px; }
  .br-actions { flex-wrap: wrap; }
  .faq-a .inner { padding-left: 24px; }
}

/* ---------- Fee table (replaces rate image) ---------- */
.fee-table-wrap { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: var(--r-xl); padding: 10px; box-shadow: var(--sh-lg); border: 1px solid var(--line-soft); overflow-x: auto; }
.fee-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.fee-table thead th { background: var(--grad-navy); color: #fff; font-weight: 600; font-size: 15.5px; padding: 16px 18px; text-align: center; }
.fee-table thead th:first-child { border-top-left-radius: var(--r-md); }
.fee-table thead th:last-child { border-top-right-radius: var(--r-md); }
.fee-table tbody td { padding: 14px 18px; text-align: center; font-size: 15.5px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.fee-table tbody tr:nth-child(even) td { background: #f7f9fd; }
.fee-table tbody tr:hover td { background: #eef3ff; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table tbody td:nth-child(2) { color: var(--gold-deep); font-weight: 600; }
