/* ==========================================================================
   Mattic · Tema claro (en concordancia con la landing de Baddi)
   Se carga después de style.min.css y solo actúa con <html class="light">.
   Sin esa clase se ve el diseño oscuro original (botón sol/luna: theme.js).
   Las utilidades de Tailwind v4 leen variables de color, así que aquí se
   invierte la paleta. No toca tipografías.
   ========================================================================== */

/* ---------- Modo oscuro: el fondo negro original ---------- */
html:not(.light),
html:not(.light) body { background-color: #000000 !important; }

/* ---------- Botón de tema (ambos modos) ---------- */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; flex: none;
  border-radius: 1rem; cursor: pointer;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #cbd5e1;
  transition: color .2s, background-color .2s, border-color .2s, transform .15s;
}
.theme-toggle:hover { color: #00a3a3; border-color: rgba(0, 163, 163, .45); }
.theme-toggle:active { transform: scale(.95); }
.theme-toggle .material-symbols-outlined { font-size: 1.5rem; }
.theme-toggle:focus-visible { outline: 2px solid #00a3a3; outline-offset: 2px; }
html.light .theme-toggle { background: #f5f7fb; border-color: #e1e6f0; color: #3b4762; }
html.light .theme-toggle:hover { color: #00868a; border-color: rgba(0, 163, 163, .45); }

/* ========================================================================== */

html.light {
  /* Paleta Baddi */
  --m-bg: #ffffff;
  --m-bg-alt: #eef3fa;
  --m-bg-grey: #f5f7fb;
  --m-ink: #0f1d3a;
  --m-heading: #1c3461;
  --m-muted: #59647d;
  --m-line: #e1e6f0;
  --m-teal: #00a3a3;
  --m-teal-text: #00868a;
  --m-shadow: 0 18px 44px -26px rgba(15, 29, 58, .28);
  --m-shadow-lg: 0 30px 70px -34px rgba(15, 29, 58, .35);

  /* Inversión de las variables de Tailwind */
  --color-white: var(--m-ink);
  --color-black: var(--m-bg);
  --color-background-dark: var(--m-bg);
  --color-slate-100: var(--m-heading);
  --color-slate-200: #22314f;
  --color-slate-300: #3b4762;
  --color-slate-400: var(--m-muted);
  --color-slate-500: #6b7590;
  --color-slate-600: #7a849b;
  color-scheme: light;
}

/* Sobre fondos de color (botones, iconos, WhatsApp...) el blanco vuelve a ser blanco */
html.light .bg-primary,
html.light .bg-primary-dark,
html.light .hover\:bg-primary:hover,
html.light .group:hover .group-hover\:bg-primary,
html.light .bg-red-500,
html.light [class*="bg-[#25D366]"],
html.light [class*="bg-[#008080]"],
html.light [class*="bg-[#0077b5]"],
html.light [class*="bg-[#1a1a1a]"],
html.light [class*="bg-[#222]"],
html.light [class*="bg-[#333"] {
  --color-white: #ffffff;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #b8c2d8;
}

html.light .bg-white { background-color: #ffffff; }

/* Base */
html.light,
html.light body {
  background-color: var(--m-bg) !important;
  color: var(--m-ink);
}
html.light h1, html.light h2, html.light h3, html.light h4 { color: var(--m-heading); }
html.light ::selection { background: rgba(0, 163, 163, .18); }

/* Turquesa legible sobre blanco (fondos turquesa intactos) */
html.light .text-primary,
html.light .hover\:text-primary:hover,
html.light .group:hover .group-hover\:text-primary,
html.light .group\/item:hover .group-hover\/item\:text-primary,
html.light .group\/link:hover .group-hover\/link\:text-primary { color: var(--m-teal-text); }
html.light .bg-primary .text-primary { color: #ffffff; }

/* ---------- Cabecera: azul noche, igual que el héroe ---------- */
html.light header nav.glass,
html.light header nav.glass.scrolled {
  background: rgba(15, 29, 58, .94) !important;
  backdrop-filter: blur(14px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.4) !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  box-shadow: 0 14px 34px -18px rgba(15, 29, 58, .55) !important;
}
html.light header nav.glass.scrolled { background: rgba(15, 29, 58, .97) !important; }
/* Dentro del menú (y sus desplegables) vuelve el texto claro */
html.light header nav,
html.light #mobile-menu-content {
  --color-white: #ffffff;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #b8c2d8;
  --color-slate-500: #94a3b8;
}
html.light header nav .text-primary,
html.light header nav .hover\:text-primary:hover,
html.light header nav .group:hover .group-hover\:text-primary,
html.light header nav .group\/item:hover .group-hover\/item\:text-primary,
html.light #mobile-menu-content .group:hover .group-hover\:text-primary { color: #3fd0cf; }
html.light header nav .theme-toggle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #cbd5e1; }
html.light header nav .theme-toggle:hover { color: #3fd0cf; border-color: rgba(63, 208, 207, .5); }

/* Desplegables del menú */
html.light [class*="bg-[#080808]"] {
  background-color: #13264a !important;
  border-color: rgba(255, 255, 255, .10) !important;
  box-shadow: 0 24px 50px -20px rgba(15, 29, 58, .6) !important;
}

/* Menú móvil */
html.light #mobile-menu-overlay { background-color: rgba(15, 29, 58, .35) !important; }
html.light #mobile-menu-content {
  background-color: rgba(15, 29, 58, .98) !important;
  box-shadow: 0 30px 60px -20px rgba(15, 29, 58, .5) !important;
}

/* ---------- Tarjetas ---------- */
html.light .glass {
  background: #ffffff !important;
  border: 1px solid var(--m-line) !important;
  box-shadow: var(--m-shadow);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.light .glass.hover\:border-primary\/30:hover,
html.light .glass.hover\:border-primary\/20:hover,
html.light .glass.hover\:border-primary\/40:hover,
html.light .glass.hover\:border-primary\/50:hover { border-color: rgba(0, 163, 163, .45) !important; }

/* Tarjetas en tono turquesa suave */
html.light .bg-primary\/5 { background-color: #eefafa; }
html.light .bg-primary\/5.border { box-shadow: var(--m-shadow); }

/* Fondos oscuros arbitrarios -> claros */
html.light [class*="bg-[#0c0c0c]"],
html.light [class*="bg-[#0a0a0a]"],
html.light [class*="bg-[#050505]"],
html.light .sm\:bg-\[\#000000\] { background-color: var(--m-bg-grey) !important; }
html.light .from-\[\#050505\] { --tw-gradient-from: var(--m-bg-grey) !important; }

/* Sombras negras -> sombras suaves azuladas */
html.light [class*="shadow-[0_20px_50px_rgba(0,0,0"],
html.light [class*="shadow-[0_25px_60px_-15px_rgba(0,0,0"],
html.light [class*="shadow-[0_20px_40px_rgba(0,0,0"],
html.light [class*="shadow-[0_40px_80px_rgba(0,0,0"],
html.light [class*="shadow-[0_60px_120px_rgba(0,0,0"] { box-shadow: var(--m-shadow-lg) !important; }
html.light .shadow-2xl, html.light .shadow-xl { --tw-shadow-color: rgba(15, 29, 58, .18); }

/* Formularios */
html.light input:not([type="checkbox"]):not([type="radio"]),
html.light textarea,
html.light select {
  background-color: #ffffff !important;
  border-color: var(--m-line) !important;
  color: var(--m-ink);
}
html.light input::placeholder, html.light textarea::placeholder { color: #8a93a8; }
html.light .focus\:ring-offset-background-dark:focus { --tw-ring-offset-color: #ffffff; }

/* ---------- Bandas de fondo suaves (ritmo como en Baddi) ---------- */
html.light main > section,
html.light main > div > section { position: relative; isolation: isolate; }

/* Héroe: degradado suave en lugar de negro */
html.light main > section:first-child {
  background:
    radial-gradient(60% 55% at 85% 10%, rgba(0, 163, 163, .10) 0%, transparent 70%),
    radial-gradient(50% 50% at 5% 90%, rgba(42, 114, 196, .08) 0%, transparent 70%),
    linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%) !important;
}
html.light main > article:first-child {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(0, 163, 163, .09) 0%, transparent 70%),
    linear-gradient(180deg, #f6f9fd 0%, #ffffff 700px) !important;
}

/* Alternancia blanco / azul niebla / gris */
html.light main > section:nth-of-type(4n+2) { background: var(--m-bg) !important; }
html.light main > section:nth-of-type(4n+3) { background: var(--m-bg-alt) !important; }
html.light main > section:nth-of-type(4n)   { background: var(--m-bg) !important; }
html.light main > section:nth-of-type(4n+5) { background: var(--m-bg-grey) !important; }
html.light main > section { border-color: transparent !important; }

/* Halos turquesa: más sutiles sobre blanco */
html.light [style*="rgba(0,163,163,0.15)"] { opacity: .65; }
html.light .blur-3xl.bg-primary\/20 { opacity: .45; }

/* ---------- Pie: azul noche, como la banda de contacto de Baddi ---------- */
html.light footer {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(0, 163, 163, .22) 0%, transparent 70%),
    linear-gradient(180deg, #13264a 0%, #0f1d3a 100%) !important;
  border-top: 0 !important;
  color: #ffffff;
  --color-white: #ffffff;
  --color-black: #0f1d3a;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #b8c2d8;
  --color-slate-500: #94a3b8;
}
html.light footer h2, html.light footer h3, html.light footer h4 { color: #ffffff; }
html.light footer .text-primary,
html.light footer .hover\:text-primary:hover { color: #3fd0cf; }
html.light footer .bg-primary .text-primary { color: #ffffff; }
html.light footer .border-white\/5,
html.light footer .border-white\/10,
html.light footer .border-white\/20 { border-color: rgba(255, 255, 255, .12); }
html.light footer input:not([type="checkbox"]):not([type="radio"]),
html.light footer textarea { border-color: transparent !important; }
html.light footer [class*="shadow-[0_20px_50px_rgba(0,0,0"] { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5) !important; }

/* Separadores y bordes */
html.light .border-white\/5,
html.light .border-white\/10,
html.light .border-white\/20,
html.light .divide-white\/5 > * + * { border-color: var(--m-line); }
html.light [class*="border-[#1a1a1a]"] { border-color: var(--m-line) !important; }

/* Banner de cookies */
html.light #cookie-banner .glass { box-shadow: 0 24px 60px -20px rgba(15, 29, 58, .35) !important; }

/* ==========================================================================
   Cabecera oscura (azul noche de Baddi) en el héroe de cada página
   ========================================================================== */
html.light main > section:first-child {
  background:
    radial-gradient(55% 60% at 88% 8%, rgba(0, 163, 163, .28) 0%, transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(42, 114, 196, .25) 0%, transparent 70%),
    linear-gradient(180deg, #0f1d3a 0%, #13264a 100%) !important;
  /* Dentro del héroe vuelve la paleta clara-sobre-oscuro */
  --color-black: #13264a;
  --color-background-dark: #13264a;
  --color-white: #ffffff;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #b8c2d8;
  --color-slate-500: #94a3b8;
  color: #ffffff;
}
html.light main > section:first-child h1,
html.light main > section:first-child h2,
html.light main > section:first-child h3,
html.light main > section:first-child h4 { color: #ffffff; }
html.light main > section:first-child .text-primary { color: #3fd0cf; }
html.light main > section:first-child .bg-primary .text-primary,
html.light main > section:first-child .bg-primary.text-primary { color: #ffffff; }
html.light main > section:first-child [style*="rgba(0,163,163,0.15)"] { opacity: 1; }
html.light main > section:first-child .glass {
  background: rgba(255, 255, 255, .06) !important;
  border-color: rgba(255, 255, 255, .14) !important;
  box-shadow: none;
}
html.light main > section:first-child .border-white\/5,
html.light main > section:first-child .border-white\/10,
html.light main > section:first-child .border-white\/20 { border-color: rgba(255, 255, 255, .18); }
html.light main > section:first-child .bg-primary\/5 { background-color: rgba(0, 163, 163, .08); }

/* ==========================================================================
   Mockups de dispositivos (portada) · ambos modos
   ========================================================================== */
.devices { position: relative; width: 100%; max-width: 620px; margin: 0 auto; padding: 0 0 8% 0; }
.mac { position: relative; width: 88%; }
.mac-lid {
  background: #1b1e24; border-radius: 18px 18px 6px 6px; padding: 2.4% 2.4% 3%;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 0 0 1.5px #3a3f48;
}
.mac-screen { border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10.4; background: #f5f7fb; }
.mac-base {
  position: relative; height: 0; padding-bottom: 3.4%; width: 112%; margin-left: -6%;
  background: linear-gradient(180deg, #d9dde4 0%, #b9bfc9 60%, #8e95a1 100%);
  border-radius: 0 0 14px 14px;
}
.mac-base::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 16%; height: 38%; background: #a5abb6; border-radius: 0 0 8px 8px;
}

/* Panel dibujado en HTML dentro del Mac */
.dash { height: 100%; display: flex; flex-direction: column; font-family: "Poppins", sans-serif; color: #0f1d3a; font-size: clamp(6px, 1.05vw, 11px); }
.dash-top { display: flex; align-items: center; gap: .5em; padding: .7em 1em; background: #ffffff; border-bottom: 1px solid #e1e6f0; }
.dash-top i { width: .8em; height: .8em; border-radius: 50%; background: #ff5f57; }
.dash-top i:nth-child(2) { background: #febc2e; }
.dash-top i:nth-child(3) { background: #28c840; }
.dash-top span { margin-left: 1em; padding: .25em 1em; background: #f1f4f9; border-radius: 99px; color: #6b7590; font-size: .9em; }
.dash-body { flex: 1; display: flex; min-height: 0; }
.dash-side { width: 13%; background: #0f1d3a; display: flex; flex-direction: column; align-items: center; gap: .9em; padding-top: 1em; }
.dash-side b { width: 1.8em; height: 1.8em; border-radius: .5em; background: #00a3a3; margin-bottom: .6em; }
.dash-side em { width: 1.6em; height: .45em; border-radius: 99px; background: rgba(255, 255, 255, .22); }
.dash-side em.on { background: #3fd0cf; }
.dash-main { flex: 1; padding: 1.1em 1.3em; display: flex; flex-direction: column; gap: .9em; min-width: 0; }
.dash-title { font-weight: 700; font-size: 1.25em; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; }
.dash-kpis div { background: #fff; border: 1px solid #e1e6f0; border-radius: .7em; padding: .6em .8em; display: grid; }
.dash-kpis small { color: #6b7590; font-size: .78em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-kpis strong { font-size: 1.5em; line-height: 1.2; }
.dash-kpis span { color: #00868a; font-weight: 600; font-size: .78em; }
.dash-chart { flex: 1; min-height: 0; display: flex; align-items: flex-end; gap: 4%; padding: .8em .9em 0; background: #fff; border: 1px solid #e1e6f0; border-radius: .7em; }
.dash-chart i { flex: 1; border-radius: .35em .35em 0 0; background: linear-gradient(180deg, #3fd0cf, #00a3a3); opacity: .9; }
.dash-chart i:nth-child(odd) { background: linear-gradient(180deg, #8fb4ea, #2a72c4); }
.dash-rows { display: grid; gap: .35em; }
.dash-rows p { margin: 0; display: flex; align-items: center; gap: .6em; background: #fff; border: 1px solid #e1e6f0; border-radius: .6em; padding: .4em .7em; white-space: nowrap; overflow: hidden; }
.dash-rows p span { margin-left: auto; color: #8a93a8; }
.dash-rows em { width: .7em; height: .7em; border-radius: 50%; flex: none; }
.dash-rows em.ok { background: #28c76f; }
.dash-rows em.wait { background: #febc2e; }

/* iPhone */
.iphone {
  position: absolute; right: 0; bottom: 0; width: 30%;
  background: #0b0d12; border-radius: 16% / 7.6%; padding: 2.6%;
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .65), inset 0 0 0 1.5px #3a3f48;
}
.iphone img { display: block; width: 100%; height: auto; border-radius: 12.5% / 6%; }
.iphone::before {
  content: ""; position: absolute; top: 4.2%; left: 50%; transform: translateX(-50%);
  width: 30%; height: 3.4%; border-radius: 99px; background: #0b0d12; z-index: 1;
}

/* Tarjeta flotante */
.float-chip {
  position: absolute; left: -2%; bottom: 2%;
  display: flex; align-items: center; gap: .7rem;
  background: #ffffff; color: #0f1d3a; border-radius: 1rem; padding: .7rem 1rem .7rem .7rem;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); font-size: .85rem;
}
.float-chip .material-symbols-outlined { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .75rem; background: #00a3a3; color: #fff; font-size: 1.4rem; }
.float-chip b { display: block; font-weight: 700; color: #0f1d3a; }
.float-chip small { color: #59647d; }
@media (max-width: 520px) {
  .float-chip { font-size: .72rem; padding: .5rem .75rem .5rem .5rem; left: 0; bottom: -2%; }
  .float-chip .material-symbols-outlined { width: 2rem; height: 2rem; font-size: 1.2rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .iphone { animation: dev-float 6s ease-in-out infinite; }
  .float-chip { animation: dev-float 6s ease-in-out -3s infinite; }
  @keyframes dev-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}

/* Héroe de la portada: maquetación propia (no depende del Tailwind compilado) */
.hero-home { padding: 8rem 0 4rem; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero-copy { text-align: center; }
.hero-copy h1 { text-wrap: balance; }
.hero-lead { margin: 0 auto 2rem; }
.hero-actions { justify-content: center; }
.hero-media { min-width: 0; }
@media (min-width: 768px) { .hero-home { padding: 11rem 0 6rem; } }
@media (min-width: 1024px) {
  .hero-home { min-height: 100vh; padding: 9rem 0 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; }
  .hero-copy { text-align: left; }
  .hero-copy h1 { font-size: clamp(3rem, 4.6vw, 4.4rem); }
  .hero-lead { margin: 0 0 2.5rem; }
  .hero-actions { justify-content: flex-start; }
}

/* Tarjeta de producto Mycheck (portada) · tarjeta noche al estilo Baddi, ambos modos */
.product-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 560px; padding: 2.25rem 2rem 0;
  border-radius: 2rem; color: #ffffff;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(0, 163, 163, .35) 0%, transparent 65%),
    linear-gradient(180deg, #0f1d3a 0%, #13264a 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 60px -30px rgba(15, 29, 58, .55);
}
@media (min-width: 640px) { .product-card { border-radius: 3rem; padding: 2.75rem 2.75rem 0; } }
@media (min-width: 768px) { .product-card { min-height: 0; } }
.product-card-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.product-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #6ee0df; background: rgba(0, 163, 163, .16); border: 1px solid rgba(63, 208, 207, .25);
  padding: .4rem .8rem; border-radius: 999px;
}
.product-tag .material-symbols-outlined { font-size: 1rem; }
.product-card h3 { color: #ffffff !important; font-weight: 800; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.product-card p { color: #b8c2d8; font-size: 1.05rem; line-height: 1.55; margin: 0; max-width: 26ch; }
.product-feats { list-style: none; margin: .2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.product-feats li {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 600; color: #e2e8f0;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  padding: .45rem .8rem; border-radius: 999px;
}
.product-feats .material-symbols-outlined { font-size: 1.05rem; color: #3fd0cf; }
.product-cta {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem;
  height: 3rem; padding: 0 1.4rem; border-radius: 999px;
  background: #00a3a3; color: #ffffff; font-weight: 700;
  box-shadow: 0 12px 24px -12px rgba(0, 163, 163, .7);
  transition: background-color .2s, transform .15s;
}
.product-cta:hover { background: #008f8f; }
.product-cta:active { transform: scale(.97); }
.product-cta .material-symbols-outlined { font-size: 1.2rem; transition: transform .2s; }
.product-cta:hover .material-symbols-outlined { transform: translateX(3px); }

/* Móvil asomando por abajo */
.product-card-phone {
  position: relative; align-self: flex-end; width: 52%; max-width: 230px;
  margin: 1.5rem -.25rem 0 0; transform: translateY(12%) rotate(-6deg);
  background: #0b0d12; border-radius: 16% / 7.6%; padding: 3%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 1.5px #3a3f48;
  transition: transform .5s ease;
}
.product-card-phone img { display: block; width: 100%; height: auto; border-radius: 12.5% / 6%; }
.product-card:hover .product-card-phone { transform: translateY(8%) rotate(-3deg); }
@media (min-width: 768px) {
  .product-card-phone { width: 46%; max-width: 210px; margin-top: 1.25rem; transform: translateY(14%) rotate(-6deg); }
  .product-card:hover .product-card-phone { transform: translateY(10%) rotate(-3deg); }
}
.product-cta, .product-feats li { white-space: nowrap; }

/* Rejilla de servicios: las filas crecen con el contenido (antes se cortaba) */
@media (min-width: 768px) {
  .md\:auto-rows-\[300px\] { grid-auto-rows: minmax(300px, auto) !important; }
}

/* «¿Por qué elegir a Mattic?» sin la tarjeta de cifras: puntos en fila */
.why-mattic h2 { max-width: 20ch; }
.why-mattic > div > p { max-width: 60ch; }
.why-points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 900px) { .why-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }

/* Logo del pie más grande (ambos modos) */
footer img[src*="img/logo"] { height: 3.25rem !important; width: auto; }
@media (max-width: 640px) { footer img[src*="img/logo"] { height: 2.75rem !important; } }

/* Logo blanco sobre el menú y el pie azul noche (theme.js cambia el src;
   content:url() lo adelanta en navegadores que lo soportan) */
html.light header nav img[src*="logo.svg"],
html.light footer img[src*="logo.svg"],
html.light #mobile-menu-content img[src*="logo.svg"] { content: url("../img/logo-white.svg?v=4"); }
