/* =========================================================
   Secco® Tintorería y Lavandería · estilos de la landing
   Basado en Bootstrap 5.3 (el mismo que usa Odoo 17).
   Todas las clases propias empiezan con "sc-" para no chocar
   con Bootstrap ni con Odoo al migrarlo a un módulo.
   ========================================================= */
:root {
  --sc-orange: #f5831f;
  --sc-orange-dark: #d96b0c;
  --sc-orange-soft: #fff1e4;
  --sc-navy: #24386f;
  --sc-navy-dark: #18264d;
  --sc-ink: #36425f;      /* texto general: azul grisáceo (sin negro) */
  --sc-muted: #66728a;    /* texto secundario: gris azulado */
  --sc-bg-alt: #f6f7fb;
  --sc-wa: #25d366;
  --sc-radius: 1.25rem;
  --sc-shadow: 0 .75rem 2rem rgba(36, 56, 111, .10);

  /* Banner principal: si PxC entrega imágenes, descomentar y poner la ruta.
     Escritorio 1920×720 px · Móvil 1080×1350 px (ver LEEME). */
  /* --sc-hero-img: url("../img/banner-escritorio.jpg"); */
  /* --sc-hero-img-m: url("../img/banner-movil.jpg"); */

  /* Ajustes de Bootstrap a la marca */
  --bs-primary: var(--sc-orange);
  --bs-primary-rgb: 245, 131, 31;
  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--sc-ink);
  --bs-emphasis-color: var(--sc-navy);
  --bs-heading-color: var(--sc-navy);
  --bs-link-color: var(--sc-orange-dark);
  --bs-link-hover-color: var(--sc-navy);
}

[hidden] { display: none !important; }
body { background: #fff; overflow-x: hidden; color: var(--sc-ink); }
html { scroll-padding-top: 84px; }
h1, h2, h3, h4, h5, h6 { color: var(--sc-navy); font-weight: 700; }
.sc-section { padding: 5rem 0; }
.sc-alt { background: var(--sc-bg-alt); }
.sc-eyebrow {
  display: inline-block; font-size: .95rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sc-orange); margin-bottom: .5rem;
}
/* Títulos de sección más grandes para marcar jerarquía */
.sc-title { font-size: clamp(2.1rem, 4.6vw, 3.25rem); line-height: 1.15; margin-bottom: 1rem; }
.sc-lead { color: var(--sc-muted); font-size: 1.1rem; max-width: 660px; }
.text-center .sc-lead { margin-inline: auto; }
.text-orange { color: var(--sc-orange) !important; }
.text-navy { color: var(--sc-navy) !important; }

/* Dato pendiente de confirmar (quitar la clase cuando se confirme) */
.sc-tbd { background: #fff4c2; color: #7a5b00; border-radius: .35rem; padding: 0 .35rem; font-weight: 600; }

/* ---------- Botones ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .75rem 1.5rem; }
.btn-sc {
  --bs-btn-bg: var(--sc-orange); --bs-btn-border-color: var(--sc-orange); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--sc-orange-dark); --bs-btn-hover-border-color: var(--sc-orange-dark); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--sc-orange-dark); --bs-btn-active-border-color: var(--sc-orange-dark);
}
.btn-sc-navy {
  --bs-btn-bg: var(--sc-navy); --bs-btn-border-color: var(--sc-navy); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--sc-navy-dark); --bs-btn-hover-border-color: var(--sc-navy-dark); --bs-btn-hover-color: #fff;
}
.btn-sc-outline {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.8);
  --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--sc-navy); --bs-btn-hover-border-color: #fff;
}
.btn-wa {
  --bs-btn-bg: var(--sc-wa); --bs-btn-border-color: var(--sc-wa); --bs-btn-color: #fff;
  --bs-btn-hover-bg: #1eb457; --bs-btn-hover-border-color: #1eb457; --bs-btn-hover-color: #fff;
}

/* ---------- Navbar (isotipo) ---------- */
.sc-navbar { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); transition: box-shadow .2s; }
.sc-navbar.sc-scrolled { box-shadow: 0 .25rem 1.25rem rgba(36,56,111,.10); }
.sc-navbar .navbar-brand { padding: 0; }
.sc-navbar .navbar-brand img { height: 48px; width: auto; display: block; }
.sc-navbar .nav-link { font-weight: 500; color: var(--sc-navy); }
.sc-navbar .nav-link:hover, .sc-navbar .nav-link.active { color: var(--sc-orange); }

/* ---------- Banner principal: azul sólido + texturas de marca ---------- */
.sc-hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: 72vh; display: flex; align-items: center;
  padding: 7.5rem 0 4.5rem;
  background-color: var(--sc-navy);
  background-image:
    var(--sc-hero-img, none),
    radial-gradient(rgba(255,255,255,.07) 1.6px, transparent 1.8px);
  background-size: cover, 22px 22px;
  background-position: center, 0 0;
}
/* Burbujas suaves */
.sc-hero::after {
  content: ""; position: absolute; right: -6rem; bottom: -6rem; width: 22rem; height: 22rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), rgba(255,255,255,0) 70%);
}
/* Franja naranja inferior, como en los materiales impresos */
.sc-hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--sc-orange);
}
.sc-hero > .container { position: relative; z-index: 1; }
.sc-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; line-height: 1.1; }
.sc-hero h1 span { color: var(--sc-orange); }
.sc-hero p { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 520px; }
.sc-hero-pill {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--sc-orange);
  color: #fff; font-weight: 600; font-size: .9rem; border-radius: 999px; padding: .4rem 1rem;
}
.sc-hero-mark {
  width: min(100%, 380px); aspect-ratio: 1; margin-left: auto; border-radius: 50%;
  background: var(--sc-orange); display: grid; place-items: center;
  box-shadow: 0 0 0 18px rgba(245,131,31,.18), 0 0 0 40px rgba(245,131,31,.08);
}
.sc-hero-mark img { width: 62%; height: auto; }

/* ---------- Servicios ---------- */
.sc-service {
  background: #fff; border-radius: var(--sc-radius); padding: 2rem; height: 100%; text-align: center;
  border: 1px solid #e7eaf2; transition: box-shadow .2s, transform .2s;
}
.sc-service:hover { box-shadow: var(--sc-shadow); transform: translateY(-3px); }
.sc-icon {
  width: 5rem; height: 5rem; border-radius: 50%; background: var(--sc-orange);
  color: #fff; display: grid; place-items: center; margin: 0 auto 1.25rem;
}
.sc-icon svg { width: 2.9rem; height: 2.9rem; }
.sc-service h3 { font-size: 1.35rem; }
.sc-service p { color: var(--sc-muted); margin: 0; }

/* ---------- Bloques con foto ---------- */
.sc-photo { border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); width: 100%; object-fit: cover; }
.sc-check { list-style: none; padding: 0; }
.sc-check li { display: flex; gap: .75rem; margin-bottom: .9rem; }
.sc-check i { color: var(--sc-orange); font-size: 1.25rem; flex: none; line-height: 1.4; }
.sc-check b { color: var(--sc-navy); }
.sc-drive { background: var(--sc-navy); color: #fff; }
.sc-drive h2 { color: #fff; }
.sc-drive .sc-lead { color: rgba(255,255,255,.82); }
.sc-drive .sc-check b { color: #fff; }

/* ---------- Precios (estilo tablero de sucursal) ---------- */
.sc-board {
  background: #fff; border-radius: var(--sc-radius); box-shadow: var(--sc-shadow);
  border-top: 6px solid var(--sc-orange); padding: 2rem 1.5rem 1.5rem;
}
@media (min-width: 992px) { .sc-board { padding: 2.5rem 2.75rem 2rem; } }
.sc-board-title {
  font-size: 1.15rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sc-navy); margin-bottom: 1.25rem;
}
/* Cantidades: peso medio y el signo $ al mismo nivel que el importe */
.sc-price {
  font-size: 2.5rem; font-weight: 500; color: var(--sc-navy); line-height: 1;
  margin-bottom: .9rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.sc-ast { color: var(--sc-orange); font-size: .6em; vertical-align: top; margin-left: .05em; }
/* Listado vertical uniforme */
.sc-list { list-style: none; padding: 0; margin: 0; }
.sc-list li {
  display: block; width: 100%; background: var(--sc-orange); color: #fff; font-weight: 500;
  font-size: .95rem; border-radius: .4rem; padding: .4rem .75rem; margin-bottom: .45rem; line-height: 1.3;
}
.sc-list li small { display: block; font-weight: 400; font-size: .72rem; opacity: .9; }
.sc-list-navy li { background: var(--sc-navy); }
.sc-board-home .sc-home-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; margin-bottom: 1rem;
}
.sc-board-home .sc-home-row .sc-price { margin: 0; }
@media (min-width: 992px) { .sc-board-home { border-left: 1px solid #e7eaf2; } }
.sc-board-notes {
  border-top: 1px solid #e7eaf2; margin-top: 1.5rem; padding-top: 1rem;
  font-size: .85rem; color: var(--sc-muted); text-align: center;
}

/* ---------- Promos ---------- */
.sc-today {
  background: var(--sc-navy); color: #fff; border-radius: var(--sc-radius);
  padding: 1.5rem 1.75rem; box-shadow: var(--sc-shadow);
}
.sc-today h3 { color: #fff; font-size: 1.3rem; }
.sc-today .badge { background: var(--sc-orange); font-weight: 600; font-size: .85rem; white-space: normal; text-align: left; line-height: 1.35; }
.sc-promo-card {
  background: #fff; border-radius: var(--sc-radius); overflow: hidden; box-shadow: var(--sc-shadow);
  height: 100%; border: 3px solid transparent; transition: transform .2s, border-color .2s;
  max-width: 380px; margin-inline: auto;
}
.sc-promo-card:hover { transform: translateY(-4px); }
.sc-promo-card.sc-is-today { border-color: var(--sc-orange); }
/* Marco 4:5; la imagen se muestra COMPLETA (sin recorte) aunque tenga otra proporción */
.sc-promo-img { position: relative; aspect-ratio: 4 / 5; background: #fff; }
.sc-promo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.sc-promo-card .sc-promo-body { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid #eef0f6; }
.sc-day { display: inline-block; font-size: .75rem; font-weight: 600; border-radius: 999px; padding: .15rem .6rem; background: var(--sc-orange-soft); color: var(--sc-orange-dark); margin: 0 .25rem .25rem 0; }
.sc-day.sc-on { background: var(--sc-orange); color: #fff; }
.sc-fine { font-size: .82rem; color: var(--sc-muted); }

/* ---------- Galería ---------- */
.sc-gallery img {
  width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 1rem;
  cursor: zoom-in; transition: transform .25s, box-shadow .25s;
}
.sc-gallery img:hover { transform: scale(1.02); box-shadow: var(--sc-shadow); }
#scLightbox .modal-content { background: transparent; border: 0; }
#scLightbox img { max-height: 85vh; width: auto; max-width: 100%; margin: auto; border-radius: .75rem; }

/* ---------- FAQ ---------- */
.sc-faq .accordion-item { border: 1px solid #e7eaf2; border-radius: 1rem !important; overflow: hidden; margin-bottom: .75rem; }
.sc-faq .accordion-button { font-weight: 600; color: var(--sc-navy); }
.sc-faq .accordion-button:not(.collapsed) { background: var(--sc-orange-soft); color: var(--sc-navy); box-shadow: none; }
.sc-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(245,131,31,.25); }
.sc-faq .accordion-body { color: var(--sc-ink); }

/* ---------- Contacto ---------- */
.sc-info { background: #fff; border-radius: var(--sc-radius); padding: 1.25rem 1.5rem; box-shadow: var(--sc-shadow); display: flex; gap: 1rem; }
.sc-info i { font-size: 1.5rem; color: var(--sc-orange); }
.sc-info h3 { font-size: 1rem; margin-bottom: .15rem; }
.sc-info p { margin: 0; color: var(--sc-muted); }
.sc-info a { color: var(--sc-navy); font-weight: 600; text-decoration: none; }
.sc-map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); }
.sc-open { font-size: .8rem; font-weight: 600; border-radius: 999px; padding: .15rem .6rem; margin-left: .4rem; }
.sc-open.is-open { background: #dff5e7; color: #137a3c; }
.sc-open.is-closed { background: #fde5e5; color: #a12222; }

/* ---------- Footer (logo en blanco) ---------- */
.sc-footer { background: var(--sc-navy-dark); color: rgba(255,255,255,.78); padding: 3rem 0 2rem; }
.sc-footer a { color: #fff; text-decoration: none; }
.sc-footer a:hover { color: var(--sc-orange); }
.sc-footer-logo { height: 64px; width: auto; }

/* WhatsApp flotante (inhabilitado temporalmente con el atributo hidden) */
.sc-wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1030; width: 3.75rem; height: 3.75rem;
  border-radius: 50%; background: var(--sc-wa); color: #fff; display: grid; place-items: center;
  font-size: 1.9rem; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.25); text-decoration: none;
}
.sc-wa-float:hover { color: #fff; transform: scale(1.06); }

/* Animación de entrada */
.sc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.sc-reveal.sc-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sc-reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 767.98px) {
  .sc-section { padding: 3.5rem 0; }
  .sc-hero { min-height: 0; padding: 6.5rem 0 3.5rem; background-image: var(--sc-hero-img-m, var(--sc-hero-img, none)), radial-gradient(rgba(255,255,255,.07) 1.6px, transparent 1.8px); }
  .sc-navbar .navbar-brand img { height: 40px; }
  .sc-price { font-size: 2.1rem; }
}
