/* Carrusel de videos y pasos de contacto de la portada. */
.soft-line { margin: 0 0 22px; color: var(--muted); font-size: .98rem; }

.section.videos { background: linear-gradient(160deg, #070d1a 0%, #0b1426 55%, #14213d 100%); color: #fff; position: relative; overflow: hidden; }
.videos::before { content: ""; position: absolute; right: -140px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(252, 213, 42, .1); }
.videos .wrap { position: relative; z-index: 1; }
.videos h2 { color: #fff; }
.videos .lead { color: #e8e1d2; margin-bottom: 0; }
.videos-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }

/* Tira infinita: ocupa todo el ancho de la pantalla, con los bordes difuminados. El movimiento lo hace carousel.js
   (transform); sin JavaScript queda una tira que se desliza a mano. */
.reel-viewport { position: relative; overflow-x: auto; padding: 14px 0 34px; scrollbar-width: none; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.reel-viewport::-webkit-scrollbar { display: none; }
.reel-viewport.is-marquee { overflow: hidden; }
.reel-viewport.dragging { cursor: grabbing; }
.reel-viewport:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; border-radius: 12px; }
.reel-track { display: flex; gap: 16px; width: max-content; padding-inline: 16px; will-change: transform; }
.reel-viewport.dragging .reel-open { pointer-events: none; }
.reel-viewport::before, .reel-viewport::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 3; width: clamp(40px, 13vw, 190px); pointer-events: none; -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
.reel-viewport::before { left: 0; background: linear-gradient(to right, rgba(7, 13, 26, .92), rgba(7, 13, 26, 0)); -webkit-mask-image: linear-gradient(to right, #000 25%, transparent); mask-image: linear-gradient(to right, #000 25%, transparent); }
.reel-viewport::after { right: 0; background: linear-gradient(to left, rgba(14, 24, 48, .92), rgba(14, 24, 48, 0)); -webkit-mask-image: linear-gradient(to left, #000 25%, transparent); mask-image: linear-gradient(to left, #000 25%, transparent); }
.reel { position: relative; flex: 0 0 min(250px, 68vw); aspect-ratio: 9 / 16; transition: transform .25s ease; }
.reel:hover { transform: translateY(-6px); }
.reel-open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: pointer; text-align: left; color: #fff; font: inherit; background: #14213d; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); transition: transform .25s ease, box-shadow .25s ease; isolation: isolate; }
.reel:hover .reel-open { box-shadow: 0 26px 54px rgba(0, 0, 0, .4); }
.reel-open:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.reel-open::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 52%, rgba(6, 28, 34, .88) 100%); }
.reel-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.reel-glyph { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); color: rgba(255, 255, 255, .13); }
.reel-glyph svg { stroke-width: 1.1; }
.g0 .reel-open { background: linear-gradient(160deg, #1b2b52 0%, #0b1426 100%); }
.g1 .reel-open { background: linear-gradient(160deg, #8a6500 0%, #101b33 100%); }
.g2 .reel-open { background: linear-gradient(160deg, #2e4378 0%, #0e1830 100%); }
.g3 .reel-open { background: linear-gradient(160deg, #2e6073 0%, #0e1830 100%); }
.g4 .reel-open { background: linear-gradient(160deg, #d9a900 0%, #1c2a4d 100%); }
.g5 .reel-open { background: linear-gradient(160deg, #3a5088 0%, #0b1426 100%); }
.reel-tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: var(--sun); color: var(--charcoal); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.reel-time { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); font-size: .78rem; font-weight: 700; backdrop-filter: blur(4px); }
.reel-play { position: absolute; left: 50%; top: 42%; z-index: 2; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--brand-deep); transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s, background .2s; }
.reel-play svg { margin-left: 3px; }
.reel:hover .reel-play { transform: translate(-50%, -50%) scale(1.1); background: var(--sun); }
.reel-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: grid; gap: 4px; margin: 0; color: #fff; pointer-events: none; }
.reel-cap strong, .reel-link { font-family: var(--serif); font-size: 1.18rem; line-height: 1.2; font-weight: 700; }
.reel-link { justify-self: start; color: inherit; text-decoration: underline transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; pointer-events: auto; transition: text-decoration-color .2s, color .2s; }
.reel-link:hover, .reel-link:focus-visible { color: var(--sun); text-decoration-color: currentColor; }
.reel-viewport.dragging .reel-link { pointer-events: none; }
.reel-title .reel-link { font-size: inherit; color: inherit; }
.reel-cap small { color: #e8e1d2; font-size: .8rem; }
.videos-foot { margin: 4px 0 0; color: #cfc7b4; font-size: .92rem; }
.videos-foot a { color: var(--sun); font-weight: 700; }

.reel-modal { width: min(94vw, 420px); padding: 0; border: 0; border-radius: 22px; background: #050a14; color: #fff; overflow: visible; }
.reel-modal::backdrop { background: rgba(3, 18, 22, .82); backdrop-filter: blur(4px); }
.reel-stage { aspect-ratio: 9 / 16; max-height: 78vh; width: 100%; background: #000; border-radius: 22px 22px 0 0; overflow: hidden; display: grid; place-items: center; }
.reel-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.reel-title { margin: 0; padding: 14px 18px 16px; font-family: var(--serif); font-size: 1.1rem; }
.reel-close { position: absolute; top: -14px; right: -14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--sun); color: var(--charcoal); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.reel-soon { display: grid; gap: 8px; padding: 28px; text-align: center; background: linear-gradient(160deg, #1b2b52, #0b1426); height: 100%; align-content: center; }
.reel-soon strong { font-family: var(--serif); font-size: 1.4rem; }
.reel-soon span { color: #e8e1d2; font-size: .95rem; }

/* pasos de contacto, discretos, al pie del cierre */
.info-box { align-items: start; }
.mini-steps { grid-column: 1 / -1; list-style: none; margin: 6px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; counter-reset: ms; }
.mini-steps li { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.mini-steps li:not(:last-child)::after { content: ""; position: absolute; top: 14px; left: 44px; right: -10px; height: 1px; background: linear-gradient(90deg, rgba(252, 213, 42, .5), rgba(252, 213, 42, 0)); }
.mini-steps .n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--sun); color: var(--sun); font-family: var(--serif); font-weight: 700; font-size: .92rem; background: #0b1426; position: relative; z-index: 1; }
.mini-steps strong { display: block; color: #fff; font-size: .95rem; line-height: 1.3; }
.mini-steps small { display: block; color: #b5ad99; font-size: .82rem; margin-top: 2px; }

@media (max-width: 860px) {
  .mini-steps { grid-template-columns: 1fr; gap: 14px; }
  .mini-steps li:not(:last-child)::after { display: none; }
  .videos-head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .reel, .reel-open, .reel-play { transition: none; } .reel:hover { transform: none; } }

/* ---------------------------------------------------------------- encabezado más aireado */
.site-head .wrap { width: min(100% - 40px, 1240px); gap: 28px; }
.site-nav { margin-inline: auto; gap: 6px; }
.site-nav a { padding: 10px 16px; font-size: .95rem; }
.head-actions { gap: 14px; padding-left: 22px; border-left: 1px solid var(--line); }
@media (max-width: 1300px) { .head-actions { border-left: 0; padding-left: 0; margin-left: auto; } }

/* ---------------------------------------------------------------- menos íconos: puntos y números */
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.checklist li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); }
.checklist { gap: 16px 32px; }

.action-grid { counter-reset: act; }
.action::before { counter-increment: act; content: '0' counter(act); display: block; margin-bottom: 14px; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; color: var(--sun-dark); }
.pillars { counter-reset: pil; }
.pillar::before { counter-increment: pil; content: '0' counter(pil); display: block; margin-bottom: 12px; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; color: var(--sun-dark); }
.service { border-top: 3px solid var(--sun); }
.service h3 { margin-top: 2px; }

/* ---------------------------------------------------------------- "lo importante": centrado y parejo */
.important { padding: 46px 0 52px; }
.important h2 { text-align: center; font-size: 1.4rem; margin-bottom: 26px; }
.important-grid { max-width: 1040px; margin-inline: auto; gap: 16px; }
.imp { flex-direction: column; align-items: center; gap: 0; padding: 22px 20px 24px; text-align: center; border-top: 4px solid var(--sun); }
.imp > div { display: block; }
.imp strong { margin-bottom: 8px; font-size: 1.02rem; }
.imp p { font-size: .9rem; line-height: 1.55; }
.imp .ico { margin-bottom: 12px; }
.imp.urgent-imp { border-top-color: #d9534f; }
.imp.urgent-imp .ico { background: #fff; color: var(--bad-ink); box-shadow: inset 0 0 0 1px #f2bcbc; }

/* ---------------------------------------------------------------- enfoque con más aire */
#enfoque { padding: 96px 0; }
.approach { gap: 64px; }
.approach .lead { margin-bottom: 0; }
.checklist { margin-top: 30px; }
.quote { padding: 54px 40px 50px; }
.approach + .pillars { margin-top: 76px; padding-top: 52px; border-top: 1px solid var(--line); gap: 44px; }
.pillar { padding: 0; }
.pillar p { max-width: 34ch; }
@media (max-width: 860px) { #enfoque { padding: 64px 0; } .approach { gap: 36px; } .approach + .pillars { margin-top: 48px; padding-top: 36px; gap: 28px; } .quote { padding: 44px 28px 40px; } }
.action::before, .pillar::before { color: #b08900; }
.mini-steps li:not(:last-child)::after { display: none; }
.mini-steps { gap: 28px; }
video.reel-bg { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
