/* ==========================================================
   PAVIA — CSS Premium Design System
   AEROCORP SpA © 2026
   ========================================================== */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:          #090909;
  --bg-2:        #111111;
  --bg-3:        #191919;
  --bg-4:        #222222;
  --amber:       #E8941A;
  --amber-lt:    #F5B240;
  --amber-dk:    #C47A12;
  --amber-glow:  rgba(232,148,26,.15);
  --amber-glow2: rgba(232,148,26,.08);
  --white:       #FFFFFF;
  --gray-1:      #E8E8E8;
  --gray-3:      #A0A0A0;
  --gray-5:      #606060;
  --gray-7:      #2A2A2A;
  --border:      rgba(255,255,255,.07);
  --border-a:    rgba(232,148,26,.25);
  --wa-green:    #25D366;
  --wa-dark:     #128C7E;
  --wa-header:   #075E54;
  --wa-msg-bg:   #DCF8C6;
  --wa-chat-bg:  #ECE5DD;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.5);
  --shadow-md:   0 4px 24px rgba(0,0,0,.6);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.7);
  --shadow-a:    0 0 40px rgba(232,148,26,.2);
  --tr:          .25s cubic-bezier(.4,0,.2,1);
  --tr-slow:     .45s cubic-bezier(.4,0,.2,1);
  --section-py:  clamp(72px,9vw,128px);
  --max-w:       1280px;
  --r-sm:        6px;
  --r-md:        12px;
  --r-lg:        20px;
  --r-xl:        32px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

/* ── Typography ─────────────────────────────────────────── */
h1 { font-size: clamp(2.4rem,5.5vw,4.5rem); font-weight: 900; line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem,3.5vw,3rem);   font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
h3 { font-size: clamp(1.1rem,2vw,1.4rem);   font-weight: 700; line-height: 1.3; }
p  { color: var(--gray-3); line-height: 1.7; }
.accent { color: var(--amber); }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px,4vw,48px);
}
.section-header {
  text-align: center;
  margin-bottom: clamp(40px,5vw,64px);
}
.section-header p { margin-top: 12px; font-size: 1.05rem; }
.section-header.light h2,
.section-header.light .section-tag { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.7); }
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .925rem;
  letter-spacing: .01em;
  transition: var(--tr);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--amber);
  color: #000;
}
.btn-primary:hover {
  background: var(--amber-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(232,148,26,.35);
}
.btn-secondary {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--border-a);
}
.btn-secondary:hover {
  background: var(--amber-glow);
  border-color: var(--amber);
}
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.2);
}
.btn-accent {
  background: var(--amber);
  color: #000;
  padding: 16px 36px;
  font-size: 1rem;
}
.btn-accent:hover {
  background: var(--amber-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,148,26,.4);
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-nav {
  background: var(--amber);
  color: #000;
  padding: 10px 20px;
  font-size: .875rem;
  font-weight: 700;
}
.btn-nav:hover { background: var(--amber-lt); }
/* Override nav-links a color for the CTA button */
.nav-links a.btn-nav,
.nav-links a.btn-nav:visited,
.nav-links a.btn-nav:hover,
.nav-links a.btn-nav:focus {
  color: #000 !important;
  background: var(--amber);
}
.nav-links a.btn-nav:hover { background: var(--amber-lt) !important; }

/* ── Navigation ─────────────────────────────────────────── */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.nav-header.scrolled {
  background: rgba(9,9,9,.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px,4vw,48px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; }
.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-3);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color var(--tr), background var(--tr);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--tr);
  transform-origin: center;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(9,9,9,.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0 24px;
  z-index: 899;
}
.nav-mobile ul { display: flex; flex-direction: column; }
.nav-mobile a {
  display: block;
  padding: 14px clamp(20px,4vw,48px);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-1);
  border-bottom: 1px solid var(--border);
  transition: color var(--tr), background var(--tr);
}
.nav-mobile a:hover { color: var(--amber); background: var(--amber-glow2); }
.nav-mobile.open { display: block; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(9,9,9,.92) 0%,
    rgba(9,9,9,.75) 50%,
    rgba(9,9,9,.4) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--amber-glow);
  border: 1px solid var(--border-a);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  animation: fadeInUp .6s ease both;
}
.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp .7s .1s ease both;
}
.hero-subtitle {
  font-size: clamp(.95rem,1.5vw,1.15rem);
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 36px;
  animation: fadeInUp .7s .2s ease both;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
  animation: fadeInUp .7s .3s ease both;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeInUp .7s .4s ease both;
}
.trust-item { display: flex; flex-direction: column; }
.trust-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}
.trust-label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--gray-3);
  margin-top: 2px;
}
.trust-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,.5);
  animation: bounce 2s infinite;
  transition: color var(--tr);
}
.hero-scroll:hover { color: var(--amber); }

/* ── Comparacion ────────────────────────────────────────── */
.comparacion {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.comp-card { display: flex; flex-direction: column; gap: 12px; }
.comp-image-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.comp-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.comp-card:hover .comp-image-wrap img { transform: scale(1.03); }
.comp-labels {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: stretch;
  height: 44px;
}
.comp-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.comp-label-before {
  background: rgba(0,0,0,.7);
  color: #E84040;
}
.comp-label-after {
  background: rgba(0,0,0,.7);
  color: var(--wa-green);
}
.comp-divider { width: 2px; background: var(--white); opacity: .3; }
.comp-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comp-caption strong {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}
.comp-caption span {
  font-size: .82rem;
  color: var(--gray-5);
}

/* ── Problema ───────────────────────────────────────────── */
.problema {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.problema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: center;
}
.problema-text .section-tag { margin-bottom: 12px; }
.problema-text h2 { margin-bottom: 20px; }
.problema-text > p { margin-bottom: 24px; }
.problema-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.problema-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray-1);
  font-size: .95rem;
}
.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--amber-glow);
  border: 1px solid var(--border-a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-top: 1px;
}
.problema-cta { display: flex; flex-direction: column; gap: 16px; }
.problema-cta p { color: var(--gray-1); font-size: 1rem; margin-bottom: 0; }
.problema-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: visible;
}
.problema-visual img {
  width: 100%;
  border-radius: var(--r-md);
  object-fit: cover;
  aspect-ratio: 3/4;
  filter: brightness(.9);
}
.problema-badge {
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: var(--amber);
  color: #000;
  padding: 16px 20px;
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-num { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.badge-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .8; margin-top: 2px; }

/* ── Servicios ──────────────────────────────────────────── */
.servicios {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.servicio-card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(28px,3vw,40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.servicio-card:hover {
  border-color: var(--border-a);
  box-shadow: var(--shadow-a);
  transform: translateY(-4px);
}
.servicio-card.featured {
  border-color: var(--border-a);
  background: linear-gradient(135deg, var(--bg-3) 0%, rgba(232,148,26,.05) 100%);
}
.servicio-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--amber);
  color: #000;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.servicio-icon {
  width: 56px;
  height: 56px;
  background: var(--amber-glow);
  border: 1px solid var(--border-a);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}
.servicio-card h3 { color: var(--white); }
.servicio-card > p { font-size: .93rem; }
.servicio-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.servicio-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--gray-3);
}
.servicio-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}
.servicio-precio {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.precio-desde { font-size: .75rem; color: var(--gray-5); }
.precio-valor { font-size: 2rem; font-weight: 900; color: var(--amber); }
.precio-unidad { font-size: .85rem; color: var(--gray-5); }
.servicio-nota {
  font-size: .82rem;
  color: var(--gray-5);
  text-align: center;
}

/* ── Galeria ─────────────────────────────────────────────── */
.galeria {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.galeria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.galeria-column { display: flex; flex-direction: column; gap: 16px; }
.galeria-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 0;
}
.galeria-item-large { aspect-ratio: 2/3; }
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .4s ease;
}
.galeria-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}
.galeria-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.galeria-item { aspect-ratio: 16/10; }
.galeria-item-large { aspect-ratio: unset; }
.galeria-item-texture img { object-position: center 60%; }

/* ── Proceso ─────────────────────────────────────────────── */
.proceso {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.proceso-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  counter-reset: paso;
}
.paso {
  position: relative;
  padding: 32px 24px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.paso:hover { border-color: var(--border-a); box-shadow: var(--shadow-a); }
.paso:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber);
  font-size: 1.2rem;
  z-index: 1;
}
.paso-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--amber);
  opacity: .3;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.paso-content h3 { color: var(--white); margin-bottom: 8px; }
.paso-content p { font-size: .875rem; }

/* ── Precios ─────────────────────────────────────────────── */
.precios {
  padding: var(--section-py) 0;
  background: var(--bg-3);
}
.precios-tabla {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.tabla-header {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr 1fr;
  background: rgba(232,148,26,.1);
  border-bottom: 1px solid var(--border-a);
}
.tabla-header [role="columnheader"] {
  padding: 16px 24px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
}
.tabla-row {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background var(--tr);
}
.tabla-row:last-child { border-bottom: none; }
.tabla-row:hover { background: rgba(255,255,255,.03); }
.tabla-row.featured-row {
  background: var(--amber-glow2);
  border-color: var(--border-a);
}
.tabla-row [role="cell"] {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .93rem;
  color: var(--gray-1);
}
.tabla-row [role="cell"] strong { color: var(--white); font-size: 1rem; }
.tabla-row [role="cell"] span { font-size: .75rem; color: var(--gray-5); }
.precios-nota {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 32px;
}
.precios-nota p { font-size: .875rem; color: var(--gray-3); }
.precios-nota strong { color: var(--white); }
.precios-cta { text-align: center; }

/* ── Garantia ────────────────────────────────────────────── */
.garantia {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}
.garantia-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.garantia-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  filter: saturate(.6);
}
.garantia-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,9,9,.96) 40%, rgba(9,9,9,.85) 100%);
}
.garantia-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(32px,5vw,64px);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-a);
  border-radius: var(--r-xl);
  padding: clamp(32px,4vw,56px);
  backdrop-filter: blur(8px);
}
.garantia-badge {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(232,148,26,.5);
}
.garantia-num { font-size: 2.8rem; font-weight: 900; color: #000; line-height: 1; }
.garantia-label { font-size: .65rem; font-weight: 800; color: #000; letter-spacing: .15em; }
.garantia-text { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.garantia-text h2 { color: var(--white); }
.garantia-text p { font-size: .93rem; }

/* ── Subterraneo ─────────────────────────────────────────── */
.subterraneo {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.subt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: center;
}
.subt-text .section-tag { margin-bottom: 12px; }
.subt-text h2 { margin-bottom: 20px; }
.subt-text > p { margin-bottom: 28px; }
.subt-features { display: flex; flex-direction: column; gap: 12px; }
.subt-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--gray-3);
}
.subt-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}
.subt-image img {
  border-radius: var(--r-lg);
  object-fit: cover;
  aspect-ratio: 2/3;
  width: 100%;
  filter: brightness(.9);
}

/* ── Zona ────────────────────────────────────────────────── */
.zona {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.zona-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.zona-item {
  padding: 14px 28px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--gray-1);
  transition: border-color var(--tr), color var(--tr), background var(--tr);
  cursor: default;
}
.zona-item:hover {
  border-color: var(--border-a);
  color: var(--amber);
  background: var(--amber-glow2);
}

/* ── CTA Banda ───────────────────────────────────────────── */
.cta-banda {
  padding: clamp(56px,6vw,80px) 0;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--white); }
.cta-text p { margin-top: 8px; }

/* ── Contacto ────────────────────────────────────────────── */
.contacto {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px,6vw,80px);
  align-items: start;
}
.contacto-info .section-tag { margin-bottom: 12px; }
.contacto-info h2 { margin-bottom: 12px; }
.contacto-info > p { margin-bottom: 28px; }
.contacto-datos { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contacto-datos li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .93rem;
  color: var(--gray-1);
}
.dato-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}
.contacto-datos a { color: var(--gray-1); transition: color var(--tr); }
.contacto-datos a:hover { color: var(--amber); }
.contacto-img img {
  border-radius: var(--r-md);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  filter: brightness(.85);
}

/* Form */
.contacto-form-wrapper {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(28px,3vw,40px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-3);
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: .93rem;
  color: var(--white);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-5); }
.form-group select option { background: var(--bg-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,148,26,.12);
  outline: none;
}
.form-group input.invalid,
.form-group select.invalid { border-color: #E84040; }
.form-group textarea { resize: vertical; min-height: 80px; }
.field-error { font-size: .77rem; color: #E84040; min-height: 1em; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--bg-3);
  cursor: pointer;
  accent-color: var(--amber);
  margin-top: 2px;
}
.form-check label { font-size: .82rem; color: var(--gray-3); cursor: pointer; line-height: 1.5; }
.form-submit { margin-top: 4px; }
.form-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  margin-top: 12px;
}
.form-message.success { background: rgba(37,211,102,.1); color: #25D366; border: 1px solid rgba(37,211,102,.25); }
.form-message.error   { background: rgba(232,64,64,.1); color: #E84040; border: 1px solid rgba(232,64,64,.25); }
.contacto-form-wrapper form { display: flex; flex-direction: column; gap: 16px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px clamp(20px,4vw,48px);
}
.footer-brand .logo-text { display: block; margin-bottom: 12px; }
.footer-brand p { font-size: .875rem; color: var(--gray-5); line-height: 1.6; margin-bottom: 12px; }
.footer-legal { font-size: .78rem; color: var(--gray-5); }
.footer-nav h3,
.footer-contact h3,
.footer-zona h3 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 16px;
}
.footer-nav ul,
.footer-contact ul,
.footer-zona ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a,
.footer-contact a { font-size: .875rem; color: var(--gray-5); transition: color var(--tr); }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--amber); }
.footer-zona li { font-size: .875rem; color: var(--gray-5); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom span { font-size: .8rem; color: var(--gray-5); }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { font-size: .8rem; color: var(--gray-5); transition: color var(--tr); }
.footer-bottom a:hover { color: var(--amber); }

/* ── WhatsApp Bot Widget ──────────────────────────────────── */
.bot-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--wa-green);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--tr), box-shadow var(--tr);
}
.bot-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.bot-notification {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 22px;
  height: 22px;
  background: #E84040;
  border-radius: 50%;
  border: 2px solid var(--bg);
  font-size: .7rem;
  font-weight: 800;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
}
.bot-notification.show {
  display: flex;
  animation: pulse 2s ease infinite;
}
.bot-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 360px;
  max-height: 580px;
  background: var(--wa-chat-bg);
  border-radius: var(--r-xl);
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp .3s ease both;
}
.bot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--wa-header);
}
.bot-avatar {
  width: 40px;
  height: 40px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.bot-header-info { flex: 1; }
.bot-header-info strong {
  display: block;
  color: white;
  font-size: .9rem;
  font-weight: 700;
}
.bot-status { font-size: .75rem; color: rgba(255,255,255,.75); }
.bot-close {
  padding: 6px;
  border-radius: 50%;
  opacity: .8;
  transition: opacity var(--tr), background var(--tr);
}
.bot-close:hover { opacity: 1; background: rgba(255,255,255,.1); }
.bot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}
.bot-messages::-webkit-scrollbar { width: 4px; }
.bot-messages::-webkit-scrollbar-track { background: transparent; }
.bot-messages::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 4px; }
.bot-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .875rem;
  line-height: 1.5;
  word-break: break-word;
  animation: fadeIn .25s ease both;
}
.bot-msg-bot {
  background: white;
  color: #111;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.bot-msg-user {
  background: var(--wa-msg-bg);
  color: #111;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.bot-msg strong { font-weight: 700; }
.bot-msg br { line-height: 1.8; }
.bot-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: white;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.bot-typing span {
  width: 7px;
  height: 7px;
  background: #aaa;
  border-radius: 50%;
  animation: typing 1.2s ease infinite;
}
.bot-typing span:nth-child(2) { animation-delay: .2s; }
.bot-typing span:nth-child(3) { animation-delay: .4s; }
.bot-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0,0,0,.04);
  border-top: 1px solid rgba(0,0,0,.08);
}
.bot-option {
  background: white;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 20px;
  padding: 9px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--wa-dark);
  cursor: pointer;
  text-align: left;
  transition: background .15s, border-color .15s, color .15s;
}
.bot-option:hover {
  background: var(--wa-header);
  color: white;
  border-color: var(--wa-header);
}
.bot-option.action-wa {
  background: var(--wa-green);
  color: white;
  border-color: var(--wa-green);
}
.bot-option.action-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.bot-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: white;
  border-top: 1px solid rgba(0,0,0,.1);
}
.bot-input {
  flex: 1;
  background: #f0f0f0;
  border: none;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: .875rem;
  color: #111;
  outline: none;
}
.bot-input:focus { background: #e8e8e8; }
.bot-send {
  width: 38px;
  height: 38px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
}
.bot-send:hover { background: var(--wa-dark); }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,64,64,.6); }
  50%       { box-shadow: 0 0 0 8px rgba(232,64,64,0); }
}
@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50%       { transform: translateY(-4px); opacity: 1; }
}

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .proceso-steps { grid-template-columns: repeat(2,1fr); }
  .paso:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .comp-grid    { grid-template-columns: 1fr; }
  .problema-grid { grid-template-columns: 1fr; }
  .problema-visual { order: -1; }
  .problema-badge { right: 16px; }
  .servicios-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-item-large { aspect-ratio: 16/9; }
  .proceso-steps { grid-template-columns: 1fr; }
  .paso::after { display: none; }
  .tabla-header,
  .tabla-row { grid-template-columns: 1.2fr 1.2fr 1.2fr .8fr; }
  .tabla-header [role="columnheader"],
  .tabla-row [role="cell"] { padding: 12px 14px; font-size: .82rem; }
  .subt-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .cta-content { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .bot-window { width: calc(100vw - 32px); right: 16px; bottom: 88px; }
  .garantia-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-trust { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .tabla-header [role="columnheader"]:nth-child(3),
  .tabla-row [role="cell"]:nth-child(3) { display: none; }
  .tabla-header,
  .tabla-row { grid-template-columns: 1.2fr 1.2fr .8fr; }
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq {
  padding: var(--section-py) 0;
  background: var(--bg-2);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--tr);
}
.faq-item[open] {
  border-color: var(--border-a);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  color: var(--gray-1);
  transition: color var(--tr);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform var(--tr);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary { color: var(--white); }
.faq-body {
  padding: 0 24px 20px;
}
.faq-body p { font-size: .9rem; line-height: 1.7; }
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}
