/* =========================
   1) Variables y reset
========================= */
:root {
    --fondo-principal: #070b14;
    --fondo-secundario: #101827;
    --superficie: #131d30;
    --superficie-alt: #1a2740;
    --color-acento: #2fd4ff;
    --color-acento-2: #6d7dff;
    --texto-claro: #f4f7ff;
    --texto-gris: #b5bfd4;
    --error: #ff6a7a;
    --ok: #51d78a;
    --radio: 16px;
    --radio-sm: 12px;
    --sombra-suave: 0 18px 40px rgba(3, 8, 20, 0.38);
    --sombra-acento: 0 0 0 1px rgba(47, 212, 255, 0.25), 0 20px 45px rgba(47, 212, 255, 0.18);
    --gradiente-principal: linear-gradient(120deg, rgba(47, 212, 255, 0.25), rgba(109, 125, 255, 0.18));
    --fuente: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente);
    background: radial-gradient(circle at top right, rgba(47, 212, 255, 0.08), transparent 32%), var(--fondo-principal);
    color: var(--texto-claro);
    line-height: 1.65;
}

main {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   2) Utilidades globales
========================= */
.seccion {
    padding: 100px 20px;
}

.oscura {
    background: var(--fondo-secundario);
}

.contenedor {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.titulo-seccion {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    text-align: center;
    margin-bottom: 18px;
}

.titulo-seccion::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento-2));
}

.subtitulo-seccion {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    color: var(--texto-gris);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.fade-up {
    animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================
   3) Botones
========================= */
.btn-primario,
.btn-secundario,
.btn-social {
    border: none;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primario,
.btn-secundario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
}

.btn-primario {
    background: linear-gradient(130deg, var(--color-acento), var(--color-acento-2));
    color: #03101f;
    box-shadow: 0 14px 28px rgba(43, 130, 233, 0.25);
}

.btn-secundario {
    background: rgba(255, 255, 255, 0.04);
    color: var(--texto-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primario:hover,
.btn-secundario:hover,
.btn-social:hover {
    transform: translateY(-2px);
}

.btn-primario:active,
.btn-secundario:active,
.btn-social:active {
    transform: translateY(0);
}

/* =========================
   4) Navbar
========================= */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 26px;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background: rgba(8, 15, 27, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 1.35rem;
    letter-spacing: 1.7px;
    font-weight: 700;
}

.logo span {
    color: var(--color-acento);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: var(--texto-claro);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--color-acento);
}

.btn-contacto {
    padding: 8px 16px;
    border: 1px solid rgba(47, 212, 255, 0.6);
    border-radius: 999px;
    color: var(--color-acento) !important;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: var(--texto-claro);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   5) Hero
========================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 20px 70px;
    background: url('imagenes/portada.jpg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 9, 18, 0.4) 0%, rgba(7, 11, 20, 0.93) 88%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
}

.hero-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 7px 14px;
    margin-bottom: 16px;
    font-size: 0.84rem;
    color: #c8f3ff;
    border: 1px solid rgba(47, 212, 255, 0.5);
    background: rgba(47, 212, 255, 0.08);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--color-acento);
}

.hero p {
    color: var(--texto-gris);
    width: min(760px, 100%);
    margin: 0 auto 32px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================
   6) Servicios
========================= */
.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.tarjeta-servicio {
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: var(--radio);
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: var(--sombra-suave);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tarjeta-servicio:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 212, 255, 0.4);
    box-shadow: var(--sombra-acento);
}

.tarjeta-servicio i {
    font-size: 1.6rem;
    color: var(--color-acento);
    margin-bottom: 16px;
}

.tarjeta-servicio h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tarjeta-servicio p {
    color: var(--texto-gris);
    font-size: 0.95rem;
}

/* =========================
   7) Portafolio
========================= */
.filtros-portafolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 36px 0 30px;
}

.filtro-btn {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
    color: var(--texto-claro);
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filtro-btn:hover,
.filtro-btn.active {
    border-color: rgba(47, 212, 255, 0.65);
    background: rgba(47, 212, 255, 0.14);
}

.grid-portafolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.item-portafolio {
    position: relative;
    border-radius: var(--radio-sm);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 220px;
}

.item-portafolio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.item-portafolio:hover img {
    transform: scale(1.07);
}

.overlay-item {
    position: absolute;
    inset: auto 0 0;
    padding: 14px 14px 13px;
    background: linear-gradient(to top, rgba(3, 8, 20, 0.9), rgba(3, 8, 20, 0));
}

.overlay-item h3 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.overlay-item p {
    font-size: 0.8rem;
    color: #cdd6ea;
}

.item-portafolio.hidden {
    display: none;
}

.portafolio-mas-wrap {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1800;
    background: rgba(2, 6, 12, 0.88);
    display: none;
    place-items: center;
    padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.modal.activo {
    display: grid;
}

.modal-contenido {
    width: min(1000px, 100%);
    max-height: calc(100dvh - 120px);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--sombra-suave);
}

.modal-media {
    width: 100%;
}

.modal-media-video {
    aspect-ratio: 16 / 9;
    max-height: min(78vh, 560px);
}

.modal-media-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    background: #000;
}

.modal-media-image {
    display: flex;
    justify-content: center;
}

.modal-media-image img {
    width: 100%;
    height: auto;
    max-height: min(78vh, 560px);
    object-fit: contain;
    display: block;
    background: #000;
}

.modal-contenido img,
.modal-contenido iframe,
.modal-contenido video {
    width: 100%;
    border: none;
    display: block;
    background: #000;
}

.modal-contenido img,
.modal-contenido video {
    height: auto;
    max-height: min(78vh, 560px);
    object-fit: contain;
}

.modal-contenido iframe {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: min(78dvh, 560px);
}

/* =========================
   7.1) Destinos (acceso lugar.html)
========================= */
.grid-destinos {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.tarjeta-destino {
    min-height: 250px;
    border-radius: var(--radio-sm);
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px;
    box-shadow: var(--sombra-suave);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tarjeta-destino::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 8, 20, 0.85), rgba(3, 8, 20, 0.15));
}

.tarjeta-destino > * {
    position: relative;
    z-index: 1;
}

.tarjeta-destino:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-acento);
}

.tag-destino {
    width: fit-content;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    border: 1px solid rgba(47, 212, 255, 0.55);
    color: #d5f8ff;
    background: rgba(47, 212, 255, 0.14);
}

.tarjeta-destino h3 {
    font-size: 1.05rem;
}

.cerrar-modal {
    position: absolute;
    right: max(12px, env(safe-area-inset-right));
    top: max(12px, env(safe-area-inset-top));
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.12);
}

/* =========================
   8) Sobre Nosotros
========================= */
.nosotros-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: center;
}

.nosotros-texto h3 {
    margin: 14px 0 8px;
    color: var(--color-acento);
}

.nosotros-texto p {
    color: var(--texto-gris);
}

.nosotros-imagen {
    border-radius: var(--radio);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--gradiente-principal);
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.nosotros-imagen img {
    width: min(350px, 100%);
    filter: drop-shadow(0 15px 32px rgba(47, 212, 255, 0.25));
}

/* =========================
   9) Testimonios
========================= */
.carrusel-testimonios {
    margin-top: 34px;
    position: relative;
}

.testimonio {
    display: none;
    background: var(--superficie);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);
    padding: 34px;
    text-align: center;
}

.testimonio.active {
    display: block;
    animation: desvanecer 0.5s ease;
}

@keyframes desvanecer {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonio p {
    color: #d8e0f2;
    margin-bottom: 16px;
}

.testimonio h3 {
    margin-bottom: 4px;
}

.testimonio span {
    color: var(--texto-gris);
    font-size: 0.9rem;
}

.indicadores {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.indicador {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.28);
}

.indicador.active {
    background: var(--color-acento);
}

/* =========================
   10) FAQ
========================= */
.faq-lista {
    width: min(860px, 100%);
    margin: 34px auto 0;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--superficie);
    border-radius: var(--radio-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.faq-pregunta {
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    color: var(--texto-claro);
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-pregunta i {
    transition: transform 0.25s ease;
}

.faq-item.active .faq-pregunta i {
    transform: rotate(180deg);
}

.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-respuesta {
    max-height: 180px;
    padding: 0 20px 16px;
}

.faq-respuesta p {
    color: var(--texto-gris);
    font-size: 0.95rem;
}

/* =========================
   11) Contacto
========================= */
.contacto-wrap {
    width: min(950px, 100%);
    margin: 36px auto 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
}

.formulario,
.contacto-social {
    background: var(--superficie);
    border-radius: var(--radio);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--sombra-suave);
    padding: 24px;
}

.formulario {
    display: grid;
    gap: 14px;
}

.campo-formulario {
    display: grid;
    gap: 6px;
}

.campo-formulario label {
    font-size: 0.88rem;
    color: #dbe4fa;
}

.formulario input,
.formulario select,
.formulario textarea {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 12px;
    background: var(--superficie-alt);
    color: var(--texto-claro);
    font-family: var(--fuente);
}

.formulario input:focus,
.formulario select:focus,
.formulario textarea:focus {
    outline: none;
    border-color: var(--color-acento);
}

.formulario .campo-error {
    border-color: var(--error);
}

#btn-submit {
    width: 100%;
    min-height: 50px;
    position: relative;
}

.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(3, 16, 31, 0.35);
    border-top-color: #021324;
    border-radius: 50%;
    display: none;
    animation: giro 0.75s linear infinite;
}

#btn-submit.loading .btn-text {
    display: none;
}

#btn-submit.loading .btn-loader {
    display: inline-block;
}

@keyframes giro {
    to { transform: rotate(360deg); }
}

.estado-formulario {
    font-size: 0.9rem;
    min-height: 21px;
}

.estado-formulario.error {
    color: var(--error);
}

.estado-formulario.ok {
    color: var(--ok);
}

.contacto-social {
    text-align: center;
    display: grid;
    gap: 14px;
    align-content: center;
}

.logo-contacto {
    width: min(250px, 100%);
    margin: 0 auto;
}

.contacto-social p {
    color: var(--texto-gris);
}

.social-botones {
    display: grid;
    gap: 10px;
}

.btn-social {
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    border-radius: 10px;
}

.btn-social.whatsapp {
    background: #1ea95f;
}

.btn-social.instagram {
    background: linear-gradient(135deg, #8a3ab9, #e95950, #fccc63);
}

/* =========================
   12) Footer
========================= */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #060c17;
    padding: 40px 20px;
}

.footer-contenido {
    width: min(1120px, 100%);
    margin: 0 auto;
    text-align: center;
    display: grid;
    gap: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--texto-gris);
}

.footer-redes {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.footer-redes a {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #dbe4fa;
}

.footer-contenido p {
    color: var(--texto-gris);
    font-size: 0.9rem;
}

.footer-creator-link {
    color: var(--color-acento);
    font-weight: 700;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    text-decoration: underline;
}

.footer-creator-link:hover {
    color: var(--color-acento-2);
    text-shadow: 0 0 12px rgba(47, 212, 255, 0.5);
}

/* =========================
   12.1) Página Lugar
========================= */
.lugar-encabezado {
    position: relative;
    min-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 70px;
    overflow: hidden;
}

.lugar-encabezado-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: url('imagenes/loncura/loncura.jpg');
    z-index: 0;
}

.lugar-encabezado-contenido {
    position: relative;
    z-index: 2;
    text-align: center;
    width: min(880px, 100%);
}

.lugar-titulo {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
}

.lugar-descripcion {
    color: var(--texto-gris);
    max-width: 760px;
    margin: 16px auto 0;
}

.lugar-acciones {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.lugar-contenido {
    padding-top: 70px;
}

.lugar-bloque-media {
    padding: 18px;
    border-radius: var(--radio);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--sombra-suave);
}

/* =========================
   13) Compatibilidad lightbox lugar.html
========================= */
.media-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 16px;
    align-items: start;
}

.contenedor-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radio-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--sombra-suave);
}

.contenedor-video iframe {
    width: 100%;
    height: 100%;
}

.contenedor-video-wrapper {
    display: grid;
    gap: 12px;
}

.galeria-lateral,
.galeria-grid {
    display: grid;
    gap: 12px;
}

.galeria-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.galeria-extra {
    margin-top: 14px;
}

.item-galeria {
    position: relative;
    border-radius: var(--radio-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0b1426;
    aspect-ratio: 4 / 3;
}

.item-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-galeria:hover img {
    transform: scale(1.04);
}

.btn-expandir {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(3, 8, 20, 0.72);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.item-galeria:hover .btn-expandir {
    opacity: 1;
}

.btn-expandir:hover {
    transform: scale(1.08);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(20px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom));
}

.lightbox.activo {
    display: flex;
}

.lightbox img {
    max-width: min(1200px, 96vw);
    max-height: calc(100dvh - 110px);
    object-fit: contain;
    border-radius: 8px;
}

.cerrar-lightbox {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

/* =========================
   14) Responsive
========================= */
@media (max-width: 980px) {
    .nav-links {
        position: absolute;
        top: 68px;
        right: 16px;
        width: min(330px, calc(100% - 32px));
        background: rgba(10, 19, 34, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 8px 10px;
        border-radius: 8px;
    }

    .nav-links li a:hover {
        background: rgba(47, 212, 255, 0.09);
    }

    .menu-toggle {
        display: flex;
    }

    .contacto-wrap,
    .nosotros-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .seccion {
        padding: 80px 16px;
    }

    .hero {
        padding-top: 115px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primario,
    .btn-secundario {
        width: 100%;
    }

    .testimonio {
        padding: 24px;
    }

    .modal-contenido {
        max-height: calc(100dvh - 130px);
    }

    .modal-media-video {
        max-height: min(62dvh, 420px);
    }

    .modal-media-image img,
    .modal-media-video iframe {
        max-height: min(62dvh, 420px);
    }

    .modal-contenido iframe,
    .modal-contenido img,
    .modal-contenido video {
        height: auto;
        max-height: min(62dvh, 420px);
    }

    .media-layout {
        grid-template-columns: 1fr;
    }

    .btn-expandir {
        opacity: 1;
    }

    .lugar-encabezado {
        min-height: 52vh;
        padding-top: 110px;
    }

    .lugar-acciones {
        flex-direction: column;
    }

    .lugar-acciones .btn-primario,
    .lugar-acciones .btn-secundario {
        width: 100%;
    }

    .lugar-bloque-media {
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
