:root {
  --green: #0E4D2A;
  --green-dark: #0B3D21;
  --green-mid: #14663A;
  --green-soft: #EAF1EC;
  --orange: #F26522;
  --orange-hover: #FF7733;
  --orange-light: #FF8A4C;
  --orange-shadow: #C24C13;
  --orange-soft: #FDEDE4;
  --ink: #16211B;
  --ink-2: #3F4A44;
  --muted: #5B665F;
  --muted-2: #8E979D;
  --line: #E1E4E0;
  --line-2: #D5DAD6;
  --bg: #F4F5F3;
  --white: #FFFFFF;
  --header-h: 73px;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: var(--header-h); }
body { margin: 0; background: var(--bg); font-family: 'Barlow', system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--orange); }
input, button, select { font-family: inherit; }
img { display: block; }

.page { width: 100%; overflow-x: clip; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.condensed { font-family: 'Barlow Condensed', sans-serif; }

.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 8px 0 0; color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 4px; font-weight: 700; cursor: pointer; }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 3px 0 var(--orange-shadow); padding: 15px 26px; font-size: 16px; }
.btn-orange:hover { background: var(--orange-hover); color: var(--white); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,0.45); color: var(--white); padding: 15px 26px; font-size: 16px; }
.btn-ghost-light:hover { border-color: var(--orange-light); color: var(--orange-light); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 1px 12px rgba(14,77,42,0.06); }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand .mark { height: 44px; width: auto; }
.brand .word { height: 29px; width: auto; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; min-width: 0; font-size: 14.5px; font-weight: 600; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--orange); }
.header-phone { flex: 0 0 auto; white-space: nowrap; padding: 11px 18px; font-size: 14.5px; box-shadow: 0 2px 0 var(--orange-shadow); }
.header-phone .ico { font-size: 16px; }

/* Hero */
.hero { position: relative; background: var(--green); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(115deg, var(--green-dark) 0%, var(--green-mid) 58%, var(--green) 100%); }
.hero-stripes { position: absolute; top: 0; right: 0; width: 46%; height: 100%; background: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 18px, transparent 18px 52px); }
.hero-grid { position: relative; padding-top: 74px; padding-bottom: 84px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 46px; align-items: center; }
.hero-grid > * { min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(242,101,34,0.16); border: 1px solid rgba(242,101,34,0.5); color: #FFB183; padding: 7px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.02; margin: 20px 0 0; letter-spacing: -0.005em; text-wrap: balance; }
.hero h1 span { color: var(--orange-light); }
.hero-lead { font-size: 18px; line-height: 1.55; color: #D6E3DA; margin: 20px 0 0; max-width: 52ch; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.16); }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 700; line-height: 1; color: var(--white); }
.stat-label { font-size: 13px; color: #A9C4B4; font-weight: 600; margin-top: 4px; }

.hero-media { position: relative; width: 100%; max-width: 560px; margin-left: auto; padding-bottom: 58px; padding-left: 34px; }
.hero-main { position: relative; width: 100%; height: clamp(330px, 40vw, 430px); border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.38); }
.hero-main-cap { position: absolute; left: 0; top: 0; right: 0; padding: 12px 16px 20px; background: linear-gradient(rgba(9,36,20,0.9), transparent); font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--white); }
.hero-inset { position: absolute; left: 0; bottom: 0; width: 46%; max-width: 220px; height: 190px; border-radius: 5px; overflow: hidden; border: 5px solid var(--green); box-shadow: 0 16px 34px rgba(0,0,0,0.42); }
.hero-inset-cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(9,36,20,0.9)); font-size: 12px; font-weight: 700; color: var(--white); line-height: 1.2; }
.hero-inset-bar { position: absolute; left: 0; bottom: -10px; width: 46%; max-width: 220px; height: 10px; background: var(--orange); }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* Value props */
.values { background: var(--white); border-bottom: 1px solid var(--line); }
.values .wrap { padding-top: 34px; padding-bottom: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 4px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.value-ico.alt { background: var(--orange-soft); color: var(--orange-shadow); }
.value-title { font-weight: 700; font-size: 16px; color: var(--ink); }
.value-text { font-size: 14.5px; color: var(--muted); line-height: 1.45; margin-top: 3px; }

/* Catalog */
.catalog { padding-top: 64px; padding-bottom: 40px; }
.catalog-intro { font-size: 16.5px; color: var(--muted); line-height: 1.5; margin: 10px 0 0; max-width: 60ch; }
.catalog-intro strong { color: var(--ink); }
.filters { position: sticky; top: var(--header-h); z-index: 30; background: var(--bg); padding: 18px 0 14px; margin-top: 22px; }
.search { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1.5px solid var(--line-2); border-radius: 5px; padding: 12px 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.search:focus-within { border-color: var(--green); }
.search-ico { color: var(--muted-2); font-size: 17px; }
.search input { border: none; outline: none; flex: 1; min-width: 0; font-size: 16.5px; color: var(--ink); background: transparent; }
.search-clear { border: none; background: #EDF0EE; color: var(--muted); border-radius: 4px; padding: 6px 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.search-clear:hover { background: #E0E5E1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink-2); border-radius: 100px; padding: 8px 16px; font-size: 14px; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--white); }
.perfiles { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 9px; }
.perfiles-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted-2); text-transform: uppercase; }
.pchip { border: 1px solid var(--line-2); background: var(--white); color: var(--muted); border-radius: 3px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.pchip[aria-pressed="true"] { border-color: var(--orange); background: var(--orange); color: var(--white); }

.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-top: 8px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.card.on { border-color: var(--orange); }
.card-img { margin: -20px -20px 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 5px 5px 0 0; background: var(--green-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-head > div:first-child { min-width: 0; }
.card-cat { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 23px; line-height: 1.1; margin: 6px 0 0; color: var(--ink); }
.card-chip { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 3px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; color: var(--green); }
.card.on .card-chip { background: var(--orange-soft); color: var(--orange-shadow); }
.card-grades { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.card-formas { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.card-grades b, .card-formas b { font-weight: 700; color: var(--green); }
.card-note { font-size: 13px; color: var(--muted-2); line-height: 1.4; border-top: 1px dashed var(--line); padding-top: 9px; }
.card-actions { display: flex; gap: 9px; margin-top: auto; padding-top: 2px; }
.card-add { flex: 1; border: 1.5px solid var(--green); background: var(--white); color: var(--green); border-radius: 4px; padding: 10px 12px; font-size: 14px; font-weight: 700; cursor: pointer; }
.card.on .card-add { background: var(--green); color: var(--white); }
.card-quote { border: 1.5px solid var(--line); background: var(--white); color: var(--green); border-radius: 4px; padding: 10px 13px; font-size: 14px; font-weight: 700; }
.card-quote:hover { border-color: var(--orange); color: var(--orange); }

.empty { background: var(--white); border: 1px dashed #C9CFC9; border-radius: 6px; padding: 44px 24px; text-align: center; margin-top: 8px; }
.empty-title { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); }
.empty p { font-size: 16px; color: var(--muted); margin: 8px 0 20px; }
.btn-green { display: inline-block; background: var(--green); color: var(--white); padding: 13px 22px; border-radius: 4px; font-weight: 700; }
.btn-green:hover { background: var(--green-mid); color: var(--white); }

/* Services */
.services { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services .wrap { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; align-items: center; }
.services .wrap > * { min-width: 0; }
.steps { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.step { display: flex; gap: 14px; }
.step-num { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.step-title { font-weight: 700; font-size: 17px; }
.step-text { font-size: 15px; color: var(--muted); line-height: 1.5; }
.gallery { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: 150px 150px; gap: 12px; }
.gallery > div { position: relative; min-width: 0; overflow: hidden; border-radius: 4px; }
.gallery .tall { grid-row: span 2; }

/* About */
.about { padding-top: 64px; padding-bottom: 64px; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; }
.about-grid > * { min-width: 0; }
.about .h2 { margin-bottom: 16px; }
.about p { font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.quote { border-left: 3px solid var(--orange); padding: 6px 0 6px 16px; margin-top: 22px; font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 600; color: var(--green); line-height: 1.2; }
.pillars { display: flex; flex-direction: column; gap: 12px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.pillar-title { font-weight: 700; font-size: 17px; color: var(--green); }
.pillar-text { font-size: 15px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.segments { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 34px; }
.segment { background: var(--green-soft); border-radius: 6px; padding: 20px; }
.segment-title { font-weight: 700; font-size: 15.5px; color: var(--green); }
.segment-text { font-size: 14.5px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.segment.featured { background: var(--green); }
.segment.featured .segment-title { color: var(--white); }
.segment.featured .segment-text { color: #C9DCD0; }

/* Contact */
.contact { position: relative; background: var(--green); color: var(--white); overflow: hidden; }
.contact-photo { position: absolute; inset: 0; background: url("assets/img/contacto-bg.jpg") center / cover; }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(100deg, var(--green-dark) 0%, rgba(11,61,33,0.94) 46%, rgba(14,77,42,0.80) 100%); }
.contact-grid { position: relative; padding-top: 60px; padding-bottom: 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.contact-grid > * { min-width: 0; }
.contact .h2 { color: var(--white); margin: 0; }
.contact-lead { font-size: 17px; line-height: 1.55; color: #D6E3DA; margin: 14px 0 24px; max-width: 48ch; }
.contact-info { display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.5; }
.info-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8FB79F; }
.info-label + * { margin-top: 5px; }
.info-value { color: var(--white); }
.info-value.strong { font-weight: 700; }
.info-spaced { margin-top: 14px; }
.contact a.info-value { display: inline-block; }
.contact a.info-value:hover { color: var(--orange-light); }
.footer { position: relative; border-top: 1px solid rgba(255,255,255,0.14); background: var(--green-dark); }
.footer .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; color: #A9C4B4; }

/* Request bar */
.request-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: var(--white); box-shadow: 0 -6px 24px rgba(0,0,0,0.28); }
.request-bar[hidden] { display: none; }
.request-bar .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.request-info { min-width: 0; flex: 1; }
.request-title { font-weight: 700; font-size: 15.5px; }
.request-names { font-size: 13.5px; color: #A8B2AB; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.request-hint { font-size: 12.5px; color: #7C867F; margin-top: 2px; }
.btn-outline-dark { border: 1.5px solid rgba(255,255,255,0.3); background: transparent; color: var(--white); border-radius: 4px; padding: 11px 16px; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-outline-dark:hover { border-color: var(--orange-light); color: var(--orange-light); }
.btn-wa { background: #25D366; color: #0B2C18; border-radius: 4px; padding: 12px 20px; font-size: 15px; font-weight: 700; }
.btn-wa:hover { background: #4BE585; color: #0B2C18; }
body.has-list .page { padding-bottom: 120px; }

/* Small screens */
@media (max-width: 760px) {
  .nav { display: none; }
  .site-header .wrap { gap: 12px; justify-content: space-between; }
  .brand .mark { height: 38px; }
  .brand .word { height: 24px; }
  .header-phone { padding: 10px 12px; font-size: 13.5px; }
  :root { --header-h: 67px; }
}
@media (max-width: 440px) {
  .brand .word { display: none; }
  .results { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .services .wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════ Efectos ═══════════════════════════ */
:root { --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); }

@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes media-in { from { opacity: 0; transform: translateX(40px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes inset-in { from { opacity: 0; transform: translate(-24px, 24px); } to { opacity: 1; transform: none; } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes stripes-move { to { transform: translateX(57.4px); } }
@keyframes glow-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12%, 10%) scale(1.15); }
  100% { transform: translate(8%, -6%) scale(0.95); }
}
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(255,138,76,0.7); } 100% { box-shadow: 0 0 0 9px rgba(255,138,76,0); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes shine { from { left: -60%; } to { left: 130%; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(0.92); } 75% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); color: var(--orange-light); } 100% { transform: scale(1); } }
@keyframes slide-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ken-burns { from { transform: scale(1); } to { transform: scale(1.12) translate(-2%, -1%); } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.7); opacity: 0; } }

/* Aparición al hacer scroll (solo con JS, para no ocultar nada si falla) */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--rd, 0ms); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(0.92); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Encabezado */
.site-header { transition: background-color 0.3s, box-shadow 0.3s; }
.site-header.is-scrolled { background: rgba(255,255,255,0.88); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); box-shadow: 0 6px 24px rgba(14,77,42,0.10); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-light)); transform: scaleX(0); transform-origin: left; }
.brand .mark { transition: transform 0.6s var(--ease-spring); }
.brand:hover .mark { transform: rotate(-12deg) scale(1.06); }
.nav a { position: relative; padding: 4px 0; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease-out); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--ink); }

/* Botones */
.btn { position: relative; overflow: hidden; transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background-color 0.25s, border-color 0.25s, color 0.25s; }
.btn-orange::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn-orange:hover::after { animation: shine 0.8s ease; }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--orange-shadow), 0 10px 22px rgba(242,101,34,0.35); }
.btn-orange:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--orange-shadow); }
.btn-ghost-light:hover { transform: translateY(-2px); background: rgba(255,255,255,0.06); }
.header-phone:hover { box-shadow: 0 4px 0 var(--orange-shadow), 0 8px 18px rgba(242,101,34,0.3); }

/* Portada */
.hero-anim { animation: fade-up 0.9s var(--ease-out) backwards; animation-delay: var(--d, 0ms); }
.hero-anim-media .hero-main { animation: media-in 1.1s var(--ease-out) 0.35s backwards; }
.hero-anim-media .hero-inset { animation: inset-in 1s var(--ease-out) 0.75s backwards; }
.hero-anim-media .hero-inset-bar { transform-origin: left; animation: grow-x 0.8s var(--ease-out) 1.2s backwards; }
.hero-stripes { left: -60px; width: calc(46% + 60px); animation: stripes-move 6s linear infinite; will-change: transform; }
.hero-glow { position: absolute; top: -20%; right: -10%; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(242,101,34,0.22) 0%, rgba(242,101,34,0.07) 38%, transparent 68%); animation: glow-float 16s ease-in-out infinite alternate; pointer-events: none; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-light); animation: pulse-dot 1.8s ease-out infinite; }
@keyframes underline-in { to { background-size: 100% 0.09em; } }
.hero h1 .hl { color: var(--orange-light); background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 94% / 0 0.09em; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: underline-in 0.9s var(--ease-out) 1.05s forwards; }
.stat-num { font-variant-numeric: tabular-nums; }
.hero-main, .hero-inset { transition: translate 0.5s var(--ease-out); }
.hero-main { translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -10px); }
.hero-inset { translate: calc(var(--mx, 0) * 22px) calc(var(--my, 0) * 16px); }
.hero-main img, .hero-inset img { transition: transform 1.2s var(--ease-out); }
.hero-main:hover img, .hero-inset:hover img { transform: scale(1.05); }

/* Franja de materiales */
.ticker { background: var(--ink); color: #C9D4CD; overflow: hidden; padding: 15px 0; border-top: 3px solid var(--orange); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; }
.ticker-item::after { content: ""; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); margin: 0 26px; }

/* Beneficios */
.value-ico { transition: transform 0.45s var(--ease-spring), background-color 0.3s, color 0.3s; }
.value:hover .value-ico { transform: translateY(-4px) rotate(-8deg); background: var(--green); color: var(--white); }
.value:hover .value-ico.alt { background: var(--orange); }

/* Encabezados de sección: línea que crece antes del texto */
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); flex: 0 0 auto; }
.js .eyebrow[data-reveal]::before { transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-out) 0.25s; }
.js .eyebrow[data-reveal].is-visible::before { transform: scaleX(1); }

/* Filtros */
.chip, .pchip { transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease-spring); }
.chip:hover, .pchip:hover { transform: translateY(-2px); border-color: var(--green); }
.chip:active, .pchip:active { transform: scale(0.95); }
.pchip[aria-pressed="true"]:hover { border-color: var(--orange); }
.search { transition: border-color 0.25s, box-shadow 0.25s; }
.search:focus-within { box-shadow: 0 0 0 4px rgba(14,77,42,0.10), 0 8px 24px rgba(14,77,42,0.08); }
.filters { transition: box-shadow 0.3s; }

/* Tarjetas del catálogo */
.card { position: relative; transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s, opacity 0.8s var(--ease-out); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(242,101,34,0.07), transparent 45%); }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(14,77,42,0.13); border-color: #C7D3CB; }
.card.on:hover { border-color: var(--orange); }
.card:hover::before { opacity: 1; }
.card-img img { transition: transform 0.8s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.07); }
.card-chip { transition: transform 0.45s var(--ease-spring), background-color 0.3s, color 0.3s; }
.card:hover .card-chip { transform: rotate(-10deg) scale(1.1); }
.card-add, .card-quote { transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.2s; }
.card-add:hover { background: var(--green-soft); }
.card.on .card-add:hover { background: var(--green-mid); }
.card-add:active, .card-quote:active { transform: scale(0.96); }
.card-add.just-toggled { animation: pop 0.45s var(--ease-spring); }
.card-in { animation: fade-up 0.5s var(--ease-out) backwards; }

/* Servicios */
.step { transition: transform 0.3s var(--ease-out); }
.step:hover { transform: translateX(6px); }
.step-num { transition: background-color 0.3s, transform 0.45s var(--ease-spring); }
.step:hover .step-num { background: var(--orange); transform: scale(1.15); }
.gallery img { transition: transform 1s var(--ease-out), filter 0.6s; }
.gallery > div:hover img { transform: scale(1.08); filter: saturate(1.15); }

/* Nosotros */
.pillar { position: relative; overflow: hidden; transition: transform 0.35s var(--ease-out), box-shadow 0.35s, opacity 0.8s var(--ease-out); }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease-out); }
.pillar:hover { transform: translateX(4px); box-shadow: 0 10px 26px rgba(14,77,42,0.09); }
.pillar:hover::before { transform: scaleY(1); }
.segment { transition: transform 0.35s var(--ease-out), box-shadow 0.35s, opacity 0.8s var(--ease-out); }
.segment:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(14,77,42,0.14); }

/* Contacto */
.contact-photo { animation: ken-burns 24s ease-in-out infinite alternate; }

/* Barra de solicitud */
.request-bar:not([hidden]) { animation: slide-up 0.45s var(--ease-out); }
#list-count { display: inline-block; }
#list-count.bump { animation: bump 0.5s var(--ease-spring); }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,0.25); opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none; transition: opacity 0.35s, transform 0.35s var(--ease-spring), bottom 0.35s var(--ease-out); }
.wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: wa-ring 2.2s ease-out infinite; }
.wa-float:hover { color: var(--white); transform: scale(1.08); }
body.has-list .wa-float { bottom: 130px; }
html:not(.js) .wa-float { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 760px) {
  .hero-glow { width: 420px; height: 420px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  body.has-list .wa-float { bottom: 170px; }
}

/* ═══════════════════════════ Testimonios ═══════════════════════════ */
.testimonials { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 55%, var(--green-mid) 100%); color: var(--white); }
.testi-glow { position: absolute; left: -15%; bottom: -40%; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(242,101,34,0.18), transparent 65%); animation: glow-float 18s ease-in-out infinite alternate; pointer-events: none; }
.testimonials .wrap { position: relative; padding-top: 72px; padding-bottom: 76px; }
.testimonials .h2 { color: var(--white); max-width: 20ch; }
.testi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.testi-nav { display: flex; gap: 10px; }
.testi-nav[hidden] { display: none; }
.testi-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.35); background: transparent; color: var(--white); font-size: 18px; cursor: pointer; transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--ease-spring), opacity 0.25s; }
.testi-arrow:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); transform: scale(1.08); }
.testi-arrow:disabled { opacity: 0.35; cursor: default; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; margin-top: 34px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; }
.testi-track::-webkit-scrollbar { display: none; }
.testi { scroll-snap-align: start; margin: 0; background: var(--white); color: var(--ink); border-radius: 10px; padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 14px 34px rgba(0,0,0,0.18); position: relative; transition: transform 0.35s var(--ease-out), box-shadow 0.35s, opacity 0.8s var(--ease-out); }
.testi::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out); }
.testi:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0,0,0,0.26); }
.testi:hover::after { transform: scaleX(1); }
.testi-top { display: flex; align-items: flex-start; justify-content: space-between; }
.testi-quote { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 72px; line-height: 0.7; color: var(--orange); height: 34px; }
.testi-stars { color: #F5A623; letter-spacing: 2px; font-size: 16px; }
.testi-stars .off { color: #DADFDB; }
.testi blockquote { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.testi figcaption strong { display: block; font-size: 15.5px; color: var(--ink); }
.testi-company { display: block; font-size: 13.5px; color: var(--muted); }
.testi-avatar { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 18px; transition: background-color 0.3s, color 0.3s; }
.testi:hover .testi-avatar { background: var(--orange); color: var(--white); }

@media (max-width: 900px) { .testi-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .testi-track { grid-auto-columns: 86%; gap: 14px; } }

/* ═══════════════════════════ Anuncio emergente ═══════════════════════════ */
html.promo-lock, html.promo-lock body { overflow: hidden; }
.promo { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.promo[hidden] { display: none; }
.promo-backdrop { position: absolute; inset: 0; background: rgba(9,26,16,0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s ease; cursor: pointer; }
.promo-box { position: relative; opacity: 0; transform: translateY(24px) scale(0.94); transition: opacity 0.3s ease, transform 0.45s var(--ease-spring); }
.promo.is-open .promo-backdrop, .promo.is-open .promo-box { opacity: 1; }
.promo.is-open .promo-box { transform: none; }
.promo-img { display: block; width: auto; height: auto; max-width: min(960px, calc(100vw - 40px)); max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.45); background: var(--white); }
.promo-link { display: block; border-radius: 10px; }
.promo-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.promo-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,0.95); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.3); transition: transform 0.3s var(--ease-spring), background-color 0.2s, color 0.2s; }
.promo-close:hover { background: var(--orange); color: var(--white); transform: rotate(90deg) scale(1.08); }
.promo-close:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 760px) {
  .promo { padding: 14px; }
  .promo-img { max-width: calc(100vw - 28px); max-height: calc(100dvh - 40px); }
  .promo-close { top: 10px; right: 10px; width: 40px; height: 40px; }
}

/* Respeta la preferencia de "reducir movimiento" del sistema */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
