/* Verano Instalaciones — Industrial Premium */
:root {
  --azul-tecnico: #0F172A;
  --azul-accent: #1E40AF;
  --azul-claro: #2E7BC9;
  --naranja: #F97316;
  --naranja-osc: #C2410C;
  --blanco: #FFFFFF;
  --gris-claro: #F3F4F6;
  --gris-medio: #E5E7EB;
  --gris-grafito: #374151;
  --tinta: #0F172A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--tinta);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
a { color: var(--azul-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--naranja); }
img, video { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-medio);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: .75rem; }
.logo img { height: 44px; }
.logo-text { font-family: 'Montserrat'; font-weight: 800; color: var(--azul-tecnico); font-size: 1.1rem; line-height: 1; }
.logo-text small { display: block; font-size: .65rem; font-weight: 500; color: var(--gris-grafito); letter-spacing: .15em; margin-top: 4px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--tinta); font-weight: 500; font-size: .95rem; }
.nav-cta {
  background: var(--naranja); color: var(--blanco) !important;
  padding: .65rem 1.1rem; border-radius: 8px; font-weight: 600;
  display: flex; align-items: center; gap: .4rem;
}
.nav-cta:hover { background: var(--naranja-osc); color: var(--blanco) !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.menu-toggle svg { width: 28px; height: 28px; stroke: var(--azul-tecnico); }

/* HERO */
.hero {
  position: relative; min-height: 88vh;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--blanco); overflow: hidden;
  display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(249,115,22,.15), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(30,64,175,.20), transparent 50%);
}
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 6rem 1.5rem 4rem; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(249,115,22,.15); color: var(--naranja);
  padding: .4rem 1rem; border-radius: 100px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; max-width: 900px;
  margin-bottom: 1.5rem;
}
.hero h1 strong { color: var(--naranja); font-weight: 900; }
.hero-sub { font-size: 1.15rem; max-width: 700px; color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.hero-services { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; max-width: 800px; }
.hero-services span { background: rgba(255,255,255,.1); padding: .4rem .8rem; border-radius: 6px; font-size: .85rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 10px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: all .2s; border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--naranja); color: var(--blanco); }
.btn-primary:hover { background: var(--naranja-osc); color: var(--blanco); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(249,115,22,.3); }
.btn-outline { background: transparent; color: var(--blanco); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--blanco); }
.btn-ghost { background: transparent; color: var(--azul-tecnico); }
.btn-ghost:hover { background: var(--gris-claro); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; max-width: 700px; }
.hero-stat strong { display: block; font-size: 2.5rem; font-family: 'Montserrat'; font-weight: 900; color: var(--naranja); }
.hero-stat span { font-size: .85rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .05em; }

/* SECTIONS */
section { padding: 5rem 1.5rem; }
section.alt { background: var(--gris-claro); }
.section-head { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.section-eyebrow { color: var(--naranja); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; color: var(--azul-tecnico); }
.section-head p { color: var(--gris-grafito); font-size: 1.1rem; }

/* Servicios cards */
.grid-servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.card-servicio {
  background: var(--blanco); border: 1px solid var(--gris-medio);
  border-radius: 16px; padding: 2rem; transition: all .3s;
  display: flex; flex-direction: column;
}
.card-servicio:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15,23,42,.1); border-color: var(--naranja); }
.card-servicio .icono { width: 56px; height: 56px; background: linear-gradient(135deg, var(--naranja), var(--naranja-osc)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.card-servicio .icono svg { width: 28px; height: 28px; stroke: var(--blanco); }
.card-servicio h3 { font-size: 1.3rem; color: var(--azul-tecnico); margin-bottom: .75rem; }
.card-servicio p { color: var(--gris-grafito); margin-bottom: 1.25rem; flex: 1; }
.card-servicio .link { color: var(--naranja); font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .3rem; }

/* Por qué Verano */
.razones { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.razon { text-align: left; }
.razon-num { display: inline-block; background: var(--azul-tecnico); color: var(--naranja); width: 44px; height: 44px; border-radius: 50%; line-height: 44px; text-align: center; font-weight: 800; margin-bottom: 1rem; }
.razon h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--azul-tecnico); }
.razon p { color: var(--gris-grafito); font-size: .95rem; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--azul-tecnico) 0%, #1E293B 100%);
  color: var(--blanco); padding: 4rem 1.5rem; text-align: center;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.cta-banner p { margin-bottom: 2rem; opacity: .85; max-width: 600px; margin-left: auto; margin-right: auto; }

/* FOOTER */
.footer { background: #020617; color: rgba(255,255,255,.7); padding: 4rem 1.5rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: var(--blanco); font-size: 1rem; margin-bottom: 1.25rem; font-family: 'Montserrat'; }
.footer ul { list-style: none; }
.footer li { margin-bottom: .5rem; }
.footer a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer a:hover { color: var(--naranja); }
.footer-brand img { height: 50px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-bottom { max-width: 1200px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

/* FORM */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 600px; margin: 0 auto; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: .85rem 1rem;
  border: 1px solid var(--gris-medio); border-radius: 10px;
  font-family: inherit; font-size: 1rem; transition: border .2s;
}
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--naranja); }
.form-grid label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--gris-grafito); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4); z-index: 50;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* MOBILE */
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--blanco); flex-direction: column; padding: 1rem 1.5rem; border-bottom: 1px solid var(--gris-medio); gap: .5rem; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
}

/* ── Subpáginas servicio ──────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--azul-tecnico) 0%, #1E293B 100%); color: white; padding: 7rem 1.5rem 4rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; top: 0; right: 0; width: 60%; height: 100%; background: radial-gradient(circle at 70% 30%, rgba(249,115,22,.15), transparent 60%); pointer-events: none; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--naranja); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.page-hero h1 strong { color: var(--naranja); font-weight: 900; }
.page-hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 720px; line-height: 1.6; }

.bloque { padding: 4rem 1.5rem; }
.bloque.alt { background: var(--gris-claro); }
.bloque-inner { max-width: 1200px; margin: 0 auto; }
.bloque h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.bloque > .bloque-inner > p, .bloque-inner > .lead { font-size: 1.05rem; color: var(--gris-grafito); margin-bottom: 2rem; max-width: 800px; }

.dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.dos-columnas .imagen { background: var(--gris-medio); border-radius: 12px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--gris-grafito); font-style: italic; }

.lista-checks { list-style: none; padding: 0; }
.lista-checks li { padding: .75rem 0 .75rem 2rem; position: relative; border-bottom: 1px solid var(--gris-medio); }
.lista-checks li::before { content: '✓'; position: absolute; left: 0; top: .75rem; width: 1.4rem; height: 1.4rem; background: var(--naranja); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; }
.lista-checks li:last-child { border-bottom: none; }

.sub-servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.sub-servicio { background: white; border: 1px solid var(--gris-medio); border-radius: 10px; padding: 1.5rem; transition: all .2s; }
.sub-servicio:hover { border-color: var(--naranja); box-shadow: 0 4px 16px rgba(249,115,22,.12); }
.sub-servicio h3 { font-size: 1.15rem; color: var(--azul-tecnico); margin-bottom: .5rem; }
.sub-servicio p { color: var(--gris-grafito); font-size: .95rem; }

.faq-item { background: white; border: 1px solid var(--gris-medio); border-radius: 8px; margin-bottom: .75rem; }
.faq-item summary { padding: 1.1rem 1.5rem; cursor: pointer; font-weight: 600; color: var(--azul-tecnico); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--naranja); transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .respuesta { padding: 0 1.5rem 1.25rem; color: var(--gris-grafito); }

.tabla-comparativa { width: 100%; border-collapse: collapse; margin: 2rem 0; background: white; }
.tabla-comparativa th, .tabla-comparativa td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--gris-medio); }
.tabla-comparativa th { background: var(--azul-tecnico); color: white; font-weight: 600; }
.tabla-comparativa tr:hover { background: var(--gris-claro); }
.tabla-comparativa .check { color: #10B981; font-weight: 700; }
.tabla-comparativa .cross { color: #EF4444; font-weight: 700; }

.alerta { background: #FEF3C7; border-left: 4px solid #F59E0B; padding: 1.25rem 1.5rem; border-radius: 6px; margin: 2rem 0; }
.alerta strong { color: #92400E; }

@media (max-width: 768px) {
  .dos-columnas { grid-template-columns: 1fr; gap: 1.5rem; }
  .page-hero { padding: 6rem 1.5rem 3rem; }
}
