/* ==========================================================
   IDEAS WEB 2026 — Home (diseño del prototipo aplicado al index.php real)
   Todo con prefijo .h- para no chocar con el CSS legado.
   ========================================================== */
.h { background: var(--iw-bg); color: var(--iw-text); overflow-x: clip; }
.h a { text-decoration: none; color: inherit; }
.h h2, .h h3 { margin: 0; color: var(--iw-text); }
.h-acc { color: var(--iw-accent); }
.h-muted { color: var(--iw-muted); }

/* Aparición al hacer scroll — solo si hay JS (sin JS todo visible) */
.iw-js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--iw-ease), transform 1s var(--iw-ease); }
.iw-js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s !important; } .rv-d2 { transition-delay: .16s !important; } .rv-d3 { transition-delay: .24s !important; }

/* ---------- Hero ---------- */
.h-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 48px; overflow: hidden; }
.h-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.h-hero__glow { position: absolute; width: 70vmax; height: 70vmax; right: -20vmax; top: -25vmax; border-radius: 50%; background: radial-gradient(circle, rgba(247, 59, 32, .33), rgba(247, 59, 32, 0) 60%); filter: blur(20px); animation: h-float 14s ease-in-out infinite alternate; z-index: 0; pointer-events: none; }
@keyframes h-float { to { transform: translate(-8vmax, 10vmax) scale(1.1); } }
.h-hero__in { position: relative; z-index: 2; width: 100%; }
.h-hero__scroll { position: absolute; right: var(--iw-gutter); top: 50%; writing-mode: vertical-rl; font-family: var(--iw-mono); font-size: 11px; letter-spacing: .2em; color: var(--iw-muted); z-index: 2; }
.h-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.h-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--iw-line-2); border-radius: 99px; background: rgba(11, 11, 11, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--iw-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--iw-muted); }
.h-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--iw-ok); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.h-hero__title { font-size: clamp(40px, 7.4vw, 120px); line-height: .94; letter-spacing: -.055em; font-weight: 600; margin: 0; max-width: 15ch; color: var(--iw-text); }
.h-hero__title .iw-serif { letter-spacing: -.02em; }
.h-hero__foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--iw-line); }
.h-hero__lead { margin: 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--iw-muted); max-width: 52ch; }
.h-hero__lead strong { color: var(--iw-text); font-weight: 500; }
.h-hero__ctas { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Marquee ---------- */
.h-marquee { position: relative; overflow: hidden; padding: 26px 0; border-top: 1px solid var(--iw-line); border-bottom: 1px solid var(--iw-line); }
.h-marquee::before, .h-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.h-marquee::before { left: 0; background: linear-gradient(90deg, var(--iw-bg), transparent); }
.h-marquee::after { right: 0; background: linear-gradient(-90deg, var(--iw-bg), transparent); }
.h-marquee__label { position: absolute; left: var(--iw-gutter); top: -9px; z-index: 3; padding: 0 10px; background: var(--iw-bg); color: var(--iw-muted); font-size: 11px; }
.h-marquee__track { display: flex; gap: 64px; width: max-content; animation: h-marq 45s linear infinite; }
.h-marquee:hover .h-marquee__track { animation-play-state: paused; }
.h-marquee__item { display: flex; align-items: center; gap: 64px; white-space: nowrap; font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.03em; color: #6d6964; transition: color .3s; }
.h-marquee__item:hover { color: var(--iw-text); }
.h-marquee__item::after { content: "✦"; font-size: 14px; color: var(--iw-accent); }
@keyframes h-marq { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.h-sec { padding: clamp(90px, 11vw, 160px) 0; position: relative; }
.h-sec + .h-sec { border-top: 1px solid var(--iw-line); }
.h-head { display: grid; grid-template-columns: 240px 1fr; gap: 40px; margin-bottom: clamp(46px, 6vw, 86px); }
.h-head__row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.h-num { font-family: var(--iw-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--iw-muted); padding-top: 12px; }
.h-num b { color: var(--iw-accent); font-weight: 500; }
.h-h2 { font-size: clamp(34px, 5vw, 78px) !important; line-height: .98; letter-spacing: -.045em !important; font-weight: 600 !important; max-width: 19ch; }
.h-h2--md { font-size: clamp(30px, 3.4vw, 52px) !important; margin-bottom: 26px !important; }
.h-lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--iw-muted); max-width: 60ch; margin: 22px 0 0; }
.h-p { color: var(--iw-muted); font-size: 17px; margin: 0 0 16px; }
.h-p strong { color: var(--iw-text); font-weight: 500; }
.h-manifesto { font-size: clamp(28px, 4vw, 60px); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; margin: 0; max-width: 22ch; }
.h-link { display: inline-flex; gap: 8px; align-self: flex-start; padding-bottom: 4px; border-bottom: 1px solid var(--iw-line-2); font-size: 14px; color: var(--iw-text); transition: border-color .3s, color .3s; }
.h-link:hover, a:hover > .h-link { border-color: var(--iw-accent); color: var(--iw-accent); }
.h-more { margin-top: 40px; }

/* 01 split + chips */
.h-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.h-chips { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--iw-line); border-left: 1px solid var(--iw-line); }
.h-chip { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; border-right: 1px solid var(--iw-line); border-bottom: 1px solid var(--iw-line); font-size: 16px; transition: background .3s; }
.h-chip .iw-mono { color: var(--iw-accent); font-size: 11px; }
a.h-chip:hover { background: var(--iw-surface); }
a.h-chip::after { content: "↗"; color: var(--iw-muted-2); font-size: 13px; margin-top: 4px; }

/* 02 feature + terminal */
.h-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; position: relative; overflow: hidden; padding: clamp(28px, 5vw, 70px); border: 1px solid var(--iw-line); border-radius: 28px; background: linear-gradient(180deg, var(--iw-surface), var(--iw-bg)); }
.h-feature::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(247, 59, 32, .25), transparent 65%); pointer-events: none; }
.h-feature__txt { position: relative; z-index: 1; }
.h-feature h3 { font-size: clamp(32px, 4vw, 60px); line-height: .98; letter-spacing: -.05em; font-weight: 600; margin: 0 0 22px; }
.h-feature p { color: var(--iw-muted); font-size: 16.5px; margin: 0 0 16px; }
.h-feature .iw-btn { margin-top: 14px; }
.h-star { display: inline-flex; margin-bottom: 24px; padding: 7px 14px; border-radius: 99px; background: rgba(247, 59, 32, .12); border: 1px solid rgba(247, 59, 32, .35); color: var(--iw-accent-2); font-family: var(--iw-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.h-term { position: relative; z-index: 1; background: #070707; border: 1px solid var(--iw-line-2); border-radius: 16px; overflow: hidden; font-family: var(--iw-mono); font-size: 13px; line-height: 1.75; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.h-term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--iw-line); }
.h-term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }
.h-term__bar i:first-child { background: var(--iw-accent); }
.h-term__bar span { margin-left: auto; font-size: 11px; color: var(--iw-muted-2); }
.h-term__body { min-height: 320px; padding: 20px 20px 24px; color: #bdb8b1; white-space: pre-wrap; }
.h-term__body .c-acc { color: var(--iw-accent-2); } .h-term__body .c-ok { color: var(--iw-ok); } .h-term__body .c-mut { color: var(--iw-muted-2); }
.h-caret { display: inline-block; width: 8px; height: 15px; background: var(--iw-accent); vertical-align: -2px; animation: h-blink 1s steps(1) infinite; }
@keyframes h-blink { 50% { opacity: 0; } }

.h-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.h-card { display: flex; flex-direction: column; gap: 16px; padding: 30px 28px; border: 1px solid var(--iw-line); border-radius: 22px; background: var(--iw-bg); transition: border-color .3s, transform .5s var(--iw-ease); }
.h-card:hover { border-color: var(--iw-line-2); transform: translateY(-4px); }
.h-card h3 { font-size: clamp(21px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.h-card p { flex: 1; margin: 0; color: var(--iw-muted); font-size: 15px; }

/* 03 servicios (lista) */
.h-svcs { border-top: 1px solid var(--iw-line); }
.h-svc { position: relative; display: grid; grid-template-columns: 80px 1.1fr 1fr 60px; gap: 30px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--iw-line); }
/* Mismo efecto que "Proyectos destacados": el título se desplaza y los demás se atenúan */
.h-svc .h-svc__t { transition: transform .5s var(--iw-ease), color .3s; }
.h-svc:hover .h-svc__t { transform: translateX(14px); }
.h-svcs:hover .h-svc .h-svc__t { color: var(--iw-muted-2); }
.h-svcs:hover .h-svc:hover .h-svc__t { color: var(--iw-text); }
.h-svc__n { font-family: var(--iw-mono); font-size: 12px; color: var(--iw-muted); }
.h-svc__t { font-size: clamp(26px, 3.1vw, 46px) !important; line-height: 1; letter-spacing: -.045em !important; font-weight: 600 !important; }
.h-svc__d { color: var(--iw-muted); font-size: 15px; }
.h-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.h-tag { padding: 4px 10px; border: 1px solid var(--iw-line-2); border-radius: 99px; font-family: var(--iw-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--iw-muted); }
a.h-tag:hover { color: var(--iw-text); border-color: var(--iw-text); }
.h-svc__a { justify-self: end; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--iw-line-2); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: .4s var(--iw-ease); }
.h-svc:hover .h-svc__a { background: var(--iw-accent); border-color: var(--iw-accent); transform: rotate(-45deg); }
.h-thumb { display: none; }

/* Imagen que sigue al cursor (servicios y proyectos) */
.h-hover-img { position: fixed; top: 0; left: 0; z-index: 90; width: 360px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .35s, transform .45s var(--iw-ease); }
.h-hover-img.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.h-hover-img img { width: 100%; height: 100%; object-fit: cover; }

/* Operaciones: beneficios */
.h-benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--iw-line); }
.h-bn { padding: 32px 26px 0 0; margin-right: 26px; border-right: 1px solid var(--iw-line); }
.h-bn:last-child { border-right: 0; margin-right: 0; }
.h-bn h3 { font-size: 21px; letter-spacing: -.03em; font-weight: 600; margin: 20px 0 10px; }
.h-bn p { margin: 0; color: var(--iw-muted); font-size: 15px; }

/* Recursos */
.h-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--iw-line); border: 1px solid var(--iw-line); border-radius: 22px; overflow: hidden; }
.h-res a { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 150px; padding: 26px 24px; background: var(--iw-bg); transition: background .3s; }
.h-res a:hover { background: var(--iw-surface); }
.h-res .iw-mono { font-size: 10.5px; color: var(--iw-accent); }
.h-res strong { font-size: 18px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }

/* FAQ */
.h-faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.h-faq .iw-mono { display: block; margin-bottom: 16px; }
.h-faq__list { border-top: 1px solid var(--iw-line); }
.h-qa { border-bottom: 1px solid var(--iw-line); }
.h-qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(17px, 1.45vw, 21px); font-weight: 500; letter-spacing: -.02em; }
.h-qa summary::-webkit-details-marker { display: none; }
.h-qa summary i { position: relative; flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1px solid var(--iw-line-2); transition: .35s var(--iw-ease); }
.h-qa summary i::before, .h-qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.h-qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--iw-ease); }
.h-qa[open] summary i { background: var(--iw-accent); border-color: var(--iw-accent); }
.h-qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.h-qa p { margin: 0 0 26px; max-width: 62ch; color: var(--iw-muted); }

/* Autoridad: stats */
.h-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--iw-line); border: 1px solid var(--iw-line); border-radius: 22px; overflow: hidden; }
.h-stat { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 260px; padding: 32px 28px; background: var(--iw-bg); }
.h-stat__n { font-size: clamp(56px, 6vw, 100px) !important; line-height: .9; letter-spacing: -.06em !important; font-weight: 600 !important; }
.h-stat__n sup { margin-left: 4px; font-size: .38em; vertical-align: top; color: var(--iw-accent); letter-spacing: -.02em; }
.h-stat__n--sm { font-size: clamp(32px, 3.2vw, 50px) !important; letter-spacing: -.045em !important; }
.h-stat__t h3, .h-stat__label { display: block; font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0 !important; margin-bottom: 6px; color: var(--iw-text); }
.h-stat__t p { margin: 0; font-size: 14px; color: var(--iw-muted); }

/* Plataformas */
.h-pfs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-pf { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: 30px; border: 1px solid var(--iw-line); border-radius: 24px; background: var(--iw-surface); overflow: hidden; }
.h-pf__tag { position: absolute; top: 30px; left: 30px; font-size: 11px; color: var(--iw-muted); }
.h-pf__art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; transition: transform 1s var(--iw-ease); }
.h-pf:hover .h-pf__art { transform: scale(1.06); }
.h-pf h3 { font-size: 30px; line-height: 1; letter-spacing: -.04em; font-weight: 600; margin: 0 0 10px; }
.h-pf p { max-width: 34ch; margin: 0 0 20px; color: var(--iw-muted); font-size: 15px; }

/* 04 Proyectos */
.h-works { border-top: 1px solid var(--iw-line); }
.h-work { position: relative; display: grid; grid-template-columns: 140px 1.4fr 1fr 130px; gap: 30px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--iw-line); }
.h-work__cat { font-size: 11px; color: var(--iw-accent); }
.h-work__t { font-size: clamp(24px, 2.9vw, 42px) !important; line-height: 1.03; letter-spacing: -.045em !important; font-weight: 600 !important; transition: transform .5s var(--iw-ease), color .3s; }
.h-work:hover .h-work__t { transform: translateX(14px); }
.h-works:hover .h-work .h-work__t { color: var(--iw-muted-2); }
.h-works:hover .h-work:hover .h-work__t { color: var(--iw-text); }
.h-work__d { color: var(--iw-muted); font-size: 15px; }
.h-work__y { text-align: right; font-size: 11px; color: var(--iw-muted); }
.h-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; margin-top: 120px; padding-top: 80px; border-top: 1px solid var(--iw-line); }
.h-band__img { border-radius: 22px; overflow: hidden; border: 1px solid var(--iw-line); background: var(--iw-surface); }
.h-band__img img { width: 100%; height: auto; display: block; }

/* 05 Método */
.h-method { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
.h-method__line { position: absolute; top: 34px; left: 0; right: 0; height: 1px; background: var(--iw-line); }
.h-method__line i { position: absolute; inset: 0; background: var(--iw-accent); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--iw-ease); }
.h-method.in .h-method__line i, html:not(.iw-js) .h-method__line i { transform: scaleX(1); }
.h-step { position: relative; padding-right: 40px; }
.h-step__dot { position: relative; z-index: 1; width: 68px; height: 68px; margin-bottom: 36px; border-radius: 50%; border: 1px solid var(--iw-line-2); background: var(--iw-bg); display: flex; align-items: center; justify-content: center; font-family: var(--iw-mono); font-size: 13px; transition: background .4s, border-color .4s; }
.h-step:hover .h-step__dot { background: var(--iw-accent); border-color: var(--iw-accent); }
.h-step h3 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1; letter-spacing: -.045em; font-weight: 600; margin: 12px 0 14px; }
.h-step p { max-width: 36ch; margin: 0; color: var(--iw-muted); font-size: 15.5px; }

/* Blog */
.h-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h-post { display: flex; flex-direction: column; gap: 16px; }
.h-post__img { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; border: 1px solid var(--iw-line); background: var(--iw-surface); }
.h-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--iw-ease); }
.h-post:hover .h-post__img img { transform: scale(1.05); }
.h-post h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; }
.h-post p { margin: 0; font-size: 14.5px; color: var(--iw-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Contacto */
.h-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); }
.h-contact__big { font-size: clamp(46px, 7vw, 116px) !important; line-height: .9; letter-spacing: -.06em !important; font-weight: 600 !important; margin: 0 0 26px !important; }
.h-cinfo { margin-top: 46px; border-top: 1px solid var(--iw-line); }
.h-cinfo > a, .h-cinfo > div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--iw-line); font-size: 16px; overflow-wrap: anywhere; }
.h-cinfo .iw-mono { color: var(--iw-muted); }
.h-cinfo a:hover span:last-child { color: var(--iw-accent); }
.h-form { align-self: start; display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px) !important; border-radius: 24px !important; }
.h-form .form-group input, .h-form .form-group textarea { width: 100%; padding: 12px 0 14px; font-size: 18px; outline: none; }
.h-form textarea { resize: vertical; min-height: 120px; }
.h-form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; }

/* Testimonios */
.h-rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 0 20px; scrollbar-width: none; cursor: grab; }
.h-rail::-webkit-scrollbar { display: none; }
.h-testi { flex: 0 0 min(380px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 28px; border: 1px solid var(--iw-line); border-radius: 22px; background: var(--iw-bg); user-select: none; }
.h-testi p { margin: 14px 0 0; font-size: 17px; line-height: 1.45; }
.h-testi.testimonial-card--clickable { cursor: pointer; }
.h-testi.testimonial-card--clickable:hover { border-color: var(--iw-line-2); }
.h-more-txt { color: var(--iw-accent); font-size: 14px; white-space: nowrap; }
.h-stars { color: var(--iw-accent); letter-spacing: 3px; font-size: 14px; }
.h-testi__by { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.h-testi__by small { display: block; color: var(--iw-muted); font-size: 12.5px; }
.h-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--iw-line-2); background: var(--iw-surface-2); display: flex; align-items: center; justify-content: center; font-weight: 600; overflow: hidden; }
.h-rail-ctrl { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.h-rail-btns { display: flex; gap: 10px; }
.h-rail-btns button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--iw-line-2); background: none; color: var(--iw-text); cursor: pointer; transition: .3s; }
.h-rail-btns button:hover { background: var(--iw-text); color: var(--iw-bg); }

/* SEO local */
.h-local__panel { padding: clamp(28px, 4vw, 56px); border: 1px solid var(--iw-line); border-radius: 28px; background: var(--iw-surface); }
.h-local__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; margin-top: 22px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .h-head { grid-template-columns: 1fr; gap: 16px; }
  .h-svc { grid-template-columns: 50px 1fr 52px; }
  .h-svc__d { grid-column: 2 / 3; }
  .h-svc__a { grid-row: 1; grid-column: 3; }
  .h-work { grid-template-columns: 1fr; gap: 10px; }
  .h-work__y { text-align: left; }
  .h-thumb { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin-top: 8px; }
  .h-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .h-svcs .h-thumb { display: none; }
  .h-benefits, .h-stats { grid-template-columns: 1fr 1fr; }
  .h-bn { margin-bottom: 30px; }
  .h-bn:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 860px) {
  .h-hero__foot, .h-split, .h-feature, .h-faq, .h-contact, .h-band, .h-local__grid { grid-template-columns: 1fr; }
  .h-hero__ctas { justify-content: flex-start; }
  .h-hero__scroll { display: none; }
  .h-cards3, .h-pfs, .h-posts, .h-method { grid-template-columns: 1fr; }
  .h-method__line { display: none; }
  .h-step { padding: 0 0 40px; }
  .h-res { grid-template-columns: 1fr 1fr; }
  .h-pf { min-height: 340px; }
  .h-hover-img { display: none; }
}
@media (max-width: 520px) {
  .h-benefits, .h-res, .h-chips { grid-template-columns: 1fr; }
  .h-bn { border-right: 0; margin-right: 0; padding-right: 0; }
  .h-stats { grid-template-columns: 1fr; }
  .h-stat { min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .h *, .h-hero__glow { animation: none !important; transition: none !important; }
  .iw-js .rv { opacity: 1; transform: none; }
}

/* Los botones del sistema nuevo mantienen su color de texto dentro de .h (que hereda color en los links) */
.h .iw-btn--light { color: var(--iw-bg); }
.h .iw-btn--accent { color: #fff; }
