
/*  VARIABLES GLOBALES DE TODA LA PAGINA WEB*/

:root {
    --color-principal: #114d65;
    --color-secundario: #14323f;
    --color-acento: #f0c040;
    --color-fondo: #e8f6f8;
    --color-texto: #18495c;
    --color-blanco: #ffffff;
}


/* RESET Y BASE*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--color-texto);
    background-color: #0a2a3a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ANIMACION DE FONDO */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at top, #0d3d5c 0%, #061e2e 60%),
        radial-gradient(ellipse at bottom, #0a4a6e 0%, transparent 70%);
}

.olas {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    opacity: 0.15;
}

.ola {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpath fill='%2300b4d8' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    background-size: 50% 100%;
    animation: ola 8s linear infinite;
}

.ola:nth-child(2) {
    bottom: 10px;
    opacity: 0.5;
    animation: ola 12s linear infinite reverse;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpath fill='%2390e0ef' fill-opacity='1' d='M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,80C672,64,768,64,864,80C960,96,1056,128,1152,128C1248,128,1344,96,1392,80L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    background-size: 50% 100%;
}

.ola:nth-child(3) {
    bottom: 20px;
    opacity: 0.3;
    animation: ola 15s linear infinite;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpath fill='%23caf0f8' fill-opacity='1' d='M0,32L48,48C96,64,192,96,288,96C384,96,480,64,576,48C672,32,768,32,864,48C960,64,1056,96,1152,96C1248,96,1344,64,1392,48L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    background-size: 50% 100%;
}

@keyframes ola {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

h1, h2, h3,
.hero-content h1,
.page-hero h1,
.nav-logo a,
.nav-pill a {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1140px;
    margin: auto;
    padding: 0 20px;
}


/* NAVEGACIÓN */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    background: transparent;
}

.nav-logo {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-logo a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,.5);
}

.nav-logo img {
    width: 270px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
    mix-blend-mode: screen;
}

.nav-logo img:hover {
    transform: scale(1.08);
}

.nav-pill {
    display: flex;
    gap: 10px;
    padding: 10px 15px;
    background-color: var(--color-secundario);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.nav-pill a {
    position: relative;
    text-decoration: none;
    color: #cfd8dc;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 10px 22px;
    border-radius: 50px;
    transition: .3s;
}

.nav-pill a:hover {
    color: white;
}

.nav-pill a.active {
    background: #f5f1e8;
    color: var(--color-secundario);
}

.nav-pill a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--color-acento);
    transition: .3s;
}

.nav-pill a:hover::after {
    width: 100%;
}


/* CONTENIDO PRINCIPAL */

main {
    min-height: 80vh;
    padding: 40px;
}

main h1 {
    margin-bottom: 20px;
    color: var(--color-principal);
    font-size: 32px;
}

main p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}


/* BOTONES */

.btn {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    background: var(--color-acento);
    color: var(--color-texto);
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: .3s;
}

.btn:hover {
    background: #d4a820;
    transform: scale(1.05);
    animation: pulso 1.2s infinite;
}

@keyframes pulso {
    0%   { box-shadow: 0 0 0 0 rgba(240,192,64,.5); }
    70%  { box-shadow: 0 0 0 12px rgba(240,192,64,0); }
    100% { box-shadow: 0 0 0 0 rgba(240,192,64,0); }
}

.btn-enviar {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: var(--color-principal);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
}

.btn-enviar:hover {
    background: #145570;
    transform: scale(1.02);
}


/* HERO PRINCIPAL */

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    text-align: center;
    color: white;
    background:
        linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
        url("../img/img10.png");
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    margin-bottom: 15px;
    font-size: 48px;
    color: white;
}

.hero-content p {
    margin-bottom: 25px;
    font-size: 20px;
}


/* ENCABEZADO DE PÁGINAS */

.page-hero {
    text-align: center;
    padding: 60px 40px;
    background-color: var(--color-principal);
    color: white;
}

.page-hero h1 {
    margin-bottom: 10px;
    font-size: 40px;
    color: white;
}

.page-hero p {
    font-size: 18px;
}


/* TARJETAS DE INFORMACIÓN (INICIO) */

.info {
    display: flex;
    gap: 30px;
    padding: 50px 40px;
    background: var(--color-fondo);
}

.info-card {
    position: relative;
    overflow: hidden;
    flex: 1;
    padding: 30px;
    text-align: center;
    background: #eaf4f7;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,.1);
    transition: .3s;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(26,107,138,.08), transparent);
    transition: left .6s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--color-principal);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(244, 242, 242, 0.15);
}


/* FOOTER */

footer {
    padding: 20px;
    text-align: center;
    background: var(--color-principal);
    color: white;
    font-size: 14px;
}


/* NOSOTROS */

.nosotros-content {
    max-width: 900px;
    margin: auto;
    padding: 50px 40px;
}

.nosotros-content h2 {
    margin: 30px 0 15px;
    color: var(--color-principal);
}

.historia {
    max-width: 1140px;
    margin: auto;
    padding: 80px 20px;
}

.historia-titulo {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.historia-titulo span {
    display: block;
    margin-bottom: 10px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-acento);
}

.historia-titulo h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--color-principal);
}

.historia-titulo p {
    font-size: 1.1rem;
    color: #e9e6e6;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.timeline-item.reverse {
    flex-direction: row-reverse;
}

.timeline-img,
.timeline-texto {
    flex: 1;
    width: 50%;
}

.timeline-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.timeline-img img:hover {
    transform: translateY(-5px);
}

.fecha {
    display: inline-block;
    margin-bottom: 8px;
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-acento);
}

.timeline-texto h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--color-principal);
}

.timeline-texto p {
    line-height: 1.7;
    color: #f9f8f8;
}

.mision-vision {
    display: flex;
    gap: 30px;
    max-width: 1140px;
    margin: 60px auto;
    padding: 0 20px;
}

.mv-card {
    flex: 1;
    padding: 40px;
    background: white;
    border-top: 4px solid var(--color-principal);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.04);
    transition: .3s;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--color-principal);
}

.mv-card p {
    color: #555;
    line-height: 1.6;
}

.valores {
    max-width: 1140px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.valores h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--color-principal);
}

.valores h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-acento);
    border-radius: 3px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 20px;
}

.valores-grid div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 25px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    transition: .3s;
}

.valores-grid div:hover {
    background: var(--color-principal);
    color: white;
    transform: scale(1.03);
}

.homenaje {
    margin-top: 80px;
    padding: 100px 20px;
    text-align: center;
    color: white;
    background:
        linear-gradient(rgba(12,74,96,.9), rgba(12,74,96,.9)),
        url("../img/hero.jpg") center/cover;
}

.homenaje-content {
    max-width: 800px;
    margin: auto;
}

.homenaje-content h2 {
    margin-bottom: 25px;
    font-size: 2.2rem;
    color: white;
    font-style: italic;
}

.homenaje-content p {
    position: relative;
    line-height: 1.8;
    font-size: 1.25rem;
    opacity: .95;
}

.homenaje-content p::before {
    content: "\201C";
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--color-acento);
    font-family: Georgia, serif;
}


/* SERVICIOS */

.servicios-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.servicio-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
    transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1);
    display: flex;
    height: 350px;
    width: 100%;
    overflow: hidden;
}

.servicio-card:nth-child(even) {
    flex-direction: row-reverse;
}

.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26,107,138,.12);
}

.servicio-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: width .7s cubic-bezier(.16,1,.3,1);
    overflow: hidden;
}

.servicio-card:hover .servicio-img-wrapper {
    width: 50%;
}

.servicio-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.95);
    transition: transform .7s cubic-bezier(.16,1,.3,1), filter .5s ease;
}

.servicio-card:hover .servicio-photo {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.servicio-info {
    width: 0%;
    opacity: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    overflow: hidden;
    background: #ffffff;
    transition: width .7s cubic-bezier(.16,1,.3,1), opacity .5s ease, padding .7s cubic-bezier(.16,1,.3,1);
}

.servicio-card:hover .servicio-info {
    width: 50%;
    opacity: 1;
    padding: 50px;
}

.servicio-card h3 {
    position: relative;
    margin-bottom: 15px;
    color: #111;
    font-size: 1.75rem;
    font-weight: 700;
    display: inline-block;
}

.servicio-card h3::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-principal);
    transition: width .4s ease .2s;
}

.servicio-card:hover h3::after {
    width: 60px;
}

.servicio-card p {
    font-size: .95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}


/* EXPERIENCIAS (INICIO) */

.experiencias {
    padding: 80px 8%;
    background: transparent;
}

.titulo-seccion {
    margin-bottom: 50px;
    text-align: center;
}

.titulo-seccion h2 {
    font-size: 42px;
    color: var(--color-principal);
}

.titulo-seccion p {
    margin-top: 10px;
    color: #f5f3f3;
}

.grid-experiencias {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.card-img {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(253, 251, 251, 0.866);
}

.card-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: .6s;
}

.card-img:hover img {
    transform: scale(1.12);
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    color: white;
    background: rgba(0,0,0,.65);
    opacity: 0;
    transition: .5s;
}

.overlay h3 {
    margin-bottom: 15px;
    font-size: 28px;
}

.overlay p {
    font-size: 17px;
    line-height: 1.6;
}

.card-img:hover .overlay {
    opacity: 1;
}


/* GALERÍA SLIDER */

.galeria-content {
    padding: 40px;
}

.galeria-content h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-principal);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

.slider-track {
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slide.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn .6s ease-in-out;
}

/* Fondo difuminado */
.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(.6);
    transform: scale(1.1);
    z-index: 0;
}

.slide img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.4);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: .3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(0,0,0,.7);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

.video-container {
    text-align: center;
    margin-top: 50px;
}

.video-container video {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .slider-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 250px;
    }
}


/* CONTACTO */

.contacto-content {
    display: flex;
    gap: 50px;
    padding: 50px 40px;
    align-items: flex-start;
}

.contacto-info,
.contacto-formularios {
    flex: 1;
    color: rgb(27, 26, 26);
}

.contacto-info h2,
.contacto-formularios h2 {
    margin-bottom: 15px;
    color: rgb(11, 72, 82);
}

.contacto-formularios {
    background: rgb(247, 249, 250);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.contacto-info p {
    margin-bottom: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
}


/* PESTAÑAS */

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #e8eef1;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Outfit', sans-serif;
    transition: .3s;
}

.tab-btn:hover {
    background: #d9e7ec;
}

.tab-btn.active {
    background: var(--color-principal);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* TIPO DE CONSULTA */

.tipo-selector {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.tipo-option {
    flex: 1;
}

.tipo-option input {
    display: none;
}

.tipo-option span {
    display: block;
    padding: 12px;
    border: 2px solid #d8d8d8;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: .3s;
}

.tipo-option input:checked + span {
    background: var(--color-principal);
    color: white;
    border-color: var(--color-principal);
}


/* FORMULARIOS */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #26689b;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-principal);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}


/* ALERTAS */

.alert-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-left: 5px solid #28a745;
    border-radius: 8px;
    font-weight: bold;
    animation: aparecer .4s ease-in-out;
}

.alert-success::before {
    content: "✅";
    font-size: 20px;
}

.alert-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-left: 5px solid #dc3545;
    border-radius: 8px;
    font-weight: bold;
    animation: aparecer .4s ease-in-out;
}

.alert-error::before {
    content: "❌";
    font-size: 20px;
}

.alert-error ul {
    margin-left: 10px;
}

@keyframes aparecer {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/*RESERVAS */

.reservas-content {
    max-width: 900px;
    margin: auto;
    padding: 50px 40px;
}

.reservas-form h2 {
    margin-bottom: 25px;
    font-size: 26px;
    color: var(--color-principal);
}


/* TESTIMONIOS */

.testimonios-content {
    padding: 50px 40px;
}

.testimonios-form {
    max-width: 700px;
    margin: 0 auto 50px;
}

.testimonios-form h2 {
    margin-bottom: 25px;
    font-size: 26px;
    color: var(--color-principal);
}

.testimonios-lista h2 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 26px;
    color: var(--color-principal);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 25px;
}

.testimonio-card {
    padding: 25px;
    background: white;
    border-left: 4px solid var(--color-principal);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,.1);
}

.testimonio-estrellas {
    margin-bottom: 10px;
    font-size: 18px;
}

.testimonio-comentario {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
    font-style: italic;
}

.testimonio-autor {
    color: var(--color-principal);
    font-size: 14px;
    font-weight: 700;
}


/* BOTONES FLOTANTES */

.btn-whatsapp {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    z-index: 9999;
    transition: transform .3s;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
}

.btn-whatsapp img {
    display: block;
    width: 100%;
    height: 100%;
}

.btn-admin {
    position: fixed;
    left: 20px;
    bottom: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: rgba(26,107,138,.4);
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: .3s;
    z-index: 9999;
}

.btn-admin:hover {
    background: rgba(26,107,138,.8);
}


/* RESPONSIVE - TABLET (max 768px) */

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .nav-logo {
        position: static;
        transform: none;
    }

    .nav-logo img {
        width: 180px;
    }

    .nav-pill {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 20px;
    }

    .nav-pill a {
        padding: 8px 14px;
        font-size: 13px;
    }

    .hero {
        height: 400px;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .info,
    .contacto-content,
    .mision-vision,
    .timeline-item,
    .timeline-item.reverse,
    .form-row {
        flex-direction: column;
    }

    .timeline-img,
    .timeline-texto {
        width: 100%;
    }

    .timeline-img img {
        height: 250px;
    }

    .grid-experiencias {
        grid-template-columns: 1fr;
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }

    .galeria-item {
        flex: 0 0 320px;
        height: 240px;
    }

    .servicios-content {
        gap: 30px;
        padding: 30px 15px;
    }

    .servicio-card,
    .servicio-card:nth-child(even) {
        flex-direction: column;
        height: auto;
    }

    .servicio-img-wrapper {
        height: 220px;
    }

    .servicio-card:hover .servicio-img-wrapper {
        width: 100%;
    }

    .servicio-info,
    .servicio-card:hover .servicio-info {
        width: 100%;
        opacity: 1;
        padding: 30px 20px;
    }

    .servicio-card h3::after {
        display: none;
    }

    .page-hero {
        padding: 40px 20px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .contacto-content {
        padding: 30px 20px;
    }

    .nosotros-content {
        padding: 30px 20px;
    }
}


/* RESPONSIVE - MÓVIL (max 480px) */

@media (max-width: 480px) {

    nav {
        padding: 10px;
        gap: 8px;
    }

    .hero {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .galeria-item {
        flex: 0 0 260px;
        height: 200px;
    }

    main {
        padding: 20px 15px;
    }

    footer {
        font-size: 12px;
    }
}


/* TARIFAS Y DURACIÓN DEL PASEO*/

.tarifas-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px 20px;
    text-align: center;
}

.tarifas-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--color-principal);
    margin-bottom: 8px;
}

.tarifas-header p {
    color: #777;
    font-size: 15px;
    margin-bottom: 35px;
}

.tarifas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tarifa-card {
    background: #ffffff;
    border: 1px solid #f0ece1;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
    padding: 30px 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
    transition: transform .35s ease, box-shadow .35s ease;
}

.tarifa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0,0,0,.08);
}

.tarifa-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-fondo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.tarifa-duracion .tarifa-icon {
    background: var(--color-acento);
}

.tarifa-info {
    display: flex;
    flex-direction: column;
}

.tarifa-label {
    font-weight: 700;
    color: var(--color-principal);
    font-size: 15px;
}

.tarifa-sublabel {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.tarifa-precio {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.tarifas-nota {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

@media (max-width: 768px) {
    .tarifas-grid {
        grid-template-columns: 1fr;
    }
}

/* SERVICIOS - GRID 2 COLUMNAS */

.servicios-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 920px;
    margin: 0 auto;
    padding: 20px 20px 80px;
}

.servicio-card2 {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(11,44,68,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.servicio-card2:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(11,44,68,.15);
}

.servicio-card2 .imgbox {
    overflow: hidden;
    border-radius: 10px;
    height: 190px;
    margin-bottom: 18px;
}

.servicio-card2 .imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.servicio-card2:hover .imgbox img {
    transform: scale(1.06);
}

.servicio-card2 h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--color-principal);
    margin-bottom: 10px;
    padding: 0 6px;
}

.servicio-card2 p {
    font-size: 13.5px;
    color: #7a7364;
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 0 6px;
}

.servicio-card2 .mas {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 6px 4px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--color-principal);
    text-decoration: none;
    border-bottom: 2px solid var(--color-acento);
    transition: color .25s ease, gap .25s ease;
}

.servicio-card2 .mas:hover {
    color: var(--color-acento);
    gap: 10px;
}

@media (max-width: 700px) {
    .servicios-grid2 {
        grid-template-columns: 1fr;
        padding: 15px 20px 50px;
    }
}


/* REDES SOCIALES - FOOTER */

.footer-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    transition: .25s;
}

.footer-social a:hover {
    background: var(--color-acento);
    border-color: var(--color-acento);
    color: var(--color-principal);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
