/* ============================================================
   REVESHOP — Estilos principales
   Dark theme | Primario: #B0C123 | Secundario: #00B5D1 | BG: #2D3030
   ============================================================ */

/* --- Fuentes locales (Lexend) --- */
@font-face { font-family: 'Lexend'; src: url('../fonts/Lexend-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('../fonts/Lexend-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('../fonts/Lexend-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('../fonts/Lexend-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('../fonts/Lexend-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('../fonts/Lexend-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }

/* --- Variables de diseño --- */
:root {
  --bg:            #2D3030;
  --bg-alt:        #252828;
  --surface:       #363A3A;
  --surface-hover: #3E4343;
  --primary:       #B0C123;
  --primary-hover: #97A51D;
  --secondary:     #00B5D1;
  --text:          #EDEEF0;
  --text-muted:    #8A9898;
  --border:        #454A4A;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow:        0 4px 28px rgba(0, 0, 0, .4);
  --transition:    150ms ease;
  --container:     1140px;
}

/* --- Reset base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lexend', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Utilidades --- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container-narrow { max-width: 720px; }
.accent { color: var(--primary); }

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.btn-primary         { background: var(--primary); color: #1a1d1d; }
.btn-primary:hover   { background: var(--primary-hover); color: #1a1d1d; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(176, 193, 35, .3); }
.btn-sm  { padding: .5rem 1.25rem; font-size: .875rem; }
.btn-lg  { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-ghost         { background: transparent; color: var(--text) !important; border: 1px solid var(--primary); }
.btn-ghost:hover   { background: rgba(176, 193, 35, .1); color: var(--primary); transform: translateY(-1px); }

/* --- Animaciones al scroll --- */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-delay { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(37, 40, 40, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
}
.nav-logo:hover { color: var(--primary); }
.nav-logo img { border-radius: 6px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: .9375rem; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #1a1d1d; }
.nav-links .btn:hover { color: #1a1d1d; }

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   SECCIONES BASE
   ============================================================ */
.section { padding-block: 5rem; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: .75rem; line-height: 1.2; }
.section-header p { color: var(--text-muted); font-size: 1.0625rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-block: 9rem 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 65% 50%, rgba(176, 193, 35, .07) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 70%, rgba(0, 181, 209, .06) 0%, transparent 50%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-badge {
  display: inline-block;
  padding: .35rem 1rem;
  background: rgba(0, 181, 209, .12);
  color: var(--secondary);
  border: 1px solid rgba(0, 181, 209, .28);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  width: fit-content;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
}
.hero-sub { font-size: 1.125rem; color: var(--text-muted); }

/* --- Mockup browser (CSS) --- */
.hero-visual { position: relative; }
.mockup-browser {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px var(--border);
  max-width: 460px;
  margin-inline: auto;
}
.mockup-bar {
  background: var(--bg-alt);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #27C840; }
.mockup-url {
  flex: 1;
  background: var(--surface);
  border-radius: 6px;
  padding: .3rem .75rem;
  font-size: .75rem;
  color: var(--text-muted);
  margin-left: .5rem;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mockup-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
}
.mock-logo-bar { display: block; width: 80px; height: 11px; background: var(--primary); border-radius: 4px; opacity: .85; }
.mock-nav-items { display: flex; gap: 6px; }
.mock-nav-items span { display: block; width: 36px; height: 8px; background: var(--border); border-radius: 3px; }
.mock-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: .625rem; }
.mock-card {
  background: var(--bg);
  border-radius: 8px;
  padding: .625rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
  border: 1px solid var(--border);
}
.mock-card.highlighted { border-color: var(--primary); }
.mock-img    { height: 50px; background: var(--surface-hover); border-radius: 5px; }
.mock-title  { height: 7px; background: var(--border); border-radius: 3px; width: 80%; }
.mock-price  { height: 7px; background: var(--text-muted); border-radius: 3px; width: 50%; opacity: .4; }
.mock-price.accent-bar { background: var(--primary); opacity: .85; }
.mock-notification {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: .625rem .875rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.mock-notif-icon { font-size: 1rem; }
.mock-notif-text { flex: 1; display: flex; flex-direction: column; gap: .375rem; }
.mock-notif-title { height: 7px; background: var(--text-muted); border-radius: 3px; width: 70%; }
.mock-notif-sub   { height: 6px; background: var(--border); border-radius: 3px; width: 90%; }

/* ============================================================
   BENEFICIOS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition), transform 200ms ease, box-shadow 200ms ease;
}
.benefit-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(176, 193, 35, .1);
}
.benefit-icon {
  width: 52px;
  height: 52px;
  background: rgba(176, 193, 35, .12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-card h3 { font-size: 1.0625rem; font-weight: 700; }
.benefit-card p  { color: var(--text-muted); font-size: .9375rem; }

/* ============================================================
   CLIENTES
   ============================================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  color: var(--text);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.client-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(176, 193, 35, .12);
  color: var(--text);
}
.client-logo {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.25rem;
}
.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.client-logo svg { color: var(--border); width: 32px; height: 32px; }
.client-info { display: flex; flex-direction: column; gap: .375rem; }
.client-info h3 { font-size: 1.0625rem; font-weight: 700; }
.client-info p  { font-size: .9rem; color: var(--text-muted); }
.client-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary);
}
.client-link svg { width: 13px; height: 13px; }

@media (max-width: 768px) {
  .clients-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}

/* ============================================================
   PLANES
   ============================================================ */
.plans-grid { display: flex; justify-content: center; }
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.plan-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 48px rgba(176, 193, 35, .14);
}
.plan-badge {
  display: inline-block;
  background: var(--primary);
  color: #1a1d1d;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .3rem .875rem;
  border-radius: 999px;
  width: fit-content;
}
.plan-name { font-size: 1.5rem; font-weight: 700; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: .375rem;
}
.plan-currency { font-size: 1.125rem; color: var(--text-muted); font-weight: 500; }
.plan-amount   { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.plan-period   { color: var(--text-muted); font-size: .9375rem; }
.plan-features { display: flex; flex-direction: column; gap: .75rem; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
}
.check-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.plan-note {
  font-size: .8125rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .04);
  border-radius: 8px;
  padding: .75rem 1rem;
  border-left: 3px solid var(--secondary);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A9898' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: .9375rem;
  line-height: 1.7;
}

/* ============================================================
   PROCESO
   ============================================================ */
.process-steps {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 640px;
  margin-inline: auto;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  opacity: .25;
}
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
}
.process-step:last-child { padding-bottom: 0; }
.step-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9375rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  z-index: 1;
}
.step-content { padding-top: .875rem; }
.step-content h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .375rem; }
.step-content p  { color: var(--text-muted); font-size: .9375rem; }

/* ============================================================
   DEMO
   ============================================================ */
.demo-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 700px;
  margin-inline: auto;
}
.demo-badge {
  display: inline-block;
  padding: .35rem 1rem;
  background: rgba(176, 193, 35, .12);
  color: var(--primary);
  border: 1px solid rgba(176, 193, 35, .3);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.demo-inner h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; }
.demo-inner > p { color: var(--text-muted); font-size: 1.0625rem; max-width: 520px; }

/* Marco del demo */
.demo-frame {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 56px rgba(176, 193, 35, .12), var(--shadow);
}
.demo-frame-bar {
  background: var(--bg-alt);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.demo-frame-url {
  flex: 1;
  background: var(--surface);
  border-radius: 6px;
  padding: .3rem .75rem;
  font-size: .8125rem;
  color: var(--text-muted);
  margin-left: .5rem;
  font-family: monospace;
  text-align: left;
}

/* Pantalla CSS (representación de tienda) */
.demo-frame-screen {
  position: relative;
  padding: 1.25rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ds-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
}
.ds-logo { display: block; width: 72px; height: 10px; background: var(--primary); border-radius: 4px; opacity: .8; }
.ds-nav  { display: flex; gap: 6px; }
.ds-nav span { display: block; width: 32px; height: 8px; background: var(--border); border-radius: 3px; }
.ds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.ds-product {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .625rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.ds-img   { height: 44px; background: var(--surface-hover); border-radius: 5px; }
.ds-img.accent { background: rgba(176, 193, 35, .2); }
.ds-name  { height: 6px; background: var(--border); border-radius: 3px; width: 85%; }
.ds-price { height: 6px; background: var(--text-muted); border-radius: 3px; width: 45%; opacity: .4; }
.ds-price.accent { background: var(--primary); opacity: .7; }

/* Overlay con botón */
.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 40, 40, .72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-overlay .btn { box-shadow: 0 8px 32px rgba(176, 193, 35, .35); }
.demo-overlay .btn:hover { box-shadow: 0 12px 40px rgba(176, 193, 35, .5); }

.demo-note { font-size: .875rem; color: var(--text-muted); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background:
    linear-gradient(135deg, rgba(176, 193, 35, .07) 0%, rgba(0, 181, 209, .07) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.cta-inner h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  max-width: 580px;
  line-height: 1.25;
}

/* ============================================================
   FORMULARIO
   ============================================================ */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group   { display: flex; flex-direction: column; gap: .375rem; }
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}
.required { color: var(--primary); }
.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .875rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(176, 193, 35, .15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .875rem; }
.footer-brand p { color: var(--text-muted); font-size: .9375rem; max-width: 240px; }
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .625rem;
  color: var(--text);
}
.footer-logo:hover { color: var(--primary); }
.footer-logo img {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: contain;
}
.footer-logo span {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.footer-product { font-size: .875rem !important; }
.footer-product a { color: var(--text-muted); }
.footer-product a:hover { color: var(--primary); }
.footer-contact,
.footer-social { display: flex; flex-direction: column; gap: .625rem; }
.footer-contact h4,
.footer-social h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: .25rem;
}
.footer-contact a { color: var(--text-muted); font-size: .9375rem; }
.footer-contact a:hover { color: var(--primary); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .9375rem;
  width: fit-content;
}
.footer-social a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
  text-align: center;
}
.footer-bottom p { font-size: .875rem; color: var(--text-muted); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-settings-link {
  font-size: .875rem;
  color: var(--text-muted);
  text-decoration: underline;
}
.cookie-settings-link:hover { color: var(--primary); }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: rgba(37, 40, 40, .92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cookie-banner-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 420px;
  font-size: .9375rem;
  color: var(--text-muted);
}
.cookie-banner-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.cookie-modal-overlay[hidden] { display: none; }
.cookie-modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}
.cookie-modal h3 { margin-bottom: .75rem; }
.cookie-modal-intro {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.cookie-category {
  padding-block: 1rem;
  border-top: 1px solid var(--border);
}
.cookie-category:last-of-type { border-bottom: 1px solid var(--border); }
.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-category-title { font-weight: 600; }
.cookie-category-desc {
  margin-top: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  margin-top: 1.5rem;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: background var(--transition);
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--primary); border-color: var(--primary); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { background: #1a1d1d; transform: translateX(18px); }
.cookie-toggle input:focus-visible + .cookie-toggle-slider { outline: 2px solid var(--primary); outline-offset: 2px; }
.cookie-toggle-disabled { opacity: .6; cursor: not-allowed; }
.cookie-toggle-disabled input { cursor: not-allowed; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 7rem 4rem; min-height: auto; }
  .hero-visual { display: none; }
  .hero-content { align-items: center; text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  [data-nav] {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 1.25rem;
  }
  [data-nav].open { display: block; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .nav-links .btn {
    width: 100%;
    justify-content: center;
  }

  .section { padding-block: 3.5rem; }
  .section-header { margin-bottom: 2rem; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2.5rem;
  }
  .footer-brand { grid-column: auto; }

  .process-steps::before { left: 27px; }

  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-actions .btn { width: 100%; justify-content: center; }
  .cookie-modal { padding: 1.25rem; }
  .cookie-modal-actions { flex-direction: column-reverse; }
  .cookie-modal-actions .btn { width: 100%; justify-content: center; }
}
