:root {
  --blue: #002B5C;
  --blue-2: #073d7d;
  --orange: #E86C00;
  --orange-2: #ff8a1f;
  --cream: #F5E6C8;
  --white: #fff;
  --gray: #F2F2F2;
  --text: #333333;
  --muted: #64748b;
  --green: #23b35f;
  --shadow: 0 24px 70px rgba(0, 43, 92, 0.18);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--blue); color: white; padding: 10px 14px; border-radius: 10px; z-index: 1000; }
.skip-link:focus { left: 10px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0, 43, 92, 0.12);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: url('assets/favicon-48.png') center/contain no-repeat;
}
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: var(--blue); font-family: Montserrat, Inter, sans-serif; font-size: 1.15rem; letter-spacing: -0.03em; }
.brand-copy small { color: var(--muted); font-size: 0.875rem; font-weight: 700; }
.desktop-nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; color: var(--blue); align-items: center; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.desktop-nav a:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.phone-link { color: var(--blue); font-weight: 900; white-space: nowrap; }
.phone-link:hover { color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 14px 34px rgba(232, 108, 0, .34); }
.btn-whatsapp { color: white; background: var(--green); box-shadow: 0 14px 30px rgba(35, 179, 95, .25); }
.btn-ghost { color: white; border: 2px solid rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.btn-outline { color: var(--blue); background: white; border: 2px solid rgba(0,43,92,.14); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-secondary { background: var(--blue); color: white; }
.btn-large { padding: 15px 24px; font-size: 1.02rem; }

.hero {
  position: relative;
  min-height: 790px;
  padding: 148px 0 80px;
  overflow: hidden;
  color: white;
}
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-bg {
  background-image: url('assets/camion-gas-sur-definitivo.webp');
  background-size: cover;
  background-position: 54% center;
  transform: scale(1.02);
}
.hero-overlay {
  background:
    radial-gradient(circle at 82% 22%, rgba(232,108,0,.28), transparent 34%),
    linear-gradient(90deg, rgba(0,43,92,.96) 0%, rgba(0,43,92,.82) 42%, rgba(0,43,92,.38) 74%, rgba(0,43,92,.08) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.2));
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) 390px; gap: clamp(28px, 6vw, 76px); align-items: center; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .14em; font-size: 0.875rem; font-weight: 900; margin: 0 0 12px; }
.hero .eyebrow { color: var(--cream); }
h1, h2, h3 { font-family: Montserrat, Inter, sans-serif; line-height: 1.05; margin: 0; color: var(--blue); letter-spacing: -0.045em; }
.hero h1 { max-width: 780px; color: white; font-size: clamp(2.25rem, 4.2vw, 3.25rem); }
.tagline { display: inline-block; margin: 20px 0 0; color: var(--cream); font-weight: 900; font-size: clamp(1.15rem, 1.8vw, 1.5rem); text-shadow: 0 2px 20px rgba(0,0,0,.28); }
.hero-lead { max-width: 650px; color: rgba(255,255,255,.92); font-size: 1.18rem; margin: 20px 0 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.trust-row span { padding: 10px 13px; border-radius: 999px; color: white; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(8px); font-weight: 800; font-size: .92rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.lead-card {
  background: rgba(255,255,255,.96);
  color: var(--text);
  border-radius: 32px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.8);
}
.lead-card-header h2 { font-size: 2rem; margin-top: 8px; }
.lead-card-header p { color: var(--muted); margin: 10px 0 20px; }
.mini-badge { display: inline-flex; color: var(--blue); background: var(--cream); border-radius: 999px; font-size: 0.875rem; font-weight: 900; padding: 7px 11px; }
.lead-form { display: grid; gap: 12px; }
.lead-form label { color: var(--blue); font-weight: 900; }
.lead-form input, .lead-form select, .mobile-sticky-form input {
  width: 100%;
  border: 2px solid #d9e4ef;
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  background: white;
}
.lead-form input:focus, .lead-form select:focus, .mobile-sticky-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,108,0,.12); }
.required { color: var(--orange); margin-left: 2px; }
.form-note { color: var(--muted); font-size: 0.875rem; margin: 0; }

/* Geo button (compartir ubicación) */
.geo-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 16px;
  border: 2px dashed rgba(0,43,92,.28);
  background: rgba(0,43,92,.04);
  color: var(--blue);
  font-weight: 800;
  font-size: .98rem;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.geo-button:hover { border-color: var(--orange); color: var(--orange); background: rgba(232,108,0,.06); transform: translateY(-1px); }
.geo-button:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(232,108,0,.18); }
.geo-button[disabled] { cursor: progress; opacity: .92; }
.geo-button[data-state="loading"] { border-style: solid; border-color: var(--orange); color: var(--orange); background: rgba(232,108,0,.08); }
.geo-button[data-state="success"] { border-style: solid; border-color: var(--green); color: white; background: var(--green); }
.geo-button[data-state="error"] { border-style: solid; border-color: #c0392b; color: white; background: #c0392b; }
.geo-button[data-state="unsupported"] { display: none; }

.geo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,43,92,.12);
  color: inherit;
  font-size: .9rem;
  transition: background .18s ease;
}
.geo-button[data-state="loading"] .geo-icon { animation: geo-spin 1s linear infinite; }
.geo-button[data-state="success"] .geo-icon,
.geo-button[data-state="error"] .geo-icon { background: rgba(255,255,255,.22); }
@keyframes geo-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-light { background: var(--gray); }
.section-heading { margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.section-heading p:not(.eyebrow) { color: var(--muted); max-width: 640px; margin: 12px 0 0; font-size: 1.05rem; }
.section-heading.split { display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.section-heading.centered { text-align: center; display: grid; justify-items: center; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  position: relative;
  display: grid;
  gap: 14px;
  background: white;
  border: 1px solid rgba(0,43,92,.1);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 18px 46px rgba(0,43,92,.08);
}
.product-card h3 { font-size: 1.45rem; }
.product-card p { color: var(--muted); margin: 0; }
.product-card strong { color: var(--blue); font-size: 1.1rem; }
.product-card.featured { border: 2px solid var(--orange); transform: translateY(-10px); box-shadow: 0 24px 60px rgba(232,108,0,.22); }
.popular { position: absolute; top: -13px; right: 18px; color: white; background: var(--orange); border-radius: 999px; padding: 6px 12px; font-size: 0.875rem; font-weight: 900; }
.cylinder-icon { width: 86px; height: 118px; display: grid; place-items: center; align-content: center; border-radius: 26px 26px 18px 18px; background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: white; font-family: Montserrat, Inter, sans-serif; font-size: 2.05rem; font-weight: 900; box-shadow: inset 0 12px 20px rgba(255,255,255,.18), 0 18px 36px rgba(232,108,0,.2); }
.cylinder-icon span { display: block; font-size: .9rem; margin-top: -4px; }

.benefits-section { background: linear-gradient(180deg, white, #fff8ef); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefits-grid article { background: white; border-radius: var(--radius); padding: 26px; border: 1px solid rgba(0,43,92,.08); box-shadow: 0 16px 42px rgba(0,43,92,.07); }
.benefits-grid span { font-size: 2rem; display: inline-block; margin-bottom: 12px; }
.benefits-grid h3 { font-size: 1.375rem; }
.benefits-grid p { margin-bottom: 0; color: var(--muted); }

.testimonial-shell { overflow: hidden; }
.testimonial-track { display: grid; grid-template-columns: repeat(4, minmax(260px, 1fr)); gap: 18px; transition: transform .35s ease; }
.testimonial-card { background: white; border-radius: var(--radius); padding: 24px; border: 1px solid rgba(0,43,92,.09); box-shadow: 0 16px 42px rgba(0,43,92,.07); }
.testimonial-card p { color: var(--text); font-size: 1.05rem; }
.testimonial-card strong, .testimonial-card span { display: block; }
.testimonial-card strong { color: var(--blue); }
.testimonial-card span { color: var(--muted); }
.avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: var(--blue); background: var(--cream); }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--blue); color: white; font-size: 1.6rem; cursor: pointer; }
.placeholder-note { color: var(--muted); margin: 18px 0 0; }

.alliances-section { background: white; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-grid div { min-height: 100px; display: grid; place-items: center; border: 2px dashed rgba(0,43,92,.18); border-radius: 22px; color: var(--blue); background: #fbfdff; font-weight: 900; text-align: center; }
.payment-section { padding-top: 0; background: white; }
.payment-card { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 34px; border-radius: 32px; color: white; background: linear-gradient(135deg, var(--blue), #001a37); box-shadow: var(--shadow); }
.payment-card h2 { color: white; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.payment-card p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.82); }
.payment-card .eyebrow { color: var(--cream); }

.site-footer { background: var(--blue); color: white; padding: 58px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand .brand-copy strong, .footer-brand .brand-copy small { color: white; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--cream); }
.site-footer h3 { color: white; font-size: 1.1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.privacy-note { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 22px; }
.credits-note { text-align: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.875rem; color: rgba(255,255,255,.55); }
.credits-note a { color: var(--cream); font-weight: 700; }
.credits-note a:hover { color: var(--orange); text-decoration: underline; }

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 60;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 1.85rem;
  box-shadow: 0 16px 44px rgba(35,179,95,.45);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(35,179,95,.42), 0 16px 44px rgba(35,179,95,.45); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 16px rgba(35,179,95,0), 0 18px 48px rgba(35,179,95,.55); }
}
.mobile-sticky-form { display: none; }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .header-actions .btn-whatsapp { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .lead-card { max-width: 520px; }
  .product-grid, .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .site-header { min-height: 70px; padding: 10px 14px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .brand-copy small, .phone-link, .header-actions .btn-primary { display: none; }
  .hero { min-height: auto; padding: 118px 0 34px; }
  .hero-bg { background-position: 61% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(0,43,92,.97), rgba(0,43,92,.76)), linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.2)); }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .trust-row span { border-radius: 16px; width: 100%; }
  .lead-card { display: none; }
  .section { padding: 3rem 0; }
  .section-heading.split, .payment-card { display: grid; align-items: start; }
  .product-grid, .benefits-grid, .logo-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-card.featured { transform: none; }
  .testimonial-track { grid-template-columns: 1fr; }
  .testimonial-card { display: none; }
  .testimonial-card.active { display: block; }
  .floating-whatsapp { bottom: 92px; right: 16px; width: 58px; height: 58px; }
  .mobile-sticky-form {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 36px rgba(0,43,92,.22);
    border: 1px solid rgba(0,43,92,.1);
  }
  .mobile-sticky-form input { padding: 12px; border-radius: 14px; }
  .mobile-sticky-form button { border: 0; border-radius: 14px; background: var(--orange); color: white; font-weight: 900; padding: 0 14px; }
  body { padding-bottom: 84px; }
}

/* ─── Transversal: objetivo táctil mínimo 44px ─── */
button, .btn, input[type="submit"], input[type="button"] { min-height: 44px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea { min-height: 44px; }
a[href^="tel:"], a[href^="mailto:"], a[href^="https://wa.me"], a[href*="api.whatsapp"] { display: inline-flex; align-items: center; min-height: 44px; }
footer li a, .site-footer li a, .footer__col a, .footer-col a { display: inline-flex; align-items: center; min-height: 44px; }

.brand { min-height: 44px; }
/* ─── Transversal: ancho de línea legible (~68 caracteres) ─── */
.section-heading p:not(.eyebrow), .placeholder-note { max-width: 68ch; }
.section-heading.centered p:not(.eyebrow) { margin-inline: auto; }
.privacy-note p { max-width: 68ch; }
