:root {
  --lime: #a8cf45;
  --lime-bright: #b6db54;
  --olive: #718d35;
  --forest: #17382f;
  --forest-2: #0e2822;
  --ink: #17201d;
  --muted: #5d6763;
  --paper: #f5f6f1;
  --white: #ffffff;
  --line: #dfe4dc;
  --shadow: 0 20px 60px rgba(8, 31, 25, .16);
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 16px; transform: translateY(-160%); background: var(--white); padding: 10px 16px; }
.skip-link:focus { transform: translateY(0); }

.topbar { background: var(--forest-2); color: #d9e5df; font-size: .82rem; letter-spacing: .02em; }
.topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar a { color: var(--lime-bright); text-decoration: none; font-weight: 700; }

.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid rgba(23, 56, 47, .08); }
.nav-wrap { min-height: 96px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 92px; height: 78px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a, .main-nav button { border: 0; text-decoration: none; color: #2f3d38; font-size: 1rem; font-weight: 750; background: transparent; cursor: pointer; }
.main-nav a:not(.nav-cta):hover, .main-nav button:not(.nav-cta):hover { color: var(--olive); }
.nav-cta { padding: 13px 19px; background: var(--lime) !important; color: #10211b !important; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 9px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--forest); margin: 5px 0; }

.hero { position: relative; min-height: 690px; overflow: hidden; background: var(--forest-2); color: var(--white); display: grid; align-items: center; }
.hero__video, .hero__image, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video, .hero__image { object-fit: cover; object-position: center; }
.hero__video { z-index: 0; background: var(--forest-2); }
.hero__image { z-index: 0; opacity: 1; transition: opacity .4s ease; }
.hero.has-video .hero__image { opacity: 0; }
.hero__shade { background: linear-gradient(90deg, rgba(5, 20, 17, .92) 0%, rgba(5, 20, 17, .78) 38%, rgba(5, 20, 17, .2) 72%, rgba(5, 20, 17, .06) 100%); }
.hero::after { content: ""; position: absolute; right: -90px; bottom: -140px; width: 360px; height: 360px; border: 80px solid rgba(168, 207, 69, .18); border-radius: 50%; }
.hero__content { position: relative; z-index: 2; padding-block: 80px; }
.eyebrow { margin: 0 0 18px; color: var(--lime-bright); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 850; }
.eyebrow--dark { color: var(--olive); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 6.4vw, 5.9rem); line-height: .97; letter-spacing: -.055em; text-wrap: balance; }
.hero__lead { max-width: 650px; margin: 26px 0 0; color: #e6ece8; font-size: clamp(1.05rem, 1.5vw, 1.24rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__phone { margin: 14px 0 0; color: #d9e7e1; font-size: .94rem; }
.hero__phone strong { color: var(--lime-bright); white-space: nowrap; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; padding: 14px 23px; text-decoration: none; font-weight: 850; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--lime); color: #13211c; }
.button--primary:hover { background: var(--lime-bright); }
.button--ghost { border-color: rgba(255,255,255,.48); color: var(--white); background: rgba(255,255,255,.04); }
.button--ghost:hover { background: var(--white); color: var(--forest); }
.button--swap { position: relative; min-width: 230px; overflow: hidden; }
.button--swap span { transition: opacity .16s ease, transform .16s ease; }
.button-label-hover { position: absolute; inset: 0; display: grid; place-items: center; padding: inherit; opacity: 0; transform: translateY(8px); }
.button--swap:hover .button-label-default, .button--swap:focus-visible .button-label-default { opacity: 0; transform: translateY(-8px); }
.button--swap:hover .button-label-hover, .button--swap:focus-visible .button-label-hover { opacity: 1; transform: translateY(0); }
.button--glass { border-color: rgba(255,255,255,.36); color: var(--white); background: rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.button--glass:hover { background: rgba(255,255,255,.24); }
.hero__proof { margin: 52px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0; }
.hero__proof li { min-width: 180px; padding: 0 34px; border-left: 1px solid rgba(255,255,255,.25); display: grid; }
.hero__proof li:first-child { padding-left: 0; border-left: 0; }
.hero__proof strong { font-size: 1.04rem; color: var(--white); font-variant-numeric: tabular-nums; }
.hero__proof span { color: #b9c6c1; font-size: .86rem; }

.lead-band { position: relative; background: var(--paper); padding: 86px 0; }
.lead-band::before { content: ""; position: absolute; top: 0; left: 0; width: 32%; height: 8px; background: var(--lime); }
.lead-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; align-items: start; }
.lead-copy h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -.045em; }
.lead-copy p:last-child { color: var(--muted); max-width: 450px; }
.lead-action-card { display: grid; grid-template-columns: 44px 1fr; gap: 12px 14px; align-items: center; padding: 30px; background: var(--white); border-top: 5px solid var(--forest); box-shadow: var(--shadow); }
.lead-action-card > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--lime); font-weight: 900; }
.lead-action-card p { margin: 0; color: #35443f; font-weight: 750; }
.lead-action-card .button { grid-column: 1 / -1; margin-top: 10px; }
.quick-form { background: var(--white); border-top: 5px solid var(--forest); padding: 30px; box-shadow: var(--shadow); }
.quick-form fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-choice { position: relative; }
.service-choice input { position: absolute; opacity: 0; pointer-events: none; }
.service-choice span { min-height: 56px; display: flex; align-items: center; padding: 12px 15px; border: 1px solid var(--line); font-weight: 750; cursor: pointer; transition: border-color .18s, background .18s; }
.service-choice input:checked + span { border-color: var(--olive); background: #f0f6e2; box-shadow: inset 4px 0 0 var(--lime); }
.service-choice input:focus-visible + span { outline: 3px solid rgba(168,207,69,.42); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.form-row label { display: grid; gap: 7px; color: #34433e; font-size: .95rem; font-weight: 750; }
.form-row input { min-height: 52px; width: 100%; border: 1px solid #cbd3ce; padding: 10px 13px; background: #fff; border-radius: 0; }
.form-row input:focus { outline: 3px solid rgba(168,207,69,.3); border-color: var(--olive); }
.button--whatsapp { width: 100%; margin-top: 14px; background: var(--forest); color: var(--white); }
.button--whatsapp:hover { background: #214e42; }
.form-note { margin: 12px 0 0; color: #6c7773; font-size: .82rem; line-height: 1.45; }
.form-note a { color: var(--olive); font-weight: 800; }

.section { padding: 105px 0; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-heading h2, .detail-copy h2, .media-intro h2, .about-copy h2, .faq-heading h2, .final-cta h2 { margin: 0; font-size: clamp(2.5rem, 4.7vw, 4.6rem); line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 300px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .2s, transform .2s; }
.service-card:hover { background: var(--paper); transform: translateY(-4px); }
.service-card__number { color: var(--olive); font-size: .84rem; font-weight: 850; letter-spacing: .12em; }
.service-card h3 { margin: auto 0 10px; font-size: 1.55rem; line-height: 1.1; }
.service-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.service-card a, .service-card button { margin-top: 22px; padding: 0; border: 0; background: transparent; color: var(--forest); font-weight: 850; text-decoration: none; text-align: left; cursor: pointer; }
.service-card--image { position: relative; isolation: isolate; min-height: 390px; overflow: hidden; border-color: rgba(255,255,255,.16); color: var(--white); background: var(--forest); }
.service-card--image::after { content: ""; position: absolute; z-index: -2; inset: -3%; background-image: var(--card-image); background-position: var(--card-position, center); background-size: cover; transform: scale(1); transition: transform .45s cubic-bezier(.2,.65,.3,1); }
.service-card--image::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(7,25,20,.12) 10%, rgba(7,25,20,.55) 48%, rgba(7,25,20,.94) 100%); }
.service-card--image:hover { background: var(--forest); transform: translateY(-5px); }
.service-card--image:hover::after { transform: scale(1.07); }
.service-card--image .service-card__number { color: var(--lime-bright); }
.service-card--image h3 { text-shadow: 0 2px 18px rgba(0,0,0,.38); }
.service-card--image p { color: #e4eee9; }
.service-card--image a, .service-card--image button { color: var(--lime-bright); }
.service-card--heater { --card-image: url("assets/calentador-paso-producto.jpg"); --card-position: center; }
.service-card--stove { --card-image: url("assets/mantenimiento-cubierta.jpg"); --card-position: center; }
.service-card--visit { --card-image: url("assets/visita-domicilio.jpg"); --card-position: 58% center; }
.service-card--install { --card-image: url("assets/instalacion-calentador.jpg"); --card-position: 58% center; }

.brands { padding: 56px 0; background: #eef3e5; border-block: 1px solid #dbe4cc; }
.brands__inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: 22px 60px; align-items: center; }
.brands h2 { max-width: 430px; margin: 0; color: var(--forest); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.08; letter-spacing: -.035em; }
.brand-row { display: grid; grid-template-columns: repeat(5, minmax(100px, 1fr)); gap: 10px; }
.brand-mark { min-height: 72px; display: grid; place-items: center; padding: 10px; background: rgba(255,255,255,.82); border: 1px solid rgba(23,56,47,.12); color: #21332d; font-size: 1.15rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.brand-mark img { width: 100%; max-width: 140px; height: 72px; object-fit: contain; }
.review-promotion { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; max-width: 530px; padding: 16px 20px; border-left: 3px solid var(--lime-bright); background: rgba(9,32,25,.75); }
.review-promotion span { font-size: 1rem; }
.review-promotion strong { font-size: 2rem; color: var(--lime-bright); }
.review-promotion small { width: 100%; font-size: .95rem; }
.service-media { min-width: 0; }
.service-media__frame { aspect-ratio: 16/9; overflow: hidden; background: #0a211b; }
.service-media__frame img, .service-media__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-media h3 { margin: 16px 0 5px; font-size: 1.1rem; }
.service-media p { margin: 0; color: #bccfc6; font-size: 1rem; }
.service-media .media-provenance { margin-top: 8px; font-size: .875rem; }
.hero__pause { position:absolute; z-index:3; bottom:16px; right:16px; border:1px solid white; border-radius:4px; padding:8px 12px; color:white; background:#17382f; font-size:.875rem; }
@media (max-width: 760px) {
  .service-media { min-width: 74vw; scroll-snap-align: start; }
  .service-media__frame { aspect-ratio:9/16; }
  .review-promotion { padding:12px 14px; }
}
.brand-mark--haceb { color: #155a40; letter-spacing: .03em; }
.brand-mark--bosch { color: #e20015; letter-spacing: .015em; }
.brand-mark--rheem { color: #d5202a; font-family: Georgia, serif; font-style: italic; }
.brand-mark--titanium { color: #394743; letter-spacing: .09em; font-size: .95rem; }
.brand-mark--oka { color: #6a8735; letter-spacing: .08em; }
.brand-note { grid-column: 2; margin: 0; color: #65706a; font-size: .78rem; line-height: 1.4; }

.equipment { overflow: hidden; background: var(--white); }
.equipment .section-heading { grid-template-columns: 1fr auto; align-items: center; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-button { width: 54px; height: 54px; border: 1px solid var(--line); background: var(--white); color: var(--forest); font-size: 1.35rem; font-weight: 900; cursor: pointer; }
.carousel-button:hover { border-color: var(--olive); background: var(--paper); }
.equipment-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 34%); gap: 18px; overflow-x: auto; padding: 4px 2px 24px; scroll-snap-type: x mandatory; scrollbar-color: var(--lime) #e3e8df; }
.equipment-card { min-height: 500px; scroll-snap-align: start; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.equipment-card img { width: 100%; height: 295px; object-fit: cover; transition: transform .45s cubic-bezier(.2,.65,.3,1); }
.equipment-card:hover img { transform: scale(1.055); }
.equipment-card > div { padding: 24px; }
.equipment-card span { color: var(--olive); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 900; }
.equipment-card h3 { margin: 8px 0 6px; color: var(--forest); font-size: 1.55rem; line-height: 1.12; }
.equipment-card p { margin: 0; color: var(--muted); }
.card-link { margin: 20px 0 0; padding: 0; border: 0; background: transparent; color: var(--forest); font-weight: 900; text-align: left; cursor: pointer; }
.card-link:hover { color: var(--olive); }
.journey { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--forest); color: var(--white); }
.journey > div { position: relative; min-height: 170px; padding: 30px; border-right: 1px solid rgba(255,255,255,.14); }
.journey > div:last-child { border-right: 0; }
.journey strong { color: var(--lime-bright); font-size: .88rem; }
.journey span { display: block; margin-top: 18px; font-size: 1.35rem; font-weight: 900; }
.journey p { margin: 5px 0 0; color: #c7d5cf; }

.media-section { overflow: hidden; background: var(--forest); color: var(--white); }
.media-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; }
.media-intro > p:not(.eyebrow) { max-width: 460px; color: #c7d5cf; font-size: 1.08rem; }
.text-link { display: inline-flex; gap: 8px; margin-top: 14px; color: var(--lime-bright); text-decoration: none; font-weight: 850; }
.video-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-placeholder { margin: 0; }
.video-placeholder__frame { position: relative; aspect-ratio: 9 / 16; padding: 18px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: linear-gradient(155deg, #29483f, #0a211b); border: 1px solid rgba(255,255,255,.16); }
.video-placeholder__frame::before { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(182,219,84,.38); }
.video-placeholder__label { position: absolute; left: 18px; top: 18px; z-index: 1; color: var(--lime-bright); font-size: .78rem; letter-spacing: .14em; font-weight: 850; text-transform: uppercase; }
.video-placeholder__frame p { color: #b9cac3; font-size: .9rem; line-height: 1.4; }
.play-mark { position: absolute; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--forest); transform: translateY(-26px); font-size: .9rem; padding-left: 3px; }
.video-placeholder h3 { margin: 16px 0 4px; font-size: 1.08rem; line-height: 1.25; }
.video-placeholder > p { margin: 0; color: #aebfb8; font-size: .92rem; line-height: 1.45; }

.detail-section { background: var(--paper); }
.detail-grid, .about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 78px; align-items: center; }
.detail-image, .about-image { margin: 0; position: relative; }
.detail-image::before { content: ""; position: absolute; left: -18px; top: -18px; width: 34%; height: 34%; background: var(--lime); z-index: 0; }
.detail-image img, .about-image img { position: relative; z-index: 1; width: 100%; min-height: 500px; object-fit: cover; }
.detail-image figcaption { position: absolute; z-index: 2; left: 0; bottom: 0; background: var(--forest); color: var(--white); padding: 12px 18px; font-size: .9rem; }
.detail-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.check-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--olive); font-weight: 900; }
.button--dark { background: var(--forest); color: var(--white); }
.button--dark:hover { background: #214e42; }

.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: center; padding: 27px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { width: 54px; height: 54px; display: grid; place-items: center; color: var(--forest); background: var(--lime); font-weight: 900; }
.process-list h3 { margin: 0 0 3px; font-size: 1.3rem; }
.process-list p { margin: 0; color: var(--muted); }

.about { background: var(--forest-2); color: var(--white); }
.about-grid { grid-template-columns: .85fr 1.15fr; }
.about-copy > p:not(.eyebrow) { color: #c4d0cb; max-width: 540px; font-size: 1.08rem; }
.about-facts { display: flex; gap: 50px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.about-facts div { display: grid; }
.about-facts strong { color: var(--lime-bright); font-size: 2.6rem; line-height: 1; }
.about-facts span { color: #c4d0cb; font-size: .94rem; }
.about-image::after { content: ""; position: absolute; z-index: 2; right: -18px; bottom: -18px; width: 38%; height: 36%; border-right: 18px solid var(--lime); border-bottom: 18px solid var(--lime); }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.faq-heading { position: sticky; top: 30px; }
.faq-heading > p:not(.eyebrow) { color: var(--muted); }
.faq-list { border-top: 1px solid #cfd6d1; }
.faq-list details { border-bottom: 1px solid #cfd6d1; }
.faq-list summary { position: relative; list-style: none; padding: 26px 50px 26px 0; cursor: pointer; font-size: 1.15rem; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 21px; color: var(--olive); font-size: 1.8rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 50px 24px 0; color: var(--muted); }

.safety-strip { background: #fff4d5; color: #4c3910; border-block: 1px solid #eedb9b; }
.safety-strip__inner { padding-block: 25px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 36px; align-items: center; }
.safety-strip p { margin: 0; }
.final-cta { padding: 76px 0; background: var(--forest); color: var(--white); }
.final-cta__inner { display: flex; align-items: end; justify-content: space-between; gap: 44px; }
.floating-whatsapp { position: fixed; z-index: 30; right: 22px; bottom: 22px; width: 62px; height: 62px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--forest); background: var(--lime); box-shadow: 0 10px 30px rgba(8,31,25,.28); text-decoration: none; font-size: .82rem; font-weight: 950; cursor: pointer; }

body.modal-open { overflow: hidden; }
.service-modal { width: min(920px, calc(100% - 28px)); max-height: min(92vh, 940px); padding: 0; border: 0; background: transparent; color: var(--white); overflow: visible; }
.service-modal::backdrop { background: radial-gradient(circle at 20% 10%, rgba(168,207,69,.23), transparent 35%), rgba(3,17,14,.72); backdrop-filter: blur(14px) saturate(125%); -webkit-backdrop-filter: blur(14px) saturate(125%); }
.service-modal__glass { position: relative; max-height: 92vh; overflow-y: auto; padding: 38px; border: 1px solid rgba(255,255,255,.34); border-radius: 30px; background: linear-gradient(145deg, rgba(38,77,65,.88), rgba(9,36,29,.82)); box-shadow: 0 32px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.36), inset 0 -1px 0 rgba(168,207,69,.18); backdrop-filter: blur(30px) saturate(145%); -webkit-backdrop-filter: blur(30px) saturate(145%); }
.service-modal__glass::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(120deg, rgba(255,255,255,.12), transparent 34%, rgba(182,219,84,.07) 70%, transparent); }
.modal-close { position: sticky; z-index: 4; top: 0; margin: 0 0 -52px auto; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font-size: 1.7rem; cursor: pointer; backdrop-filter: blur(12px); }
.modal-heading { position: relative; z-index: 1; padding-right: 58px; }
.modal-heading h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: .98; letter-spacing: -.05em; }
.modal-heading > p:last-child { margin: 14px 0 0; color: #dce9e3; font-size: 1.05rem; }
.guided-form { position: relative; z-index: 1; margin-top: 28px; }
.modal-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-fields label { display: grid; gap: 7px; font-weight: 850; }
.modal-fields input { width: 100%; min-height: 58px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.33); border-radius: 14px; background: rgba(255,255,255,.12); color: var(--white); font-size: 1rem; outline: none; }
.modal-fields input::placeholder { color: #bfd0c8; }
.modal-fields input:focus { border-color: var(--lime-bright); box-shadow: 0 0 0 4px rgba(182,219,84,.18); background: rgba(255,255,255,.17); }
.guided-form fieldset { margin: 26px 0 0; padding: 0; border: 0; }
.guided-form legend { margin-bottom: 10px; font-size: 1.08rem; font-weight: 900; }
.fieldset-help { margin: -4px 0 12px; color: #c6d7d0; font-size: .86rem; line-height: 1.4; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.choice-grid label { position: relative; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { min-height: 58px; display: flex; align-items: center; justify-content: center; padding: 10px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: rgba(255,255,255,.08); color: #edf4f1; text-align: center; font-size: .94rem; font-weight: 800; line-height: 1.25; cursor: pointer; transition: background .16s, border-color .16s, transform .16s; }
.choice-grid input:checked + span { border-color: var(--lime-bright); background: rgba(182,219,84,.92); color: #10271f; box-shadow: 0 10px 28px rgba(0,0,0,.18); transform: translateY(-2px); }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(255,255,255,.75); outline-offset: 2px; }
.choice--danger span { border-color: rgba(255,205,86,.85); background: rgba(255,196,54,.16); color: #fff4cf; box-shadow: inset 0 0 0 1px rgba(255,196,54,.18); }
.choice--danger input:checked + span { border-color: #ffd45f; background: #ffd45f; color: #392800; }
.choice--urgent span { min-height: 68px; border: 2px solid #c8ed5a; background: linear-gradient(135deg, #b6db54, #8fbb31); color: #10271f; box-shadow: 0 12px 30px rgba(168,207,69,.24); animation: urgent-pulse 2s ease-in-out infinite; }
.choice--urgent input:checked + span { background: #d2ef7a; box-shadow: 0 14px 34px rgba(182,219,84,.36); }
.choice--urgent b { margin-right: 7px; }
.zone-select { margin-top: 12px; display: grid; gap: 7px; color: #eef6f2; font-weight: 800; }
.zone-select[hidden] { display: none; }
.zone-select select { width: 100%; min-height: 58px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.34); border-radius: 14px; background: #eef5f1; color: var(--forest); }
.photo-fieldset { padding-top: 2px !important; }
.photo-picker { position: relative; display: block; }
.photo-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.photo-picker span { min-height: 60px; display: flex; align-items: center; justify-content: center; padding: 12px 16px; border: 1px dashed rgba(255,255,255,.55); border-radius: 16px; background: rgba(255,255,255,.08); color: #f2f8f5; font-weight: 850; cursor: pointer; }
.photo-picker input:focus-visible + span { outline: 3px solid rgba(255,255,255,.75); outline-offset: 2px; }
.photo-preview { margin-top: 12px; display: grid; grid-template-columns: 86px 1fr; gap: 14px; align-items: center; padding: 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(255,255,255,.08); }
.photo-preview[hidden] { display: none; }
.photo-preview img { width: 86px; height: 70px; object-fit: cover; border-radius: 10px; }
.photo-preview div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.photo-preview button { min-height: 42px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; }
.modal-alert { margin-top: 16px; padding: 16px 18px; border: 1px solid #f2d27d; border-radius: 16px; background: rgba(255,239,190,.94); color: #3c2d0c; }
.modal-alert p { margin: 3px 0 0; line-height: 1.4; }
.consent { margin-top: 24px; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; color: #d7e4de; font-size: .88rem; line-height: 1.4; }
.consent input { width: 21px; height: 21px; margin-top: 2px; accent-color: var(--lime); }
.consent a { color: var(--lime-bright); font-weight: 800; }
.guided-form .button--whatsapp { min-height: 62px; margin-top: 20px; background: var(--lime); color: var(--forest); font-size: 1.05rem; border-radius: 16px; }
.guided-form .button--whatsapp:hover { background: var(--lime-bright); }
.form-note--light { color: #bfd0c8; text-align: center; }
.cookie-banner { position: fixed; z-index: 80; left: 20px; right: 20px; bottom: 20px; width: min(760px, calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: rgba(10,39,31,.94); color: var(--white); box-shadow: 0 24px 80px rgba(0,0,0,.34); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-size: 1.02rem; }
.cookie-banner p { margin: 2px 0 0; color: #ccdad4; font-size: .88rem; line-height: 1.4; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button { min-height: 48px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.32); background: transparent; color: var(--white); font-weight: 850; cursor: pointer; }
.cookie-actions button:last-child { border-color: var(--lime); background: var(--lime); color: var(--forest); }
.site-footer { background: #091c17; color: #b9c8c2; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .7fr; gap: 70px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid img { width: 86px; height: 76px; object-fit: contain; background: var(--white); padding: 5px; margin-bottom: 18px; }
.footer-grid h2 { margin: 0 0 15px; color: var(--white); font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid p { margin: 6px 0; max-width: 360px; }
.footer-grid a { color: #dbe4e0; text-decoration: none; margin: 4px 0; }
.footer-grid a:hover { color: var(--lime-bright); }
.footer-bottom { margin-top: 54px; padding-top: 22px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .nav-cta { text-decoration: none; font-weight: 850; }
.legal-page { background: var(--paper); padding: 80px 0 110px; }
.legal-content { max-width: 830px; }
.legal-content h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: .95; letter-spacing: -.055em; }
.legal-content h2 { margin: 44px 0 10px; color: var(--forest); font-size: 1.45rem; }
.legal-content p, .legal-content li { color: #4f5d58; font-size: 1.05rem; }
.legal-content a:not(.button) { color: var(--olive); font-weight: 800; }
.legal-content .button { margin-top: 36px; }
.legal-status { padding-left: 15px; border-left: 4px solid var(--lime); }
.legal-footer { padding-top: 10px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes urgent-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

@media (max-width: 860px) {
  .topbar__inner span { display: none; }
  .topbar__inner { justify-content: center; }
  .nav-wrap { min-height: 78px; }
  .brand img { width: 76px; height: 66px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: calc(100% - 1px); display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px; background: var(--white); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a, .main-nav button { padding: 14px 12px; text-align: left; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero { min-height: 650px; }
  .hero__video, .hero__image { object-position: 62% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(5,20,17,.94), rgba(5,20,17,.73) 72%, rgba(5,20,17,.45)); }
  .hero h1 { max-width: 610px; }
  .lead-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 82px 0; }
  .section-heading, .media-layout, .detail-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .brands__inner { grid-template-columns: 1fr; }
  .brand-note { grid-column: 1; }
  .brand-row { grid-template-columns: repeat(3, 1fr); }
  .equipment-rail { grid-auto-columns: minmax(290px, 58%); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .video-rail { max-width: 680px; }
  .detail-copy { order: -1; }
  .faq-heading { position: static; }
  .safety-strip__inner { grid-template-columns: 1fr; gap: 6px; }
  .final-cta__inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .hero { min-height: 720px; align-items: end; }
  .hero__content { padding-block: 56px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__proof { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .hero__proof li { min-width: 0; padding: 0 12px; }
  .hero__proof li:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .lead-band { padding: 66px 0; }
  .quick-form { padding: 22px 17px; }
  .quick-form fieldset, .form-row { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .detail-copy h2, .media-intro h2, .about-copy h2, .faq-heading h2, .final-cta h2 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .service-grid { grid-template-columns: 1fr; }
  .brand-row { grid-template-columns: 1fr 1fr; }
  .brand-mark { min-height: 64px; }
  .equipment .section-heading { grid-template-columns: 1fr auto; gap: 18px; }
  .equipment-rail { grid-auto-columns: 86%; }
  .equipment-card { min-height: 470px; }
  .equipment-card img { height: 265px; }
  .journey { grid-template-columns: 1fr; }
  .journey > div { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .journey > div:last-child { border-bottom: 0; }
  .service-modal { width: calc(100% - 14px); max-height: 96vh; }
  .service-modal__glass { max-height: 96vh; padding: 24px 16px 28px; border-radius: 24px; }
  .modal-heading { padding-right: 48px; }
  .modal-fields { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid span { min-height: 62px; font-size: .9rem; }
  .choice--urgent { grid-column: 1 / -1; }
  .choice--urgent span { font-size: 1rem; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; width: calc(100% - 20px); grid-template-columns: 1fr; gap: 14px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 250px; }
  .video-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .video-placeholder { min-width: 74vw; scroll-snap-align: start; }
  .detail-image img, .about-image img { min-height: 380px; }
  .about-facts { gap: 26px; }
  .process-list li { grid-template-columns: 58px 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .choice--urgent span { animation: none; }
}

@media (max-width: 760px) {
  .video-rail { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:14px; padding-bottom:12px; max-width:100%; }
}

/* Acceso al ensayo privado; conserva el canal de atención vigente. */
.hero__call-note { margin: 12px 0 0; color: #d9e7e1; font-size: .8rem; }
