/* ============================================
   apoio.win — Rebranding V5
   Blue #1234f2 · Black #161616
   General Sans · Sebastopol
   ============================================ */

@font-face {
  font-family: 'Sebastopol';
  src: local('Sebastopol');
  font-display: swap;
}

/* --- Tokens --- */
:root {
  --blue: #1234f2;
  --blue-50: #e8ecfe;
  --blue-100: #c5ccfd;
  --blue-200: #8899fb;
  --blue-300: #4a66f9;
  --blue-400: #2348f5;
  --blue-500: #1234f2;
  --blue-600: #0e2ac2;
  --blue-700: #0a1f91;
  --blue-800: #071561;
  --blue-900: #030a30;

  --black: #161616;
  --surface-0: #09090f;
  --surface-1: #0d0d16;
  --surface-2: #11111c;
  --surface-3: #161625;
  --surface-4: #1c1c30;

  --white: #f5f5fa;
  --gray-100: #e0e0ea;
  --gray-200: #c0c0d0;
  --gray-300: #9898b0;
  --gray-400: #6a6a82;
  --gray-500: #45455a;

  --glow-sm: 0 0 20px rgba(18,52,242,.12);
  --glow-md: 0 0 40px rgba(18,52,242,.18);
  --glow-lg: 0 0 80px rgba(18,52,242,.22);
  --glow-xl: 0 0 120px rgba(18,52,242,.3);

  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-out-back: cubic-bezier(.34,1.56,.64,1);
  --ease-spring: cubic-bezier(.175,.885,.32,1.275);
}

/* --- Reset --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none}
ul,ol{list-style:none}

body {
  font-family: 'General Sans', system-ui, -apple-system, sans-serif;
  background: var(--surface-0);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Grain Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* --- Typography --- */
h1,h2,h3,h4,h5,h6,.font-display {
  font-family: 'Sebastopol','General Sans',system-ui,sans-serif;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.text-gradient {
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-200) 40%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: auto;
  max-width: calc(100% - 2rem);
  background: rgba(12,12,20,.45);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 100px;
  transition: all .4s var(--ease-out-expo);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}

.navbar.scrolled {
  background: rgba(9,9,15,.85);
  border-color: rgba(18,52,242,.1);
  box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 0 1px rgba(18,52,242,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 3.25rem;
  padding: 0 .5rem 0 1.25rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 1.5rem;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: .125rem;
}
@media(min-width:768px){ .nav-links{display:flex} }

.nav-links a {
  padding: .375rem .75rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--gray-400);
  border-radius: 100px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .8125rem;
  border-radius: 100px;
  transition: all .3s var(--ease-out-expo);
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  padding: .5rem 1.125rem;
  box-shadow: var(--glow-sm), inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-blue:hover {
  background: var(--blue-400);
  box-shadow: var(--glow-lg);
  transform: translateY(-1px);
}
.btn-blue:active { transform: translateY(0) }

/* Smaller CTA inside navbar */
.nav-links .btn-blue {
  min-height: 2.25rem;
  padding: .375rem 1rem;
  font-size: .75rem;
}

.btn-blue::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 50%);
  pointer-events: none;
}

.btn-ghost {
  padding: .625rem 1.25rem;
  color: var(--gray-200);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  transform: translateY(-2px);
}

.btn-lg { padding: .875rem 2rem; font-size: .9375rem; border-radius: .875rem }

/* Menu Mobile */
.menu-toggle {
  color: var(--gray-300);
  padding: .375rem;
}
@media(min-width:768px){ .menu-toggle{display:none} }

.mobile-nav {
  display: none;
  padding: .375rem 1.25rem .75rem;
  border-top: 1px solid rgba(255,255,255,.04);
}
.mobile-nav.open {
  display: block;
  /* Expand navbar to rounded rect on mobile when open */
}
@media(min-width:768px){ .mobile-nav{display:none!important} }

/* When mobile menu is open, switch from pill to rounded rect */
.navbar:has(.mobile-nav.open) {
  border-radius: 1.25rem;
  width: calc(100% - 2rem);
  max-width: 400px;
}

.mobile-nav a {
  display: block;
  padding: .625rem 0;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--white) }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

/* Interactive Matrix Grid */
.hero-mesh {
  --intensity: 0;
  display: grid;
  grid-template-columns: repeat(var(--columns, 1), 1fr);
  grid-template-rows: repeat(var(--rows, 1), 1fr);
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.matrix-tile {
  position: relative;
  cursor: crosshair;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: .75rem;
  user-select: none;
  opacity: calc(0.04 + var(--intensity) * 0.96);
  color: hsl(230, calc(80% + var(--intensity) * 20%), calc(40% + var(--intensity) * 55%));
  text-shadow: 0 0 calc(var(--intensity) * 18px) rgba(18,52,242, calc(var(--intensity) * .8));
  transform: scale(calc(1 + var(--intensity) * 0.15));
  transition: color .15s ease, text-shadow .15s ease, transform .15s ease, opacity .15s ease;
}

.matrix-tile.glitch {
  animation: tile-glitch .2s ease;
}

@keyframes tile-glitch {
  0% { transform: scale(1); color: var(--blue) }
  50% { transform: scale(1.3); color: #fff; text-shadow: 0 0 12px #fff }
  100% { transform: scale(1); color: var(--blue) }
}

/* Horizontal energy line */
.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 50%, transparent 100%);
  opacity: .3;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media(min-width:1024px){
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 5rem }
}

/* Hero left */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue-200);
  background: rgba(18,52,242,.08);
  border: 1px solid rgba(18,52,242,.15);
}

.hero-badge .pulse-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.3;transform:scale(.8)}
}

.hero-title {
  margin-top: 1.75rem;
  font-size: clamp(2.75rem,6vw,4.5rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.hero-title .accent {
  display: block;
  background: linear-gradient(135deg, var(--blue-200) 0%, var(--blue) 60%, var(--blue-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  color: var(--gray-300);
  max-width: 480px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: var(--gray-400);
  font-weight: 500;
}

.proof-item svg { color: var(--blue-300); flex-shrink: 0 }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-top: 2.5rem;
}

/* Hero right — logo */
.hero-visual {
  display: none;
  justify-content: center;
  align-items: center;
  position: relative;
}
@media(min-width:1024px){ .hero-visual{display:flex} }

.logo-stage {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated rings */
.logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(18,52,242,.1);
}
.logo-ring-1 {
  inset: -20px;
  animation: ring-spin 30s linear infinite;
}
.logo-ring-2 {
  inset: -50px;
  border-color: rgba(18,52,242,.06);
  animation: ring-spin 45s linear infinite reverse;
}
.logo-ring-3 {
  inset: -80px;
  border-color: rgba(18,52,242,.03);
  animation: ring-spin 60s linear infinite;
}

/* Ring accent dots */
.logo-ring-1::before,
.logo-ring-2::before {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  top: 50%;
  box-shadow: 0 0 12px var(--blue);
}
.logo-ring-1::before { left: -3px }
.logo-ring-2::before { right: -3px }

@keyframes ring-spin { to { transform: rotate(360deg) } }

.logo-glow {
  position: absolute;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(18,52,242,.25) 0%, transparent 65%);
  border-radius: 50%;
  animation: logo-breathe 4s ease-in-out infinite;
}
@keyframes logo-breathe {
  0%,100%{transform:scale(1);opacity:.7}
  50%{transform:scale(1.12);opacity:1}
}

.logo-stage img {
  position: relative;
  z-index: 2;
  width: 200px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(18,52,242,.25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-14px)}
}

/* ===========================
   SECTIONS — shared
   =========================== */
.section { padding: 6rem 0 }
.section-alt { background: var(--surface-1) }

.section-head {
  max-width: 600px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem,3.2vw,2.75rem);
  letter-spacing: -.03em;
}

.section-desc {
  margin-top: .875rem;
  color: var(--gray-300);
  font-weight: 400;
  font-size: 1rem;
}

/* ===========================
   PROBLEM
   =========================== */
.problem {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  position: relative;
}

.problem::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: var(--blue);
  opacity: .4;
}

.problem-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.problem h2 {
  font-size: clamp(1.375rem, 2.8vw, 2rem);
  line-height: 1.3;
  letter-spacing: -.02em;
}

.pain-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .625rem;
  margin-top: 1.75rem;
}

.pain-tag {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  color: #f87171;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.18);
  border-radius: 100px;
  letter-spacing: .01em;
  transition: all .25s ease;
}

.pain-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  flex-shrink: 0;
}

.pain-tag:hover {
  background: rgba(239,68,68,.14);
  border-color: rgba(239,68,68,.3);
  transform: translateY(-1px);
}

.problem p {
  margin-top: 1.25rem;
  color: var(--gray-300);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

/* ===========================
   SERVICES
   =========================== */
.services-grid {
  display: grid;
  gap: 1.25rem;
}
@media(min-width:768px){ .services-grid{grid-template-columns:repeat(3,1fr)} }

.svc-card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  transition: all .4s var(--ease-out-expo);
  overflow: hidden;
}

/* Top glow bar on hover */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity .4s;
}

/* Corner glow on hover */
.svc-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(18,52,242,.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}

.svc-card:hover {
  border-color: rgba(18,52,242,.2);
  transform: translateY(-6px);
  box-shadow: var(--glow-md);
}
.svc-card:hover::before,
.svc-card:hover::after { opacity: 1 }

.svc-icon {
  width: 3rem; height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18,52,242,.07);
  border: 1px solid rgba(18,52,242,.1);
  border-radius: .75rem;
  margin-bottom: 1.5rem;
  transition: all .3s;
}
.svc-card:hover .svc-icon {
  background: rgba(18,52,242,.12);
  border-color: rgba(18,52,242,.2);
  box-shadow: var(--glow-sm);
}

.svc-icon svg {
  width: 1.25rem; height: 1.25rem;
  color: var(--blue-300);
}

.svc-card h3 {
  font-size: 1.125rem;
  letter-spacing: -.01em;
  margin-bottom: .625rem;
}

.svc-card > p {
  font-size: .875rem;
  color: var(--gray-300);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .8125rem;
  color: var(--gray-300);
}

.svc-list svg {
  width: .875rem; height: .875rem;
  color: var(--blue);
  margin-top: .15rem;
  flex-shrink: 0;
}

/* ===========================
   STEPS
   =========================== */
.steps-row {
  display: grid;
  gap: 2rem;
  position: relative;
}
@media(min-width:768px){ .steps-row{grid-template-columns:repeat(3,1fr)} }

/* Connector */
.steps-line {
  display: none;
  position: absolute;
  top: 1.625rem;
  left: calc(16.66% + 1.625rem);
  right: calc(16.66% + 1.625rem);
  height: 1px;
}
@media(min-width:768px){ .steps-line{display:block} }

.steps-line::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 12px);
  opacity: .3;
}

/* Animated travelling dot */
.steps-line::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 5px; height: 5px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue);
  animation: travel 3s ease-in-out infinite;
}
@keyframes travel {
  0%{left:0;opacity:0}
  10%{opacity:1}
  90%{opacity:1}
  100%{left:100%;opacity:0}
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 3.25rem; height: 3.25rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sebastopol','General Sans',system-ui,sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: var(--glow-md);
  position: relative;
}

/* Subtle ring around number */
.step-num::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(18,52,242,.2);
}

.step h3 {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  letter-spacing: -.01em;
}

.step p {
  margin-top: .375rem;
  font-size: .8125rem;
  color: var(--gray-400);
  font-weight: 400;
  line-height: 1.6;
  max-width: 260px;
  margin-inline: auto;
}

/* ===========================
   PARTNERS
   =========================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
}
@media(min-width:768px){ .partners-grid{grid-template-columns:repeat(4,1fr)} }

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .875rem;
  padding: 1.75rem 1.25rem;
  border-radius: 1.25rem;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,.04);
  transition: all .35s var(--ease-out-expo);
}
.partner:hover {
  border-color: rgba(18,52,242,.15);
  box-shadow: var(--glow-sm);
  transform: translateY(-4px);
}

.partner-logo {
  width: 3.5rem; height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18,52,242,.06);
  border-radius: .75rem;
  font-family: 'Sebastopol','General Sans',system-ui,sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-300);
  letter-spacing: -.01em;
}

.partner h3 {
  font-size: .9375rem;
  font-weight: 700;
}

.partner p {
  font-size: .75rem;
  color: var(--gray-400);
  text-align: center;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none }

.testimonial-card {
  flex: 0 0 min(340px, 80vw);
  scroll-snap-align: start;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 1.25rem;
  padding: 1.75rem;
  position: relative;
  transition: all .35s var(--ease-out-expo);
}
.testimonial-card:hover {
  border-color: rgba(18,52,242,.12);
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: .125rem;
  margin-bottom: .875rem;
}
.testimonial-stars svg {
  width: .875rem;
  height: .875rem;
  color: #facc15;
}

.testimonial-card blockquote {
  font-size: .9375rem;
  font-style: italic;
  color: var(--gray-200);
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: .125rem;
}
.testimonial-name {
  font-weight: 700;
  font-size: .8125rem;
}
.testimonial-role {
  font-size: .75rem;
  color: var(--gray-500);
}

/* ===========================
   ABOUT
   =========================== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media(min-width:1024px) { .about-grid { grid-template-columns: 1.2fr .8fr; gap: 5rem } }

.about-desc {
  margin-top: 1rem;
  color: var(--gray-300);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .875rem;
}

.stat-box {
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all .35s var(--ease-out-expo);
}
.stat-box:hover {
  border-color: rgba(18,52,242,.15);
  transform: translateY(-3px);
  box-shadow: var(--glow-sm);
}

.stat-number {
  display: block;
  font-family: 'Sebastopol','General Sans',system-ui,sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--blue-200);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: .375rem;
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===========================
   MAP
   =========================== */
.map-section {
  position: relative;
}

.map-header {
  padding: 3rem 0 2rem;
  text-align: center;
  background: var(--surface-0);
}

.map-wrap {
  position: relative;
  line-height: 0;
}
.map-wrap iframe {
  filter: grayscale(.8) brightness(.7) contrast(1.1);
  transition: filter .4s ease;
}
.map-wrap:hover iframe {
  filter: grayscale(.3) brightness(.85) contrast(1);
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item[open] { border-color: rgba(18,52,242,.15) }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.375rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:hover { color: var(--blue-200) }

.faq-item summary .chevron {
  width: 1.125rem; height: 1.125rem;
  color: var(--gray-500);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform .25s var(--ease-out-expo), color .2s;
}
.faq-item[open] summary .chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-body {
  padding: 0 1.375rem 1.25rem;
  font-size: .9375rem;
  color: var(--gray-300);
  font-weight: 400;
  line-height: 1.7;
}

/* ===========================
   CONTACT
   =========================== */
.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media(min-width:1024px){ .contact-grid{grid-template-columns:1fr 1fr;gap:5rem} }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.contact-icon {
  width: 2.75rem; height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18,52,242,.06);
  border: 1px solid rgba(18,52,242,.1);
  border-radius: .75rem;
  flex-shrink: 0;
  transition: all .2s;
}
a.contact-row:hover .contact-icon {
  background: rgba(18,52,242,.12);
  box-shadow: var(--glow-sm);
}

.contact-icon svg {
  width: 1.125rem; height: 1.125rem;
  color: var(--blue-300);
}

.contact-label {
  font-weight: 600;
  font-size: .9375rem;
}

.contact-sub {
  font-size: .75rem;
  color: var(--gray-500);
  margin-top: .125rem;
}

/* Form card */
.form-card {
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Subtle corner accent */
.form-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(18,52,242,.06) 0%, transparent 70%);
  pointer-events: none;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  position: relative;
  z-index: 1;
}

.field label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: .375rem;
  color: var(--gray-200);
}

.field .hint {
  color: var(--gray-500);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: .75rem;
  color: var(--white);
  font-family: inherit;
  font-size: .9375rem;
  outline: none;
  transition: all .25s;
}
.field input { height: 2.875rem }
.field textarea { resize: none; min-height: 5rem }

.field input::placeholder,
.field textarea::placeholder {
  color: var(--gray-500);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18,52,242,.1);
  background: rgba(18,52,242,.03);
}

.form-submit {
  width: 100%;
  height: 3.25rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: .75rem;
  font-weight: 700;
  font-size: .9375rem;
  cursor: pointer;
  transition: all .3s var(--ease-out-expo);
  box-shadow: var(--glow-sm), inset 0 1px 0 rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
}
.form-submit:hover {
  background: var(--blue-400);
  box-shadow: var(--glow-lg);
  transform: translateY(-2px);
}
.form-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, transparent 50%);
  pointer-events: none;
}

.form-note {
  text-align: center;
  font-size: .6875rem;
  color: var(--gray-500);
  margin-top: .25rem;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.form-success.visible { display: block }

.form-success-ring {
  width: 4rem; height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success-ring svg { width: 1.75rem; height: 1.75rem; color: #22c55e }

.form-success h3 {
  font-size: 1.125rem;
  margin-bottom: .375rem;
}
.form-success p {
  color: var(--gray-400);
  font-size: .875rem;
}

/* ===========================
   MOBILE CTA
   =========================== */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: .625rem;
  background: rgba(9,9,15,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.04);
}
@media(min-width:768px){ .sticky-cta{display:none} }

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: .9375rem;
  border-radius: .75rem;
  box-shadow: var(--glow-md);
  min-height: 44px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.04);
}
@media(max-width:767px){ .footer{padding-bottom:5rem} }

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media(min-width:768px){
  .footer-inner { flex-direction: row; justify-content: space-between }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .625rem;
}
.footer-brand img { height: 2rem; width: auto }

.footer-copy {
  font-size: .75rem;
  color: var(--gray-500);
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .reveal:nth-child(1){ transition-delay: 0s }
.stagger > .reveal:nth-child(2){ transition-delay: .1s }
.stagger > .reveal:nth-child(3){ transition-delay: .2s }
.stagger > .reveal:nth-child(4){ transition-delay: .3s }

/* Hero entrance */
.hero-enter {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-in .8s var(--ease-out-expo) forwards;
}
.hero-enter-d1 { animation-delay: .1s }
.hero-enter-d2 { animation-delay: .25s }
.hero-enter-d3 { animation-delay: .4s }
.hero-enter-d4 { animation-delay: .55s }
.hero-enter-d5 { animation-delay: .7s }

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0) }
}

/* ===========================
   UTILITIES
   =========================== */
.sr-only {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);border:0;
}

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
}
@media(min-width:768px) {
  .footer-links { align-items: flex-end }
}

.footer-link {
  font-size: .6875rem;
  color: var(--gray-500);
  transition: color .2s;
}
.footer-link:hover { color: var(--blue-300) }

/* ===========================
   COOKIE BANNER
   =========================== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem;
  justify-content: center;
}
@media(max-width:767px) {
  .cookie-banner { bottom: 3.5rem }
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 720px;
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(9,9,15,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

.cookie-inner p {
  font-size: .8125rem;
  color: var(--gray-300);
  line-height: 1.5;
  flex: 1;
}
.cookie-inner a {
  color: var(--blue-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: .5rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
  border: none;
}

.cookie-accept {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--glow-sm);
}
.cookie-accept:hover {
  background: var(--blue-400);
  box-shadow: var(--glow-md);
}

.cookie-reject {
  background: rgba(255,255,255,.06);
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,.08);
}
.cookie-reject:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
