/* ===========================================
   WMC RESTORATION — wmc.css
   Colores, fuentes y estructura extraídos
   directamente del HTML original del sitio.
   Reutilizable en todas las páginas.
   =========================================== */

/* ── Variables exactas del sitio original ── */
:root {
  --color_1: rgba(222, 44, 49, 1);       /* rojo — fondo panel derecho */
  --color_2: rgba(55, 70, 108, 1);       /* navy — footer, botón CTA nav */
  --color_3: rgba(252, 252, 252, 1);     /* blanco suave — texto sobre rojo */
  --color_4: rgba(252, 252, 252, 0.76);  /* blanco semitransparente — fondo sección 1 */
  --color_7: rgba(36, 36, 36, 1);        /* gris oscuro — texto body */
  --color_8: rgba(255, 255, 255, 1);     /* blanco puro — textos footer */
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color_7);
  background: #fff;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; transition: opacity .2s, color .2s; }


/* ===========================================
   HEADER / NAV
   Replica de flex-header del original:
   fondo color_3 (blanco), logo izquierda,
   links centro, botón CTA navy derecha.
   =========================================== */
.site-header {
  background: var(--color_3);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Logo — igual al original: img height ~52px */
.header-logo a {
  display: flex;
  align-items: center;
}
.header-logo img {
  height: 52px;
  width: auto;
}

/* Nav links — igual al original: horizontal, sin fondo */
.header-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.header-nav li { position: relative; }

.header-nav a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color_7);
  white-space: nowrap;
}
.header-nav a:hover { color: var(--color_2); }
.header-nav a.active { color: var(--color_2); font-weight: 600; }

/* Dropdown indicator */
.header-nav .has-sub > a::after {
  content: ' ▾';
  font-size: 9px;
  opacity: .5;
}

/* Dropdown menu */
.header-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-top: 2px solid var(--color_2);
  border: 1px solid rgba(0,0,0,0.1);
  border-top: 2px solid var(--color_2);
  min-width: 210px;
  list-style: none;
  z-index: 300;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.header-nav .has-sub:hover .sub-menu { display: block; }
.header-nav .sub-menu li { border-bottom: 1px solid rgba(0,0,0,0.05); }
.header-nav .sub-menu li:last-child { border-bottom: none; }
.header-nav .sub-menu a {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color_7);
  display: block;
}
.header-nav .sub-menu a:hover {
  background: #f5f7fc;
  color: var(--color_2);
  padding-left: 20px;
}

/* CTA phone button — navy bg, igual al original */
.header-cta {
  background: var(--color_2);
  color: var(--color_8) !important;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.header-cta:hover { background: #3a4a7a; opacity: 1; }

/* Hamburger — visible solo en móvil */
.header-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.header-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color_7);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 500;
  overflow-y: auto;
  padding: 72px 24px 32px;
  flex-direction: column;
}
.mobile-drawer.open { display: flex; }

.mobile-drawer-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color_7);
  line-height: 1;
}
.mobile-drawer ul { list-style: none; }
.mobile-drawer ul li { border-bottom: 1px solid rgba(0,0,0,0.07); }
.mobile-drawer ul li a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color_7);
}
.mobile-drawer .sub-menu {
  display: none;
  padding-left: 16px;
  background: #f8f9fc;
}
.mobile-drawer .sub-menu.open { display: block; }
.mobile-drawer .sub-menu li a {
  font-size: 13px;
  padding: 10px 0;
}
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 499;
}
.mobile-drawer-overlay.open { display: block; }


/* ===========================================
   SECTION 1 — Texto sobre fondo color_4
   Replica exacta: H1 negro grande, H2 más
   pequeño, párrafos con cuerpo normal.
   Fondo: rgba(252,252,252,0.76)
   =========================================== */
.section-text {
  background-color: var(--color_4);
  padding: 50px 4%;
}
.section-text-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* H1 — replica del original: grande, negro, sin transform */
.section-text h1 {
  font-family: 'Rowdies', 'Arial Black', Arial, sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--color_2);
  line-height: 1.15;
  margin-bottom: 10px;
}

/* H2 — subtítulo italic gris */
.section-text h2 {
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 400;
  font-style: italic;
  color: #6a7fa8;
  margin-bottom: 20px;
}

/* Body paragraphs */
.section-text p {
  font-size: 14px;
  color: var(--color_7);
  line-height: 1.8;
  max-width: 900px;
  margin-bottom: 12px;
}


/* ===========================================
   SECTION 2 — Split layout
   Imagen izquierda (48%) / Panel rojo derecha (52%)
   Replica exacta de la sección f1bf7fe7.
   =========================================== */
.section-split {
  display: flex;
  min-height: 400px;
}

/* Imagen lado izquierdo */
.split-image {
  width: 48%;
  flex-shrink: 0;
  overflow: hidden;
  background: #aab5c4;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Panel rojo — replica de #e6258968 con background-color: var(--color_1) */
.split-panel {
  background-color: var(--color_1);
  flex: 1;
  padding: 50px 4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* H3 — igual al original: color_3, bold */
.split-panel h3 {
  font-family: 'Rowdies', 'Arial Black', Arial, sans-serif;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--color_3);
  margin-bottom: 18px;
  line-height: 1.3;
}

/* Párrafos sobre rojo */
.split-panel p {
  font-size: 14px;
  color: var(--color_3);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Lista — igual al original: defaultList bullet, color_3 */
.split-panel ul {
  list-style: none;
  margin-bottom: 20px;
}
.split-panel ul li {
  font-size: 14px;
  color: var(--color_3);
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}
.split-panel ul li::before {
  content: '•';
  color: rgba(255,255,255,.55);
  font-size: 18px;
  line-height: 1.3;
  flex-shrink: 0;
}

/* Botón "Call Today" — replica del botón original: navy bg */
.btn-call-today {
  display: inline-block;
  background: var(--color_2);
  color: var(--color_8);
  padding: 11px 28px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: .03em;
  align-self: flex-start;
  margin-top: 4px;
  transition: background .2s;
}
.btn-call-today:hover { background: #2d3d6a; color: #fff; }


/* ===========================================
   FOOTER
   Replica exacta: fondo color_2 (navy),
   3 columnas, logo centro, servicios derecha.
   =========================================== */
.site-footer {
  background-color: var(--color_2);
  padding: 30px 4% 10px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 4%;
}

/* Columna contacto */
.footer-contact h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color_8);
  text-align: center;
  margin-bottom: 8px;
}
.footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  text-align: center;
  line-height: 1.7;
}

/* Logo + horas — columna central */
.footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-brand img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-brand .hours {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-brand .hours dt { font-weight: 500; color: rgba(255,255,255,.8); }
.footer-brand .hours dd { color: rgba(255,255,255,.65); }

/* Servicios */
.footer-services h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color_8);
  text-align: center;
  margin-bottom: 10px;
}
.footer-services ul {
  list-style: none;
  text-align: center;
}
.footer-services ul li { margin-bottom: 5px; }
.footer-services ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  transition: color .2s;
}
.footer-services ul li a:hover,
.footer-services ul li a.current { color: #fff; text-decoration: underline; }

/* Copyright */
.footer-copy {
  text-align: center;
  padding: 16px 0 8px;
  font-size: 12px;
  color: rgba(255,255,255,.38);
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 20px;
}


/* ===========================================
   SECCIONES ADICIONALES
   (añaden valor sin existir en el original;
   usan los mismos colores del sistema)
   =========================================== */

/* Contenedor genérico */
.extra-section {
  padding: 60px 4%;
}
.extra-section--soft { background: #f6f7fc; }
.extra-section--white { background: #fff; }
.extra-section--navy { background: var(--color_2); }
.extra-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Eyebrow label */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color_1);
  margin-bottom: 8px;
}

/* Section heading */
.extra-h2 {
  font-family: 'Rowdies', 'Arial Black', Arial, sans-serif;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--color_2);
  line-height: 1.2;
  margin-bottom: 10px;
}
.extra-h2--white { color: var(--color_8); }

.extra-subtitle {
  font-size: 16px;
  font-style: italic;
  color: #7a8fbb;
  margin-bottom: 28px;
}

.extra-body {
  font-size: 14px;
  color: var(--color_7);
  line-height: 1.8;
  max-width: 860px;
  margin-bottom: 12px;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.card {
  background: #fff;
  border: 1px solid #dde2ec;
  border-top: 3px solid var(--color_2);
  padding: 22px 18px;
  transition: box-shadow .25s, transform .2s;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(55,70,108,.1);
  transform: translateY(-3px);
}
.card-icon { font-size: 26px; margin-bottom: 10px; }
.card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color_2);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.card p { font-size: 13px; color: #666; line-height: 1.65; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid #dde2ec;
  overflow: hidden;
  margin-top: 30px;
}
.process-step {
  padding: 24px 16px;
  border-right: 1px solid #dde2ec;
  background: #fff;
}
.process-step:last-child { border-right: none; }
.step-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--color_1);
  opacity: .22;
  line-height: 1;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}
.process-step h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--color_2);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.process-step p { font-size: 12px; color: #666; line-height: 1.6; }

/* Why checklist */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}
.why-content {
  background: #f6f7fc;
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-image { overflow: hidden; }
.why-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.checklist {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}
.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color_2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
  margin-top: 2px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.testimonial {
  background: #fff;
  border: 1px solid #dde2ec;
  padding: 24px 20px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute; top: 12px; right: 16px;
  font-family: Georgia, serif;
  font-size: 52px;
  color: #dde2ec;
  line-height: 1;
}
.stars { color: #e8a020; font-size: 13px; margin-bottom: 10px; }
.testimonial blockquote {
  font-size: 13.5px; font-style: italic;
  color: #666; line-height: 1.7; margin-bottom: 18px;
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.t-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color_2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.t-name { font-size: 13px; font-weight: 700; color: var(--color_2); }
.t-loc  { font-size: 11px; color: #999; }

/* FAQ */
.faq-wrap { max-width: 760px; margin: 28px auto 0; }
.faq-item { border-bottom: 1px solid #dde2ec; }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; padding: 17px 0;
  font-size: 14px; font-weight: 700; color: var(--color_2);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Poppins', Arial, sans-serif;
}
.faq-q:hover { color: var(--color_1); }
.faq-q::after {
  content: '+'; font-size: 22px; font-weight: 300;
  color: var(--color_1); transition: transform .3s;
  flex-shrink: 0; margin-left: 12px;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 13.5px; color: #666; line-height: 1.8;
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding-bottom .3s;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 18px; }

/* CTA banner */
.cta-banner {
  background: var(--color_2);
  padding: 50px 4%;
}
.cta-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner-text h3 {
  font-family: 'Rowdies', 'Arial Black', Arial, sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700; color: #fff;
  margin-bottom: 6px;
}
.cta-banner-text p { font-size: 14px; color: rgba(255,255,255,.6); }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn-red {
  display: inline-block;
  background: var(--color_1); color: #fff;
  padding: 12px 28px; font-size: 14px; font-weight: 700;
  border-radius: 3px; letter-spacing: .02em;
  transition: background .2s;
}
.btn-red:hover { background: #b82028; color: #fff; }

.btn-outline-white {
  display: inline-block;
  background: transparent; color: #fff;
  padding: 11px 24px; font-size: 14px; font-weight: 600;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 3px; transition: border-color .2s;
}
.btn-outline-white:hover { border-color: #fff; color: #fff; }

/* Cert bar */
.cert-bar {
  background: #eef0f7;
  border-top: 1px solid #dde2ec;
  border-bottom: 1px solid #dde2ec;
  padding: 18px 4%;
}
.cert-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex; align-items: center;
  justify-content: center; gap: 24px; flex-wrap: wrap;
}
.cert-badge {
  text-align: center; padding: 10px 18px;
  border: 1px solid #dde2ec; background: #fff;
}
.cert-badge-name { font-size: 14px; font-weight: 700; color: var(--color_2); }
.cert-badge-sub  { font-size: 10px; color: #999; margin-top: 2px; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }


/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-step:nth-child(3) { border-right: none; }
  .process-step:nth-child(4),
  .process-step:nth-child(5),
  .process-step:nth-child(6) { border-top: 1px solid #dde2ec; }
}

@media (max-width: 900px) {
  .header-nav,
  .header-cta { display: none !important; }
  .header-hamburger { display: flex; }

  .section-split { flex-direction: column; }
  .split-image { width: 100%; height: 260px; }
  .split-panel { padding: 36px 6%; }

  .why-split { grid-template-columns: 1fr; }
  .why-image { height: 260px; }
  .why-content { padding: 40px 6%; }

  .section-text { padding: 40px 6%; }
  .extra-section { padding: 48px 6%; }

  .footer-grid { flex-direction: column; align-items: center; text-align: center; gap: 28px; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-top: 1px solid #dde2ec; border-right: none; }
  .process-step:nth-child(odd) { border-right: 1px solid #dde2ec; }
}

@media (max-width: 600px) {
  .header-inner { padding: 14px 4%; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .extra-section { padding: 40px 5%; }
}
