/* ============================================================
   CorpRoute — Business Compliance Consultants, New Delhi
   Design tokens: gray foundation + blue & green accents
   ============================================================ */

:root {
  /* Grays (foundation) */
  --gray-25:  #fafbfc;
  --gray-50:  #f5f6f8;
  --gray-100: #eceef2;
  --gray-200: #dde1e8;
  --gray-300: #c3c9d4;
  --gray-400: #99a1b0;
  --gray-500: #6b7484;
  --gray-600: #4d5565;
  --gray-700: #363d4c;
  --gray-800: #232936;
  --gray-900: #151a24;

  /* Blue (primary — trust) */
  --blue-500: #2563eb;
  --blue-600: #1d4ed8;
  --blue-700: #1e40af;
  --blue-050: #eaf1fe;

  /* Green (secondary — action / success) */
  --green-500: #0e9f6e;
  --green-600: #057a55;
  --green-050: #e6f7f0;

  --ink:        var(--gray-900);
  --ink-soft:   var(--gray-600);
  --surface:    #ffffff;
  --line:       var(--gray-200);

  --grad-brand: linear-gradient(100deg, var(--blue-600) 0%, var(--green-500) 100%);

  /* Type */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Spacing rhythm */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px;  --space-7: 48px; --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(21, 26, 36, .06), 0 1px 3px rgba(21, 26, 36, .08);
  --shadow-md: 0 6px 18px rgba(21, 26, 36, .08);
  --shadow-lg: 0 18px 44px rgba(21, 26, 36, .14);

  --container: 1160px;

  --ease-out: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem);   font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
p  { margin: 0 0 var(--space-4); color: var(--ink-soft); }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--blue-050); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue-600); color: #fff;
  padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem;
  text-decoration: none !important;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out),
              background-color .18s, border-color .18s, color .18s;
  cursor: pointer;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--blue-600); color: #fff;
  box-shadow: 0 6px 16px rgba(29, 78, 216, .28);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(29, 78, 216, .32); color:#fff; }

.btn-green {
  background: var(--green-500); color: #fff;
  box-shadow: 0 6px 16px rgba(14, 159, 110, .28);
}
.btn-green:hover { background: var(--green-600); transform: translateY(-2px); color: #fff; }

.btn-ghost {
  background: var(--surface); color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gray-400); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-light {
  background: #fff; color: var(--blue-700);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5);
  min-height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600; font-size: 1.42rem; color: #58595b;
  text-decoration: none !important;
  letter-spacing: -0.01em;
}
.brand .logo-mark { height: 38px; width: auto; flex: none; border-radius: 6px; }
.brand em { font-style: normal; color: #1f4e9c; margin-left: 2px; }
.brand .brand-text { white-space: nowrap; }

/* Brand watermark — fixed behind the page content on every page */
.brand-watermark {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: -1;
  pointer-events: none;
  opacity: .06;
}
.brand-watermark img { width: min(560px, 78vw); height: auto; }

.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-flex; align-items: center;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  color: var(--gray-600); font-weight: 500;
  text-decoration: none !important;
  transition: color .15s, background-color .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--gray-100); }
.nav-links a[aria-current="page"] {
  color: var(--blue-700); background: var(--blue-050); font-weight: 600;
}

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

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 18px 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 48px; }
}

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(37, 99, 235, .10), transparent 60%),
    radial-gradient(700px 420px at -5% 100%, rgba(14, 159, 110, .10), transparent 60%);
}

.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5; pointer-events: none;
}
.hero-blob.b1 { width: 420px; height: 420px; top: -140px; right: -80px;  background: rgba(37, 99, 235, .22); animation: blob-drift 14s ease-in-out infinite alternate; }
.hero-blob.b2 { width: 360px; height: 360px; bottom: -160px; left: -110px; background: rgba(14, 159, 110, .20); animation: blob-drift 17s ease-in-out infinite alternate-reverse; }

@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-36px, 30px) scale(1.12); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-050);
  border: 1px solid rgba(37, 99, 235, .18);
  padding: 7px 16px; border-radius: var(--radius-pill);
  margin-bottom: var(--space-5);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500); flex: none;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 159, 110, .45); }
  50%      { box-shadow: 0 0 0 6px rgba(14, 159, 110, 0); }
}

.hero h1 .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.13rem;
  max-width: 34rem;
  margin-bottom: var(--space-6);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: var(--space-6); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .88rem; font-weight: 500; color: var(--gray-600);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
}
.chip svg { width: 15px; height: 15px; color: var(--green-500); flex: none; }

/* Hero entrance animation (homepage only) */
.anim-up {
  opacity: 0;
  transform: translateY(26px);
  animation: rise-in .8s var(--ease-out) forwards;
}
.anim-up.d1 { animation-delay: .08s; }
.anim-up.d2 { animation-delay: .18s; }
.anim-up.d3 { animation-delay: .28s; }
.anim-up.d4 { animation-delay: .38s; }
.anim-up.d5 { animation-delay: .5s; }
@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero visual card stack */
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }
.hero-visual .route-path {
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  animation: draw-route 2.4s .5s var(--ease-out) forwards;
}
@keyframes draw-route { to { stroke-dashoffset: 0; } }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  font-weight: 600; font-size: .92rem;
  animation: float-soft 5s ease-in-out infinite;
}
.float-card .fc-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.float-card .fc-icon svg { width: 18px; height: 18px; }
.float-card small { display: block; font-weight: 500; color: var(--gray-500); font-size: .76rem; }
.float-card.f1 { top: 6%; left: -4%; animation-delay: .4s; }
.float-card.f2 { bottom: 4%; right: -2%; animation-delay: 1.4s; }
.fc-blue  { background: var(--blue-050); color: var(--blue-600); }
.fc-green { background: var(--green-050); color: var(--green-500); }

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .float-card.f1 { left: 0; }
  .float-card.f2 { right: 0; }
}

/* ---------- Marquee strip ---------- */
.marquee-band {
  background: var(--gray-900);
  padding: 18px 0;
  overflow: hidden;
}
.marquee {
  display: flex; gap: 0; width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee-group {
  display: flex; align-items: center; gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
}
.marquee-group span {
  color: var(--gray-300); font-weight: 600; font-size: .95rem;
  letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 12px;
}
.marquee-group span::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-500); display: inline-block;
}
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-label {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: var(--space-3);
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  text-align: center;
}
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 4px;
}
.stat .label { color: var(--gray-600); font-weight: 500; font-size: .95rem; }

@media (max-width: 880px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); } }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 1020px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5) var(--space-5);
  text-decoration: none !important;
  color: inherit;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), border-color .22s;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-brand);
  opacity: 0; transition: opacity .22s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  background: var(--blue-050); color: var(--blue-600);
}
.service-card:nth-child(even) .service-icon { background: var(--green-050); color: var(--green-600); }
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { margin-bottom: var(--space-2); font-size: 1.1rem; }
.service-card p { font-size: .94rem; margin-bottom: var(--space-4); flex: 1; }

.service-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .92rem; color: var(--blue-600);
}
.service-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.service-card:hover .service-more svg { transform: translateX(5px); }

/* ---------- Process steps ---------- */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}
@media (max-width: 1020px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .steps-grid { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
}
.step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: #fff; background: var(--grad-brand);
  margin-bottom: var(--space-4);
}
.step h3 { font-size: 1.06rem; margin-bottom: var(--space-2); }
.step p { font-size: .93rem; margin: 0; }

/* ---------- Why us / feature list ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}
.feature-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-050); color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-list .tick svg { width: 14px; height: 14px; }
.feature-list strong { display: block; color: var(--ink); font-weight: 600; }
.feature-list span.desc { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 1020px) { .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

.testi {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  display: flex; flex-direction: column;
}
.testi .stars { color: #f59e0b; letter-spacing: 3px; margin-bottom: var(--space-3); font-size: .95rem; }
.testi blockquote { margin: 0 0 var(--space-5); color: var(--gray-700); font-size: .97rem; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: .95rem;
  background: var(--grad-brand); flex: none;
}
.testi .who strong { display: block; font-size: .93rem; color: var(--ink); }
.testi .who span { font-size: .82rem; color: var(--gray-500); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(115deg, var(--gray-900) 40%, #1e3a8a 85%, #065f46 120%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px);
  text-align: center;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 260px at 80% -20%, rgba(14, 159, 110, .28), transparent 60%);
  pointer-events: none;
}
.cta-band h2, .cta-band p { color: #fff; position: relative; z-index: 1; }
.cta-band p { color: var(--gray-300); max-width: 34rem; margin: 0 auto var(--space-6); }
.cta-band .hero-actions { justify-content: center; position: relative; z-index: 1; margin-bottom: 0; }

/* ---------- Scroll reveal (homepage) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Simple fade for inner pages (limited animation) */
.fade-in {
  opacity: 0;
  animation: simple-fade .55s ease-out .05s forwards;
}
@keyframes simple-fade { to { opacity: 1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 90% -30%, rgba(37, 99, 235, .09), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 76px) 0;
}
.page-hero .breadcrumb {
  font-size: .86rem; color: var(--gray-500);
  margin-bottom: var(--space-3);
}
.page-hero .breadcrumb a { color: var(--gray-500); }
.page-hero .breadcrumb a:hover { color: var(--blue-600); }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: var(--space-3); }
.page-hero p.lede { font-size: 1.08rem; max-width: 42rem; margin-bottom: 0; }

/* ---------- Services page ---------- */
.service-nav {
  position: sticky; top: 72px; z-index: 50;
  background: rgba(245, 246, 248, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.service-nav ul {
  display: flex; gap: 6px;
  list-style: none; margin: 0; padding: 10px 0;
  white-space: nowrap;
}
.service-nav a {
  display: inline-flex; align-items: center;
  padding: 8px 16px; min-height: 40px;
  border-radius: var(--radius-pill);
  font-size: .88rem; font-weight: 500;
  color: var(--gray-600);
  background: #fff; border: 1px solid var(--line);
  text-decoration: none !important;
  transition: all .15s;
}
.service-nav a:hover { border-color: var(--blue-500); color: var(--blue-600); }

.service-detail {
  scroll-margin-top: 140px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: var(--space-6);
}
.service-detail .sd-head {
  display: flex; align-items: flex-start; gap: 18px;
  margin-bottom: var(--space-4);
}
.service-detail .sd-head .service-icon { margin-bottom: 0; }
.service-detail .sd-head .sd-meta { flex: 1; }
.service-detail h2 { font-size: 1.5rem; margin-bottom: 4px; }
.sd-tag {
  display: inline-block; font-size: .78rem; font-weight: 600;
  color: var(--green-600); background: var(--green-050);
  padding: 3px 12px; border-radius: var(--radius-pill);
}
.sd-intro {
  display: flex; align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.sd-intro > p { flex: 1; }
.sd-figure { margin: 0; flex: none; width: 220px; }
.sd-figure a { display: block; }
.sd-figure img {
  width: 100%; height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.sd-figure a:hover img { transform: scale(1.02); box-shadow: var(--shadow-md); }
.sd-figure figcaption {
  font-size: .78rem; color: var(--gray-500);
  text-align: center; line-height: 1.45;
  margin-top: 8px;
}
@media (max-width: 700px) {
  .sd-intro { flex-direction: column; }
  .sd-figure { width: min(240px, 100%); margin: 0 auto; }
}

.sd-cols {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: clamp(20px, 3vw, 40px);
  margin-top: var(--space-5);
}
@media (max-width: 760px) { .sd-cols { grid-template-columns: 1fr; } }

.sd-box {
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.sd-box h4 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gray-500); margin-bottom: var(--space-3);
}
.sd-box ul { margin: 0; padding: 0 0 0 2px; list-style: none; display: grid; gap: 9px; }
.sd-box li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .92rem; color: var(--gray-700);
}
.sd-box li svg { width: 15px; height: 15px; color: var(--green-500); flex: none; margin-top: 4px; }

.sd-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-5); }

/* ---------- About page ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 880px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
}
.value-card .service-icon { margin-bottom: var(--space-4); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  color: inherit; text-decoration: none !important;
  transition: transform .18s var(--ease-out), box-shadow .18s;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card .service-icon { width: 46px; height: 46px; margin: 0; }
.contact-card strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-card span { color: var(--ink-soft); font-size: .94rem; }

.contact-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: var(--space-4); }
.field label {
  display: block; font-weight: 600; font-size: .9rem;
  margin-bottom: 6px; color: var(--ink);
}
.field label .req { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: var(--gray-50);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.field .hint { font-size: .82rem; color: var(--gray-500); margin-top: 5px; }
.field .error-msg { display: none; font-size: .84rem; color: #dc2626; margin-top: 5px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; }
.field.has-error .error-msg { display: block; }

.form-note {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .86rem; color: var(--gray-500);
  margin-top: var(--space-4);
}
.form-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--green-500); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: var(--space-3); }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-weight: 600; color: var(--ink);
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; flex: none; color: var(--gray-400); transition: transform .25s var(--ease-out); }
.faq-item[open] summary svg { transform: rotate(45deg); color: var(--blue-600); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: clamp(48px, 6vw, 72px) 0 0;
  margin-top: var(--space-8);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: var(--space-7);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { color: #e8eaee; margin-bottom: var(--space-2); }
.site-footer .brand em { color: #7aa5ec; }
.site-footer .brand .logo-mark { border-radius: 8px; }
.footer-tagline {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 var(--space-4);
}
.site-footer p { color: var(--gray-400); font-size: .93rem; }
.site-footer h4 {
  color: #fff; font-size: .95rem; font-weight: 600;
  margin-bottom: var(--space-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a {
  color: var(--gray-400); font-size: .93rem;
  text-decoration: none;
  transition: color .15s;
}
.site-footer ul a:hover { color: #fff; }

.footer-contact li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--gray-400); font-size: .93rem;
}
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--green-500); }
.footer-contact a { color: var(--gray-300); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: .85rem; color: var(--gray-500);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .2s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Image lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(13, 17, 25, .82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .22s var(--ease-out);
}
.lightbox.is-open { opacity: 1; }
.lightbox img {
  max-width: min(92vw, 760px);
  max-height: 86vh;
  width: auto; height: auto;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
  transform: scale(.96);
  transition: transform .22s var(--ease-out);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: #fff; color: var(--gray-800);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .15s var(--ease-out);
}
.lightbox-close:hover { transform: scale(1.08); }
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-hint {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  font-size: .85rem;
  white-space: nowrap;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .anim-up, .reveal, .fade-in { opacity: 1 !important; transform: none !important; }
  .hero-visual .route-path { stroke-dashoffset: 0; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
}
