/* =====================================================================
   Azentech Software Solutions — Design System
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font-display: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1180px;
  --gutter: 22px;

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --c1: #00d4ff;
  --c2: #7c5cff;
  --c3: #22c55e;
  --c4: #ffb020;

  --grad: linear-gradient(115deg, var(--c1) 0%, var(--c2) 100%);
  --grad-soft: linear-gradient(115deg, rgba(0, 212, 255, .18), rgba(124, 92, 255, .18));

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

html[data-theme="dark"] {
  --bg: #05080f;
  --bg-2: #0a0f1c;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --border: rgba(255, 255, 255, .10);
  --border-2: rgba(255, 255, 255, .20);
  --text: #eaf0ff;
  --muted: rgba(234, 240, 255, .60);
  --shadow: 0 26px 70px rgba(0, 0, 0, .55);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .35);
  --header-bg: rgba(5, 8, 15, .70);
  --grid-line: rgba(255, 255, 255, .035);
  --on-accent: #04121a;
}

html[data-theme="light"] {
  --bg: #f5f7fc;
  --bg-2: #ffffff;
  --surface: rgba(11, 17, 32, .035);
  --surface-2: rgba(11, 17, 32, .065);
  --border: rgba(11, 17, 32, .10);
  --border-2: rgba(11, 17, 32, .20);
  --text: #0b1120;
  --muted: rgba(11, 17, 32, .62);
  --shadow: 0 26px 60px rgba(11, 17, 32, .12);
  --shadow-sm: 0 10px 28px rgba(11, 17, 32, .08);
  --header-bg: rgba(245, 247, 252, .80);
  --grid-line: rgba(11, 17, 32, .04);
  --on-accent: #04121a;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

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

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }

ul { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--c1); color: #04121a; font-weight: 700;
  padding: 10px 16px; border-radius: 10px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Background FX ---------- */
.bg-fx {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
}
.bg-fx::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  animation: float 22s var(--ease) infinite alternate;
}
.orb-1 { width: 520px; height: 520px; top: -160px; left: -120px; background: rgba(0, 212, 255, .35); }
.orb-2 { width: 560px; height: 560px; top: 120px; right: -180px; background: rgba(124, 92, 255, .32); animation-delay: -7s; }
.orb-3 { width: 420px; height: 420px; bottom: -140px; left: 35%; background: rgba(34, 197, 94, .18); animation-delay: -14s; }
html[data-theme="light"] .orb { opacity: .38; }

@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, -50px, 0) scale(1.12); }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding: 86px 0; position: relative; }
.section--tight { padding: 56px 0; }

.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 940px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 62px 0; }
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border); background: var(--surface);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow i { color: var(--c1); font-size: .95rem; }

.title-xl { font-size: clamp(2.3rem, 5.6vw, 4.05rem); font-weight: 800; }
.title-lg { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 750; }
.title-md { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

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

.lead { font-size: clamp(1.02rem, 1.5vw, 1.14rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 650; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn i { font-size: 1.05em; }

.btn-primary {
  background: var(--grad); color: var(--on-accent);
  box-shadow: 0 12px 32px rgba(0, 212, 255, .26);
}
.btn-primary:hover { color: var(--on-accent); box-shadow: 0 18px 44px rgba(124, 92, 255, .36); }

.btn-ghost { border-color: var(--border-2); background: var(--surface); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--c1); }

.btn-wa { background: #25d366; color: #04140a; box-shadow: 0 12px 32px rgba(37, 211, 102, .28); }
.btn-wa:hover { color: #04140a; }

.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--c1); font-size: .93rem;
}
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--c1); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-stuck {
  background: var(--header-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; gap: 18px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 750; font-size: 1.04rem; letter-spacing: -.02em; }
.brand-sub { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--muted);
}
.nav-list a:hover { color: var(--text); background: var(--surface); }
.nav-list a.is-active { color: var(--text); background: var(--surface-2); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-size: 1.05rem; transition: background .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--border-2); }

.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--header-bg);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  body.nav-open .nav { opacity: 1; transform: translateY(0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 13px 16px; border-radius: var(--r-xs); font-size: 1rem; }
  .nav-cta { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 66px) 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }

.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--border); }
.hero-meta div strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 750; letter-spacing: -.03em; }
.hero-meta div span { font-size: .82rem; color: var(--muted); }

/* Code card visual */
.code-card {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow); overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.code-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.code-dot { width: 11px; height: 11px; border-radius: 50%; }
.code-title { margin-left: 8px; font-size: .78rem; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-body {
  padding: 20px 22px 24px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem; line-height: 1.95; overflow-x: auto;
}
.code-body .ln { display: block; white-space: pre; opacity: 0; animation: typeIn .5s var(--ease) forwards; }
.code-body .ln:nth-child(1) { animation-delay: .15s; }
.code-body .ln:nth-child(2) { animation-delay: .3s; }
.code-body .ln:nth-child(3) { animation-delay: .45s; }
.code-body .ln:nth-child(4) { animation-delay: .6s; }
.code-body .ln:nth-child(5) { animation-delay: .75s; }
.code-body .ln:nth-child(6) { animation-delay: .9s; }
.code-body .ln:nth-child(7) { animation-delay: 1.05s; }
.code-body .ln:nth-child(8) { animation-delay: 1.2s; }
@keyframes typeIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

.tk-key { color: #c792ea; }
.tk-fn  { color: #82aaff; }
.tk-str { color: #c3e88d; }
.tk-num { color: #f78c6c; }
.tk-com { color: var(--muted); font-style: italic; }
html[data-theme="light"] .tk-key { color: #8b5cf6; }
html[data-theme="light"] .tk-fn  { color: #2563eb; }
html[data-theme="light"] .tk-str { color: #15803d; }
html[data-theme="light"] .tk-num { color: #c2410c; }

.chip-float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  border: 1px solid var(--border-2); background: var(--header-bg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm); animation: bob 5s ease-in-out infinite;
}
.chip-float i { color: var(--c1); }
.chip-a { top: -18px; left: -20px; }
.chip-b { bottom: 34px; right: -26px; animation-delay: -2.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
.code-wrap { position: relative; }
@media (max-width: 620px) { .chip-a, .chip-b { display: none; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 22px 0;
  border-block: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: scrollX 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 10px;
  padding-inline: 30px; font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; color: var(--muted); white-space: nowrap;
}
.marquee-track span i { color: var(--c1); }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  position: relative; height: 100%;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); padding: 26px;
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 212, 255, .12), transparent 62%);
  transition: opacity .3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--surface-2); box-shadow: var(--shadow-sm); }
.card:hover::before { opacity: 1; }
.card h3, .card h4 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }

.ico {
  width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 15px; font-size: 1.35rem; margin-bottom: 18px;
  background: rgba(0, 212, 255, .13); border: 1px solid rgba(0, 212, 255, .26); color: #38d9ff;
}
.i-violet { background: rgba(124, 92, 255, .14); border-color: rgba(124, 92, 255, .28); color: #a78bfa; }
.i-green  { background: rgba(34, 197, 94, .14);  border-color: rgba(34, 197, 94, .28);  color: #4ade80; }
.i-amber  { background: rgba(255, 176, 32, .14); border-color: rgba(255, 176, 32, .28); color: #fbbf24; }
.i-pink   { background: rgba(244, 114, 182, .14);border-color: rgba(244, 114, 182, .28);color: #f472b6; }
html[data-theme="light"] .ico { color: #0284c7; }
html[data-theme="light"] .i-violet { color: #6d28d9; }
html[data-theme="light"] .i-green  { color: #15803d; }
html[data-theme="light"] .i-amber  { color: #b45309; }
html[data-theme="light"] .i-pink   { color: #be185d; }

.card-num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  color: var(--text); opacity: .07; letter-spacing: -.04em;
}

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag {
  font-size: .74rem; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--muted);
}

/* Feature list */
.f-list li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 12px; color: var(--muted); font-size: .95rem; }
.f-list li:last-child { margin-bottom: 0; }
.f-list i { color: var(--c3); margin-top: .28em; flex-shrink: 0; }

/* ---------- Split panel ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 22px; align-items: start;
  padding: 24px 26px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.step:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateX(5px); }
.step-n {
  width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 750; font-size: 1.1rem;
  background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--text);
}
.step h4 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 620px) { .step { grid-template-columns: 1fr; gap: 14px; padding: 20px; } }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  background: var(--border);
}
.stat { background: var(--bg); padding: 32px 24px; text-align: center; }
html[data-theme="dark"] .stat { background: #070b14; }
.stat strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .86rem; color: var(--muted); }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento .card.wide { grid-column: span 2; }
@media (max-width: 940px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .card.wide { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento .card.wide { grid-column: span 1; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--border-2); border-radius: var(--r-xl);
  padding: 56px clamp(24px, 5vw, 62px);
  background: linear-gradient(135deg, rgba(0, 212, 255, .14), rgba(124, 92, 255, .14)), var(--surface);
  box-shadow: var(--shadow);
}
.cta-band::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -110px; top: -140px;
  background: radial-gradient(circle, rgba(0, 212, 255, .30), transparent 65%); filter: blur(14px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 12px; }

/* ---------- Course cards (training) ---------- */
.course-group { margin-bottom: 52px; }
.course-group:last-child { margin-bottom: 0; }
.course-group-head { margin-bottom: 22px; }
.course-group-head h3 { margin-bottom: 4px; font-size: 1.4rem; }
.course-group-head p { color: var(--muted); font-size: .94rem; }

.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 940px) { .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .courses { grid-template-columns: 1fr; } }

.course {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); padding: 22px;
  transition: transform .26s var(--ease), border-color .26s var(--ease), background .26s var(--ease), box-shadow .26s var(--ease);
}
.course:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); box-shadow: var(--shadow-sm); }
.course-top { display: flex; align-items: center; gap: 13px; }
.course .ico { width: 42px; height: 42px; font-size: 1.1rem; border-radius: 13px; margin: 0; }
.course h4 { margin: 0; font-size: 1.03rem; }
.course p { color: var(--muted); font-size: .89rem; margin: 0; flex-grow: 1; }

.course-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; padding-top: 12px; border-top: 1px dashed var(--border); }
.p-new { font-family: var(--font-display); font-weight: 750; font-size: 1.14rem; }
.p-old { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.p-off {
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px;
  background: rgba(34, 197, 94, .16); border: 1px solid rgba(34, 197, 94, .3); color: #4ade80;
}
html[data-theme="light"] .p-off { color: #15803d; }
.price-note { font-size: .74rem; color: var(--muted); }

/* ---------- Details / FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.faq details[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  color: var(--c1); font-size: 1.05rem; flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.faq details[open] summary i { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; }

/* ---------- Forms ---------- */
.form-panel {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); padding: clamp(24px, 4vw, 34px); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--muted); }

.input, .select, .textarea {
  width: 100%; padding: 12px 15px; font: inherit; font-size: .95rem;
  color: var(--text); background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--r-xs);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
html[data-theme="dark"] .input,
html[data-theme="dark"] .select,
html[data-theme="dark"] .textarea { background: rgba(255, 255, 255, .04); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--c1); box-shadow: 0 0 0 3px rgba(0, 212, 255, .16);
}
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.textarea { resize: vertical; min-height: 96px; }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2394a3b8'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 15px; padding-right: 40px;
}
.select option { background: var(--bg-2); color: var(--text); }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--muted);
  transition: all .2s var(--ease);
}
.radio-pill input:checked + span { border-color: var(--c1); color: var(--text); background: rgba(0, 212, 255, .12); }
.radio-pill input:focus-visible + span { outline: 2px solid var(--c1); outline-offset: 2px; }

.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .field-2 { grid-template-columns: 1fr; } }

/* ---------- Contact rows ---------- */
.contact-row { display: flex; gap: 15px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico { margin: 0; width: 44px; height: 44px; font-size: 1.15rem; border-radius: 13px; flex-shrink: 0; }
.contact-row strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.contact-row a, .contact-row p { font-size: .98rem; color: var(--text); margin: 0; }
.contact-row a:hover { color: var(--c1); }

.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 10; }
.map-frame iframe { width: 100%; height: 100%; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + 62px) 0 42px; }
.crumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumb a:hover { color: var(--c1); }
.crumb i { font-size: .7rem; margin-inline: 6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 62px 0 26px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h5 { font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--muted); font-size: .94rem; }
.footer-links a:hover { color: var(--c1); }
.footer-about p { color: var(--muted); font-size: .93rem; margin-top: 16px; max-width: 34ch; }

.socials { display: flex; gap: 9px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 1rem;
  transition: all .2s var(--ease);
}
.socials a:hover { color: var(--text); border-color: var(--c1); background: var(--surface-2); transform: translateY(-2px); }

.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .86rem; color: var(--muted);
}

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; font-size: 27px;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .38);
  transition: transform .2s var(--ease);
}
.wa-fab:hover { color: #fff; transform: scale(1.08); }
.wa-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55); animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.65); opacity: 0; } }

/* ---------- Reveal ----------
   The hidden state is scoped to html.js so that if JavaScript fails, is blocked,
   or the observer never fires, every section still renders normally. */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

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