/* =========================================================
   Tecnovigas — CAPA "IMPACTO" (se carga al final)
   Identidad industrial: títulos condensados en mayúsculas, botones rectos, bloques oscuros y claros
   alternados, números grandes, bordes amarillos. Reemplaza el aspecto suave anterior sin tocar el contenido.
   ========================================================= */
:root {
  --font-display: "Barlow Condensed", "Archivo", "Arial Narrow", sans-serif;
  --ink-head: #1a2027;
  --ink: #2b3138;
  --ink-soft: #5b6672;
  --brand-darker: #11151a;
  --brand-dark: #181d23;
  --bg-alt: #f1f3f5;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-card: 0 1px 0 rgba(17, 21, 26, .06), 0 14px 34px rgba(17, 21, 26, .09);
}

/* ---------- Tipografía ---------- */
h1, h2 { font-family: var(--font-display); text-transform: uppercase !important; font-weight: 800; line-height: 1.02; letter-spacing: .004em !important; color: var(--ink-head); }
h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 700; }
h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase !important; letter-spacing: .015em !important; font-size: 1.45rem; line-height: 1.12; color: var(--ink-head); }
.card h3, .proj-card h3, .svc-tile__body h3, .qual__body h3, .cap h3, .proc__body h3, .pain-card h3, .guarantee h3, .why-card h3 { font-size: 1.5rem; line-height: 1.1; }
#servicios .svc-tile__body h3, #servicios .svc-tile:nth-child(1) .svc-tile__body h3, #servicios .svc-tile:not(:nth-child(1)) .svc-tile__body h3 { font-size: 1.65rem; font-weight: 700; text-transform: uppercase; }
.section--dark h1, .section--dark h2, .section--dark h3, .hero3 h1, .lp-hero h1, .page-hero h1, .ctaq h2, .lp-final h2 { color: #fff; }
.eyebrow { font-family: var(--font-ui); font-weight: 700; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.hl { color: var(--accent); }

/* ---------- Botones rectos ---------- */
.btn { border-radius: 3px; font-weight: 700; letter-spacing: .09em; box-shadow: none; }
.btn--primary { background: var(--accent); color: #14181d; box-shadow: 0 4px 0 #b88f00; }
.btn--primary:hover { background: #ffd21f; transform: translateY(-2px); box-shadow: 0 6px 0 #b88f00; }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #b88f00; }
.btn--dark { background: #14181d; box-shadow: 0 4px 0 #000; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--glass { border-radius: 3px; border-width: 2px; }
.btn--wa { box-shadow: 0 4px 0 #168a45; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #168a45; }

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section-head { margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head h2::after { content: ""; display: block; width: 72px; height: 6px; background: var(--accent); margin: 16px auto 0; }
.section-head p { font-size: 1.08rem; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: radial-gradient(900px 420px at 88% -8%, rgba(245, 196, 0, .10), transparent 62%), var(--brand-darker); }
.section--dark .section-head p, .section--dark p { color: #b4bcc5; }
.section--dark .section-head h2::after { background: var(--accent); }

/* ---------- Portada ---------- */
.hero3 h1 { font-size: clamp(2.7rem, 5.6vw, 5rem); line-height: 1; letter-spacing: .004em; text-shadow: 0 2px 24px rgba(0, 0, 0, .4); margin-bottom: .45em; }
.hero3__tag { font-weight: 700; letter-spacing: .2em; color: #fff; background: rgba(17, 21, 26, .72); border-left: 4px solid var(--accent); padding: 8px 14px; }
.hero3__tag::before { display: none; }
.hero3__lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); }
.hero3__form { border-radius: 6px; border-top: 6px solid var(--accent); }

/* ---------- Barra de números ---------- */
.rbar__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 4.4vw, 3.7rem); line-height: 1; letter-spacing: 0; }
.rbar__num b { color: var(--accent); }
.rbar__lbl { font-size: .86rem; letter-spacing: .02em; }

/* ---------- Clientes ---------- */
.logos__title { font-family: var(--font-ui); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; }

/* ---------- Servicios ---------- */
#servicios .svc-tile { border-radius: 4px; box-shadow: var(--shadow-card); border-bottom: 5px solid var(--accent); transition: transform .35s, box-shadow .35s; }
#servicios .svc-tile:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(17, 21, 26, .18); }
#servicios .svc-tile__media { aspect-ratio: 3 / 2; }
#servicios .svc-tile__body { padding: 20px 24px 22px; }
#servicios .svc-tile__body p { font-size: .98rem; }
#servicios .svc-tile__num { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; letter-spacing: .02em; line-height: 1; }
#servicios .svc-tile__tag { border-radius: 2px; background: var(--accent); color: #14181d; font-weight: 800; }
#servicios .svc-tile__quote { border-radius: 3px; background: #14181d; color: #fff; }
#servicios .svc-tile__quote:hover { background: var(--accent); color: #14181d; }

/* ---------- Columnas y vigas (bloque oscuro) ---------- */
.paint--dark .paint__ph { border-radius: 4px; }
.paint--dark .paint__facts li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-left: 4px solid var(--accent); border-radius: 3px; box-shadow: none; }
.paint--dark .paint__facts b { color: #fff; }
.paint--dark .paint__facts small { color: #aab2ba; }
.paint--dark .paint__facts svg { color: #14181d; }
.paint--dark .btn--dark { background: transparent; border: 2px solid rgba(255, 255, 255, .7); box-shadow: none; }
.paint--dark .btn--dark:hover { background: #fff; color: #14181d; }

/* ---------- Obras ---------- */
.og { gap: 10px; padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
.og__item { border-radius: 3px; }
.og__cap b { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.og__cap small { color: var(--accent); font-weight: 700; }

/* ---------- Cómo trabajamos ---------- */
.mstep__item { border-radius: 4px; border-top: 5px solid var(--accent); box-shadow: var(--shadow-card); }
.mstep__num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: rgba(26, 32, 39, .12); }
.mstep__item h3 { font-size: 1.35rem; }

/* ---------- Planta ---------- */
.plantband__list b { font-family: var(--font-ui); }

/* ---------- Razones ---------- */
.why6__card { border-radius: 4px; border-left: 5px solid var(--accent); box-shadow: var(--shadow-card); background: #fff; }
.why6__ic { border-radius: 3px; }

/* ---------- Preguntas ---------- */
.accordion__item { border-radius: 3px; box-shadow: 0 1px 0 rgba(17, 21, 26, .08), 0 8px 22px rgba(17, 21, 26, .07); border-left: 4px solid transparent; }
.accordion__item.is-open { border-left-color: var(--accent); box-shadow: 0 12px 30px rgba(17, 21, 26, .12); }
.accordion__trigger { font-family: var(--font-ui); font-weight: 700; }

/* ---------- Contacto ---------- */
.chome__form { border-radius: 6px; border-top: 6px solid var(--accent); }
.chome__info { border-radius: 6px; }

/* ---------- Páginas interiores / anuncios ---------- */
.page-hero h1, .lp-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.lp-hero__form, .lp-final__form { border-radius: 6px; border-top: 6px solid var(--accent); }
.lp-inc__item, .pains__card, .svc-benefits .card, .card { border-radius: 4px; }
.pains__card { border-left: 5px solid var(--accent); }
.card { border-bottom: 4px solid var(--accent); }
.lp-eyebrow { font-weight: 700; letter-spacing: .18em; }
@media (max-width: 760px) {
  h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  h2 { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
  .hero3 h1 { font-size: clamp(2.3rem, 10.5vw, 3.1rem); }
  .btn { letter-spacing: .07em; }
}

/* ---------- Banda de garantía ---------- */
.gband { background: var(--accent); color: #14181d; padding: clamp(34px, 5vw, 54px) 0; position: relative; overflow: hidden; }
.gband::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(20, 24, 29, .045) 22px 44px); pointer-events: none; }
.gband__in { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center; }
.gband__ic { width: 74px; height: 74px; display: grid; place-items: center; background: #14181d; color: var(--accent); border-radius: 4px; }
.gband__ic svg { width: 38px; height: 38px; }
.gband h2 { color: #14181d; font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin: 0 0 .25em; }
.gband h2::after { display: none; }
.gband p { margin: 0; color: #2b2a1f; font-size: 1.05rem; max-width: 44em; }
.gband .btn--dark { white-space: nowrap; }
@media (max-width: 860px) { .gband__in { grid-template-columns: 1fr; text-align: left; } .gband__ic { width: 60px; height: 60px; } }

/* ---------- Contacto: tarjeta de datos oscura y a la misma altura ---------- */
.chome { align-items: stretch; }
.chome__info { background: #14181d; color: #cfd6dd; border-top: 6px solid var(--accent); display: flex; flex-direction: column; }
.chome__info a { color: #fff; }
.chome__info .chome__brand b { color: #fff; font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .02em; }
.chome__info svg { color: var(--accent); }
.chome__map { margin-top: auto; color: var(--accent) !important; font-weight: 700; }
.chome__form .assure { margin: 14px 0 18px; }
.chome__form .btn--block { margin-top: 6px; }
.chome__form .form-note { margin-top: 16px; }

/* ---------- Páginas de servicio: incluye + ficha en dos columnas ---------- */
.svc-two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.svc-two .lp-inc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-specs { background: #14181d; color: #cfd6dd; border-radius: 4px; border-top: 6px solid var(--accent); padding: 28px clamp(20px, 2.5vw, 32px); box-shadow: var(--shadow-card); }
.svc-specs h3 { color: #fff; margin: 0 0 14px; font-size: 1.6rem; }
.svc-specs .spec-list { margin: 0; max-width: none; box-shadow: none; background: transparent; border: 0; }
.svc-specs .spec-list__row { border-color: rgba(255, 255, 255, .12); background: transparent; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
.svc-specs dt { color: var(--accent); font-weight: 700; }
.svc-specs dd { color: #e6eaee; margin: 0; }
.svc-specs .media-caption { color: #8f9aa5; margin-top: 14px; text-align: left; }
@media (max-width: 1000px) { .svc-two { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc-two .lp-inc { grid-template-columns: 1fr; } }

/* galería de las páginas de servicio: se reparte el ancho aunque haya 2 o 3 fotos */
.lp-gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.lp-gal figure { margin: 0; border-radius: 3px; overflow: hidden; }
.svc-specs .spec-list__row { display: block; padding: 12px 0; }
.svc-specs dt { margin: 0 0 2px; }

/* ---------- Detalles finales ---------- */
.page-hero h1 { text-transform: uppercase !important; line-height: 1; max-width: 16em; }
.stat__num { font-family: var(--font-display); font-weight: 800; letter-spacing: 0; }
@media (max-width: 620px) {
  #servicios .svc-tile__media { aspect-ratio: 16 / 10; }
  #servicios .svc-tile__body { padding: 16px 18px 18px; }
  #servicios .svc-tile__body p { min-height: 0; }
}
