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

:root {
  --pink:    #ff2d9f;
  --purple:  #8B2FC9;
  --magenta: #c009c1;
  --bg:      #09090e;
  --card:    #0f0f17;
  --card2:   #13131e;
  --border:  rgba(255,255,255,0.07);
  --text:    #ffffff;
  --muted:   rgba(255,255,255,0.5);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

/* Projects shortcut button */
.projects-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 400;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(192,9,193,.35), 0 4px 12px rgba(0,0,0,.4);
  transition: transform .2s, box-shadow .2s, opacity .2s;
  opacity: 0.01;
}
.projects-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 28px rgba(192,9,193,.5), 0 6px 16px rgba(0,0,0,.4);
  opacity: 0.01;
}
.projects-btn svg { width: 20px; height: 20px; }

/* Full-screen particle canvas */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: .82;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ──────────────────────────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(9,9,14,.9);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding-bottom: .2rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-color: var(--pink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(255,255,255,.82);
  outline-offset: 3px;
}


/* ── HERO ─────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 7rem 3rem 4rem;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
}

/* LEFT */
.hero-left { position: relative; z-index: 1; }

.hero-left h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 1.4rem;
}

.pink { color: var(--pink); }

.purple-grad {
  background: linear-gradient(90deg, var(--purple) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-left p {
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  padding: .85rem 2rem;
  border-radius: .5rem;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: opacity .2s, transform .25s, box-shadow .25s;
  box-shadow: 0 0 24px rgba(255,45,159,.3);
}

.btn-primary:hover {
  opacity: .85;
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(255,45,159,.45);
}

.btn-ghost {
  color: var(--text);
  text-decoration: none;
  padding: .85rem 2rem;
  border-radius: .5rem;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color .2s, background .2s, transform .25s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.05);
  transform: translateY(-3px);
}

/* RIGHT */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.icon-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pulsing glow rings behind the icon */
.icon-ring {
  position: absolute;
  border-radius: 50%;
  animation: ringPulse 3s ease-in-out infinite;
}

.ring-1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,45,159,.18) 0%, transparent 70%);
  animation-delay: 0s;
}

.ring-2 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(139,47,201,.12) 0%, transparent 70%);
  animation-delay: .7s;
}

.ring-3 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(192,9,193,.06) 0%, transparent 70%);
  animation-delay: 1.4s;
}

@keyframes ringPulse {
  0%,100% { transform: scale(1);   opacity: .8; }
  50%      { transform: scale(1.1); opacity: 1;  }
}

.hero-icon {
  width: 340px;
  height: auto;
  animation: iconFloat 5s ease-in-out infinite, neonFlicker 17s linear infinite;
}

@keyframes iconFloat {
  0%,100% { transform: scale(.85) translateY(0);    }
  50%      { transform: scale(.85) translateY(-14px);}
}

/* ── Neon flicker — 17s loop ─────────────────────────────────────
   0–3s   : liga (fraco → forte, fiscadas rápidas)
   3–13s  : aceso (brilho cheio, respira levemente)
   13–16s : desliga (forte → fraco, mesmas fiscadas)
   16–17s : apagado
   ─────────────────────────────────────────────────────────────── */
@keyframes neonFlicker {
  /* apagado */
  0%    { filter: drop-shadow(0 0 2px rgba(192,9,193,.04)) drop-shadow(0 0 5px rgba(139,47,201,.02)); }
  /* fiscadas fracas — primeiros ~850ms */
  0.6%  { filter: drop-shadow(0 0 5px rgba(192,9,193,.22)) drop-shadow(0 0 14px rgba(139,47,201,.1)); }
  1.1%  { filter: drop-shadow(0 0 2px rgba(192,9,193,.04)) drop-shadow(0 0 5px rgba(139,47,201,.02)); }
  1.6%  { filter: drop-shadow(0 0 6px rgba(192,9,193,.3))  drop-shadow(0 0 17px rgba(139,47,201,.13)); }
  2.1%  { filter: drop-shadow(0 0 2px rgba(192,9,193,.05)) drop-shadow(0 0 5px rgba(139,47,201,.02)); }
  2.6%  { filter: drop-shadow(0 0 8px rgba(192,9,193,.46)) drop-shadow(0 0 20px rgba(139,47,201,.2)); }
  3.1%  { filter: drop-shadow(0 0 4px rgba(192,9,193,.15)) drop-shadow(0 0 10px rgba(139,47,201,.07)); }
  3.5%  { filter: drop-shadow(0 0 8px rgba(192,9,193,.46)) drop-shadow(0 0 20px rgba(139,47,201,.2)); }
  3.9%  { filter: drop-shadow(0 0 3px rgba(192,9,193,.1))  drop-shadow(0 0 7px rgba(139,47,201,.04)); }
  4.4%  { filter: drop-shadow(0 0 9px rgba(192,9,193,.56)) drop-shadow(0 0 24px rgba(139,47,201,.26)); }
  4.9%  { filter: drop-shadow(0 0 5px rgba(192,9,193,.28)) drop-shadow(0 0 14px rgba(139,47,201,.13)); }
  /* estabilizando — fica mais forte */
  7.1%  { filter: drop-shadow(0 0 10px rgba(192,9,193,.7))  drop-shadow(0 0 32px rgba(139,47,201,.36)); }
  8.8%  { filter: drop-shadow(0 0 8px rgba(192,9,193,.5))   drop-shadow(0 0 24px rgba(139,47,201,.24)); }
  10.6% { filter: drop-shadow(0 0 11px rgba(192,9,193,.82)) drop-shadow(0 0 38px rgba(139,47,201,.48)) drop-shadow(0 0 64px rgba(255,45,159,.25)); }
  12.4% { filter: drop-shadow(0 0 10px rgba(192,9,193,.72)) drop-shadow(0 0 32px rgba(139,47,201,.4))  drop-shadow(0 0 55px rgba(255,45,159,.2)); }
  14.7% { filter: drop-shadow(0 0 12px rgba(192,9,193,.9))  drop-shadow(0 0 42px rgba(139,47,201,.56)) drop-shadow(0 0 72px rgba(255,45,159,.32)); }
  /* aceso — brilho cheio, leve respiração */
  17.6% { filter: drop-shadow(0 0 12px rgba(192,9,193,.9))  drop-shadow(0 0 42px rgba(139,47,201,.56)) drop-shadow(0 0 72px rgba(255,45,159,.32)); }
  47%   { filter: drop-shadow(0 0 10px rgba(192,9,193,.78)) drop-shadow(0 0 36px rgba(139,47,201,.48)) drop-shadow(0 0 60px rgba(255,45,159,.26)); }
  76.5% { filter: drop-shadow(0 0 12px rgba(192,9,193,.9))  drop-shadow(0 0 42px rgba(139,47,201,.56)) drop-shadow(0 0 72px rgba(255,45,159,.32)); }
  /* desligando — fiscadas em ordem inversa */
  77.1% { filter: drop-shadow(0 0 9px rgba(192,9,193,.6))   drop-shadow(0 0 28px rgba(139,47,201,.34)); }
  77.6% { filter: drop-shadow(0 0 12px rgba(192,9,193,.9))  drop-shadow(0 0 40px rgba(139,47,201,.54)) drop-shadow(0 0 70px rgba(255,45,159,.3)); }
  78.2% { filter: drop-shadow(0 0 7px rgba(192,9,193,.42))  drop-shadow(0 0 20px rgba(139,47,201,.2)); }
  78.8% { filter: drop-shadow(0 0 10px rgba(192,9,193,.7))  drop-shadow(0 0 32px rgba(139,47,201,.4)); }
  79.5% { filter: drop-shadow(0 0 5px rgba(192,9,193,.28))  drop-shadow(0 0 14px rgba(139,47,201,.12)); }
  80.2% { filter: drop-shadow(0 0 8px rgba(192,9,193,.52))  drop-shadow(0 0 24px rgba(139,47,201,.26)); }
  81%   { filter: drop-shadow(0 0 4px rgba(192,9,193,.18))  drop-shadow(0 0 10px rgba(139,47,201,.08)); }
  82%   { filter: drop-shadow(0 0 7px rgba(192,9,193,.42))  drop-shadow(0 0 18px rgba(139,47,201,.18)); }
  83.2% { filter: drop-shadow(0 0 3px rgba(192,9,193,.12))  drop-shadow(0 0 8px rgba(139,47,201,.05)); }
  84.7% { filter: drop-shadow(0 0 5px rgba(192,9,193,.25))  drop-shadow(0 0 14px rgba(139,47,201,.1)); }
  86.5% { filter: drop-shadow(0 0 3px rgba(192,9,193,.1))   drop-shadow(0 0 7px rgba(139,47,201,.04)); }
  88.2% { filter: drop-shadow(0 0 4px rgba(192,9,193,.18))  drop-shadow(0 0 9px rgba(139,47,201,.06)); }
  90%   { filter: drop-shadow(0 0 2px rgba(192,9,193,.06))  drop-shadow(0 0 5px rgba(139,47,201,.02)); }
  91.8% { filter: drop-shadow(0 0 3px rgba(192,9,193,.12))  drop-shadow(0 0 7px rgba(139,47,201,.04)); }
  93.5% { filter: drop-shadow(0 0 2px rgba(192,9,193,.04))  drop-shadow(0 0 4px rgba(139,47,201,.02)); }
  /* apagado */
  94.1%,100% { filter: drop-shadow(0 0 2px rgba(192,9,193,.04)) drop-shadow(0 0 5px rgba(139,47,201,.02)); }
}

/* ── SERVICES ─────────────────────────────── */
#services {
  padding: 7rem 3rem 5rem;
  max-width: 1360px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem 2rem;
  text-align: center;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.service-card:hover {
  border-color: rgba(255,45,159,.35);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(255,45,159,.1);
}

.svc-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
}

.svc-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}

.service-card p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.65;
}

.explore-link-wrap { text-align: center; }

.explore-link {
  color: var(--pink);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .2s, letter-spacing .2s;
}

.explore-link:hover {
  opacity: .75;
  letter-spacing: .12em;
}

/* ── PORTFOLIO ────────────────────────────── */
#work {
  padding: 7rem 3rem;
  max-width: 1360px;
  margin: 0 auto;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.25rem;
}

.work-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--border);
  transition: transform .35s, border-color .3s, box-shadow .35s;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,45,159,.35);
  box-shadow: 0 20px 56px rgba(255,45,159,.1);
}

.work-card--wide { grid-column: span 2; min-height: 340px; }
.work-card--coming { background: var(--card2); }

.work-bg {
  position: absolute;
  inset: 0;
  opacity: .65;
  transition: opacity .35s;
}

.work-card:hover .work-bg { opacity: .85; }

.work-info {
  position: relative;
  z-index: 1;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
}

.work-info--center {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.work-tag {
  display: inline-block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: .75rem;
  width: fit-content;
  border: 1px solid rgba(255,255,255,.15);
}

.work-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}

.work-card p {
  font-size: .84rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

.work-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--pink);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  transition: opacity .2s, transform .2s;
}

.work-link:hover { opacity: .7; transform: translateX(4px); }

/* ── ABOUT ────────────────────────────────── */
.about-section {
  padding: 7rem 3rem;
  max-width: 1360px;
  margin: 0 auto;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 4rem;
}

.about-left .section-tag { margin-bottom: .75rem; }

.about-left h2 {
  font-size: clamp(1.8rem,4vw,2.75rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.about-left p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  transition: border-color .3s, transform .3s;
}

.stat:hover {
  border-color: rgba(255,45,159,.35);
  transform: translateY(-3px);
}

.stat-num {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .04em;
}

/* ── FOOTER ───────────────────────────────── */
footer {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 5.5rem 3rem 2.75rem;
  text-align: center;
}

.footer-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,45,159,.1) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.footer-inner { position: relative; z-index: 1; }

.footer-logo {
  height: 50px;
  width: auto;
  display: block;
  margin: 0 auto 1rem;
}

.footer-sub {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--text);
  text-decoration: none;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: .78rem 1.6rem;
  border-radius: .5rem;
  font-size: .85rem;
  font-weight: 600;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.social-btn:hover {
  background: rgba(255,45,159,.12);
  border-color: rgba(255,45,159,.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,45,159,.15);
}

.social-btn--wa:hover {
  background: rgba(37,211,102,.1);
  border-color: rgba(37,211,102,.35);
  box-shadow: 0 8px 28px rgba(37,211,102,.1);
}

.social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.footer-copy {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: .73rem;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ── REVEAL ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.services-grid .reveal:nth-child(2) { transition-delay: .07s; }
.services-grid .reveal:nth-child(3) { transition-delay: .14s; }
.services-grid .reveal:nth-child(4) { transition-delay: .21s; }
.services-grid .reveal:nth-child(5) { transition-delay: .28s; }
.work-grid .reveal:nth-child(2)     { transition-delay: .07s; }
.work-grid .reveal:nth-child(3)     { transition-delay: .14s; }
.work-grid .reveal:nth-child(4)     { transition-delay: .21s; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  #nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  #bg-canvas { opacity: .62; }

  #hero { grid-template-columns: 1fr; min-height: auto; padding: 6rem 1.5rem 3rem; text-align: center; }
  .hero-left p { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-right { min-height: 320px; }
  .hero-icon { width: 260px; height: 260px; }
  .ring-1 { width: 240px; height: 240px; }
  .ring-2 { width: 340px; height: 340px; }
  .ring-3 { width: 440px; height: 440px; }

  #services, #work, .about-section { padding: 5rem 1.5rem; }
  .services-grid { grid-template-columns: repeat(2,1fr); }

  .work-grid { grid-template-columns: 1fr; }
  .work-card--wide { grid-column: span 1; }

  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem; }
  footer { padding: 4rem 1.5rem 2rem; }
}

@media (max-width: 540px) {
  html { scroll-padding-top: 74px; }
  #nav { padding: .9rem 1.25rem; }
  .nav-logo img { height: 34px; }
  #hero { padding: 5.4rem 1.5rem 2.5rem; gap: 1rem; }
  .hero-left h1 { font-size: clamp(2.45rem, 14vw, 3.55rem); }
  .hero-left p { margin-bottom: 2rem; }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .services-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-social { flex-direction: column; align-items: center; }
  .social-btn { width: 100%; max-width: 260px; justify-content: center; }
  .br-desktop { display: none; }
  .hero-right { overflow: hidden; }
  .ring-3 { width: 340px; height: 340px; }
}

/* ── NAV QUOTE BUTTON ─────────────────────── */
.nav-quote-btn {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  text-decoration: none;
  border: none;
  padding: .55rem 1.35rem;
  border-radius: 2rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.nav-quote-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,45,159,.3);
}

/* ── HAMBURGER + MOBILE NAV ──────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(9,9,14,.97);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-mobile.open { display: flex; }

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.nav-mobile-links li a {
  display: block;
  padding: 1.1rem 2rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  letter-spacing: .01em;
  transition: color .2s;
  text-align: center;
}

.nav-mobile-links li a:hover { color: var(--pink); }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
}

/* ── QUOTE SECTION ────────────────────────── */
#quote {
  padding: 7rem 3rem;
  display: flex;
  justify-content: center;
}

/* Floating window card */
.quote-window {
  width: 100%;
  max-width: 980px;
  background: var(--card);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  box-shadow:
    0 0 0 1px rgba(255,45,159,.18),
    0 40px 100px rgba(0,0,0,.65),
    0 0 120px rgba(139,47,201,.1);
}

/* Gradient top-left border accent */
.quote-window::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,45,159,.5) 0%, rgba(139,47,201,.25) 40%, transparent 65%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* Left panel */
.quote-left {
  background: linear-gradient(160deg, rgba(255,45,159,.07) 0%, rgba(139,47,201,.1) 100%);
  padding: 3.5rem 2.75rem;
  border-right: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Decorative glow blob bottom-right of left panel */
.quote-left::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,45,159,.18) 0%, transparent 70%);
  bottom: -110px; right: -100px;
  pointer-events: none;
}

.quote-left .section-tag { margin-bottom: 1.25rem; display: block; }

.quote-left h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1.0;
  margin-bottom: 1.1rem;
}

.quote-left > p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.quote-services {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 2rem;
}

.quote-services span {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: .28rem .75rem;
  border-radius: 999px;
  color: rgba(255,255,255,.55);
}

.quote-contact {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  margin-top: auto;
}

.quote-contact a,
.quote-contact span {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  font-size: .82rem;
  transition: color .2s;
}

.quote-contact a:hover { color: var(--pink); }

/* Right panel */
.quote-right { padding: 3.5rem 3rem; }

.quote-form-header { margin-bottom: 1.75rem; }

.quote-form-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .3rem;
}

.quote-form-header p { font-size: .84rem; color: var(--muted); }

/* Form */
.quote-form { display: flex; flex-direction: column; gap: 1.15rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: .45rem; }

.form-group label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: .6rem;
  padding: .8rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  background: rgba(255,45,159,.05);
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: rgba(255,77,109,.7);
}

.field-err {
  color: #ff4d6d;
  font-size: .76rem;
  display: block;
  margin-top: .3rem;
}

button.btn-primary { border: none; cursor: pointer; }
.btn-full { width: 100%; justify-content: center; margin-top: .25rem; }

/* ── PHONE COUNTRY SELECTOR ──────────────── */
.phone-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

.country-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: .6rem 0 0 .6rem;
  padding: .78rem .85rem;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
  outline: none;
  flex-shrink: 0;
}
.country-btn:hover,
.country-btn.open,
.country-btn.input-focus { background: rgba(255,45,159,.06); border-color: var(--pink); }
.country-btn svg { color: rgba(255,255,255,.3); transition: transform .2s; }
.country-btn.open svg { transform: rotate(180deg); }

#csFlag { font-size: 1.1rem; line-height: 1; }
#csCode { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.65); letter-spacing: .01em; min-width: 2.2rem; }

.phone-wrap input[type="tel"] {
  flex: 1;
  min-width: 0;
  border-left: none;
  border-radius: 0 .6rem .6rem 0 !important;
}

.country-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 300;
  background: #0f0f17;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem;
  min-width: 230px;
  max-height: 270px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 20px 56px rgba(0,0,0,.65), 0 0 0 1px rgba(255,45,159,.07);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.08) transparent;
}
.country-dropdown.open { display: block; }

.cs-option {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .58rem 1rem;
  cursor: pointer;
  transition: background .12s;
}
.cs-option:first-child { border-radius: .75rem .75rem 0 0; }
.cs-option:last-child  { border-radius: 0 0 .75rem .75rem; }
.cs-option:hover  { background: rgba(255,45,159,.09); }
.cs-option.active { background: rgba(255,45,159,.14); }

.cs-flag { font-size: 1.15rem; line-height: 1; flex-shrink: 0; }
.cs-name { flex: 1; font-size: .81rem; color: rgba(255,255,255,.68); }
.cs-dial { font-size: .75rem; font-weight: 700; color: var(--pink); letter-spacing: .01em; }

/* Success state */
.quote-success {
  text-align: center;
  padding: 2.5rem 1rem;
  display: none;
}
.quote-success.show { display: block; }
.success-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}
.quote-success h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: .5rem; }
.quote-success p  { font-size: .875rem; color: var(--muted); }

@media (max-width: 900px) {
  #quote { padding: 5rem 1.5rem; }
  .quote-window { grid-template-columns: 1fr; }
  .quote-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 2.5rem 2rem; }
  .quote-right { padding: 2.5rem 2rem; }
}

@media (max-width: 540px) {
  #quote { padding: 4rem 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-quote-btn { padding: .48rem 1rem; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  #bg-canvas { display: none; }
  .reveal { opacity: 1; transform: none; }
}
