/* =====================================================================
   TUBOCLIMA AIR · Design System
   Estilo: Apple-minimal + futurista (dark, glow, glassmorphism)
   Paleta de marca: Azul (frío) #1B9BD8  ·  Naranja (calor) #F7941D
   ===================================================================== */

:root {
  /* Marca */
  --blue:        #1B9BD8;
  --blue-bright: #38C6FF;
  --blue-deep:   #0E6FA8;
  --orange:      #F7941D;
  --orange-bright:#FFB04A;

  /* Superficies (tema oscuro) */
  --bg:          #05070D;
  --bg-2:        #080B14;
  --surface:     rgba(255,255,255,0.04);
  --surface-2:   rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.10);
  --border-soft: rgba(255,255,255,0.06);

  /* Texto */
  --text:        #F4F7FB;
  --text-soft:   #AEB7C7;
  --text-dim:    #6B7488;

  /* Efectos */
  --glow-blue:   0 0 50px rgba(56,198,255,0.35);
  --glow-orange: 0 0 50px rgba(247,148,29,0.35);
  --gradient:    linear-gradient(120deg, var(--blue-bright), var(--orange));
  --gradient-soft: linear-gradient(120deg, rgba(56,198,255,0.18), rgba(247,148,29,0.18));

  /* Layout */
  --max:         1200px;
  --radius:      22px;
  --radius-lg:   34px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
  /* reserva el hueco del scrollbar para que el nav fijo y el contenido
     queden centrados con el MISMO ancho -> logo alineado con el texto */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fondo ambiental con orbes de luz (frío + calor) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40vw 40vw at 12% 8%,  rgba(27,155,216,0.18), transparent 60%),
    radial-gradient(38vw 38vw at 88% 22%, rgba(247,148,29,0.14), transparent 60%),
    radial-gradient(50vw 50vw at 60% 100%, rgba(14,111,168,0.16), transparent 65%),
    var(--bg);
}
/* Rejilla técnica sutil de fondo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Utilidades ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue-bright);
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); box-shadow: var(--glow-orange);
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
.h-section {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 16ch;
}
.lead {
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 56ch;
  margin-top: 18px;
}
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 1rem; font-weight: 600; letter-spacing: -0.01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gradient); color: #04121c;
  box-shadow: 0 10px 40px rgba(56,198,255,0.30);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 55px rgba(56,198,255,0.45); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); backdrop-filter: blur(12px);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--surface-2); border-color: rgba(255,255,255,0.22); }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,11,20,0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }

/* Maqueta horizontal: TUBO · emblema · CLIMA (piezas del logo real) */
.lockup { gap: 2px; align-items: center; }
.lockup img {
  width: auto; display: block;
  transition: transform .4s var(--ease), filter .4s;
}
/* TUBO y CLIMA con la MISMA altura -> sus bases coinciden y quedan alineados */
/* margen negativo en el emblema para meter las palabras dentro de su aire transparente */
.lockup .lk-tubo  { height: 19px; filter: drop-shadow(0 0 10px rgba(56,198,255,0.30)); }
.lockup .lk-mark  { height: 46px; margin: 0 -41px; filter: drop-shadow(0 0 14px rgba(56,198,255,0.40)); }
.lockup .lk-clima { height: 19px; filter: drop-shadow(0 0 10px rgba(247,148,29,0.30)); }
.lockup:hover .lk-mark { transform: scale(1.08) rotate(-3deg); }

/* Versión grande para el footer */
/* footer: tamaño contenido para que el logo NO invada la columna de al lado */
.lockup-lg .lk-tubo  { height: 19px; }
.lockup-lg .lk-mark  { height: 46px; margin: 0 -41px; }
.lockup-lg .lk-clima { height: 19px; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 0.95rem; color: var(--text-soft); font-weight: 500;
  transition: color .25s; position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gradient); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav-cta .btn { white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; color: var(--orange); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  display: flex; align-items: center;
  position: relative; padding: 120px 0 90px; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 700; letter-spacing: -0.03em;
}
.hero h1 span { display: block; }
.hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.hero-badges { display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.hero-badge .num {
  font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-badge .lbl { font-size: .85rem; color: var(--text-dim); }

/* Emblema flotante (copo + sol) */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.emblem { width: min(420px, 80%); aspect-ratio: 1; position: relative; }
.emblem .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--border);
}
.emblem .ring.r2 { inset: 12%; border-color: rgba(56,198,255,0.18); }
.emblem .ring.r3 { inset: 24%; border-color: rgba(247,148,29,0.16); }
.emblem .glow {
  position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,198,255,0.22), transparent 70%);
  filter: blur(10px);
}
.emblem svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.emblem-logo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: 92%; width: auto;
  filter: drop-shadow(0 0 30px rgba(56,198,255,0.45)) drop-shadow(0 0 45px rgba(247,148,29,0.25));
}

.spin-slow { animation: spin 38s linear infinite; }
.spin-rev  { animation: spin 28s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-16px);} }

/* Chips orbitando el emblema */
.orbit-chip {
  position: absolute; padding: 10px 16px; border-radius: 14px;
  background: rgba(8,11,20,0.7); border: 1px solid var(--border);
  backdrop-filter: blur(14px); font-size: .85rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.orbit-chip .ic { width: 8px; height: 8px; border-radius: 50%; }
.orbit-chip.c1 { top: 8%;  left: -6%;  }
.orbit-chip.c2 { top: 42%; right: -10%; }
.orbit-chip.c3 { bottom: 10%; left: 2%; }

/* =====================================================================
   LOGOS / TIRA DE CONFIANZA
   ===================================================================== */
.strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; flex-wrap: wrap; }
.strip span { color: var(--text-dim); font-weight: 600; font-size: .9rem; letter-spacing: .04em; }

/* =====================================================================
   SERVICIOS
   ===================================================================== */
.sec-head { margin-bottom: 64px; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; transition: transform .5s var(--ease), border-color .4s, background .4s;
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(60% 60% at 50% 0%, rgba(56,198,255,0.12), transparent 70%);
}
.card:hover { transform: translateY(-8px); border-color: rgba(56,198,255,0.32); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card .ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--gradient-soft); border: 1px solid var(--border); margin-bottom: 22px;
}
.card .ico svg { width: 28px; height: 28px; color: var(--blue-bright); }
.card.warm .ico svg { color: var(--orange-bright); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: .98rem; }
.card .tag { margin-top: 18px; font-size: .82rem; color: var(--blue-bright); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }

/* =====================================================================
   ZONAS DE SERVICIO
   ===================================================================== */
.area-panel {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: 36px; align-items: center;
  padding: clamp(34px, 6vw, 62px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.area-panel h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 16px; }
.area-panel p { color: var(--text-soft); max-width: 58ch; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.area-list span {
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.045); border: 1px solid var(--border-soft);
  color: var(--text-soft); font-weight: 600; font-size: .92rem;
}

/* =====================================================================
   PROCESO
   ===================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.step .n {
  font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: .92rem; }

/* =====================================================================
   FRANJA PARALLAX / CTA INTERMEDIA
   ===================================================================== */
.banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: clamp(50px, 8vw, 90px); text-align: center;
  background: linear-gradient(120deg, rgba(14,111,168,0.35), rgba(247,148,29,0.22));
  border: 1px solid var(--border);
}
.banner::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: radial-gradient(50% 80% at 50% 0%, rgba(56,198,255,0.3), transparent 60%);
}
.banner h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 18px; }
.banner p { color: var(--text-soft); max-width: 52ch; margin: 0 auto 30px; }

/* =====================================================================
   RESEÑAS
   ===================================================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  padding: 30px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px;
}
.stars { display: flex; gap: 3px; color: var(--orange); }
.stars svg { width: 18px; height: 18px; }
.review p { color: var(--text); font-size: 1.02rem; line-height: 1.6; flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer .av {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gradient); color: #04121c; font-weight: 700;
}
.reviewer .meta b { display: block; font-size: .95rem; }
.reviewer .meta span { font-size: .82rem; color: var(--text-dim); }

.rating-summary { display: flex; align-items: center; gap: 16px; margin-top: 44px; justify-content: center; flex-wrap: wrap; }
.rating-summary .big { font-size: 3rem; font-weight: 700; }
.rating-summary .meta span { color: var(--text-dim); font-size: .9rem; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-item {
  padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.faq-item h3 { font-size: 1.12rem; margin-bottom: 10px; }
.faq-item p { color: var(--text-soft); font-size: .96rem; }

/* =====================================================================
   CONTACTO
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-item {
  display: flex; gap: 16px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.info-item:hover { border-color: rgba(56,198,255,0.3); transform: translateX(4px); }
.info-item .ico { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--gradient-soft); }
.info-item .ico svg { width: 22px; height: 22px; color: var(--blue-bright); }
.info-item b { display: block; font-size: .82rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; }
.info-item a, .info-item p { color: var(--text); font-weight: 500; }

.form { padding: 36px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; color: var(--text-soft); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text); font-family: inherit; font-size: 1rem; transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(27,155,216,0.12);
}
.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255,107,107,0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check-field {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 18px; color: var(--text-soft);
  font-size: .84rem; line-height: 1.45;
}
.check-field input {
  width: 18px; height: 18px; flex: none; margin-top: 2px;
  accent-color: var(--blue);
}
.check-field input.is-invalid { outline: 2px solid #ff6b6b; outline-offset: 2px; }
.check-field a { color: var(--blue-bright); }
.form .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form .consent { font-size: .8rem; color: var(--text-dim); margin-top: 14px; }
.form .consent a { color: var(--blue-bright); }
.form-msg { margin-top: 14px; font-size: .92rem; color: var(--blue-bright); display: none; }
.form-msg.show { display: block; }
.form-msg.error { color: #ff8c8c; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { border-top: 1px solid var(--border-soft); padding: 64px 0 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { margin-bottom: 18px; }
.footer p { color: var(--text-soft); font-size: .92rem; max-width: 34ch; }
.footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-soft); font-size: .94rem; transition: color .25s; }
.footer ul a:hover { color: var(--blue-bright); }
.footer-bottom {
  margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-dim); font-size: .86rem;
  /* reserva sitio para que el botón flotante de teléfono no tape la dirección */
  padding-right: 76px;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text-soft); }

/* Botón flotante WhatsApp/llamar */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--gradient); display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(56,198,255,0.4); transition: transform .3s;
}
.fab:hover { transform: scale(1.08) translateY(-2px); }
.fab svg { width: 26px; height: 26px; color: #04121c; }

/* =====================================================================
   ANIMACIONES DE SCROLL (reveal)
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Barra de progreso de scroll */
.scroll-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--gradient); transition: width .1s linear; }

/* =====================================================================
   PÁGINAS LEGALES
   ===================================================================== */
.legal-page { padding-top: 140px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.legal-page .updated { color: var(--text-dim); font-size: .9rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.4rem; margin: 38px 0 14px; }
.legal-page p, .legal-page li { color: var(--text-soft); margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page a { color: var(--blue-bright); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-bright); margin-bottom: 30px; font-weight: 600; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { min-height: 340px; order: -1; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-panel { grid-template-columns: 1fr; }
  /* chips dentro del borde (el hero ocupa todo el ancho aquí) */
  .orbit-chip.c1 { left: 2%; }
  .orbit-chip.c2 { right: 2%; }
  .orbit-chip.c3 { left: 4%; }
}
/* Nav: colapsa a hamburguesa cuando enlaces+teléfono+botón ya no caben */
@media (max-width: 900px) {
  .nav-links, .nav-phone, .nav-cta .btn-primary { display: none; }
  .burger { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(8,11,20,0.96); backdrop-filter: blur(20px); padding: 24px;
    gap: 18px; border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .sec-head { margin-bottom: 36px; }
  .h-section { max-width: 100%; }

  /* logo algo más compacto en pantallas pequeñas */
  .nav .lockup { gap: 2px; }
  .nav .lockup .lk-tubo  { height: 16px; }
  .nav .lockup .lk-mark  { height: 40px; margin: 0 -36px; }
  .nav .lockup .lk-clima { height: 16px; }

  .nav-inner { height: 68px; }
  .nav.open .nav-links { top: 68px; }

  .hero {
    padding: 108px 0 58px;
    align-items: flex-start;
  }
  .hero-grid { gap: 30px; }
  .hero-visual {
    order: 0;
    min-height: 280px;
    margin-top: 8px;
  }
  .emblem { width: min(300px, 78vw); }
  .emblem-logo { height: 86%; }
  .orbit-chip {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: .78rem;
    box-shadow: 0 10px 28px rgba(0,0,0,0.32);
  }
  .orbit-chip.c1 { top: 3%; left: 0; }
  .orbit-chip.c2 { top: 40%; right: -2%; }
  .orbit-chip.c3 { bottom: 3%; left: 0; }
  .hero h1 {
    font-size: clamp(2.75rem, 12vw, 3.55rem);
    letter-spacing: -0.035em;
  }
  .hero .lead {
    font-size: 1.05rem;
    line-height: 1.55;
  }
  .hero-actions {
    gap: 12px;
    margin-top: 28px;
  }
  .hero-actions .btn {
    min-height: 54px;
    padding: 14px 18px;
  }
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 34px;
  }
  .hero-badge .num { font-size: 1.35rem; }
  .hero-badge .lbl {
    font-size: .76rem;
    line-height: 1.25;
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
    letter-spacing: .12em;
    line-height: 1.45;
  }
  .strip .wrap {
    justify-content: center;
    gap: 12px 18px;
    padding-block: 22px;
    text-align: center;
  }
  .strip span { font-size: .78rem; }

  /* el logo del footer un poco más compacto en móviles pequeños */
  .footer .lockup-lg .lk-tubo  { height: 16px; }
  .footer .lockup-lg .lk-mark  { height: 40px; margin: 0 -36px; }
  .footer .lockup-lg .lk-clima { height: 16px; }
  .services-grid, .reviews-grid, .process-grid, .footer-grid, .form-row, .area-list, .faq-grid { grid-template-columns: 1fr; }
  .card, .step, .review, .faq-item { padding: 24px; border-radius: 18px; }
  .area-panel, .banner, .form { padding: 24px; border-radius: 22px; }
  .info-item { padding: 18px; border-radius: 18px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .fab {
    display: none;
  }
  .footer-bottom { padding-right: 0; padding-bottom: 56px; }
}

@media (max-width: 430px) {
  .hero-badges {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .hero-badge {
    padding: 12px 8px;
    border-radius: 16px;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--border-soft);
    min-width: 0;
  }
  .hero-badge .num {
    font-size: 1.18rem;
    white-space: nowrap;
  }
  .hero-badge .lbl {
    margin-top: 4px;
    font-size: .68rem;
    line-height: 1.18;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
