/* =====================================================
   Impact Solutions — Academic Writing
   Shared stylesheet
   Edit brand colours in :root below
   ===================================================== */

:root {
  --navy:        #0a2540;
  --navy-700:    #11315a;
  --navy-50:     #eef3fb;
  --gold:        #f5a623;
  --gold-dark:   #d98e10;
  --blue:        #1e6fe6;
  --blue-dark:   #1456b9;
  --text:        #1d2939;
  --text-soft:   #475467;
  --line:        #e4e7ec;
  --bg:          #ffffff;
  --bg-soft:     #f7f9fc;
  --bg-band:     #0a2540;
  --green:       #16a34a;
  --red:         #dc2626;
  --shadow-sm:   0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.05);
  --shadow-md:   0 4px 12px rgba(16,24,40,.08), 0 2px 4px rgba(16,24,40,.05);
  --radius:      10px;
  --radius-lg:   16px;
  --max:         1180px;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--text-soft); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section   { padding: 72px 0; }
.section-sm{ padding: 48px 0; }
.bg-soft   { background: var(--bg-soft); }
.bg-navy   { background: var(--bg-band); color: #fff; }
.bg-navy h1,.bg-navy h2,.bg-navy h3 { color:#fff; }
.bg-navy p { color: rgba(255,255,255,.78); }

.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary  { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); color: var(--navy); }
.btn-secondary{ background: var(--blue); color: #fff; }
.btn-secondary:hover{ background: var(--blue-dark); color:#fff; }
.btn-ghost    { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color:#fff; }
.btn-outline  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color:#fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover{ background:#1ebe57; color:#fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  color: var(--navy); letter-spacing: -.01em;
}
.brand-mark {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg,
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-mark.legacy {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; font-weight: 800; box-shadow: var(--shadow-sm);
}
.brand small { display:block; font-size:.7rem; font-weight:600; color: var(--text-soft); letter-spacing:.08em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: 8px;
  color: var(--text); font-weight: 600; font-size: .95rem;
}
.nav-links a:hover { background: var(--navy-50); color: var(--navy); }
.nav-links a.active { color: var(--navy); background: var(--navy-50); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 8px;
}
.menu-toggle span { display:block; width:22px; height:2px; background: var(--navy); margin: 5px auto; transition: .2s; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; gap: 4px; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-cta {
    display: flex; flex-direction: column; gap: 8px;
    position: absolute; top: 72px; left:0; right:0;
    transform: translateY( calc(46px * var(--nav-count, 6) + 16px) );
    background: #fff; padding: 0 24px 20px; border-bottom: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 90% -10%, rgba(245,166,35,.18), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(30,111,230,.18), transparent 60%),
    linear-gradient(180deg, #0a2540 0%, #0f2f55 100%);
  color: #fff;
  padding: 80px 0 96px;
  position: relative; overflow: hidden;
}
.hero h1 { color:#fff; max-width: 760px; }
.hero p.lead { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 640px; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-trust { display:flex; gap: 24px; margin-top: 28px; color: rgba(255,255,255,.8); font-size: .9rem; flex-wrap: wrap;}
.hero-trust span { display:flex; align-items:center; gap:8px; }
.hero-trust svg { fill: var(--gold); width:18px; height:18px; }

.quote-card {
  background: #fff; color: var(--text);
  border-radius: var(--radius-lg);
  padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.quote-card h3 { color: var(--navy); margin-bottom: 4px; }
.quote-card .sub { color: var(--text-soft); font-size: .9rem; margin-bottom: 18px; }
.quote-card label { display:block; font-weight: 600; font-size: .85rem; color: var(--navy); margin: 12px 0 6px; }
.quote-card input, .quote-card select, .quote-card textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size:.95rem; font-family: inherit;
}
.quote-card .row { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-card .price-line {
  display:flex; justify-content: space-between; align-items:center;
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line);
}
.price-line .price { font-size: 1.45rem; font-weight: 800; color: var(--navy); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Section helpers ---------- */
.section-head { text-align:center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { font-size: 1.05rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.card .icon {
  width: 46px; height: 46px; border-radius: 10px; display:grid; place-items:center;
  background: var(--navy-50); color: var(--navy); margin-bottom: 14px; font-weight: 800;
}
.card .icon svg { width: 22px; height: 22px; fill: var(--navy); }
.card h3 { margin-bottom: 6px; }
.card p  { margin: 0; font-size: .95rem; }
.card .link {
  display:inline-flex; gap:6px; align-items:center;
  margin-top: 14px; font-weight: 700; color: var(--blue);
}

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.stat .num { font-size: 2.2rem; font-weight: 800; color:#fff; letter-spacing: -.02em; }
.stat .label { color: rgba(255,255,255,.7); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  position: relative; padding: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 22px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-weight: 800;
  display:grid; place-items:center; box-shadow: var(--shadow-sm);
}
.step h3 { margin-top: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; position: relative;
}
.testimonial::before {
  content:"\201C"; position:absolute; top:-10px; left:18px;
  font-size: 4rem; line-height:1; color: var(--gold); font-family: Georgia, serif;
}
.testimonial p { font-style: italic; color: var(--text); }
.testimonial .who { display:flex; align-items:center; gap: 12px; margin-top: 16px; }
.testimonial .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy-50);
  color: var(--navy); font-weight: 800; display:grid; place-items:center;
}
.testimonial .meta strong { color: var(--navy); display:block; font-size: .95rem; }
.testimonial .meta span  { color: var(--text-soft); font-size: .85rem; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 6px; }

/* ---------- Pricing ---------- */
.price-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display:flex; flex-direction:column; height:100%;
}
.price-card.featured { border-color: var(--gold); box-shadow: 0 18px 40px rgba(245,166,35,.18); transform: translateY(-6px); position: relative; }
.price-card.featured::before {
  content:"MOST POPULAR"; position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background: var(--gold); color: var(--navy); padding: 6px 12px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em;
}
.price-card h3 { color: var(--navy); }
.price-card .price-big { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.price-card .price-big small { font-size: 1rem; font-weight: 600; color: var(--text-soft); }
.price-card ul { list-style:none; padding:0; margin: 18px 0 24px; }
.price-card li { padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--text); font-size: .95rem; display:flex; gap:8px; align-items:flex-start;}
.price-card li::before { content:"\2713"; color: var(--green); font-weight:800; }
.price-card .btn { margin-top: auto; }

table.price-table {
  width: 100%; border-collapse: collapse; background:#fff; border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow-sm);
}
table.price-table th, table.price-table td { padding: 14px 16px; text-align:center; border-bottom: 1px solid var(--line); font-size:.95rem;}
table.price-table th { background: var(--navy); color:#fff; font-weight:700; text-align:center;}
table.price-table td:first-child, table.price-table th:first-child { text-align:left; }
table.price-table tr:last-child td { border-bottom: 0; }
table.price-table tbody tr:hover { background: var(--bg-soft); }

/* ---------- Forms ---------- */
.form {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 700px) { .form-row, .form-row.three { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display:block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .95rem; font-family: inherit; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue);
}
.field .hint { color: var(--text-soft); font-size: .8rem; margin-top: 4px; display:block; }
.field-inline { display:flex; gap:8px; align-items:center; font-size:.9rem; color: var(--text); }
.summary {
  background: var(--navy-50); border-radius: var(--radius); padding: 18px; margin: 18px 0;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
.summary .estimate { color: var(--navy); font-weight: 800; font-size: 1.35rem; }

/* ---------- FAQ ---------- */
.faq details {
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; float:right; font-weight: 800; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content:"\2212"; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq p { margin: 12px 0 0; }

/* ---------- Page banner ---------- */
.page-banner {
  background:
    radial-gradient(700px 240px at 100% 0%, rgba(245,166,35,.2), transparent 60%),
    linear-gradient(180deg, #0a2540 0%, #11315a 100%);
  color:#fff; padding: 64px 0 56px;
}
.page-banner h1 { color:#fff; margin-bottom: 8px; }
.page-banner p  { color: rgba(255,255,255,.8); max-width: 720px; }
.breadcrumb { color: rgba(255,255,255,.65); font-size: .85rem; margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  color:#fff; padding: 56px 0; text-align: center;
}
.cta-band h2 { color:#fff; }
.cta-band p  { color: rgba(255,255,255,.8); max-width: 640px; margin-left:auto; margin-right:auto; }
.cta-band .btns { display:flex; gap: 12px; justify-content:center; margin-top: 22px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: #06182e; color: rgba(255,255,255,.75);
  padding: 56px 0 28px; font-size: .92rem;
}
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color:#fff; font-size:.95rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a  { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color:#fff; }
.site-footer .brand small { color: rgba(255,255,255,.6); }
.legal {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 12px;
  color: rgba(255,255,255,.6); font-size: .85rem;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display:grid; place-items:center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0;}
.mb-0 { margin-bottom: 0;}
.mt-2 { margin-top: 12px;}
.mt-4 { margin-top: 24px;}
.mt-6 { margin-top: 36px;}
.tag {
  display:inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--navy-50); color: var(--navy); font-size:.78rem; font-weight: 700; letter-spacing:.04em;
  text-transform: uppercase;
}
hr.sep { border:0; border-top:1px solid var(--line); margin: 32px 0; }

/* simple list-check */
.checklist { list-style:none; padding:0; margin:0; }
.checklist li { padding: 8px 0 8px 28px; position: relative; color: var(--text); }
.checklist li::before {
  content:""; position:absolute; left:0; top:14px; width:14px; height:14px; border-radius:50%;
  background: var(--green);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--green);
}

/* =====================================================
   v2 — Bold & Modern animation layer
   ===================================================== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100;
  background: transparent; pointer-events: none;
}
.scroll-progress__bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue) 100%);
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(245,166,35,.5);
}

/* Animated gradient blobs on hero */
.hero { isolation: isolate; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55; z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px; top: -120px; right: -100px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  animation: blob-drift-a 18s ease-in-out infinite alternate;
}
.hero::after {
  width: 480px; height: 480px; bottom: -180px; left: -120px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  animation: blob-drift-b 22s ease-in-out infinite alternate;
}
.hero .container { position: relative; z-index: 1; }

@keyframes blob-drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.15); }
}
@keyframes blob-drift-b {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, -50px) scale(1.1); }
}

/* Typing animation */
.typed-word {
  position: relative; display: inline-block;
  color: var(--gold);
  border-right: 3px solid var(--gold);
  padding-right: 4px;
  animation: caret-blink 1s steps(2) infinite;
}
@keyframes caret-blink {
  50% { border-right-color: transparent; }
}

/* Floating hero illustration */
.hero-illu {
  position: relative; width: 100%; max-width: 460px; margin-left: auto;
  animation: float-y 6s ease-in-out infinite;
}
.hero-illu svg { width: 100%; height: auto; display:block; }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Hero CTA shimmer on primary button */
.btn-primary.btn-lg { position: relative; overflow: hidden; }
.btn-primary.btn-lg::after {
  content:""; position:absolute; top:0; left:-120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.4) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { left: -120%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}

/* Animated stats counter strip */
.counter-strip {
  background: linear-gradient(135deg, #0a2540 0%, #11315a 60%, #1456b9 100%);
  padding: 56px 0; color:#fff; position: relative; overflow: hidden;
}
.counter-strip::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(600px 200px at 50% 50%, rgba(245,166,35,.18), transparent 70%);
  pointer-events:none;
}
.counter-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center; position: relative; z-index: 1;
}
.counter .num {
  font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800;
  color: #fff; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #f5a623 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.counter .label { color: rgba(255,255,255,.75); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-top: 8px; }
@media (max-width: 700px) { .counter-grid { grid-template-columns: repeat(2, 1fr); } }

/* Card hover-lift (refined for v2) */
.card, .price-card, .step, .testimonial {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(16,24,40,.08), 0 4px 8px rgba(16,24,40,.04);
  border-color: var(--gold);
}
.price-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(16,24,40,.10); }
.price-card.featured:hover { transform: translateY(-12px); box-shadow: 0 26px 50px rgba(245,166,35,.25); }

/* Service card icon — gradient mark */
.card .icon {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; transition: transform .3s ease;
}
.card .icon svg { fill: #fff; }
.card:hover .icon { transform: rotate(-6deg) scale(1.08); }

/* Step number — pulse on appear */
.step::before {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  animation: pulse-ring 2.5s ease-out infinite;
  animation-play-state: paused;
}
.step.aos-animate::before { animation-play-state: running; }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(245,166,35,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(245,166,35,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
}

/* Testimonials carousel */
.testimonial-carousel {
  position: relative;
  max-width: 760px; margin: 0 auto;
}
.testimonial-track {
  position: relative; height: 220px;
}
.testimonial-track .testimonial {
  position: absolute; inset: 0; opacity: 0; transform: translateX(40px);
  transition: opacity .6s ease, transform .6s ease;
  background: #fff;
}
.testimonial-track .testimonial.is-active {
  opacity: 1; transform: translateX(0);
}
.carousel-dots {
  display:flex; justify-content:center; gap: 10px; margin-top: 22px;
}
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line); border: 0; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  padding: 0;
}
.carousel-dots button.is-active {
  background: var(--gold); transform: scale(1.3);
}
@media (max-width: 700px) {
  .testimonial-track { height: 280px; }
}

/* AOS-style fade utilities (if AOS lib isn't loaded, these still degrade gracefully) */
[data-aos] {
  opacity: 0; transition: opacity .7s ease, transform .7s ease;
}
[data-aos="fade-up"]    { transform: translateY(28px); }
[data-aos="fade-down"]  { transform: translateY(-28px); }
[data-aos="fade-left"]  { transform: translateX(28px); }
[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="zoom-in"]    { transform: scale(.92); }
[data-aos].aos-animate {
  opacity: 1; transform: translate(0,0) scale(1);
}

/* Section eyebrow — gold gradient pill */
.eyebrow {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reduced motion safeguard */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero::before, .hero::after { animation: none !important; }
  .hero-illu { animation: none !important; }
  .typed-word { border-right-color: transparent !important; animation: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* Section reveal stagger helper */
.stagger > * { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }
.stagger > *:nth-child(5) { transition-delay: 320ms; }
.stagger > *:nth-child(6) { transition-delay: 400ms; }
.stagger > *:nth-child(7) { transition-delay: 480ms; }
.stagger > *:nth-child(8) { transition-delay: 560ms; }
.stagger > *:nth-child(9) { transition-delay: 640ms; }

/* Gradient text helper */
.grad-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floating soft dots backdrop for soft sections */
.bg-soft.with-dots { position: relative; overflow: hidden; }
.bg-soft.with-dots::before {
  content:""; position: absolute; inset:0;
  background-image: radial-gradient(rgba(10,37,64,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.bg-soft.with-dots > * { position: relative; }

/* Page banner — add gentle drift */
.page-banner { position: relative; overflow: hidden; }
.page-banner::after {
  content:""; position:absolute; width: 420px; height: 420px; border-radius:50%;
  top:-160px; right:-80px;
  background: radial-gradient(circle, rgba(245,166,35,.25) 0%, transparent 70%);
  filter: blur(40px);
  animation: blob-drift-a 16s ease-in-out infinite alternate;
}

/* CTA band — subtle moving gradient */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 50%, var(--navy) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 12s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Floating WhatsApp pulse */
.wa-float { animation: wa-pulse 2.2s ease-out infinite; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =====================================================
   v3 — Bento grid, marquee, glassmorphism, spotlight, tilt, slider
   ===================================================== */

/* ---------- Bento services grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.bento .b-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
}
.bento .b-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(16,24,40,.10);
  border-color: var(--gold);
}
.bento .b-card .icon {
  width: 46px; height: 46px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  margin-bottom: 12px; transition: transform .3s ease;
}
.bento .b-card .icon svg { width: 22px; height: 22px; fill: #fff; }
.bento .b-card:hover .icon { transform: rotate(-6deg) scale(1.08); }
.bento .b-card h3 { color: var(--navy); margin: 0 0 6px; }
.bento .b-card p  { margin: 0; font-size: .94rem; color: var(--text-soft); }
.bento .b-card .link { margin-top: 14px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }

/* Bento spans */
.bento .b-feature { grid-column: span 4; grid-row: span 2;
  background: linear-gradient(135deg, #0a2540 0%, #11315a 60%, #1456b9 100%);
  color: #fff; border-color: transparent;
}
.bento .b-feature::before {
  content:""; position:absolute; width: 300px; height: 300px; border-radius:50%;
  top: -100px; right: -80px; filter: blur(60px); opacity: .5;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  animation: blob-drift-a 16s ease-in-out infinite alternate;
}
.bento .b-feature h3, .bento .b-feature h2 { color:#fff; font-size: 1.6rem; margin-bottom: 10px; }
.bento .b-feature p { color: rgba(255,255,255,.85); font-size: 1rem; max-width: 460px; }
.bento .b-feature .icon { background: rgba(255,255,255,.16); width: 56px; height: 56px; }
.bento .b-feature .icon svg { fill: var(--gold); }
.bento .b-feature .link { color: var(--gold); }
.bento .b-tall { grid-column: span 2; grid-row: span 2; }
.bento .b-tall { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.bento .b-wide { grid-column: span 4; }
.bento .b-std  { grid-column: span 2; }

/* Stats badge inside feature card */
.bento .b-feature .feature-stats {
  display: flex; gap: 22px; margin-top: 18px;
}
.bento .b-feature .feature-stats div {
  font-size: .85rem; color: rgba(255,255,255,.7);
}
.bento .b-feature .feature-stats strong {
  display: block; font-size: 1.4rem; color: var(--gold); font-weight: 800; letter-spacing: -.02em;
}

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .b-feature { grid-column: span 4; }
  .bento .b-tall    { grid-column: span 2; grid-row: span 1; }
  .bento .b-wide    { grid-column: span 4; }
  .bento .b-std     { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento .b-feature, .bento .b-tall, .bento .b-wide, .bento .b-std {
    grid-column: span 1; grid-row: span 1;
  }
}

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content:""; position:absolute; top:0; bottom:0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg-soft), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg-soft), transparent); }
.marquee-track {
  display: flex; gap: 36px; width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--navy);
  white-space: nowrap; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .9rem; letter-spacing: .02em;
}
.marquee-item svg { width: 16px; height: 16px; fill: var(--gold); }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Glassmorphism quote card ---------- */
.quote-card.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 30px 70px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.6);
}

/* ---------- Spotlight cursor on dark sections ---------- */
.has-spotlight {
  position: relative;
}
.has-spotlight::after {
  content:""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(245,166,35,.22),
    transparent 60%
  );
  opacity: 0; transition: opacity .3s ease; z-index: 1;
  mix-blend-mode: screen;
}
.has-spotlight:hover::after { opacity: 1; }
.has-spotlight > * { position: relative; z-index: 2; }

/* ---------- Vanilla-tilt safety: keep contents readable ---------- */
.card, .price-card, .b-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.card > *, .price-card > *, .b-card > * {
  transform: translateZ(0);
}
.card .icon, .b-card .icon {
  transform: translateZ(28px);
}
.card h3, .b-card h3, .price-card h3 { transform: translateZ(14px); }
.card .link, .b-card .link { transform: translateZ(20px); }

/* ---------- Before/After editing slider ---------- */
.ba-slider-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 0; overflow: hidden;
  margin: 0 auto; max-width: 920px;
}
.ba-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.ba-header h3 { margin: 0; font-size: 1.1rem; color: var(--navy); }
.ba-header .badge {
  font-size: .75rem; font-weight: 800; letter-spacing: .12em;
  padding: 6px 12px; border-radius: 999px;
}
.ba-header .badge.before { background: rgba(220,38,38,.12); color: #b91c1c; }
.ba-header .badge.after  { background: rgba(22,163,74,.14); color: #15803d; }

.ba-slider {
  position: relative; overflow: hidden;
  user-select: none; touch-action: pan-y;
  background: #fff;
  --pos: 50%;
}
.ba-pane {
  padding: 32px 40px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem; line-height: 1.7;
  color: var(--text);
  min-height: 360px;
}
.ba-pane h4 {
  font-family: var(--font-head); margin: 0 0 8px;
  color: var(--navy); font-size: 1.05rem;
}
.ba-pane.before .err {
  background: rgba(220,38,38,.13);
  text-decoration: line-through wavy rgba(220,38,38,.7);
  text-decoration-thickness: 1.5px;
  padding: 0 2px; border-radius: 2px;
}
.ba-pane.after .fix {
  background: rgba(22,163,74,.13);
  padding: 0 2px; border-radius: 2px; color: #15803d; font-weight: 600;
}
.ba-pane.after .added {
  background: rgba(245,166,35,.18); padding: 0 2px; border-radius: 2px; font-weight: 600;
}
.ba-pane.before { position: relative; z-index: 1; }
.ba-pane.after {
  position: absolute; inset: 0; z-index: 2;
  background: #fff;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; z-index: 3;
  left: var(--pos); transform: translateX(-50%);
  width: 3px; background: var(--gold); cursor: ew-resize;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 4px 18px rgba(245,166,35,.5);
}
.ba-handle .knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(245,166,35,.5);
  border: 3px solid #fff; cursor: ew-resize;
}
.ba-handle .knob::before, .ba-handle .knob::after {
  content:""; position: absolute; top: 50%; width: 0; height: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.ba-handle .knob::before { left: 10px;  border-right: 8px solid var(--navy); transform: translateY(-50%); }
.ba-handle .knob::after  { right: 10px; border-left:  8px solid var(--navy); transform: translateY(-50%); }
.ba-slider:focus-within .ba-handle .knob, .ba-handle:hover .knob { transform: translate(-50%, -50%) scale(1.08); }

@media (max-width: 700px) {
  .ba-pane { padding: 24px 22px; font-size: .95rem; min-height: 420px; }
  .ba-handle .knob { width: 40px; height: 40px; }
}

/* =====================================================
   v4 — Grade Lift Dashboard
   ===================================================== */
.glift {
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(16,24,40,.08);
  overflow: hidden;
  max-width: 980px; margin: 0 auto;
}
.glift-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  padding: 22px 28px; border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #0a2540 0%, #11315a 60%, #1456b9 100%);
  color: #fff; gap: 16px;
}
.glift-head h3 { color: #fff; margin: 0; font-size: 1.1rem; font-weight: 700; }
.glift-head .lvl { color: rgba(255,255,255,.7); font-size: .85rem; margin-top: 4px; }
.glift-tiers {
  display: inline-flex; background: rgba(255,255,255,.08);
  padding: 4px; border-radius: 999px; gap: 4px;
}
.glift-tiers button {
  background: transparent; color: rgba(255,255,255,.75);
  border: 0; padding: 8px 18px; border-radius: 999px;
  font-weight: 700; font-size: .82rem; cursor: pointer;
  transition: all .25s ease; white-space: nowrap;
}
.glift-tiers button:hover { color: #fff; }
.glift-tiers button.is-active {
  background: var(--gold); color: var(--navy);
  box-shadow: 0 4px 16px rgba(245,166,35,.45);
}

.glift-body {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 0; padding: 0;
}
@media (max-width: 800px) {
  .glift-body { grid-template-columns: 1fr; }
}

/* Left: gauge */
.glift-gauge {
  padding: 32px 28px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
@media (max-width: 800px) {
  .glift-gauge { border-right: 0; border-bottom: 1px solid var(--line); }
}
.gauge-ring {
  position: relative; width: 220px; height: 220px;
}
.gauge-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-ring .track  { fill: none; stroke: var(--line); stroke-width: 14; }
.gauge-ring .fill   { fill: none; stroke: url(#gliftGradient); stroke-width: 14; stroke-linecap: round;
                      transition: stroke-dashoffset .9s cubic-bezier(.22,.61,.36,1); }
.gauge-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
}
.gauge-center .from {
  font-size: .8rem; color: var(--text-soft); letter-spacing: .1em; text-transform: uppercase;
}
.gauge-center .to {
  font-size: 2.4rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.gauge-center .delta {
  margin-top: 4px; font-size: .85rem; color: var(--green); font-weight: 700;
}
.gauge-label {
  margin-top: 20px;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-soft); font-weight: 700;
}
.gauge-band {
  margin-top: 4px;
  font-size: 1.05rem; font-weight: 800; color: var(--navy);
}

/* Right: dimension bars */
.glift-dims { padding: 28px 32px; }
.glift-dim { margin-bottom: 18px; }
.glift-dim:last-child { margin-bottom: 0; }
.glift-dim .row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.glift-dim .name {
  font-size: .9rem; font-weight: 700; color: var(--navy);
}
.glift-dim .vals {
  font-size: .8rem; color: var(--text-soft); font-variant-numeric: tabular-nums;
}
.glift-dim .vals .from { opacity: .7; }
.glift-dim .vals .arr  { margin: 0 6px; color: var(--gold); }
.glift-dim .vals .to   { font-weight: 800; color: var(--navy); }
.glift-track {
  position: relative; height: 10px; border-radius: 999px;
  background: var(--line); overflow: hidden;
}
.glift-track .from-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, #fca5a5 0%, #f87171 100%);
  width: 0%;
  transition: width .9s cubic-bezier(.22,.61,.36,1);
}
.glift-track .to-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 100%);
  width: 0%; border-radius: 999px;
  transition: width .9s cubic-bezier(.22,.61,.36,1) .15s;
  box-shadow: 0 0 12px rgba(245,166,35,.35);
}
.glift-track .marker {
  position: absolute; top: -3px; width: 2px; height: 16px;
  background: rgba(10,37,64,.55);
  transition: left .9s cubic-bezier(.22,.61,.36,1);
}

.glift-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.glift-foot .stats {
  display: flex; gap: 22px; flex-wrap: wrap; font-size: .85rem; color: var(--text-soft);
}
.glift-foot .stats strong { color: var(--navy); font-weight: 800; }
.glift-foot .stats .pos   { color: var(--green); }
