/* Portada audiovisual: paisaje amplio, lectura clara y controles siempre accesibles. */
.home-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: clamp(44px, 6vw, 80px); min-height: max(680px, min(820px, calc(100svh - 88px))); padding: clamp(58px, 7vw, 96px) var(--page-gutter) 28px; overflow: hidden; background: #0d1c32; color: white; }
.hero-video-stage, .hero-video-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-video-stage { overflow: hidden; background: #193e49 url("../images/hero-costa-rica.jpg") center / cover no-repeat; }
.hero-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero-video.is-active { opacity: 1; }
.hero-video-shade { z-index: -1; background: linear-gradient(90deg, #061a30ed 0%, #071c30c9 32%, #09213960 66%, #0d1c321c 100%), linear-gradient(0deg, #07192fd9 0%, transparent 35%, #0b1c301a 100%); }
.home-hero-grid { display: block; width: 100%; }
.home-hero-copy { max-width: 640px; }
.home-hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--mint); font-size: 10px; letter-spacing: .12em; margin: 0 0 24px; }
.eyebrow-line { width: 25px; height: 2px; background: currentColor; }
.home-hero h1 { max-width: 16ch; font-size: clamp(48px, 5.6vw, 76px); line-height: 1.08; letter-spacing: -.055em; text-shadow: 0 2px 24px #061a3030; }
.home-hero h1 > span { color: var(--mint); }
.home-hero-description { max-width: 48ch; margin: 24px 0 28px; color: #edf4fc; font-size: 16px; line-height: 1.75; }
.home-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-hero .button-primary { background: var(--mint); color: var(--navy); }
.home-hero .button-primary:hover { background: #bcfff4; }
.home-hero .button-secondary { background: #0d1c3252; color: white; border-color: #ffffff80; }
.home-hero .button-secondary:hover { background: #0d1c3280; }
.home-hero a:focus-visible, .home-hero button:focus-visible { outline-color: var(--mint); }
.home-availability { display: flex; align-items: center; gap: 8px; color: #d6e4ed; font-size: 11px; margin: 20px 0 0; }
.home-availability > span { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex-shrink: 0; }
.hero-video-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: 100%; margin-top: auto; padding-top: 24px; border-top: 1px solid #ffffff30; }
.hero-destination { display: flex; gap: 12px; align-items: center; min-height: 52px; color: white; text-decoration: none; }
.hero-destination-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #ffffff14; border: 1px solid #ffffff30; }
.hero-destination-icon svg { width: 21px; height: 21px; fill: var(--mint); }
.hero-destination > span:nth-child(2) { display: grid; gap: 3px; }
.hero-destination small { font-size: 10px; color: #cedee9; }
.hero-destination strong { font-size: 14px; font-weight: 600; }
.hero-destination strong > span { padding-inline: 9px; color: var(--mint); }
.hero-destination-arrow { margin-left: 22px; font-size: 23px; color: var(--mint); }
.hero-destination:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.hero-media-controls { display: flex; align-items: center; gap: 20px; }
.hero-video-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 14px; border: 1px solid #ffffff6b; border-radius: 7px; background: #0d1c326b; color: white; font-size: 11px; }
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle:hover { background: #0d1c32b3; border-color: #ffffffb3; }
.hero-video-toggle > span:first-child { display: grid; place-items: center; width: 18px; font-size: 14px; }
.hero-video-credit { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #d6e4ed; font-size: 10px; text-decoration: none; }
.hero-video-credit:hover { color: white; text-decoration: underline; }
.home-context { padding: 22px var(--page-gutter); background: white; border-block: 1px solid var(--line); }
.home-context .section-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-context span { font: 600 13px 'Plus Jakarta Sans', sans-serif; }
.home-context p { margin: 0; font-size: 11px; color: var(--muted); }
.home-context strong { font-weight: 500; color: var(--navy); }
.home-benefits { padding: 78px var(--page-gutter); }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.home-section-heading .eyebrow { margin: 0 0 14px; }
.home-section-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 39px); }
.home-section-heading > p { max-width: 42ch; margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.home-benefits .feature-grid { margin-top: 34px; gap: 16px; }
.home-benefits .module-card { padding: 25px 22px 18px; }
.home-benefits .module-icon { margin-bottom: 24px; }
.home-benefits .module-card h3 { font-size: 16px; margin-bottom: 12px; }
.home-benefits .module-card > p { font-size: 12px; line-height: 1.8; margin-bottom: 22px; }
.home-benefits .module-link { font-size: 11px; border-top: 1px solid var(--line); padding-top: 14px; }
.home-benefits .module-link span { font-size: 19px; }
.home-start { padding: 76px var(--page-gutter); background: white; }
.home-start-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; }
.home-start-intro .eyebrow { margin: 0 0 14px; }
.home-start h2 { margin: 0 0 22px; font-size: clamp(28px, 3vw, 39px); }
.home-start-intro > p:not(.eyebrow) { max-width: 36ch; font-size: 13px; color: var(--muted); }
.text-link { display: inline-flex; gap: 22px; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--green); text-decoration: none; min-height: 44px; align-items: center; }
.home-steps { margin: 0; padding: 0; list-style: none; }
.home-steps li { display: flex; gap: 22px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.home-steps li:first-child { padding-top: 0; }
.home-steps li:last-child { border: 0; padding-bottom: 0; }
.home-steps li > span { flex-shrink: 0; display: grid; place-items: center; width: 37px; height: 37px; background: var(--surface); color: var(--green); border-radius: 9px; font-size: 11px; font-weight: 700; }
.home-steps h3 { margin: 0 0 8px; font-size: 16px; }
.home-steps p { font-size: 12px; color: var(--muted); margin: 0; }
.home-steps a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 11px; font-weight: 600; color: var(--green); text-decoration: none; }
.home-page .home-closing { display: flex; justify-content: space-between; align-items: center; gap: 32px; text-align: left; }
.home-closing .eyebrow { margin: 0 0 16px; }
.home-closing h2 { margin: 0 0 14px; }
.home-closing p:not(.eyebrow) { margin: 0; max-width: none; font-size: 13px; }
.home-page .home-closing .button { flex-shrink: 0; margin: 0; }
@media (max-width: 1023px) { .home-hero { padding-block: 48px; } .home-hero h1 { font-size: clamp(40px, 5.7vw, 58px); } .home-actions .button { padding-inline: 14px; font-size: 12px; } .home-hero-description { font-size: 14px; } .home-section-heading > p { max-width: 36ch; } .home-start-grid { gap: 36px; } }
@media (max-width: 700px) { .home-hero h1 { font-size: clamp(44px, 10.2vw, 62px); }  .home-hero-copy .eyebrow { font-size: 9px; margin-bottom: 20px; } .home-hero-description { margin-block: 22px; max-width: 46ch; } .home-context .section-inner { flex-direction: column; align-items: flex-start; gap: 6px; } .home-section-heading { flex-direction: column; align-items: flex-start; gap: 20px; } .home-section-heading > p { max-width: 50ch; } .home-benefits, .home-start { padding-block: 48px; } .home-benefits .feature-grid { grid-template-columns: 1fr; } .home-benefits .module-card { padding: 24px; } .home-benefits .module-card h3 { font-size: 18px; } .home-benefits .module-card > p { font-size: 14px; } .home-benefits .module-link { font-size: 12px; } .home-start-grid { grid-template-columns: 1fr; gap: 28px; } .home-page .home-closing { flex-direction: column; align-items: flex-start; gap: 24px; } }
@media (min-width: 460px) and (max-width: 700px) { .home-benefits .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* Acceso visible al equipo, además del enlace del pie de página. */
.home-team { padding: 42px var(--page-gutter); background: var(--surface); }
.home-team-panel { display: flex; align-items: center; gap: 28px; }
.home-team-faces { display: flex; flex-shrink: 0; padding-right: 10px; }
.home-team-faces img { display: block; width: 72px; height: 72px; border: 4px solid var(--surface); border-radius: 50%; object-fit: cover; background: #dce8f3; }
.home-team-faces img + img { margin-left: -18px; }
.home-team-copy { flex: 1; }
.home-team-copy .eyebrow { margin: 0 0 9px; font-size: 10px; }
.home-team-copy h2 { margin: 0 0 9px; font-size: clamp(22px, 2.2vw, 29px); }
.home-team-copy > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.home-team-panel > .button { flex-shrink: 0; }
@media (max-width: 900px) {
  .home-hero { min-height: 720px; padding-top: 58px; gap: 46px; }
  .home-hero h1 { font-size: clamp(46px, 7.5vw, 66px); }
  .hero-video-shade { background: linear-gradient(90deg, #061a30eb, #071c30b8 55%, #09213966), linear-gradient(0deg, #07192fe0, transparent 40%); }
  .home-team-panel { flex-wrap: wrap; gap: 20px; }
  .home-team-panel > .button { margin-left: 136px; }
}
@media (max-width: 600px) {
  .home-hero { min-height: max(740px, calc(100svh - 88px)); gap: 40px; padding: 48px var(--page-gutter) 22px; }
  .home-hero h1 { font-size: clamp(43px, 10vw, 60px); }
  .home-hero-copy .eyebrow { font-size: 9px; letter-spacing: .08em; margin-bottom: 22px; }
  .home-hero-description { font-size: 14px; max-width: 46ch; margin-block: 22px; }
  .home-hero .home-actions .button { font-size: 12px; padding-inline: 15px; }
  .home-availability { font-size: 10px; align-items: flex-start; }
  .home-availability > span { margin-top: 5px; }
  .hero-video-shade { background: linear-gradient(90deg, #061a30e8, #071c30b3), linear-gradient(0deg, #07192ff0, transparent 42%); }
  .hero-video-footer { flex-direction: column; align-items: stretch; gap: 18px; padding-top: 18px; }
  .hero-destination { width: fit-content; }
  .hero-media-controls { justify-content: space-between; gap: 12px; }
  .home-team { padding-block: 36px; }
  .home-team-panel { align-items: flex-start; }
  .home-team-faces img { width: 56px; height: 56px; }
  .home-team-faces img + img { margin-left: -16px; }
  .home-team-copy { min-width: 190px; }
  .home-team-panel > .button { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-video { transition: none; } }
