/* RMS Motor — capa propia sobre el sistema visual de Clica y Crece */

/* Rojo de marca RMS (logo #b51d1a), ajustado para contraste sobre fondo oscuro */
:root {
  --accent: #c4221e;
  --accent-hover: #ec4a40;
  --accent-soft: rgba(196, 34, 30, .14);
  --accent-line: rgba(196, 34, 30, .5);
  --accent-ink: #ffffff;
}
body { background: radial-gradient(ellipse at 82% 10%, rgba(196, 34, 30, .06), transparent 33rem), var(--bg); }
.button { box-shadow: 0 10px 32px rgba(196, 34, 30, .2); }
.button:hover { background: #d52a24; border-color: #d52a24; color: #fff; }
.eyebrow-line { background: var(--accent-hover); }

/* Logo */
.rms-logo { display: block; width: 110px; height: auto; }
.rms-logo--footer { width: 90px; }
@media (max-width: 760px) { .rms-logo { width: 92px; } .rms-logo--footer { width: 80px; } }

/* Hueco de foto real (se sustituye por <img> cuando lleguen las fotos) */
.photo-slot { display: grid; width: 100%; height: 100%; min-height: 220px; place-items: center; padding: 1.5rem; background:
  repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px), var(--panel); color: var(--muted); text-align: center; font-size: .82rem; line-height: 1.5; }
.photo-slot strong { display: block; color: var(--muted-strong); font-size: .95rem; }

/* Precio destacado en el hero */
.hero-price { display: inline-flex; align-items: baseline; gap: .5rem; margin-top: .2rem; color: var(--muted-strong); font-size: .95rem; }
.hero-price b { color: var(--ink); font-family: var(--display); font-size: 2.2rem; letter-spacing: -.06em; }

/* Ofertas */
.offer-section { background: var(--bg-raised); border-block: 1px solid var(--line); }
.offer-panel { padding: clamp(1.35rem, 3.5vw, 2.7rem); border: 1px solid var(--accent-line); border-radius: 24px; background: radial-gradient(ellipse at 100% 0%, rgba(227,75,57,.08), transparent 28rem), linear-gradient(145deg, var(--panel-raised), var(--panel)); box-shadow: var(--shadow); }
.offer-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.offer-head h3 { margin: .7rem 0 0; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.06em; line-height: 1.05; }
.offer-head p { margin: 1rem 0 0; color: var(--muted-strong); line-height: 1.75; }
.offer-includes { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.offer-includes li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted-strong); font-size: .93rem; line-height: 1.55; }
.offer-includes li::before { flex: 0 0 auto; margin-top: .05rem; color: var(--accent-hover); font-weight: 800; content: "✓"; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.price-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.35rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(11,13,15,.45); }
.price-card--featured { border-color: var(--accent-line); }
.price-card__label { color: var(--muted); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.price-card__oil { font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em; }
.price-card__price { margin-top: .4rem; font-family: var(--display); font-size: 2.6rem; font-weight: 750; letter-spacing: -.07em; line-height: 1; }
.price-card__price small { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: 0; }
.offer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.8rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.offer-foot p { max-width: 60ch; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }

/* Checklist revisión pre-ITV */
.checklist { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.checklist__head { max-width: 640px; margin-bottom: 1.6rem; }
.checklist__head h3 { margin: .8rem 0 0; font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.1; }
.checklist__head p { margin: .9rem 0 0; color: var(--muted-strong); line-height: 1.75; }
.checklist__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.checklist__group { padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-top-color: var(--accent-line); border-radius: 18px; background: linear-gradient(145deg, var(--panel-raised), var(--panel)); }
.checklist__group h4 { margin: 0 0 .8rem; color: var(--accent-hover); font-size: .72rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.checklist__group ol { display: grid; gap: .5rem; margin: 0; padding-left: 1.7rem; color: var(--muted-strong); font-size: .9rem; line-height: 1.5; }
.checklist__group li::marker { color: var(--accent-hover); font-family: var(--display); font-size: .78rem; font-weight: 700; }

/* Servicios: 3 columnas */
.service-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid--three .service-card { min-height: 250px; }

/* Datos de contacto */
.contact-list { display: grid; gap: .9rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); font-size: .93rem; }
.contact-list span { color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; padding-top: .15rem; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent-hover); }
.button--ghost { background: transparent; color: var(--ink); box-shadow: none; border-color: var(--line); }
.button--ghost:hover { background: var(--accent-soft); color: var(--ink); border-color: var(--accent-line); }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.35rem; }
.contact-cta-panel .cta-row .button { margin-top: 0; }

/* WhatsApp fijo en móvil */
.wa-float { position: fixed; z-index: 90; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); display: none; align-items: center; gap: .55rem; padding: .85rem 1.15rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .9rem; text-decoration: none; box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.wa-float svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .offer-head { grid-template-columns: 1fr; }
  .checklist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
  .checklist__grid { grid-template-columns: 1fr; }
  .service-grid--three { grid-template-columns: 1fr; }
  .wa-float { display: inline-flex; }
  .button--header { display: none; }
  .hero-grid { grid-template-areas: "copy" "visual"; }
  .announcement-strip__inner { justify-content: center; }
  .announcement-strip__note { text-align: center; }
  .site-footer { padding-bottom: 4.5rem; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
}

/* ===== v2: fotos reales ===== */
/* Fondo fijo: taller desde arriba bajo una capa oscura */
html { background-color: #111315; }
body { background: transparent; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(17,19,21,.84), rgba(17,19,21,.9)), #111315 url("assets/rms-fondo-taller.webp") center 40% / cover no-repeat;
}
.hero-section, #servicios, .story-section { background: transparent; }
.offer-section, .methodology-section, .faq-section { background: rgba(21, 24, 27, .82); }
.contact-section { background: linear-gradient(135deg, rgba(21,24,27,.84), rgba(17,19,21,.88)); }
.site-footer { background: rgba(17, 19, 21, .94); }
.announcement-strip { background: rgba(17, 19, 21, .7); }

/* Fotos verticales */
.hero-visual { aspect-ratio: 4 / 5; }
.hero-visual img { object-position: center 40%; }
.story-visual { aspect-ratio: 4 / 5; }
.story-visual img { object-position: center 35%; }
.contact-visual { aspect-ratio: 1000 / 1135; }
.contact-visual img { object-position: center top; }
.services-feature__visual { aspect-ratio: 4 / 5; min-height: 0; }
.services-feature__visual img { min-height: 0; object-position: center 45%; filter: none; }
.services-feature__visual::after { display: none; }

/* Servicios: 4 columnas (8 tarjetas) */
.service-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid--four .service-card { min-height: 280px; padding: 1.35rem; }
.service-grid--four .service-card h3 { font-size: 1.18rem; }
.service-card--partner { border-style: dashed; background: rgba(26, 30, 34, .55); }
.service-card--partner .service-number { color: var(--muted); }

/* Enlace Instagram en pie */
.site-footer__notice a { color: var(--muted-strong); text-underline-offset: .2em; }
.site-footer__notice a:hover { color: var(--accent-hover); }

@media (max-width: 1100px) { .service-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .service-grid--four { grid-template-columns: 1fr; }
  .service-grid--four .service-card { min-height: 0; }
  .hero-visual, .story-visual, .services-feature__visual { aspect-ratio: 4 / 4.6; }
}
