/* === HERO ================================================== */
#inicio {
  position: relative;
  padding: 7rem 2rem 5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
}

.hero-inner {
  max-width: 600px;
}

.hero-eyebrow {
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  border: 1px solid var(--border-card);
  border-radius: 99px;
  padding: 0.3rem 0.85rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

#inicio h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

#inicio h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-sub strong {
  color: var(--text-primary);
  font-weight: 500;
}

.cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

/* Pills */
/* Ticker */
/* Ticker vertical */
.hero-pills {
  overflow: hidden;
  height: 320px;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  margin-top: 2rem;
}

.pills-wheel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: max-content;
  animation: ticker-vertical 12s linear infinite;
}

.pills-wheel:hover {
  animation-play-state: running;
}

.pill {
  font-size: 2.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 1px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}


@keyframes ticker-vertical {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.pill--syne      { font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -0.02em; }
.pill--playfair  { font-family: 'Playfair Display', serif; font-style: italic; }
.pill--mono      { font-family: 'Space Mono', monospace;  letter-spacing: -0.03em; }
.pill--bebas     { font-family: 'Bebas Neue', sans-serif;  letter-spacing: 0.05em; }
.pill--cormorant { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600;  }
.pill--dm        { font-family: 'DM Sans', sans-serif; font-weight: 300;  letter-spacing: 0.04em; }

/* Big decorative letters */
.hero-deco {
  position: absolute;
  right: -2rem;
  top: 80%;
  transform: translateY(-50%);
  font-family: 'Syne', sans-serif;
  font-size: clamp(10rem, 20vw, 50rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(107, 140, 255, 0.08);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* === STATS STRIP =========================================== */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 2rem;
  background: var(--bg-card);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0 3rem;
  text-align: center;
}

.stat-n {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-l {
  font-size: 0.72rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-card);
}

/* === HOW IT WORKS ========================================== */
.how-section {
  padding: 6rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.how-inner h2,
.provider-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.step-card:hover {
  border-color: rgba(107, 140, 255, 0.25);
  transform: translateY(-3px);
}

.step-card:hover::before {
  opacity: 1;
}

.step-num {
  font-family: 'Space Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(107, 140, 255, 0.25);
  line-height: 1;
  letter-spacing: -0.03em;
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === FOR PROVIDERS ========================================= */
#proveedores {
  border-top: 1px solid var(--border-card);
  padding: 0;
}

.provider-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.provider-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.provider-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 0.5rem;
}

/* Provider visual cards */
.provider-visual {
  position: relative;
  height: 280px;
}

.pv-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.pv-card:hover { transform: translateY(-4px) !important; }

.pv-card:nth-child(1) { top: 0; left: 0; z-index: 3; }
.pv-card--offset      { top: 90px; left: 60px; z-index: 2; opacity: 0.85; }
.pv-card--offset2     { top: 180px; left: 120px; z-index: 1; opacity: 0.65; }

.pv-avatar {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--accent-dim);
  border: 1px solid rgba(107,140,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 500; color: var(--accent);
  flex-shrink: 0;
}

.pv-avatar--2 { background: rgba(232,86,138,0.12); border-color: rgba(232,86,138,0.2); color: #e8568a; }
.pv-avatar--3 { background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.2); color: #8b5cf6; }

.pv-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.pv-cat {
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(107,140,255,0.18);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
}

.pv-stars {
  margin-left: auto;
  font-size: 0.7rem;
  color: #f5c842;
  letter-spacing: -1px;
}

/* === BUTTONS =============================================== */
.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 7px;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--btn-border);
  border-radius: 7px;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--btn-border-h);
  background: var(--btn-ghost-bg-h);
}

/* === RESPONSIVE ============================================ */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .header-inner { padding: 0 1.25rem; }
  #inicio { padding: 5rem 1.25rem 3rem; }
  .hero-deco { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .provider-inner { grid-template-columns: 1fr; padding: 4rem 1.25rem; }
  .provider-visual { display: none; }
  .stats-strip { gap: 1.5rem; }
  .stat-item { padding: 0 1rem; }
  .stat-divider { display: none; }
  footer { flex-direction: column; align-items: flex-start; padding: 2rem 1.25rem; }
}
/* ============================================================
   ServiMarket — index.css
   Estética: moderno corporativo, oscuro elegante
   Google Font: DM Sans 300;400;500
   ============================================================ */

/* === VARIABLES ============================================= */
:root {
  --bg-page:          #111318;
  --bg-header:        #16181f;
  --bg-surface:       #16181f;
  --bg-card:          #1c1f28;
  --border-header:    rgba(255, 255, 255, 0.07);
  --border-card:      rgba(255, 255, 255, 0.07);
  --text-primary:     #f0f0f0;
  --text-muted:       rgba(240, 240, 240, 0.5);
  --text-subtle:      rgba(240, 240, 240, 0.3);
  --accent:           #6b8cff;
  --accent-hover:     #7d9bff;
  --accent-dim:       rgba(107, 140, 255, 0.12);
  --btn-border:       rgba(255, 255, 255, 0.1);
  --btn-border-h:     rgba(255, 255, 255, 0.2);
  --btn-ghost-bg-h:   rgba(255, 255, 255, 0.04);
  --nav-hover-bg:     rgba(255, 255, 255, 0.05);
  --radius-sm:        6px;
  --radius-md:        10px;
  --radius-lg:        16px;
  --max-w:            1100px;
  --header-h:         64px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg-page:        #f4f5f7;
    --bg-header:      #ffffff;
    --bg-surface:     #ffffff;
    --bg-card:        #ffffff;
    --border-header:  rgba(0, 0, 0, 0.07);
    --border-card:    rgba(0, 0, 0, 0.08);
    --text-primary:   #111318;
    --text-muted:     rgba(17, 19, 24, 0.55);
    --text-subtle:    rgba(17, 19, 24, 0.35);
    --accent:         #4a6cf7;
    --accent-hover:   #3a5ce5;
    --accent-dim:     rgba(74, 108, 247, 0.08);
    --btn-border:     rgba(0, 0, 0, 0.1);
    --btn-border-h:   rgba(0, 0, 0, 0.2);
    --btn-ghost-bg-h: rgba(0, 0, 0, 0.04);
    --nav-hover-bg:   rgba(0, 0, 0, 0.04);
  }
}
@media (prefers-color-scheme: light) {
  .header-wave path { fill: #f4f5f7; }
}
@media (prefers-color-scheme: light) {
  .hero-deco {
    -webkit-text-stroke: 1px rgba(74, 109, 247, 0.27);
    
  }
  .step-num {
    -webkit-text-stroke: 1px rgba(74, 108, 247, 0.2);
  }
  a.btn-ghost {
    color: #1113188b;
    border-color: rgb(0, 0, 0);
  }

  .btn-ghost:hover {
    color: #111318;
    border-color: rgba(0, 0, 0, 0.35);
    background: rgba(0, 0, 0, 0.05);
  }
  .logo-mark{
    background: #f7f7f9;
  }
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation-name: float;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes float {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-100vh); opacity: 0; }
}
/* === RESET ================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === BASE ================================================== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

ul {
  list-style: none;
}

/* === HEADER ================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-header);
  animation: hdr-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.header-inner {
  height: var(--header-h);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Ola inferior del header */
.header-wave {
  display: block;
  width: 100%;
  height: 32px;
  line-height: 0;
  overflow: hidden;
  margin-top: -1px;
}

.header-wave svg {
  display: block;
  width: 100%;
  height: 32px;
}

/* === LOGO ================================================== */
.logo {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  animation: item-in 0.5s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-mark {
  width: 30px;
  height: 30px;
  background: #e5e7eb;
  border: 1px solid var(--btn-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 16px;
  height: 16px;
}


/* === NAV =================================================== */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.site-nav li                { animation: item-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.site-nav li:nth-child(1)   { animation-delay: 0.15s; }
.site-nav li:nth-child(2)   { animation-delay: 0.20s; }
.site-nav li:nth-child(3)   { animation-delay: 0.25s; }
.site-nav li:nth-child(4)   { animation-delay: 0.30s; }

.site-nav a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  display: block;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  color: var(--text-primary);
  background: var(--nav-hover-bg);
}

.site-nav a.active {
  color: var(--text-primary);
}

/* === BOTONES DEL HEADER ==================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  animation: item-in 0.5s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn-ghost {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(240, 240, 240, 0.6);
  background: transparent;
  border: 1px solid var(--btn-border);
  border-radius: 7px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--btn-border-h);
  background: var(--btn-ghost-bg-h);
}

/* === MAIN ================================================== */
main {
  padding-top: calc(var(--header-h) + 28px);
}

/* Contenedor centrado reutilizable */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* === SECCIÓN HERO ========================================== */
#inicio {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

#inicio h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

/* Resalta "ServiMarket" en el párrafo */
#inicio p strong {
  color: var(--text-primary);
  font-weight: 500;
}

#inicio > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 1rem;
  line-height: 1.75;
}

/* Lista de beneficios */
#inicio ul[aria-label="Beneficios principales"] {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 2rem 0 2.5rem;
}

#inicio ul[aria-label="Beneficios principales"] li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Checkmark decorativo antes de cada ítem */
#inicio ul[aria-label="Beneficios principales"] li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(107, 140, 255, 0.25);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%236b8cff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* CTAs del hero */
.cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Botón primario general (hero + secciones) */
.btn-primary,
a[role="button"] {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  background: var(--accent);
  border: none;
  border-radius: 7px;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover,
a[role="button"]:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.btn-primary:active,
a[role="button"]:active {
  transform: scale(0.98);
}

/* CTA secundario en línea */
#inicio > p:last-child {
  font-size: 0.875rem;
  color: var(--text-subtle);
  margin-top: 1.25rem;
}

#inicio > p:last-child a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#inicio > p:last-child a:hover {
  color: var(--text-primary);
}

/* === DIVISOR ENTRE SECCIONES =============================== */
section + section {
  border-top: 1px solid var(--border-card);
}

/* === SECCIÓN PROVEEDORES =================================== */
#proveedores {
  padding: 5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

#proveedores h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

#proveedores p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* === FOOTER ================================================ */
footer {
  border-top: 1px solid var(--border-card);
  padding: 2.5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

footer nav a {
  font-size: 0.8rem;
  color: var(--text-subtle);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

footer nav a:hover {
  color: var(--text-muted);
}

/* === KEYFRAMES ============================================= */
@keyframes hdr-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes item-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE ============================================ */
@media (max-width: 768px) {
  .site-nav         { display: none; }
  .btn-ghost        { display: none; }
  .header-inner     { padding: 0 1.25rem; }

  #inicio           { padding: 4rem 1.25rem 3rem; }
  #proveedores      { padding: 3.5rem 1.25rem; }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.25rem;
  }
  #inicio {
    grid-template-columns: 1fr;
  }

  .hero-pills {
   display: none;
  }
}

@media (max-width: 480px) {
  #inicio h1        { font-size: 1.75rem; }
  .cta-group        { flex-direction: column; align-items: flex-start; }
}
/* === BURGER ================================================ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

.burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Burger open state — X */
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav open */
.site-nav.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg-header);
  padding: 1rem 1.25rem 2rem;
  border-bottom: 1px solid var(--border-card);
  z-index: 99;
  animation: nav-drop 0.2s ease;
}

.site-nav.open ul {
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav.open a {
  font-size: 1rem;
  padding: 0.75rem 1rem;
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .burger { display: flex; }
}