/* ═══════════════════════════════════════════════════════
   AlphansoLabs — Shared Stylesheet
   Covers: index.html + contact.html
   ═══════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────── */
:root {
  --night:                #00120B;
  --night-2:              #011a10;
  --night-3:              #021f14;
  --electric:             #C200FB;
  --electric-dim:         #9300bc;
  --electric-glow:        rgba(194,0,251,0.18);
  --electric-glow-strong: rgba(194,0,251,0.35);
  --surface-1:            rgba(255,255,255,0.04);
  --surface-2:            rgba(255,255,255,0.08);
  --on-surface:           rgba(255,255,255,0.87);
  --on-surface-2:         rgba(255,255,255,0.54);
  --divider:              rgba(255,255,255,0.10);
  --elevation-1:          0 2px 4px rgba(0,0,0,.6), 0 1px 2px rgba(0,0,0,.4);
  --radius:               16px;
  --radius-sm:            10px;
}

/* ── Reset & base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--night);
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--electric-dim); border-radius: 3px; }

/* ── Ripple ────────────────────────────────────────────── */
.ripple { position: relative; overflow: hidden; cursor: pointer; }
.ripple::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--rx,50%) var(--ry,50%), rgba(255,255,255,.15) 0%, transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.ripple:hover::after { opacity: 1; }

/* ── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 32px;
  background: rgba(0,18,11,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
  box-shadow: var(--elevation-1);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: .5px;
}
.nav-logo img { height: 36px; }
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-link {
  padding: 8px 16px; border-radius: 20px;
  font-size: 16px; font-weight: 500;
  color: var(--on-surface-2); transition: all .2s;
}
.nav-link:hover { color: var(--electric); background: var(--electric-glow); }
.nav-link.active { color: var(--electric); }
.nav-cta {
  padding: 9px 22px; border-radius: 20px;
  background: var(--electric); color: #fff;
  font-size: 16px; font-weight: 500;
  box-shadow: 0 0 18px var(--electric-glow-strong);
  transition: all .2s;
}
.nav-cta:hover { background: var(--electric-dim); transform: translateY(-1px); }
.nav-mobile-toggle {
  display: none;
  background: none; border: none;
  color: var(--on-surface); cursor: pointer;
  margin-left: auto; padding: 6px;
  border-radius: 8px; transition: background .2s;
}
.nav-mobile-toggle:hover { background: var(--surface-1); }
.nav-mobile-toggle .material-icons-round { font-size: 26px; display: block; }

/* ── Mobile nav drawer ─────────────────────────────────── */
.nav-drawer {
  position: fixed; top: 61px; left: 0; right: 0; z-index: 98;
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(0,18,11,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
  padding: 12px 16px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s .22s;
}
.nav-drawer.open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility 0s;
}
.nav-drawer .nav-link {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 18px; display: block;
}
.nav-drawer .nav-cta {
  margin-top: 8px; text-align: center;
  padding: 12px 22px; border-radius: 28px;
  display: block; font-size: 18px;
}
@media (min-width: 769px) { .nav-drawer { display: none !important; } }

/* ── Section commons ───────────────────────────────────── */
section { padding: 96px 24px; max-width: 1450px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--electric); margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.2; }
.section-sub { font-size: 16px; color: var(--on-surface-2); margin-top: 12px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 28px;
  background: var(--electric); color: #fff;
  font-size: 18px; font-weight: 500;
  box-shadow: 0 0 32px var(--electric-glow-strong);
  transition: all .25s;
}
.btn-primary:hover {
  background: var(--electric-dim); transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(194,0,251,.5);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 28px;
  border: 1px solid rgba(194,0,251,.5); color: var(--electric);
  font-size: 18px; font-weight: 500;
  background: var(--electric-glow); transition: all .25s;
}
.btn-outline:hover {
  border-color: var(--electric); background: rgba(194,0,251,.15);
  transform: translateY(-2px);
}

/* ── Full-bleed separator ──────────────────────────────── */
.full-bleed {
  width: 100%; max-width: none;
  background: var(--night-2);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: var(--night-2);
  border-top: 1px solid var(--divider);
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: 1450px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.footer-brand img { height: 36px; margin-bottom: 14px; }
.footer-brand p   { font-size: 16px; color: var(--on-surface-2); max-width: 280px; line-height: 1.7; }
.footer-col h4 {
  font-size: 16px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--electric); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 16px; color: var(--on-surface-2); transition: color .2s; }
.footer-links a:hover { color: var(--electric); }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--electric-glow); border: 1px solid rgba(194,0,251,.3);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon .material-icons-round { font-size: 17px; color: var(--electric); }
.contact-label { font-size: 14px; color: var(--on-surface-2); margin-bottom: 2px; }
.contact-value { font-size: 16px; font-weight: 600; color: var(--electric); }
.contact-value a { color: var(--electric); transition: opacity .2s; }
.contact-value a:hover { opacity: .75; }
.footer-bottom {
  max-width: 1450px; margin: 32px auto 0;
  padding-top: 20px; border-top: 1px solid var(--divider);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--on-surface-2); flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: var(--electric); }

/* ── Scroll reveal ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════════
   INDEX PAGE
   ════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}
.hero::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(194,0,251,.25) 0%, transparent 70%);
  top: -100px; left: -150px;
}
.hero::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(194,0,251,.18) 0%, transparent 70%);
  bottom: -80px; right: -100px;
  animation-delay: -6s;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px,30px) scale(1.1); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  border: 1px solid rgba(194,0,251,.4); background: var(--electric-glow);
  font-size: 13px; font-weight: 500; color: var(--electric);
  margin-bottom: 28px; letter-spacing: .5px;
}
.hero-badge .material-icons-round { font-size: 16px; }
.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, #C200FB 0%, #e066ff 50%, #a000d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  max-width: 560px; font-size: 18px; font-weight: 300;
  color: var(--on-surface-2); margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 64px;
  padding-top: 40px; border-top: 1px solid var(--divider);
  flex-wrap: wrap; justify-content: center;
}
.stat { text-align: center; }
.stat-number { font-size: 32px; font-weight: 700; color: var(--electric); }
.stat-label  { font-size: 13px; color: var(--on-surface-2); margin-top: 2px; }

/* ── Products Grid ─────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pg-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--divider);
  border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.pg-card:hover {
  border-color: rgba(194,0,251,.35);
  box-shadow: 0 0 32px rgba(194,0,251,.14);
  transform: translateY(-4px);
}
.pg-icon-box {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(194,0,251,.16);
  border: 1px solid rgba(194,0,251,.28);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pg-icon-box .material-icons-round { font-size: 26px; color: var(--electric); }
.pg-title { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.2px; }
.pg-desc  { font-size: 14px; color: var(--on-surface-2); line-height: 1.72; }
.pg-features { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pg-features li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--on-surface-2);
}
.pg-features li::before {
  content: '✓'; color: var(--electric);
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}

/* ── Industries marquee ────────────────────────────────── */
.industries-marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.industries-track {
  display: flex; gap: 20px; width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.industries-marquee:hover .industries-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.industry-card {
  margin-top: 10px;
  padding: 28px 22px;
  background: var(--surface-1);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
  transition: all .3s;
  width: 280px; flex-shrink: 0;
}
.industry-card:hover {
  border-color: rgba(194,0,251,.4);
  box-shadow: 0 0 28px var(--electric-glow);
  transform: translateY(-4px);
}
.industry-icon-wrap {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--electric-glow);
  border: 1px solid rgba(194,0,251,.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.industry-icon-wrap .material-icons-round { font-size: 24px; color: var(--electric); }
.industry-name { font-size: 18px; font-weight: 700; line-height: 1.2; }
.industry-desc { font-size: 14px; color: var(--on-surface-2); line-height: 1.65; flex: 1; }
.industry-products { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.industry-product-tag {
  padding: 4px 12px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--divider);
  font-size: 11px; font-weight: 500; color: var(--on-surface-2);
}

/* ── Case Studies ──────────────────────────────────────── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cs-card {
  background: var(--surface-1);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .35s;
}
.cs-card:hover {
  border-color: rgba(194,0,251,.4);
  box-shadow: 0 0 40px var(--electric-glow);
  transform: translateY(-5px);
}
.cs-card-top {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--divider);
  background: linear-gradient(135deg, rgba(194,0,251,.08) 0%, rgba(194,0,251,.02) 100%);
}
.cs-industry-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(194,0,251,.12);
  border: 1px solid rgba(194,0,251,.3);
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--on-surface); text-transform: uppercase; margin-bottom: 16px;
}
.cs-metrics { display: flex; gap: 28px; flex-wrap: wrap; }
.cs-metric-number { font-size: 36px; font-weight: 800; color: var(--electric); line-height: 1; }
.cs-metric-label  { font-size: 12px; color: var(--on-surface-2); margin-top: 4px; }
.cs-card-body { padding: 24px 28px; flex: 1; display: flex; flex-direction: column; }
.cs-company  { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cs-summary  { font-size: 14px; color: var(--on-surface-2); line-height: 1.7; margin-bottom: 18px; }
.cs-row      { margin-bottom: 14px; }
.cs-row-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--electric); margin-bottom: 4px;
}
.cs-row-text  { font-size: 14px; color: var(--on-surface-2); line-height: 1.6; }
.cs-products  { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.cs-product-tag {
  padding: 4px 12px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--divider);
  font-size: 11px; font-weight: 500; color: var(--on-surface-2);
}
.cs-card-hidden { display: none; }
.pg-card-hidden { display: none; }

/* Show More button */
.cs-show-more-wrap { text-align: center; margin-top: 36px; }
.btn-show-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 28px;
  border: 1px solid rgba(194,0,251,.5); color: var(--electric);
  font-size: 16px; font-weight: 500;
  background: var(--electric-glow); cursor: pointer; transition: all .25s;
}
.btn-show-more:hover {
  border-color: var(--electric); background: rgba(194,0,251,.15);
  transform: translateY(-2px);
}

/* ── Feature strips ────────────────────────────────────── */
.features-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--divider); background: var(--surface-1);
  transition: all .3s;
}
.feature-item:hover {
  border-color: rgba(194,0,251,.4);
  box-shadow: 0 0 24px var(--electric-glow);
}
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--electric-glow);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon .material-icons-round { font-size: 20px; color: var(--electric); }
.feature-title { font-size: 18px; font-weight: 600; }
.feature-desc  { font-size: 14px; color: var(--on-surface-2); }

/* ── CTA banner ────────────────────────────────────────── */
.cta-banner {
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(194,0,251,.15) 0%, rgba(194,0,251,.05) 100%);
  border: 1px solid rgba(194,0,251,.3);
  padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,0,251,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; margin-bottom: 14px; }
.cta-banner p  {
  font-size: 16px; color: var(--on-surface-2); margin-bottom: 32px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════ */

/* ── Page hero ─────────────────────────────────────────── */
.page-hero {
  padding: 140px 24px 72px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,0,251,.2) 0%, transparent 65%);
  pointer-events: none;
}
.breadcrumb {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--on-surface-2); margin-bottom: 16px;
}
.breadcrumb a { color: var(--electric); }
.breadcrumb .material-icons-round { font-size: 14px; }
.page-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900; letter-spacing: -1px; line-height: 1.1;
}
.page-hero h1 span {
  background: linear-gradient(135deg, #C200FB 0%, #e066ff 50%, #a000d4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p {
  font-size: 17px; color: var(--on-surface-2); margin-top: 14px;
  max-width: 500px; margin-left: auto; margin-right: auto;
}

/* ── Contact layout ────────────────────────────────────── */
.contact-wrap {
  max-width: 1450px; margin: 0 auto;
  padding: 0 24px 80px;
  display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: start;
}

/* ── Form card ─────────────────────────────────────────── */
.form-card {
  background: var(--surface-1);
  border: 1px solid var(--divider);
  border-radius: 24px; padding: 40px;
}
.form-card h2  { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.form-card .sub { font-size: 14px; color: var(--on-surface-2); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 500; color: var(--on-surface-2); }
.field label span { color: var(--electric); }

/* Phone row */
.phone-row {
  display: flex;
  border-radius: var(--radius-sm);
  /* No overflow:hidden — custom dropdown must escape the row */
  transition: border-color .2s, box-shadow .2s;
}
.phone-row:focus-within {
  border-color: var(--electric);
}

/* Custom country select — replaces native <select> so flags render in Chrome/Edge */
.custom-country-select {
  position: relative; flex-shrink: 0;
}
.cs-trigger {
  margin-right: 15px;
  display: flex; align-items: center; gap: 7px;
  padding: 11px 8px 11px 12px;
  background: var(--surface-2);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  min-width: 96px;
  font-size: 14px; font-weight: 600; color: var(--on-surface);
  transition: background .2s;
}
.cs-trigger:hover { background: var(--electric-glow); border-color: var(--electric); }
.cs-trigger:focus { background: var(--electric-glow); border-color: var(--electric); }
.custom-country-select.open .cs-trigger {
  border-color: var(--electric);
  background: var(--electric-glow);
}
.cs-trigger .cs-arrow {
  font-size: 18px; color: var(--electric);
  margin-left: auto; transition: transform .2s;
}
.custom-country-select.open .cs-trigger .cs-arrow { transform: rotate(180deg); }

/* Flag images — works in all browsers on all OSes */
.cs-flag-img {
  width: 22px; height: 16px;
  border-radius: 2px; object-fit: cover;
  flex-shrink: 0; display: block;
}

.cs-dropdown {
  display: none;
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 300;
  min-width: 210px;
  background: #021a10;
  border: 1px solid rgba(194,0,251,.35);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,.7);
  max-height: 224px; overflow-y: auto;
}
.cs-dropdown::-webkit-scrollbar { width: 4px; }
.cs-dropdown::-webkit-scrollbar-track { background: transparent; }
.cs-dropdown::-webkit-scrollbar-thumb { background: var(--electric-dim); border-radius: 2px; }

.custom-country-select.open .cs-dropdown { display: block; }

.cs-option {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.cs-option:hover    { background: var(--electric-glow); }
.cs-option.selected { background: rgba(194,0,251,.12); }
.cs-opt-code { font-size: 12px; font-weight: 700; color: var(--on-surface); min-width: 30px; }
.cs-opt-name { font-size: 12px; color: var(--on-surface-2); }

.phone-number-input {
  flex: 1; background: transparent; border: none;
  padding: 12px 14px;
  font-family: inherit; font-size: 14px; color: var(--on-surface);
  outline: none; min-width: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.phone-number-input::placeholder { color: rgba(255,255,255,.25); }
.phone-number-input:focus { box-shadow: none; }

.field input, .field textarea, .field select {
  background: var(--surface-2);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit; font-size: 14px; color: var(--on-surface);
  outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.25); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(194,0,251,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C200FB' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; cursor: pointer;
}
.field select option { background: #021a10; color: var(--on-surface); }
.field-meta { display: flex; justify-content: flex-end; font-size: 11px; color: var(--on-surface-2); margin-top: 4px; }

/* ── Captcha ───────────────────────────────────────────── */
.captcha-block {
  background: var(--surface-2); border: 1px solid var(--divider);
  border-radius: var(--radius-sm); padding: 14px 16px;
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
  flex-wrap: wrap;
}
.captcha-display {
  background: rgba(194,0,251,.1); border: 1px solid rgba(194,0,251,.25);
  border-radius: 8px; padding: 8px 16px;
  font-family: 'Courier New', monospace;
  font-size: 20px; font-weight: 700; letter-spacing: 6px;
  color: var(--electric); user-select: none; flex-shrink: 0;
  min-width: 110px; text-align: center;
}
.captcha-refresh {
  background: none; border: none; color: var(--on-surface-2);
  cursor: pointer; display: flex; align-items: center; padding: 4px;
  border-radius: 6px; transition: color .2s; flex-shrink: 0;
}
.captcha-refresh:hover { color: var(--electric); }
.captcha-refresh .material-icons-round { font-size: 20px; }
.captcha-input {
  flex: 1; min-width: 100px;
  background: var(--surface-1); border: 1px solid var(--divider); border-radius: 8px;
  padding: 10px 12px; font-size: 14px; color: var(--on-surface);
  outline: none; transition: border-color .2s;
}
.captcha-input:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(194,0,251,.15); }
.captcha-input::placeholder { color: rgba(255,255,255,.25); }
.captcha-label { font-size: 12px; color: var(--on-surface-2); }
.captcha-error { font-size: 12px; color: #ff6b6b; margin-top: 4px; display: none; }
.captcha-error.show { display: block; }

/* ── Field-level inline validation ─────────────────────── */
.field-error { display: none; font-size: 12px; color: #ff5252; margin-top: 5px; align-items: center; gap: 4px; }
.field-error.show { display: flex; }
.field.has-error > input,
.field.has-error > textarea { border-color: #ff5252 !important; box-shadow: 0 0 0 2px rgba(255,82,82,.15); }
.field.has-error .phone-row { border-color: #ff5252 !important; }

/* ── Submit button ─────────────────────────────────────── */
.btn-submit {
  width: 100%; padding: 14px;
  background: var(--electric); color: #fff;
  border: none; border-radius: 28px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 0 28px var(--electric-glow-strong); transition: all .25s;
}
.btn-submit:hover:not(:disabled) { background: var(--electric-dim); transform: translateY(-2px); }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; }
.btn-submit .material-icons-round { font-size: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Success state ─────────────────────────────────────── */
.success-msg { display: none; text-align: center; padding: 32px; }
.success-msg.show { display: block; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0,230,100,.15); border: 2px solid rgba(0,230,100,.4);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.success-icon .material-icons-round { font-size: 32px; color: #00e664; }
.success-msg h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.success-msg p  { font-size: 14px; color: var(--on-surface-2); margin-bottom: 24px; }
.btn-reset {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 22px;
  border: 1px solid rgba(194,0,251,.5); color: var(--electric);
  background: var(--electric-glow); font-family: inherit;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s;
}
.btn-reset:hover { background: rgba(194,0,251,.2); border-color: var(--electric); }
.btn-reset .material-icons-round { font-size: 17px; }

/* ── Sidebar ───────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--surface-1); border: 1px solid var(--divider);
  border-radius: 24px; padding: 28px; transition: border-color .3s;
}
.info-card:hover { border-color: rgba(194,0,251,.3); }
.info-card h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.info-card h3 .material-icons-round { font-size: 18px; color: var(--electric); }
.contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-row:last-child { margin-bottom: 0; }
.c-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--electric-glow); border: 1px solid rgba(194,0,251,.3);
  display: flex; align-items: center; justify-content: center;
}
.c-icon .material-icons-round { font-size: 17px; color: var(--electric); }
.c-text-label { font-size: 12px; color: var(--on-surface-2); margin-bottom: 2px; }
.c-text-value { font-size: 14px; font-weight: 600; color: var(--on-surface); }
.c-text-value a { color: var(--electric); transition: opacity .2s; }
.c-text-value a:hover { opacity: .75; }

/* ── Office tabs ───────────────────────────────────────── */
.office-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.office-tab {
  padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--divider);
  cursor: pointer; transition: all .2s; color: var(--on-surface-2);
}
.office-tab.active,
.office-tab:hover { background: var(--electric-glow); border-color: rgba(194,0,251,.5); color: var(--electric); }
.office-panel { display: none; }
.office-panel.active { display: block; }
.office-address { display: flex; gap: 10px; align-items: flex-start; }
.office-address .material-icons-round { font-size: 18px; color: var(--electric); margin-top: 2px; flex-shrink: 0; }
.office-address p { font-size: 14px; color: var(--on-surface-2); line-height: 1.65; }

/* ── Social ────────────────────────────────────────────── */
.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--divider);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; cursor: pointer;
}
.social-btn:hover { background: var(--electric-glow); border-color: rgba(194,0,251,.5); }
.social-btn svg { width: 17px; height: 17px; fill: var(--on-surface-2); transition: fill .2s; }
.social-btn:hover svg { fill: var(--electric); }

/* ── Schedule card ─────────────────────────────────────── */
.schedule-card {
  background: linear-gradient(135deg, rgba(194,0,251,.12) 0%, rgba(194,0,251,.04) 100%);
  border: 1px solid rgba(194,0,251,.25);
  border-radius: 24px; padding: 28px; text-align: center;
  position: relative; overflow: hidden;
}
.schedule-card::before {
  content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,0,251,.2) 0%, transparent 70%);
  pointer-events: none;
}
.schedule-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--electric-glow); border: 1px solid rgba(194,0,251,.3);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.schedule-icon .material-icons-round { font-size: 28px; color: var(--electric); }
.schedule-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.schedule-card p  { font-size: 14px; color: var(--on-surface-2); margin-bottom: 18px; }
.btn-schedule {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px; border-radius: 22px;
  background: var(--electric); color: #fff;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 0 20px var(--electric-glow-strong); transition: all .2s;
}
.btn-schedule:hover { background: var(--electric-dim); transform: translateY(-1px); }
.btn-schedule .material-icons-round { font-size: 16px; }

/* ── Map ───────────────────────────────────────────────── */
.map-section { max-width: 1450px; margin: 0 auto 80px; padding: 0 24px; }
.map-header { margin-bottom: 20px; }
.map-header h2 { font-size: 22px; font-weight: 700; }
.map-header p  { font-size: 14px; color: var(--on-surface-2); margin-top: 4px; }
.map-frame {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--divider);
  box-shadow: 0 8px 32px rgba(0,0,0,.5); height: 420px;
}
.map-frame iframe { width: 100%; height: 100%; border: none; display: block; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */

/* ── 1280px ────────────────────────────────────────────── */
@media (max-width: 1280px) and (min-width: 1025px) {
  .cs-grid       { grid-template-columns: repeat(2, 1fr); }
  .features-list { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .contact-wrap  { grid-template-columns: 1fr; }
  .sidebar       { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ── 1024px ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap  { grid-template-columns: 1fr; }
  .sidebar       { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
}

/* ── 768px ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 12px 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }

  /* Sections */
  section { padding: 64px 16px; }
  .section-header { margin-bottom: 36px; }

  /* Hero */
  .hero { padding: 100px 16px 64px; }
  .hero p { font-size: 16px; }
  .hero-stats { gap: 20px; margin-top: 48px; padding-top: 28px; }

  /* Grids */
  .products-grid { grid-template-columns: 1fr; }
  .cs-grid       { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }

  /* CTA */
  .cta-banner { padding: 40px 20px; }

  /* Contact */
  .page-hero    { padding: 110px 16px 52px; }
  .contact-wrap { padding: 0 16px 64px; grid-template-columns: 1fr; }
  .form-card    { padding: 24px 20px; }
  .form-row     { grid-template-columns: 1fr; }
  .sidebar      { display: flex; flex-direction: column; }
  .map-section  { margin-bottom: 64px; }
  .map-frame    { height: 300px; }
}

/* ── 480px ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  .nav { padding: 10px 12px; }

  /* Hero */
  .hero { padding: 88px 14px 52px; }
  .hero h1 { letter-spacing: -.5px; }
  .hero p  { font-size: 16px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { justify-content: center; width: 100%; }
  .hero-stats  { gap: 12px; }
  .stat-number { font-size: 26px; }
  section { padding: 48px 14px; }

  /* Case studies */
  .cs-card-top  { padding: 20px 20px 16px; }
  .cs-card-body { padding: 20px; }

  /* Features + CTA */
  .feature-item { padding: 18px; }
  .cta-banner   { padding: 28px 14px; border-radius: 16px; }

  /* Footer */
  .footer-inner  { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Contact */
  .page-hero    { padding: 96px 14px 44px; }
  .page-hero h1 { letter-spacing: -.5px; }
  .page-hero p  { font-size: 15px; }
  .contact-wrap { padding: 0 12px 48px; gap: 20px; }
  .form-card    { padding: 20px 16px; border-radius: 16px; }
  .captcha-block { flex-direction: column; align-items: flex-start; gap: 10px; }
  .captcha-input { width: 100%; }
  .captcha-display { font-size: 18px; letter-spacing: 4px; }
  .info-card    { padding: 20px; }
  .schedule-card{ padding: 20px; }
  .map-section  { margin-bottom: 48px; }
  .map-frame    { height: 240px; }
}
