/* ==========================================================================
   Pluss Color — landing pública (pinturas automotrices)
   Estética de showroom: fondo grafito, rojo competición, brillos de pintura.
   Tipografías: Rajdhani (títulos) + Poppins (texto).
   ========================================================================== */

:root {
  /* Paleta */
  --bg: #0d0f13;
  --bg-2: #12151a;
  --surface: #171b21;
  --surface-2: #1e232b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f4f7;
  --text-soft: #a7afbb;
  --text-dim: #7d8592;
  --red: #e0262f;
  --red-bright: #ff3b47;
  --red-deep: #a8121a;
  --orange: #ff7a2f;
  --pintura: linear-gradient(100deg, #ff3b47 0%, #ff7a2f 55%, #ffb23f 100%);
  --whatsapp: #1fa855;
  --whatsapp-dark: #178a45;

  /* Sistema */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --glow-red: 0 18px 40px -12px rgba(224, 38, 47, 0.55);
  --font-display: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body); font-size: 1rem; line-height: 1.7;
  color: var(--text); background: var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: 0.005em; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 999px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.acento, .texto-pintura {
  background: var(--pintura); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Secciones ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-bright);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--pintura); }
.eyebrow-claro { color: #fff; }
.eyebrow-claro::before { background: #fff; }
.section-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 16px; text-transform: uppercase; }
.section-sub { color: var(--text-soft); font-size: 1.04rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; font-family: inherit; font-size: 0.93rem; font-weight: 600;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.86rem; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--glow-red); }
.btn-primary:hover { background: var(--red-bright); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-blanco { background: #fff; color: var(--red-deep); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.5); }
.btn-blanco:hover { background: #fff3f0; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 16px 30px -16px rgba(31, 168, 85, 0.7); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.con-fondo {
  background: rgba(13, 15, 19, 0.82); border-color: var(--line);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
}
.logo em { font-style: normal; margin-left: -4px; background: var(--pintura); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-gota {
  width: 22px; height: 22px; background: var(--pintura);
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
  box-shadow: 0 0 18px rgba(255, 59, 71, 0.5);
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a:not(.btn) { position: relative; font-size: 0.9rem; font-weight: 500; color: var(--text-soft); transition: color 0.25s; }
.main-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--pintura); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.main-nav > a:not(.btn):hover { color: #fff; }
.main-nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-login { margin-right: -18px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 10px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 70px) 0 0; isolation: isolate; }
.hero-luz {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 60% at 75% 45%, rgba(224, 38, 47, 0.32), transparent 70%),
    radial-gradient(35% 45% at 95% 10%, rgba(255, 122, 47, 0.18), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(79, 143, 255, 0.10), transparent 70%);
}
.hero-rejilla {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding-bottom: 90px; }

.chip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
  font-size: 0.82rem; font-weight: 500; color: var(--text-soft);
}
.chip-punto { width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 4px rgba(255, 59, 71, 0.2); animation: latido 2s ease-in-out infinite; }
@keyframes latido { 50% { box-shadow: 0 0 0 8px rgba(255, 59, 71, 0); } }

.hero h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 0.95; text-transform: uppercase; margin-bottom: 26px; }
.lead { font-size: 1.1rem; color: var(--text-soft); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-datos { display: flex; flex-wrap: wrap; gap: 0; }
.hero-datos li { padding: 0 26px; border-left: 1px solid var(--line-strong); }
.hero-datos li:first-child { padding-left: 0; border-left: 0; }
.hero-datos strong { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; text-transform: uppercase; }
.hero-datos span { font-size: 0.82rem; color: var(--text-dim); }

.hero-auto { position: relative; margin-right: -12%; }
.hero-foto {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 66%;
  transform: scale(1.18); transform-origin: 58% 66%;
  /* la foto es casi negra en los bordes: se funde con el fondo de la pagina */
  -webkit-mask-image: radial-gradient(62% 58% at 56% 60%, #000 45%, transparent 100%);
  mask-image: radial-gradient(62% 58% at 56% 60%, #000 45%, transparent 100%);
  filter: saturate(1.08) contrast(1.05);
}
.etiqueta-color {
  position: absolute; right: 14%; bottom: 4%; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 14px;
  background: rgba(23, 27, 33, 0.85); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; text-transform: uppercase;
}
.etiqueta-color small { display: block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; color: var(--text-dim); }
.etiqueta-muestra { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #ff4b52, #a8121a); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2); }

/* Cinta de productos */
.cinta { position: relative; overflow: hidden; background: var(--red); transform: rotate(-1.2deg); margin: 0 -20px -14px; padding: 16px 0; box-shadow: 0 10px 30px -10px rgba(224, 38, 47, 0.6); }
.cinta-pista { display: flex; width: max-content; animation: desplazar 32s linear infinite; }
.cinta-pista span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
}
.cinta-pista span::after { content: ""; width: 10px; height: 10px; background: #fff; transform: rotate(45deg); opacity: 0.8; }
@keyframes desplazar { to { transform: translateX(-50%); } }

/* ---------- Probador de colores ---------- */
.colores { background: var(--bg-2); padding-top: 150px; }
.colores-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.paleta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.muestra {
  width: 52px; height: 52px; border-radius: 14px; cursor: pointer;
  background: var(--m); border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 10px 14px -8px rgba(255, 255, 255, 0.45), inset 0 -10px 14px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.muestra:hover { transform: translateY(-3px); }
.muestra[aria-checked="true"] { border-color: #fff; transform: translateY(-3px) scale(1.06); box-shadow: inset 0 10px 14px -8px rgba(255, 255, 255, 0.45), inset 0 -10px 14px -8px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(255, 255, 255, 0.12); }
.color-elegido { color: var(--text-soft); margin-bottom: 26px; }
.color-elegido strong { color: #fff; font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; margin-left: 4px; }
.colores-escena {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: #0b0c0f; box-shadow: var(--shadow);
}
.foto-probador { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: filter 0.6s var(--ease); }

/* ---------- Productos ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 34px 30px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s var(--ease);
}
.cat-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--c1), var(--c2));
  transform: scaleX(0.25); transform-origin: left; transition: transform 0.5s var(--ease);
}
.cat-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, var(--c1), transparent 70%); opacity: 0.12; transition: opacity 0.45s, transform 0.6s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-card:hover::after { opacity: 0.3; transform: scale(1.2); }
.cat-num { position: absolute; top: 24px; right: 28px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: rgba(255, 255, 255, 0.06); line-height: 1; }
.cat-icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 24px; border-radius: 16px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff;
  box-shadow: 0 14px 28px -12px var(--c1);
}
.cat-icon svg { width: 28px; height: 28px; fill: currentColor; }
.cat-card h3 { font-size: 1.55rem; text-transform: uppercase; margin-bottom: 10px; }
.cat-card p { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 22px; flex: 1; }
.card-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: #fff; transition: gap 0.3s var(--ease), color 0.3s; }
.card-link:hover { gap: 12px; color: var(--red-bright); }

/* ---------- Proceso ---------- */
.proceso { background: var(--bg-2); }
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: paso; position: relative; }
.pasos::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 15%, var(--orange) 85%, transparent); opacity: 0.6;
}
.paso { position: relative; text-align: center; padding: 0 10px; }
.paso-num {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 24px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--red);
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: #fff;
  box-shadow: 0 0 0 8px var(--bg-2), 0 0 30px rgba(224, 38, 47, 0.45);
}
.paso h3 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 10px; }
.paso p { color: var(--text-soft); font-size: 0.9rem; }

/* ---------- Ventajas ---------- */
.ventajas-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.ventajas-lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ventaja {
  display: flex; gap: 18px; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.ventaja:hover { transform: translateY(-4px); border-color: rgba(224, 38, 47, 0.45); }
.ventaja-icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: rgba(224, 38, 47, 0.12); color: var(--red-bright); }
.ventaja-icon svg { width: 24px; height: 24px; fill: currentColor; }
.ventaja h3 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 4px; }
.ventaja p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.6; }

/* ---------- Talleres ---------- */
.talleres { padding: 20px 0 40px; }
.talleres-banda {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 60px 64px; border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #b0141d 0%, #e0262f 45%, #ff7a2f 100%);
  box-shadow: 0 30px 60px -30px rgba(224, 38, 47, 0.8);
}
.talleres-banda::before {
  content: ""; position: absolute; inset: 0; opacity: 0.18;
  background: repeating-linear-gradient(-55deg, #fff 0 2px, transparent 2px 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.talleres-banda > * { position: relative; }
.talleres-banda h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); text-transform: uppercase; margin-bottom: 10px; }
.talleres-banda p:not(.eyebrow) { color: rgba(255, 255, 255, 0.9); max-width: 560px; }

/* ---------- Opiniones ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 28px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.quote:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.quote::before { content: "“"; position: absolute; top: 6px; right: 24px; font-family: Georgia, serif; font-size: 5.5rem; line-height: 1; color: rgba(224, 38, 47, 0.25); }
.stars { color: #ffb23f; letter-spacing: 0.18em; margin-bottom: 14px; }
.quote blockquote { flex: 1; font-size: 0.98rem; color: #dfe3e9; margin-bottom: 24px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 500; }
.quote figcaption small { display: block; font-size: 0.78rem; font-weight: 400; color: var(--text-dim); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pintura); color: #fff; font-weight: 700; }

/* ---------- Preguntas ---------- */
.preguntas { background: var(--bg-2); }
.preguntas-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(224, 38, 47, 0.5); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: rgba(224, 38, 47, 0.14); color: var(--red-bright); font-size: 1.3rem; font-weight: 500; transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--text-soft); font-size: 0.93rem; }

/* ---------- Contacto ---------- */
.contact-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding: 64px; border-radius: var(--radius-lg);
  background: radial-gradient(70% 90% at 100% 0%, rgba(224, 38, 47, 0.18), transparent 60%), var(--surface);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.contact-main p:not(.eyebrow) { color: var(--text-soft); margin-bottom: 30px; max-width: 460px; }
.contact-info { display: grid; gap: 22px; }
.contact-info li { display: flex; align-items: flex-start; gap: 16px; }
.contact-info strong { display: block; font-weight: 600; font-size: 0.92rem; }
.contact-info span:not(.info-icon):not(.sr-only) { display: block; font-size: 0.9rem; line-height: 1.5; color: var(--text-soft); }
.info-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: rgba(224, 38, 47, 0.12); color: var(--red-bright); }
.info-icon svg { width: 20px; height: 20px; fill: currentColor; }
.social-row { padding-top: 6px; gap: 12px !important; }
.social { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); color: #fff; transition: background-color 0.3s, transform 0.3s var(--ease), border-color 0.3s; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }

/* ---------- Pie ---------- */
.site-footer { background: #08090c; border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-note { font-size: 0.9rem; color: var(--text-dim); margin-top: 10px; max-width: 360px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 0.9rem; color: var(--text-soft); }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--text-dim);
}
.staff-link { display: inline-flex; align-items: center; gap: 6px; transition: color 0.25s; }
.staff-link svg { width: 13px; height: 13px; fill: currentColor; }
.staff-link:hover { color: #fff; }

/* WhatsApp flotante */
.wa-flotante {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; box-shadow: 0 14px 30px -8px rgba(31, 168, 85, 0.7);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.wa-flotante svg { width: 30px; height: 30px; fill: currentColor; }
.wa-flotante:hover { transform: scale(1.08); background: var(--whatsapp-dark); }

/* ---------- Aparición al hacer scroll (solo con JS activo) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.card-grid .reveal:nth-child(3n+2), .pasos .reveal:nth-child(2), .quotes .reveal:nth-child(2), .ventajas-lista .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3n), .pasos .reveal:nth-child(3), .quotes .reveal:nth-child(3), .ventajas-lista .reveal:nth-child(3) { transition-delay: 0.16s; }
.pasos .reveal:nth-child(4), .ventajas-lista .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .pasos::before { display: none; }
  .ventajas-inner, .preguntas-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-card { padding: 48px; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .section { padding: 90px 0; }
  .nav-toggle { display: flex; }
  .site-header:has(.main-nav.open) { background: var(--bg); }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease), visibility 0.4s;
  }
  .main-nav.open { max-height: 560px; padding: 8px 24px 24px; visibility: visible; }
  .main-nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: #fff; }
  .main-nav > a:not(.btn)::after { display: none; }
  .nav-login { margin: 18px 0 0; }
  .main-nav .btn-primary { margin-top: 10px; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; padding-bottom: 70px; }
  .hero-auto { margin: 0 -24px; }
  .etiqueta-color { right: 24px; }
  .colores { padding-top: 110px; }
  .colores-inner { grid-template-columns: 1fr; gap: 40px; }
  .talleres-banda { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
  .quotes { grid-template-columns: 1fr; max-width: 580px; margin: 0 auto; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-datos { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-datos li { padding: 0 10px; }
  .hero-datos strong { font-size: 1.05rem; }
  .hero-datos span { font-size: 0.74rem; }
  .hero-auto { margin: 0 -16px; }
  .etiqueta-color { right: 24px; bottom: 0; font-size: 0.95rem; padding: 8px 12px 8px 8px; }
  .etiqueta-muestra { width: 30px; height: 30px; }
  .cinta-pista span { font-size: 1.1rem; }
  .card-grid, .pasos, .ventajas-lista { grid-template-columns: 1fr; }
  .muestra { width: 46px; height: 46px; }
  .talleres-banda { padding: 36px 22px; }
  .talleres-banda .btn { width: 100%; white-space: normal; }
  .contact-card { padding: 34px 20px; border-radius: var(--radius); }
  .contact-main .btn { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
  .wa-flotante { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
