/* RP24H Reparación Express — estilos
   Paleta tomada del volante: negro, verde neón, amarillo de acento y rojo para "cerrado". */

/* @font-face: self-hosted (apply-security) */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/anton-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/anton-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/barlow-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/barlow-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/barlow-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/barlow-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --black: #070907;
  --ink: #0b0f0b;
  --panel: #141914;
  --line: #243024;
  --green: #93e62b;
  --green-hot: #b6ff3c;
  --yellow: #e9f23a;
  --red: #ff3d33;
  --white: #f4f7ef;
  --muted: #b8c3b1;
  --radius: 18px;
  --wrap: 1180px;
  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  padding: 12px 20px;
  background: rgba(7, 9, 7, 0.94);
  border-bottom: 3px solid var(--green);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
}

.logo-box {
  display: inline-flex;
  align-items: baseline;
  padding: 4px 12px 2px;
  border: 3px solid var(--green);
  border-radius: 12px;
  background: #000;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  transform: skewX(-6deg);
}

.logo-num {
  color: var(--green);
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--green);
  color: #071005;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: #071005;
}

.btn-primary:hover {
  background: var(--green-hot);
  border-color: var(--green-hot);
}

.btn-ghost {
  border-color: var(--green);
  background: transparent;
  color: var(--green);
}

.btn-ghost:hover {
  background: rgba(147, 230, 43, 0.12);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.85rem;
}

/* ---------- Portada ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 20px 80px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 80% 35%, rgba(147, 230, 43, 0.3), transparent 70%),
    linear-gradient(180deg, #0c110c 0%, #070907 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.2rem, 8.2vw, 6.8rem);
  line-height: 0.92;
  text-shadow: 0 4px 0 #000, 0 0 30px rgba(147, 230, 43, 0.25);
}

.hero h1 .hl {
  display: block;
  color: var(--green);
}

.lead {
  max-width: 34ch;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.pillars li {
  padding: 6px 14px;
  border: 2px solid var(--white);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pillars li:nth-child(2) {
  border-color: var(--green);
  color: var(--green);
}

.pillars li:nth-child(3) {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero-art img {
  width: 100%;
  border: 3px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 0 0 6px #000, 0 0 60px rgba(147, 230, 43, 0.35);
}

/* ---------- Secciones ---------- */

.section {
  padding: 88px 20px;
}

.section > * {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}

.section-dark {
  background: var(--ink);
}

.section-head {
  margin-bottom: 40px;
}

.kicker {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
}

/* ---------- Íconos ---------- */

.icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 18px;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: #050705;
  color: var(--green);
  box-shadow: 0 0 18px rgba(147, 230, 43, 0.25);
}

.icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon svg .fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- Servicios ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.service {
  padding: 28px 24px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1a211a, #101410);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}

.service h3 {
  margin-bottom: 8px;
  font-size: 1.9rem;
}

.service p {
  color: var(--muted);
}

.service-more {
  border-style: dashed;
  border-color: var(--green);
}

@media (min-width: 900px) {
  .service-more {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column: 1 / -1;
    align-items: center;
    column-gap: 28px;
  }

  .service-more .icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .service-more h3 {
    margin-bottom: 6px;
  }
}

/* ---------- Accesorios ---------- */

.acc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.acc h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.acc h2 span {
  display: block;
  color: var(--green);
}

.acc-copy .btn {
  margin-top: 4px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 10px 18px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: var(--panel);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.acc-img {
  margin: 0;
}

.acc-img img {
  border: 3px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(147, 230, 43, 0.25);
}

/* Franja amarilla, como el banner de accesorios del volante */
.band {
  padding: 20px;
  background: var(--yellow);
  color: #0a0c0a;
  text-align: center;
}

.band p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---------- Horario ---------- */

.hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.hour {
  padding: 28px 22px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
}

.hour h3 {
  font-size: 1.6rem;
}

.hour .time {
  margin-top: 14px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hour.is-closed {
  border-color: var(--red);
}

.hour.is-closed .time {
  color: var(--red);
}

/* ---------- Contacto ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 30px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1b241b, #0c100c);
}

.contact-card h3 {
  font-size: 2.2rem;
}

.contact-card p {
  color: var(--muted);
}

.address {
  margin: 10px 0 24px;
  font-size: 1.15rem;
  line-height: 1.5;
}

.address strong {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
}

.phone {
  margin: 10px 0 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.phone:hover,
.phone:focus-visible {
  color: var(--green);
}

.contact-card .btn {
  margin-top: 22px;
}

/* ---------- Pie de página ---------- */

.site-footer {
  padding: 40px 20px 120px;
  border-top: 3px solid var(--green);
  background: #000;
  color: var(--muted);
  text-align: center;
}

.footer-tag {
  margin-bottom: 14px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-tag span {
  color: var(--green);
}

.site-footer p:last-child {
  font-size: 0.95rem;
}

.site-footer p.version {
  margin-top: 14px;
  color: #6f7a6a;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p.version a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer p.version a:hover,
.site-footer p.version a:focus-visible {
  color: var(--green);
}

/* ---------- Historial de versiones ---------- */

.changelog-page h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
}

.release {
  margin: 0 auto;
  padding: 28px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1b241b, #0c100c);
}

.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 16px;
}

.release-tag {
  padding: 4px 14px;
  border-radius: 8px;
  background: var(--green);
  color: #070907;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.release h2 {
  margin-bottom: 12px;
  font-size: 1.8rem;
}

.release-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.release-list li {
  margin: 6px 0;
}

.back-link {
  margin: 36px auto 0;
  text-align: center;
}

/* ---------- Botón flotante de WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #071005;
  box-shadow: 0 0 0 4px #000, 0 8px 24px rgba(0, 0, 0, 0.5);
}

.wa-float:hover {
  background: var(--green-hot);
}

.wa-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

/* ---------- Diseño adaptable ---------- */

@media (max-width: 900px) {
  .hero-grid,
  .acc {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .site-header {
    justify-content: center;
    padding: 12px 16px;
  }

  .logo {
    align-items: center;
  }

  .site-header > .btn {
    flex: 1 1 100%;
    max-width: 320px;
  }

  .site-nav {
    justify-content: center;
    width: 100%;
  }

  .site-nav a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 44px 16px 60px;
  }

  .lead {
    font-size: 1.05rem;
  }

  .cta-row .btn {
    flex: 1 1 100%;
  }

  .section {
    padding: 64px 16px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .contact-card {
    padding: 28px 22px;
  }

  .wa-float {
    width: 58px;
    height: 58px;
    right: 14px;
    bottom: 14px;
  }
}
