* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #090E18;
  --bg-alt: #0C1420;
  --bg-about-a: #0B1C12;
  --ink: #EDE9DF;
  --muted: #6B8090;
  --muted2: #7A8FA0;
  --accent: #22A558;
  --accent-bright: #28C164;
  --accent2: #3BCFAF;
  --error: #E05555;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }

.btn {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  padding: 15px 34px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  text-decoration: none;
  border: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-bright); }
.btn-outline { background: none; border: 1.5px solid rgba(237,233,223,0.18); color: var(--ink); }
.btn-outline:hover { border-color: rgba(237,233,223,0.42); }
.btn-small { padding: 10px 22px; font-size: 13px; }

nav[data-nav] {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 48px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(9,14,24,0.55);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34,165,88,0.07);
  transition: background 0.4s ease, border-color 0.4s ease;
}
nav[data-nav].scrolled { background: rgba(9,14,24,0.97); border-bottom-color: rgba(34,165,88,0.22); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-text { font-size: 17px; font-weight: 700; letter-spacing: 2.5px; color: var(--ink); display: block; }
.brand-text small { display: block; font-size: 8.5px; font-weight: 500; letter-spacing: 4px; color: var(--muted); text-transform: uppercase; margin-bottom: 3px; }
.brand-text.small { font-size: 15px; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { color: #8FA0B0; font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(9,14,24,0.98);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--ink); font-size: 28px; font-weight: 600; text-decoration: none; letter-spacing: 1px; }
.mobile-menu-close { position: absolute; top: 24px; right: 24px; background: none; border: none; cursor: pointer; color: var(--muted); font-size: 32px; line-height: 1; }

footer {
  background: #050A10; border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px;
  max-width: 1280px; margin: 0 auto; padding: 48px 64px;
}
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: #3E5464; font-size: 13px; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #8FA0B0; }
.footer-copy { font-size: 12px; color: #2A3A45; }

input::placeholder, textarea::placeholder { color: rgba(107,128,144,0.45); }
input:focus, textarea:focus, select:focus { border-color: rgba(34,165,88,0.65); box-shadow: 0 0 0 3px rgba(34,165,88,0.1); outline: none; }
select option { background: #0E1826; color: var(--ink); }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent2)); z-index: 300; }

/* ── CINEMATIC INTRO ── */
.intro-sequence {
  position: fixed; inset: 0; z-index: 1000; background: #060a12;
  display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer;
}
.intro-sequence.hidden { display: none; }
#intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-content { position: relative; text-align: center; padding: 0 24px; }
.intro-title {
  font-family: 'DM Serif Display', Georgia, serif; font-size: 68px; color: var(--ink);
  letter-spacing: 2px; opacity: 0; text-shadow: 0 0 40px rgba(34,165,88,0.4);
}
.intro-subtitle {
  font-family: 'Space Mono', monospace; font-size: 14px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-top: 18px; min-height: 18px;
}
.intro-beat {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; text-align: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 56px; color: var(--ink);
  letter-spacing: 1px; opacity: 0; white-space: nowrap; text-shadow: 0 0 50px rgba(34,165,88,0.55);
}
.intro-skip {
  position: absolute; bottom: 32px; right: 40px; z-index: 501;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: var(--muted);
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; padding: 9px 18px; border-radius: 100px;
  cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.intro-skip:hover { color: var(--ink); border-color: rgba(255,255,255,0.35); }
@media (max-width: 768px) {
  .intro-title { font-size: 40px; }
  .intro-beat { font-size: 32px; }
}

.cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; transform: translate(-50%, -50%); }
.cursor-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999;
  width: 21px; height: 21px;
  background: transparent;
  border: 1.4px solid rgba(34,165,88,0.6);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-ring.hover { width: 34px; height: 34px; border-color: var(--accent2); }
@media (max-width: 768px), (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  footer { flex-direction: column; align-items: flex-start; gap: 20px; padding: 36px 24px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ── TUNNEL DEPTH-SCROLL ── */
.scroll-spacer { height: 100vh; }
#tunnel-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; background: var(--bg); display: none; }
.tunnel-stage { position: relative; z-index: 1; }
body.tunnel-mode .tunnel-stage { position: fixed; inset: 0; overflow: hidden; perspective: 1400px; perspective-origin: 50% 50%; }
body.tunnel-mode #tunnel-canvas { display: block; }
body.tunnel-mode { overflow-x: hidden; }

.chamber { position: relative; }
body.tunnel-mode .chamber {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow-y: auto;
  will-change: transform, filter, opacity;
  transform-style: preserve-3d;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 45%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 60%, transparent 100%);
}
body.tunnel-mode .chamber.active { pointer-events: auto; }
body.tunnel-mode .services-rail-viewport { overflow-x: auto; }
body.tunnel-mode .services-rail-viewport::-webkit-scrollbar { display: none; }

/* Compact each chamber's vertical rhythm so a "shot" fits one viewport where
   possible; any chamber still taller than the viewport remains internally
   scrollable (see .chamber overflow-y: auto) and the wheel/touch handlers
   in script.js let that inner scroll finish before snapping to the next chamber. */
body.tunnel-mode .hero { padding-top: 0; }
body.tunnel-mode .hero-grid { padding: 96px 64px 40px; }
body.tunnel-mode .services { padding: 96px 0 40px; }
body.tunnel-mode .about { padding: 96px 64px 40px; }
body.tunnel-mode .contact { padding: 90px 64px 40px; }
body.tunnel-mode .contact-heading { margin-bottom: 40px; }
body.tunnel-mode .contact-h2 { font-size: 40px; }
body.tunnel-mode #contactForm { gap: 14px; }
body.tunnel-mode .radar-card { height: 160px; }
body.tunnel-mode footer { display: none; }

/* Fallback: reduced motion or narrow viewport — plain accessible stacked layout, no 3D, no scroll-jacking */
body.fallback-mode .scroll-spacer,
body.fallback-mode #tunnel-canvas { display: none; }
body.fallback-mode .chamber {
  transform: none !important; filter: none !important; opacity: 1 !important;
  pointer-events: auto !important;
  mask-image: none; -webkit-mask-image: none;
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 65%, rgba(34,165,88,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 15%, rgba(59,207,175,0.07) 0%, transparent 50%),
    var(--bg);
}
#particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-grid {
  position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 120px 64px 80px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border: 1px solid rgba(34,165,88,0.26); border-radius: 100px; margin-bottom: 32px; background: rgba(34,165,88,0.06); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(34,165,88,0.9); }
.eyebrow span:last-child { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 2.5px; text-transform: uppercase; }
.hero-h1 { font-size: 64px; line-height: 1.07; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.5px; overflow: hidden; }
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 em { color: var(--accent); font-style: italic; }
.hero-body { font-size: 17px; line-height: 1.78; color: var(--muted); max-width: 480px; margin-bottom: 44px; }
.hero-btns { display: flex; gap: 14px; align-items: center; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.07); }
.stat-num { font-family: 'Space Mono', monospace; font-size: 34px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 5px; letter-spacing: 0.3px; }

.hero-hub { position: relative; height: 480px; }
.radar-node { cursor: pointer; opacity: 0.15; transition: opacity 0.4s, filter 0.4s; }
.radar-node:hover { opacity: 1; filter: drop-shadow(0 0 10px rgba(34,165,88,0.9)); }
.radar-tooltip {
  position: absolute; display: none; width: 44%; z-index: 10; padding: 16px 18px; border-radius: 10px;
  background: rgba(8,16,30,0.96); border: 1px solid rgba(34,165,88,0.32);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 28px rgba(0,0,0,0.5); pointer-events: none;
}
.radar-tooltip.visible { display: block; }
.radar-tooltip .t-num { font-family: 'Space Mono', monospace; font-size: 9px; color: var(--accent); margin-bottom: 8px; letter-spacing: 2px; opacity: 0.8; }
.radar-tooltip .t-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.radar-tooltip .t-desc { font-size: 12px; color: #7A8FA0; line-height: 1.65; margin-bottom: 10px; }
.radar-tooltip .t-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.radar-tooltip .t-tags span { padding: 3px 10px; border: 1px solid rgba(34,165,88,0.22); border-radius: 100px; font-size: 10px; color: #4DBF77; }

.scroll-indicator { position: absolute; bottom: 36px; left: 64px; display: flex; align-items: center; gap: 12px; opacity: 0.32; }
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, transparent, var(--accent)); }
.scroll-indicator span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; padding: 100px 24px 60px; gap: 0; }
  .hero-hub { display: none; }
  .hero-h1 { font-size: 42px; }
  .hero-body { font-size: 15px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .hero-stats { gap: 28px; }
  .scroll-indicator { display: none; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 34px; }
}

/* ── SERVICES ── */
.services { padding: 120px 0; background: var(--bg-alt); position: relative; overflow: hidden; }
.services-inner { max-width: 1280px; margin: 0 auto; padding: 0 64px; position: relative; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.kicker .rule { width: 28px; height: 1.5px; background: var(--accent); }
.kicker span:last-child { font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); }
.services-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 64px; flex-wrap: wrap; gap: 32px; }
.services-header h2 { font-size: 50px; letter-spacing: -0.3px; color: var(--ink); line-height: 1.1; }
.services-lead { font-size: 16px; color: var(--muted); max-width: 400px; line-height: 1.82; padding-bottom: 8px; }

.services-rail-viewport { overflow: hidden; }
.services-rail { display: flex; gap: 24px; width: max-content; }
.service-card {
  background: #111C2E; border-radius: 14px; padding: 44px; width: 360px; flex-shrink: 0;
  transition: background 0.22s, box-shadow 0.22s;
}
.service-card:hover { background: #13203C; box-shadow: inset 0 0 0 1.5px rgba(34,165,88,0.32); }
.service-num { font-family: 'Space Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,0.09); margin-bottom: 20px; }
.service-icon path, .service-icon circle, .service-icon rect { stroke-dasharray: 100; stroke-dashoffset: 100; }
.service-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: var(--ink); margin: 18px 0 12px; letter-spacing: -0.3px; }
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.78; margin-bottom: 28px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { padding: 5px 13px; border: 1px solid rgba(34,165,88,0.22); border-radius: 100px; font-size: 12px; color: #4DBF77; }

@media (max-width: 768px) {
  .services { padding: 72px 0; }
  .services-inner { padding: 0 24px; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .services-header h2 { font-size: 36px; }
  .services-rail-viewport { overflow-x: auto; }
  .service-card { width: 280px; padding: 28px; }
}

/* ── ABOUT ── */
.about {
  padding: 120px 64px;
  background: linear-gradient(140deg, var(--bg-about-a) 0%, #0A1422 55%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.about-grid { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.about-h2 { font-size: 46px; letter-spacing: -0.3px; color: var(--ink); line-height: 1.12; margin-bottom: 28px; }
.about-h2 em { color: var(--accent); font-style: italic; }
.about-p { font-size: 16px; color: var(--muted2); line-height: 1.88; margin-bottom: 20px; }
.btn-outline-accent { display: inline-block; background: none; border: 1.5px solid var(--accent); color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; padding: 14px 32px; border-radius: 8px; text-decoration: none; transition: background 0.2s, color 0.2s; }
.btn-outline-accent:hover { background: var(--accent); color: #fff; }

.about-stats { display: flex; flex-direction: column; gap: 16px; }
.about-stat-card { background: rgba(255,255,255,0.033); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 28px 32px; display: flex; gap: 22px; align-items: center; }
.about-stat-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-stat-icon.green { background: rgba(34,165,88,0.12); border: 1px solid rgba(34,165,88,0.24); }
.about-stat-icon.teal { background: rgba(59,207,175,0.1); border: 1px solid rgba(59,207,175,0.24); }
.about-stat-icon.amber { background: rgba(212,144,58,0.1); border: 1px solid rgba(212,144,58,0.24); }
.about-stat-num { font-family: 'Space Mono', monospace; font-size: 38px; font-weight: 700; color: var(--ink); line-height: 1; }
.about-stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; }

@media (max-width: 768px) {
  .about { padding: 72px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-h2 { font-size: 32px; }
}
@media (max-width: 480px) {
  .about-h2 { font-size: 28px; }
}

/* ── CONTACT ── */
.contact { padding: 120px 64px; background: var(--bg); position: relative; overflow: hidden; }
.contact-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.contact-heading { text-align: center; margin-bottom: 72px; }
.kicker.centered { justify-content: center; }
.contact-h2 { font-size: 50px; letter-spacing: -0.3px; color: var(--ink); }
.contact-lead { font-size: 16px; color: var(--muted); max-width: 450px; margin: 14px auto 0; line-height: 1.82; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.75fr; gap: 80px; align-items: start; }

.info-block { margin-bottom: 36px; }
.info-label { font-size: 10px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.info-value { font-size: 16px; color: var(--ink); line-height: 1.72; }
.info-list { font-size: 15px; color: var(--muted); line-height: 2.1; }

.radar-card { border-radius: 14px; background: #0A1520; border: 1px solid rgba(34,165,88,0.18); overflow: hidden; position: relative; height: 220px; }
.radar-card-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.radar-sweep-cone { position: absolute; top: calc(41.8% - 52px); left: calc(50% - 52px); width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(34,165,88,0) 0deg, rgba(34,165,88,0.22) 70deg, rgba(34,165,88,0) 70deg); animation: radarSweep 3.5s linear infinite; }
.radar-ping { position: absolute; top: 41.8%; left: 50%; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--accent); animation: radarPing 2.8s ease-out infinite; }
.radar-ping.delay { animation-delay: 1s; }
.radar-dot { position: absolute; top: 41.8%; left: 50%; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 6px var(--accent), 0 0 14px rgba(34,165,88,0.6); }
.radar-status { position: absolute; top: 10px; right: 12px; display: flex; align-items: center; gap: 5px; font-family: 'Space Mono', monospace; font-size: 7.5px; color: var(--accent); letter-spacing: 1.5px; }
.radar-status .blip { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 4px var(--accent); animation: blink 1.2s step-end infinite; }
.radar-readout { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 14px; background: linear-gradient(to top, rgba(10,21,32,0.98) 60%, transparent); font-family: 'Space Mono', monospace; }
.radar-readout-title { font-size: 7.5px; color: var(--accent); letter-spacing: 1.5px; margin-bottom: 3px; }
.radar-readout-coords { font-size: 10px; color: var(--ink); letter-spacing: 0.5px; }
.radar-readout-place { font-size: 7.5px; color: var(--muted); margin-top: 2px; letter-spacing: 1px; }

@keyframes radarSweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes radarPing { 0% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; } 100% { transform: translate(-50%,-50%) scale(5); opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#contactForm { display: flex; flex-direction: column; gap: 20px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea, .captcha-row input {
  width: 100%; background: #0E1826; border: 1px solid rgba(255,255,255,0.09); border-radius: 9px;
  padding: 13px 16px; color: var(--ink); font-family: 'Space Grotesk', sans-serif; font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; line-height: 1.68; }
.field select { appearance: none; cursor: pointer; }

.captcha-block { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.08); border-radius: 9px; padding: 18px 20px; }
.captcha-label { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.captcha-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha-sum { font-family: 'Space Mono', monospace; font-size: 17px; color: var(--ink); font-weight: 700; background: #0A1320; border: 1px solid rgba(255,255,255,0.09); border-radius: 8px; padding: 10px 18px; white-space: nowrap; letter-spacing: 2px; }
.captcha-row input { width: 110px; font-family: 'Space Mono', monospace; font-size: 16px; text-align: center; }
.captcha-hint { font-size: 13px; color: #4A6070; }
.captcha-error { font-size: 12px; color: var(--error); margin-top: 10px; }
.captcha-block.shake { animation: shake 0.4s; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.btn-submit { width: 100%; margin-top: 4px; padding: 16px 32px; border-radius: 9px; }
.btn-submit[disabled] { opacity: 0.7; cursor: wait; }
.form-error { font-size: 13px; color: var(--error); text-align: center; background: rgba(224,85,85,0.07); border: 1px solid rgba(224,85,85,0.2); border-radius: 8px; padding: 12px; }
.form-note { font-size: 12px; color: #3E5464; text-align: center; line-height: 1.6; }

.form-success { background: #111C2E; border: 1px solid rgba(34,165,88,0.3); border-radius: 16px; padding: 72px 52px; text-align: center; }
.success-check { width: 68px; height: 68px; border-radius: 50%; background: rgba(34,165,88,0.12); border: 2px solid var(--accent); margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; }
.success-check svg path, .success-check svg polyline { stroke-dasharray: 100; stroke-dashoffset: 100; }
.form-success h3 { font-size: 30px; color: var(--ink); margin-bottom: 12px; }
.form-success p { font-size: 16px; color: var(--muted); line-height: 1.78; max-width: 340px; margin: 0 auto; }

@media (max-width: 768px) {
  .contact { padding: 72px 24px; }
  .contact-h2 { font-size: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-2col { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-h2 { font-size: 28px; }
}
