:root {
  --tinta: #2a2f35;
  --suave: #525961;
  --verde: #11b838;
  --verde-texto: #355c26;
  --fondo: #f5f5f5;
  --borde: #e1e3e5;
  --ancho: 1200px;
  --margen: 15px;
}
*, *::before, *::after { box-sizing: border-box }
[hidden] { display: none !important }
html { scroll-behavior: smooth }
body { margin: 0; color: var(--tinta); background: #fff; font: .875rem/1.7 Poppins, Arial, sans-serif }
h1, h2, h3, h4, p, figure { margin: 0 }
h1, h2, h3, h4 { font-family: Nunito, Arial, sans-serif; line-height: 1.25; font-weight: 400 }
h2 { font-size: clamp(2.25rem, 6vw, 4.5rem) }
h3 { font-size: clamp(1.45rem, 3vw, 2.25rem) }
h4 { font-size: 1.25rem }
p + p, p + ul { margin-top: .85em }
img { display: block; max-width: 100%; height: auto }
a { color: var(--verde-texto); text-underline-offset: .2em }
:focus-visible { outline: 3px solid #17609e; outline-offset: 4px; box-shadow: 0 0 0 5px #fff }
section[id], #contenido { scroll-margin-top: 6rem }
.saltar { position: fixed; z-index: 9; top: .6rem; left: .6rem; padding: .55rem 1rem; transform: translateY(-170%); background: #fff }
.saltar:focus { transform: none }
.contenedor { width: min(100%, var(--ancho)); margin-inline: auto; padding-inline: var(--margen) }
.seccion { padding-top: clamp(4.5rem, 11vw, 9.375rem) }
#oportunidades { padding-top: clamp(4.5rem, 9vw, 7.5rem) }
.cabecera { position: fixed; inset: 0 0 auto; z-index: 5; color: white; transition: background-color .25s, box-shadow .25s }
.cabecera.solida, .interior .cabecera { color: var(--tinta); background: #fff; box-shadow: 0 2px 15px #0000001a }
.cabecera-interior {
  display: flex;
  align-items: flex-start;
  min-height: 120px;
  padding: 16px 50px;
}
.marca { flex: 0 0 auto }
.marca img { width: 173px; transition: width .25s }
.cabecera.solida .cabecera-interior, .interior .cabecera-interior { min-height: 72px; align-items: center; padding-block: 7px }
.cabecera.solida .marca img, .interior .marca img { width: 116px }
.cabecera nav { display: flex; flex-wrap: wrap; align-content: flex-start; padding-top: 4px }
.cabecera nav a { color: inherit; font-size: 14px; line-height: 20px; padding: 10px clamp(10px, 1.45vw, 20px); text-decoration: none; white-space: nowrap }
.cabecera nav a:hover, .cabecera nav a[aria-current="location"] { color: #9bdb7d }
.cabecera.solida nav a:hover, .cabecera.solida nav a[aria-current="location"], .interior .cabecera nav a:hover { color: var(--verde-texto) }
.menu { display: grid; width: 44px; min-height: 44px; place-items: center; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer }
.menu span, .menu span::before, .menu span::after { display: block; width: 22px; height: 3px; border-radius: 2px; background: currentColor }
.menu span { position: relative }
.menu span::before, .menu span::after { position: absolute; left: 0; content: "" }
.menu span::before { top: -7px }
.menu span::after { top: 7px }
.principal, .bienvenida, .contacto { position: relative; isolation: isolate; color: white; background: #242424 }
.principal picture, .principal picture img, .principal-video, .principal::after,
.bienvenida picture, .bienvenida picture img, .bienvenida::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.principal picture, .bienvenida picture { z-index: -3 }
.principal picture img, .bienvenida picture img { object-fit: cover }
.principal::after, .bienvenida::after { z-index: -1; content: ""; background: rgba(0, 0, 0, .65) }
.principal {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  text-align: center;
}
.principal-video { z-index: -2; opacity: 0; overflow: hidden; transition: opacity .3s }
.video-activo .principal-video { opacity: 1 }
.principal-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78svh);
  height: max(56.25vw, 100svh);
  border: 0;
  transform: translate(-50%, -50%);
}
.principal-texto {
  position: absolute;
  inset: 0;
  margin-inline: var(--margen);
  font-family: Catamaran, Arial, sans-serif;
}
.principal-titulo, .principal-texto p { position: absolute; inset-inline: 0; }
.principal-titulo {
  top: calc(50% - min(90px, 7.258vw, 10.369svh));
  overflow: hidden;
}
.principal h1 { font: 500 min(120px, 9.677vw, 13.825svh)/.833 Catamaran, Arial, sans-serif }
.principal-texto p {
  top: calc(50% + min(44px, 3.548vw, 5.069svh));
  margin: 0;
  padding-right: min(60px, 4.839vw, 6.912svh);
  font-size: min(32px, 2.581vw, 3.687svh);
  font-weight: 300;
  line-height: 1.875;
}
.video-pausa { position: absolute; right: 15px; bottom: 15px; padding: .45rem .85rem; min-height: 44px; border: 1px solid #ffffff80; border-radius: 3px; background: #111a; color: #fff; cursor: pointer }
.bienvenida { display: grid; align-items: center; min-height: 750px; padding-block: 5rem; text-align: center; overflow: clip }
.bienvenida::after { background: #0008 }
.bienvenida h2, .contacto h2 { font-size: 2.25rem }
.bienvenida p { margin-block: 15px 28px; font: 400 21px/1.25 Nunito, Arial, sans-serif }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .bienvenida picture { top: -15%; height: 130% }
}
.dialogo-video { width: min(880px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 44px 12px 12px; border: 0; color: #fff; background: #161616 }
.dialogo-video::backdrop { background: #000d }
.dialogo-video a { display: inline-block; margin-top: 8px; color: #fff }
.reproductor iframe { display: block; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; border: 0 }
.cerrar-video { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 30px; cursor: pointer }
@media (prefers-reduced-motion: no-preference) {
  .principal h1 { animation: titulo-hero 1500ms cubic-bezier(.65, 0, .35, 1) 10ms both }
  .principal-texto p { animation: subtitulo-hero 1750ms cubic-bezier(.76, 0, .24, 1) 750ms both }
  .entrada-visible { animation: entrada 1s ease both }
  [data-entrada="abajo"] { --entrada-y: -100% }
  [data-entrada="arriba"] { --entrada-y: 36px }
  [data-entrada="izquierda"] { --entrada-x: -100% }
  [data-entrada="derecha"] { --entrada-x: 100% }
}
@keyframes titulo-hero { from { transform: translateY(-100%) } }
@keyframes subtitulo-hero { from { transform: translateY(100%); opacity: 0 } }
@keyframes entrada { from { transform: translate(var(--entrada-x, 0), var(--entrada-y, 0)); opacity: 0 } }
.inicio { overflow-x: clip }
.boton {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .62rem 1.45rem;
  border: 1px solid transparent;
  color: #192a12;
  background: var(--verde);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.boton:hover { background: #9bd173 }
.boton:disabled { opacity: .77; cursor: wait }
.boton-video, .boton-guia { gap: .65rem; border-radius: 50px; padding: 20px 35px; font-size: 18px; font-weight: 400; line-height: 18px; transition: transform .2s, background-color .2s }
.boton-video:hover, .boton-guia:hover { transform: scale(1.07) }
.boton-guia { background: #81d742 }
.seccion-cabecera { margin-bottom: 30px; text-align: center }
.seccion-cabecera p { margin-bottom: 10px; color: #646464; font: 400 14px/1.7 Nunito, Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase }
.seccion-cabecera::after, .guia h3::after { display: block; width: 70px; height: 3px; margin: 10px auto 0; background: var(--verde); content: "" }
.texto-centro { margin-inline: auto; text-align: center; font-size: 18px }
.subtitulo-centro { margin: 60px auto 30px; text-align: center }
.actividades { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px; margin-block: 60px 40px }
.actividad { grid-column: span 3; text-align: center }
.actividades-oportunidades .actividad:nth-child(-n+3) { grid-column: span 4 }
.actividad picture { display: block; width: 70px; margin: 0 auto 25px }
.actividad img { width: 100%; aspect-ratio: 1; object-fit: contain }
.actividad h3 { margin-bottom: 10px; font-size: 16px; font-weight: 700 }
.actividad p { color: #535359 }
.guia { display: grid; justify-items: center; gap: 30px; padding: 30px 0; text-align: center }
.guia h3 { font-size: 21px }
.guia h3::after { background: #81d742 }
.testimonio { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 30px }
.testimonio img { width: 100% }
.ubicacion { display: grid; min-height: clamp(15rem, 29vw, 25rem); place-items: center; background: #f5f5f5; text-align: center }
.ubicacion-interior { padding: 2rem }
.ubicacion-interior span { color: var(--suave) }
.ubicacion-interior h3 { margin-block: .4rem 1.35rem }
.conexiones { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin-top: 30px; text-align: center }
.conexiones article { align-content: center; min-height: 270px; padding: 25px }
.conexiones article:nth-child(2) { background: #f5f5f5 }
.conexiones h3 { margin-bottom: 15px; font-size: 21px }
.dos-columnas { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(1.1rem, 4vw, 3rem) }
.dos-columnas img { width: 100% }
.dos-columnas h3, .franja h3 { margin-bottom: 1rem }
.datos-fichas h3:not(:first-child) { margin-top: 1.45rem }
.datos-fichas p + p { margin-top: .25rem }
.franja { padding-block: 50px }
.franja:nth-of-type(odd), .franja:last-child { background: var(--fondo) }
.franja .dos-columnas { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 30px }
.franja.inversa .dos-columnas { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) }
.franja.inversa picture { order: 2 }
.intro-incentivos { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 30px; padding-block: 35px 50px; font-size: 18px }
.intro-incentivos > :first-child { padding: 25px; background: #f5f5f5; font-size: 24px }
.intro-incentivos > * { margin: 0 }
.columnas-acordeon { align-items: start; margin-top: 1.25rem }
.acordeon { display: grid; gap: .55rem; margin-block: 1rem }
.acordeon details { border: 1px solid var(--borde); background: #fff }
.acordeon summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 48px; padding: .65rem .85rem; font-weight: 500; list-style: none; cursor: pointer }
.acordeon summary::-webkit-details-marker { display: none }
.acordeon summary::after { flex-shrink: 0; color: var(--verde-texto); font-size: 1.2rem; content: "+" }
.acordeon details[open] summary { border-bottom: 1px solid var(--borde) }
.acordeon details[open] summary::after { content: "−" }
.detalle { padding: .85rem 1rem }
.detalle p, .detalle li { overflow-wrap: anywhere }
.detalle h4 { margin-bottom: .42rem }
.pestanas { display: flex; flex-wrap: wrap; gap: 10px }
.pestanas button { min-height: 44px; padding: .7rem 1.2rem; border: 1px solid #e2e2e2; border-radius: 5px; color: #fff; background: #46752c; font: inherit; cursor: pointer }
.pestanas button[aria-selected="true"] { color: var(--tinta); background: #f8f8f8 }
.testimonios .detalle { padding: 0 }
.testimonios .pestanas { justify-content: center; order: 2; gap: 0 }
.testimonios .pestanas button { display: grid; width: 44px; padding: 0; place-items: center; border: 0; background: transparent; color: inherit; font-size: 0 }
.testimonios .pestanas button::before { width: 12px; height: 12px; border: 1px solid #747474; border-radius: 50%; content: "" }
.testimonios .pestanas button[aria-selected="true"]::before { border-color: #46752c; background: #46752c }
.bonificaciones details { border: 0 }
.bonificaciones summary { justify-content: flex-start; padding-inline: 0; font: 700 16px/1.25 Nunito, Arial, sans-serif }
.bonificaciones summary::after { order: -1; display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: #2478a7; line-height: 1 }
#tramites .acordeon details { border: 0; border-radius: 5px; background: #f5f5f5 }
.nota-tramites { margin-top: 1.75rem; color: var(--suave); font-size: .9rem }
.contacto { margin-top: 80px; padding-block: clamp(65px, 8vw, 100px) clamp(70px, 9vw, 120px); background: linear-gradient(#161a18b8, #161a18b8), url("/assets/img/contacto.webp") center / cover }
.contacto .dos-columnas { align-items: start; gap: 30px }
.contacto .seccion-cabecera p { color: #fff }
.contacto-intro { margin: 0 auto 35px; text-align: center; font-size: clamp(1.125rem, 2vw, 1.5rem) }
.contacto-datos { font-size: 18px }
.contacto a { color: #dbf8cd }
.formulario { display: grid; gap: 13px; align-content: start }
.formulario label:not(.consentimiento) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.formulario :is(input:not([type=checkbox]), textarea) { display: block; width: 100%; min-height: 46px; padding: 11px 15px; border: 1px solid #e1e1e1; border-radius: 0; color: var(--tinta); background: #fff; font: inherit }
.formulario :is(input, textarea)::placeholder { color: #60656a }
.formulario textarea { resize: vertical }
.formulario .consentimiento { display: flex; align-items: flex-start; gap: .55rem; margin: 0; font-weight: 400 }
.consentimiento input { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin: .18rem 0 0; accent-color: var(--verde) }
.formulario .boton { justify-self: start }
[data-challenge]:empty { display: none }
.estado:not(:empty) { max-width: 100%; padding: .65rem .75rem; color: #162616; background: #d9f0c9 }
.estado[data-error]:not(:empty) { color: #462012; background: #f6e1d8 }
.pie { padding-block: 25px; color: #c4c8ca; background: #1c2126; font-size: 13px }
.pie-interior { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem }
.pie a { color: inherit }
.pie nav { display: flex; flex-wrap: wrap; gap: .8rem 1.35rem }
.documento, .legal { width: min(100%, 52rem); min-height: 54vh; margin: 6.3rem auto 0; padding: clamp(2.5rem,7vw,5rem) var(--margen) }
.documento h1, .legal h1 { margin-bottom: 1.3rem; font-size: clamp(2.2rem,5vw,3.5rem) }
.nota-legal { margin-block: 1rem 1.5rem; padding: .7rem 1rem; border-left: 4px solid #9d721f; color: #573a05; background: #fff3d7 }
.text-link { display: inline-block; margin-top: .8rem }
@media (max-width: 991px) {
  .cabecera-interior, .cabecera.solida .cabecera-interior, .interior .cabecera-interior { min-height: 90px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 15px }
  .marca img, .cabecera.solida .marca img, .interior .marca img { width: 90px }
  .cabecera nav { flex-direction: column; align-items: flex-start; width: 100%; max-height: min(65svh, 430px); overflow: auto; padding: .25rem .6rem .6rem; color: var(--tinta); background: #fff }
  .cabecera nav a { width: 100%; padding: .5rem; white-space: normal }
  .cabecera nav a:hover, .cabecera nav a[aria-current="location"] { color: var(--verde-texto) }
}
@media (max-width: 767px) {
  .actividades, .conexiones, .dos-columnas, .testimonio, .intro-incentivos,
  .franja .dos-columnas, .franja.inversa .dos-columnas { grid-template-columns: 1fr }
  .actividad, .actividades-oportunidades .actividad:nth-child(-n+3) { grid-column: auto }
  .actividad { max-width: 29rem; margin: auto }
  .actividad picture { margin-bottom: 18px }
  .franja.inversa picture { order: 0 }
  .bienvenida { min-height: 550px }
  .conexiones article { min-height: auto }
  .contacto .seccion-cabecera h2 { font-size: 30px }
}
@media (max-width: 480px) {
  .principal-titulo { top: calc(50% - min(102px, 21.25vw, 14.167svh)) }
  .principal h1 { font-size: min(45px, 9.375vw, 6.25svh); line-height: 1.11 }
  .principal-texto p { top: calc(50% + min(24.5px, 5.104vw, 3.403svh)); padding-right: 0; font-size: min(32px, 6.667vw, 4.444svh); line-height: 1.3 }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { transition-duration: 0s !important }
}

/* Mapas de OpenStreetMap (sin cuenta ni cookies de seguimiento) */
.mapa{margin:2rem 0;}
.mapa iframe{display:block;width:100%;height:420px;border:0;border-radius:8px;background:#e8eef2;}
.mapa figcaption{margin-top:.5rem;font-size:.9rem;text-align:center;}
.mapa-contacto{margin:1.25rem 0 0;}
.mapa-contacto iframe{height:280px;}
@media (max-width:600px){.mapa iframe{height:320px;}.mapa-contacto iframe{height:240px;}}
