:root {
  --blue: #132A3E;
  --steel: #6B7280;
  --bg: #F3F6F8;
  --green: #16A34A;
  --white: #FFFFFF;
  --ink: #1F2933;
  --line: rgba(19, 42, 62, 0.12);
  --shadow: 0 18px 45px rgba(19, 42, 62, 0.13);
  --radius: 8px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, ul, ol { margin-top: 0; }
ul, ol { padding-left: 1.25rem; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--blue); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(19,42,62,.08); backdrop-filter: blur(16px); }
.nav-wrap { width: min(calc(100% - 32px), var(--wrap)); min-height: 86px; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-logo { width: 74px; height: 58px; object-fit: contain; padding: 4px; background: var(--white); border-radius: var(--radius); }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { color: var(--blue); font-weight: 800; font-size: .98rem; }
.brand-sub { color: var(--steel); font-size: .74rem; font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--blue); font-size: 1.45rem; cursor: pointer; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 42px; padding: .65rem .85rem; border-radius: 999px; color: var(--blue); font-weight: 700; font-size: .92rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(19,42,62,.08); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .82rem 1.15rem; border: 1px solid transparent; border-radius: 999px; font-weight: 800; line-height: 1.1; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 14px 28px rgba(19,42,62,.18); }
.btn-whatsapp { background: var(--green); color: var(--white); box-shadow: 0 14px 28px rgba(22,163,74,.22); }
.btn-outline { border-color: var(--line); color: var(--blue); background: var(--white); }
.wa-icon { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; fill: currentColor; }
.header-cta { margin-left: 8px; white-space: nowrap; }
.floating-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; min-height: 58px; padding: .95rem 1.1rem; box-shadow: 0 18px 40px rgba(22,163,74,.34); }
.floating-wa .wa-icon { width: 1.45rem; height: 1.45rem; }
.section, .hero, .page-hero { position: relative; }
.wrap { width: min(calc(100% - 32px), var(--wrap)); margin: 0 auto; }
.hero { min-height: 720px; display: grid; align-items: center; color: var(--white); overflow: hidden; background: var(--blue); }
.hero-media, .page-hero-media { position: absolute; inset: 0; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(19,42,62,.92), rgba(19,42,62,.72) 46%, rgba(19,42,62,.28)); }
.hero-content, .page-hero-content { position: relative; z-index: 2; max-width: 790px; padding: 92px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; color: #DDE7EF; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 999px; background: var(--green); }
h1, h2, h3 { margin: 0; color: var(--blue); line-height: 1.12; letter-spacing: 0; }
.hero h1, .page-hero h1 { color: var(--white); font-size: clamp(2.45rem, 5vw, 5rem); }
.hero p, .page-hero p { max-width: 720px; margin: 1.1rem 0 0; color: #E6EDF2; font-size: clamp(1rem, 1.7vw, 1.25rem); }
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 680px; margin-top: 2.3rem; }
.metric { padding: 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.08); }
.metric strong { display: block; color: var(--white); font-size: 1.5rem; }
.metric span { color: #DDE7EF; font-size: .86rem; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-white { background: var(--white); }
.section-blue { background: var(--blue); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }
.section-blue p, .section-blue li { color: #DDE7EF; }
.section-head { display: grid; gap: 1rem; max-width: 820px; margin-bottom: 2.1rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.85rem, 3vw, 3rem); }
.section-head p { margin: 0; color: var(--steel); font-size: 1.05rem; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 36px rgba(19,42,62,.08); overflow: hidden; }
.card-body { padding: clamp(22px, 3vw, 30px); }
.card h3 { margin-bottom: .75rem; font-size: 1.22rem; }
.card p, .card li { color: var(--steel); }
.card p:last-child { margin-bottom: 0; }
.image-card img, .product-card img { width: 100%; height: 240px; object-fit: cover; background: var(--bg); }
.product-card { display: flex; flex-direction: column; }
.product-card .card-body { flex: 1; }
.split { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 34px; align-items: center; }
.split-media { min-height: 470px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.panel { padding: clamp(26px, 4vw, 46px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.values-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.values-list li { padding-left: 1.7rem; position: relative; }
.values-list li::before { content: ""; position: absolute; left: 0; top: .62rem; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.info-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.info-item { padding: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); }
.info-item span { display: block; color: #B9C7D3; font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.info-item strong, .info-item a { display: block; margin-top: .3rem; color: var(--white); font-size: 1rem; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 28px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.stat strong { display: block; color: var(--green); font-size: 2.25rem; line-height: 1; }
.testimonial { padding: 28px; border-left: 4px solid var(--green); }
.testimonial blockquote { margin: 0; color: var(--ink); font-weight: 600; }
.testimonial cite { display: block; margin-top: 1rem; color: var(--steel); font-style: normal; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 26px rgba(19,42,62,.06); }
.faq summary { cursor: pointer; padding: 20px 24px; color: var(--blue); font-weight: 800; }
.faq details p { padding: 0 24px 22px; color: var(--steel); }
.contact-grid { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 0; }
.contact-list div { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-list dt { color: var(--steel); font-weight: 800; font-size: .84rem; text-transform: uppercase; }
.contact-list dd { margin: .25rem 0 0; color: var(--blue); font-weight: 700; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; color: var(--blue); font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: .95rem 1rem; font: inherit; color: var(--ink); background: #F9FBFC; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.map-frame { min-height: 330px; display: grid; place-items: center; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, #E8EEF3, #FFFFFF); color: var(--steel); text-align: center; }
.site-footer { background: #0E2133; color: #DDE7EF; padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 34px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer p { color: #C7D3DC; margin-bottom: .65rem; }
.footer-logo { width: 132px; height: auto; margin-bottom: 1rem; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #AEBECB; font-size: .9rem; }
.page-hero { min-height: 430px; display: grid; align-items: end; overflow: hidden; background: var(--blue); }
.page-hero-content { padding: 96px 0 72px; }
.compact-hero { min-height: 360px; }
.pricing-note { border-left: 4px solid var(--green); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { position: fixed; inset: 86px 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 8px; padding: 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  body.menu-open .site-nav { display: flex; }
  .site-nav a, .site-nav .btn { justify-content: center; width: 100%; }
  .header-cta { display: none; }
  .grid-3, .grid-2, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .info-strip, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 620px; }
}
@media (max-width: 640px) {
  .nav-wrap { min-height: 78px; }
  .brand { min-width: 0; }
  .brand-logo { width: 58px; height: 48px; }
  .brand-sub { display: none; }
  .site-nav { inset: 78px 0 auto 0; }
  .hero { min-height: 590px; }
  .hero-content, .page-hero-content { padding: 72px 0; }
  .hero-metrics, .info-strip, .stats { grid-template-columns: 1fr; }
  .split-media, .split-media img { min-height: 320px; }
  .image-card img, .product-card img { height: 220px; }
  .floating-wa { right: 14px; bottom: 14px; min-height: 54px; padding: .85rem .95rem; font-size: .92rem; }
}


/* Ajustes de contenido comercial y cotización */
.quote-steps .card-body { min-height: 220px; }
.image-card img[src*="placeholders"],
.product-card img[src*="placeholders"] { object-fit: cover; background: #F3F6F8; }
.section-actions + .image-requirements { margin-top: 24px; }
.image-requirements { color: var(--steel); font-size: .95rem; }
/* Mejoras de conversión, mapa y cotización */
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.conversion-cta .panel { border-left: 5px solid var(--green); }
.quote-checklist .checklist-card { min-height: 100%; }
.checklist-card .card-body { display: flex; flex-direction: column; gap: 12px; }
.check-icon { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(22,163,74,.12); color: var(--green); font-weight: 800; font-size: 1.3rem; }
.mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.mini-grid article { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.mini-grid h3 { font-size: 1rem; margin-bottom: 8px; }
.map-section { background: var(--bg); }
.map-card { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); aspect-ratio: 16 / 9; min-height: 320px; }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 980px) {
  .grid-4, .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .grid-4, .mini-grid { grid-template-columns: 1fr; }
  .map-card { aspect-ratio: 4 / 3; min-height: 280px; }
}