/*
Theme Name: RT Electrónica
Theme URI: https://rtelectronica.com.ar
Author: Flor
Description: Landing one-page de RT Electrónica – Reparación Total (Rosario). Tema a medida, dark mode, sin dependencias.
Version: 1.3
Requires at least: 6.0
Tested up to: 6.6
License: GNU General Public License v2 or later
Text Domain: rt-electronica
*/

/* ==========================================================================
   RT Electrónica — Reparación Total
   Dark mode · dorado sobre negro · Orbitron + Inter
   ========================================================================== */

:root {
  --negro:         #0D0D0D;
  --dorado:        #C9A84C;
  --dorado-claro:  #E8C96A;
  --dorado-oscuro: #8B6914;
  --blanco:        #F5F5F0;
  --gris-medio:    #2A2A2A;
  --gris-texto:    #999999;
  --wa-verde:      #25D366;

  --display: 'Orbitron', sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  --wrap: 1180px;
  --radius: 6px;
  --nav-h: 72px;

  --shadow: 0 8px 30px rgba(0,0,0,.45);
  --line: rgba(201,168,76,.18);
}

/* -------------------------------------------------- Reset / base */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--body);
  background: var(--negro);
  color: var(--blanco);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--display); line-height: 1.15; font-weight: 700; }

h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--dorado);
  margin-bottom: 14px;
}

.section { padding: clamp(40px, 5.5vw, 72px) 0; }
.section--alt { background: #0a0a0a; border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }

.section__head { max-width: 720px; margin: 0 auto clamp(24px, 4vw, 40px); text-align: center; }
.section__head h2 { margin-bottom: 14px; }
.section__lead { color: var(--gris-texto); font-size: 1.05rem; }

/* -------------------------------------------------- Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: .92rem;
  padding: 13px 24px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  letter-spacing: .3px; text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--dorado); color: var(--negro); box-shadow: 0 6px 20px rgba(201,168,76,.25); }
.btn--gold:hover { background: var(--dorado-claro); }

.btn--ghost { background: transparent; color: var(--blanco); border-color: rgba(245,245,240,.28); }
.btn--ghost:hover { border-color: var(--dorado); color: var(--dorado); }

.btn--wa { background: transparent; color: var(--dorado); border: 1px solid var(--line); padding: 10px 16px; font-size: .85rem; }
.btn--wa:hover { background: rgba(201,168,76,.1); }

.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.ico-wa { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* -------------------------------------------------- Navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(13,13,13,.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { background: rgba(13,13,13,.92); box-shadow: 0 4px 24px rgba(0,0,0,.4); }

.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__logo img { height: 46px; width: auto; transition: transform .2s ease; }
.nav__logo:hover img { transform: scale(1.04); }

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-family: var(--display); font-size: .84rem; font-weight: 500;
  letter-spacing: .5px; color: var(--blanco); position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--dorado); transition: width .25s ease;
}
.nav__links a:hover { color: var(--dorado); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--blanco); margin: 0 auto; transition: transform .25s ease, opacity .2s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------- Hero */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
  background: #0b0b0b url("img/local4.jpg") center / cover no-repeat;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(90deg, rgba(201,168,76,.045) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(201,168,76,.045) 0 1px, transparent 1px 44px),
    linear-gradient(90deg, rgba(11,11,11,.82) 0%, rgba(11,11,11,.6) 42%, rgba(11,11,11,.28) 100%);
  background-size: 44px 44px, 44px 44px, cover;
  animation: gridDrift 24s linear infinite;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--negro) 2%, transparent 45%);
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to   { background-position: 44px 44px, 44px 44px, 0 0; }
}
/* orbes de luz que flotan */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; }
.orb--1 { width: 420px; height: 420px; top: -80px; right: 6%; background: rgba(201,168,76,.16); animation: float1 14s ease-in-out infinite; }
.orb--2 { width: 340px; height: 340px; bottom: -60px; left: 2%; background: rgba(139,105,20,.14); animation: float2 18s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px,40px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }
/* barrido de escaneo */
.hero__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.55), transparent);
  animation: scan 6s ease-in-out infinite;
}
@keyframes scan { 0% { top: 8%; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 92%; opacity: 0; } }

.hero__inner {
  position: relative; z-index: 1;
  padding-top: 40px; padding-bottom: 40px;
}
.hero__content { max-width: 680px; }
.hero__accent {
  background: linear-gradient(100deg, var(--dorado) 20%, var(--dorado-claro) 45%, #fff6d8 50%, var(--dorado-claro) 55%, var(--dorado) 80%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--dorado);
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--blanco); opacity: .82; margin: 22px 0 34px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Visual del hero (placeholder de imagen) */
.hero__visual { display: flex; justify-content: center; }
.hero__frame {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 40%, rgba(201,168,76,.08), transparent 70%), #111;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: grid; place-items: center;
  box-shadow: var(--shadow), inset 0 0 60px rgba(0,0,0,.6);
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__art { width: 82%; height: auto; }
/* Ilustración decorativa (marca de agua) al costado del título */
.hero__deco {
  position: absolute; top: 50%; right: 16%; transform: translateY(-50%);
  width: min(460px, 40%); z-index: 1; opacity: .5; pointer-events: none;
}
.hero__deco .hero__art { width: 100%; }
/* Foto real dentro del marco */
.hero__frame--photo { padding: 0; aspect-ratio: 909 / 663; }
.hero__frame--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__frame--photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(13,13,13,.35), transparent 45%);
  box-shadow: inset 0 0 60px rgba(0,0,0,.45);
}
.hero__frame-note {
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-family: var(--display); font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gris-texto); opacity: .7;
}
/* animaciones del SVG */
.circuit path { stroke-dasharray: 6 6; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.gear { transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tv-glow, .phone-glow { animation: glowPulse 3.5s ease-in-out infinite; }
.phone-glow { animation-delay: 1s; }
@keyframes glowPulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }
.phone-dot { animation: glowPulse 2s ease-in-out infinite; }

/* -------------------------------------------------- Stats */
.stats { background: linear-gradient(180deg, #111 0%, #0a0a0a 100%); padding: clamp(40px,6vw,64px) 0; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { padding: 12px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--dorado); line-height: 1; }
.stat__lbl { display: block; margin-top: 8px; font-size: .82rem; color: var(--gris-texto); text-transform: uppercase; letter-spacing: 1px; }

.badge-trust {
  margin-top: 36px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--blanco); font-size: .95rem; padding: 14px 20px;
  background: rgba(201,168,76,.07); border: 1px solid var(--line); border-radius: var(--radius);
}
.badge-trust strong { color: var(--dorado); }
.ico-shield { width: 22px; height: 22px; fill: var(--dorado); flex-shrink: 0; }

/* -------------------------------------------------- Grids genéricos */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* -------------------------------------------------- Servicios (cards) */
.card {
  background: var(--gris-medio); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: rgba(201,168,76,.35); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(201,168,76,.12); }

/* Cards de servicios con foto de fondo */
.card--photo { position: relative; overflow: hidden; isolation: isolate; }
.card--photo::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transition: transform .4s ease;
}
.card--photo:hover::before { transform: scale(1.06); }
.card--phone::before {
  background-image: linear-gradient(180deg, rgba(15,15,15,.62) 0%, rgba(13,13,13,.9) 55%, rgba(11,11,11,.96) 100%), url("img/reparacioncelular.jpeg");
}
.card--tv::before {
  background-image: linear-gradient(180deg, rgba(15,15,15,.62) 0%, rgba(13,13,13,.9) 55%, rgba(11,11,11,.96) 100%), url("img/reparaciontv.jpeg");
}
.card__icon { width: 52px; height: 52px; border-radius: var(--radius); background: rgba(201,168,76,.12); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 28px; height: 28px; fill: var(--dorado); }
.card h3 { margin-bottom: 16px; }
.card__list { list-style: none; margin-bottom: 20px; }
.card__list li { padding: 7px 0 7px 26px; position: relative; color: var(--blanco); opacity: .85; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .95rem; }
.card__list li::before { content: '✓'; position: absolute; left: 0; color: var(--dorado); font-weight: 700; }
.card__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; margin-top: auto; }
.tag { font-size: .8rem; padding: 6px 12px; border-radius: 100px; background: rgba(201,168,76,.1); color: var(--dorado-claro); border: 1px solid var(--line); }

/* -------------------------------------------------- Diferenciadores */
.feat { background: var(--gris-medio); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 28px 24px; transition: transform .25s ease, border-color .25s ease; }
.feat:hover { transform: translateY(-4px); border-color: rgba(201,168,76,.35); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.feat__icon { width: 54px; height: 54px; border-radius: var(--radius); background: rgba(201,168,76,.1); display: grid; place-items: center; margin-bottom: 16px; transition: background .25s ease, transform .25s ease; }
.feat__icon svg { width: 28px; height: 28px; fill: var(--dorado); }
.feat:hover .feat__icon { background: rgba(201,168,76,.2); transform: translateY(-2px); }
.feat h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--dorado-claro); min-height: 2.4em; display: flex; align-items: flex-end; }
.feat p { color: var(--gris-texto); font-size: .95rem; }

/* -------------------------------------------------- FAQ / Fallas */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--gris-medio); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; color: var(--blanco);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-family: var(--body); font-size: 1rem; text-align: left;
}
.faq__q strong { font-weight: 600; }
.faq__q span:first-child { color: var(--gris-texto); }
.faq__q strong { color: var(--blanco); }
.faq__ico { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__ico::before, .faq__ico::after { content: ''; position: absolute; background: var(--dorado); transition: transform .25s ease; }
.faq__ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__ico::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq__q[aria-expanded="true"] .faq__ico::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 20px; color: var(--gris-texto); }
.faq__a .ok { color: var(--dorado-claro); font-weight: 600; }
.faq__cta { text-align: center; margin-top: 34px; }

/* -------------------------------------------------- Productos */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.prod { background: var(--gris-medio); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 24px; text-align: center; transition: transform .25s ease, border-color .25s ease; }
.prod:hover { transform: translateY(-4px); border-color: rgba(201,168,76,.35); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.prod__ph { height: 160px; display: grid; place-items: center; background: #f4f4ef; border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.prod__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.prod__ph img[src*="fundas"] { object-position: center 72%; }
.prod:hover .prod__ph img { transform: scale(1.06); }
.prod h3 { font-size: 1.05rem; margin-bottom: 6px; }
.prod p { color: var(--gris-texto); font-size: .88rem; margin-bottom: 14px; }
.prod__link { color: var(--dorado); font-weight: 600; font-size: .9rem; transition: color .2s ease; }
.prod__link:hover { color: var(--dorado-claro); }

/* -------------------------------------------------- Garantías */
.guar { background: var(--gris-medio); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 30px; text-align: center; }
.guar h3 { color: var(--dorado-claro); margin-bottom: 12px; }
.guar__time { font-family: var(--display); font-size: 2.2rem; font-weight: 800; color: var(--dorado); margin-bottom: 8px; }
.guar p:last-child { color: var(--gris-texto); }
.guar__note { text-align: center; max-width: 640px; margin: 30px auto 0; color: var(--gris-texto); font-size: .95rem; }

/* -------------------------------------------------- Cómo funciona */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--gris-medio); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 30px 24px; }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dorado); color: var(--negro); font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--gris-texto); font-size: .93rem; }

/* -------------------------------------------------- Testimonios */
.badge-google { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 100px; font-size: .9rem; color: var(--blanco); }
.badge-google strong { color: var(--dorado); }
.ico-g { width: 18px; height: 18px; fill: var(--dorado); }
.quote { background: var(--gris-medio); border: 1px solid rgba(255,255,255,.06); border-left: 3px solid var(--dorado); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
.quote:hover { transform: translateY(-4px); border-left-color: var(--dorado-claro); }
.quote p { font-size: 1rem; font-style: italic; margin-bottom: 18px; line-height: 1.55; }
.quote footer { color: var(--blanco); font-weight: 600; font-size: .92rem; margin-top: auto; }
.quote__src { color: var(--gris-texto); font-weight: 400; font-size: .82rem; }
.stars { color: var(--dorado); letter-spacing: 2px; display: block; margin-bottom: 14px; font-size: .95rem; }
.testimonios .faq__cta, #testimonios .faq__cta { margin-top: 40px; }

/* -------------------------------------------------- Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.contact__list { list-style: none; margin: 28px 0; display: flex; flex-direction: column; gap: 18px; }
.contact__list li { display: flex; gap: 14px; }
.contact__ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius); background: rgba(201,168,76,.1); display: grid; place-items: center; }
.contact__ico svg { width: 20px; height: 20px; fill: var(--dorado); }
.contact__list strong { color: var(--dorado-claro); font-family: var(--display); font-size: .85rem; letter-spacing: .5px; }
.contact__list a:hover { color: var(--dorado); }

.contact__form { background: var(--negro); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.form__note { color: var(--gris-texto); font-size: .9rem; }
.contact__form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--gris-texto); font-weight: 500; }
.contact__form input, .contact__form textarea {
  background: var(--gris-medio); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 11px 13px; color: var(--blanco); font-family: var(--body); font-size: .95rem; resize: vertical;
}
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--dorado); }

.contact__map { min-height: 420px; height: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact__map iframe { display: block; height: 100%; min-height: 420px; filter: grayscale(.3) contrast(1.05); }

/* -------------------------------------------------- Footer */
.footer { background: #080808; border-top: 1px solid var(--line); padding: 50px 0 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer__logo { height: 68px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--gris-texto); font-size: .9rem; margin-bottom: 4px; }
.footer__brand a:hover { color: var(--dorado); }
.footer__social { display: flex; flex-direction: column; gap: 10px; }
.footer__social a { color: var(--blanco); font-family: var(--display); font-size: .85rem; letter-spacing: .5px; transition: color .2s ease; }
.footer__social a:hover { color: var(--dorado); }
.footer__legal { margin-top: 40px; padding: 20px 22px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__legal p { color: var(--gris-texto); font-size: .82rem; text-align: center; }

/* -------------------------------------------------- Botón flotante WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--dorado); color: var(--negro);
  padding: 14px 20px; border-radius: 100px; box-shadow: 0 8px 24px rgba(201,168,76,.4);
  font-family: var(--display); font-weight: 600; font-size: .92rem;
  transition: transform .2s ease, background .2s ease;
}
.wa-float:hover { transform: scale(1.05); background: var(--dorado-claro); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 100px;
  box-shadow: 0 0 0 0 rgba(201,168,76,.5); animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { to { box-shadow: 0 0 0 18px rgba(201,168,76,0); } }

/* -------------------------------------------------- Reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(13,13,13,.98);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
    padding: 10px 22px 20px; transform: translateY(-140%); transition: transform .3s ease;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1rem; }
  .nav__links a::after { display: none; }
  .nav__burger { display: flex; }
  .btn--wa span { display: none; }
  .btn--wa { padding: 10px 12px; }

  .hero { min-height: auto; }
  .hero__inner { text-align: center; padding-top: 30px; }
  .hero__content { max-width: 100%; margin: 0 auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__deco { display: none; }

  .cards-2 { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__map { min-height: 320px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .stat { border-left: 0; }
  .stat:nth-child(2) { border-left: 1px solid var(--line); }
  .stat:nth-child(4) { border-left: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .prod { padding: 16px 12px; }
  .prod__ph { height: 120px; }

  /* Hero en mobile: foto vertical propia del local, bien encuadrada */
  .hero {
    min-height: auto;
    background-image: url("img/local5mobile.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .hero__bg {
    background: linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,.72) 55%, rgba(11,11,11,.95) 100%);
    background-size: cover;
    animation: none;
  }
  .hero__inner { padding-top: 26px; padding-bottom: 40px; }

  /* Compactar en mobile */
  .section { padding: 34px 0; }
  .card { padding: 24px 20px; }
  .stats { padding: 32px 0; }

  .hero__cta .btn { width: 100%; }
  .wa-float { padding: 13px; }
  .wa-float__txt { display: none; }
  .badge-trust { flex-direction: column; text-align: center; }
}

/* -------------------------------------------------- Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

:focus-visible { outline: 2px solid var(--dorado); outline-offset: 3px; border-radius: 3px; }
