/* ============================= */
/* VARIABLES DE MARCA */
/* ============================= */

:root {
    --negro: #0d0d0d;
    --verde: #467235;
    --gris-osc: #595959;
    --gris-cla: #d0d1cd;
    --blanco: #f2f2f2;
    --verde-cla: #c5d9bb;
    --bg: #edeee9;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

/* ============================= */
/* RESET GENERAL */
/* ============================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 100%;
    overflow-anchor: none;
    /* scroll-behavior: smooth removido — causa freeze en iOS */
}

body {
    margin: 0;
    background-color: var(--bg);
    color: var(--negro);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
}

p {
    margin: 0;
}

img {
    display: block;
    border-radius: 20px;
}

.fade-out {
    opacity: 0 !important;
    transition: opacity 0.6s ease !important;
}

.fade-in {
    opacity: 1 !important;
    transition: opacity 0.6s ease !important;
}

/* ============================= */
/* LOADER */
/* ============================= */

#loader {
    position: fixed;
    inset: 0;
    background: rgba(231, 233, 226);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content img {
    width: 600px;
    border-radius: 0;
    animation: loaderPop 0.6s cubic-bezier(.22, .68, 0, 1.2);
}

@keyframes loaderPop {
    from {
        opacity: 0;
        transform: scale(0.88);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (min-width: 769px) {
    #loader {
        display: none !important;
    }
}

/* ============================= */
/* BARRA TOP */
/* ============================= */

.header {
    width: 100%;
    height: 42px;
    background-color: var(--negro);
    color: var(--gris-cla);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 28px;
    box-sizing: border-box;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.texto1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================= */
/* NAVBAR DESKTOP */
/* ============================= */

.header2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    margin: 0;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(231, 233, 226, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(70, 114, 53, 0.1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.header2>a img {
    width: 155px;
    border-radius: 0;
}

.boxH2 {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    box-shadow: none;
    font-family: var(--font-body);
    height: auto;
    padding-right: 0;
    width: auto;
}

.opciones {
    position: relative;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gris-osc);
    text-decoration: none;
    transition: color 0.3s;
}

.opciones::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 3px;
    width: 0;
    height: 1.5px;
    background: var(--verde);
    transition: width 0.3s ease;
}

.opciones:hover {
    color: var(--verde);
}

.opciones:hover::after {
    width: calc(100% - 32px);
}

/* ============================= */
/* DROPDOWN */
/* ============================= */

.dropdown {
    position: relative;
    display: inline-block;
}

.botonR {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--verde);
    color: var(--blanco);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(70, 114, 53, 0.28);
    white-space: nowrap;
}

.botonR:hover {
    background: #3a5e2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(70, 114, 53, 0.36);
}

.botonR span {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.8em;
}

.dropdown.active .botonR span {
    transform: rotate(180deg);
}

.dropdownMenu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 230px;
    background: rgba(242, 242, 242, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(70, 114, 53, 0.13);
    border-radius: 20px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.11), 0 4px 14px rgba(70, 114, 53, 0.08);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.dropdownMenu::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 26px;
    width: 10px;
    height: 10px;
    background: rgba(242, 242, 242, 0.97);
    border-left: 1px solid rgba(70, 114, 53, 0.13);
    border-top: 1px solid rgba(70, 114, 53, 0.13);
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
}

.dropdown.active .dropdownMenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.itemRed {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.itemRed:hover {
    background: rgba(70, 114, 53, 0.07);
    transform: translateX(3px);
}

.itemRed+.itemRed {
    border-top: 1px solid rgba(70, 114, 53, 0.07);
}

.itemRed img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.textoRed {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nombreRed {
    font-size: 13px;
    font-weight: 600;
    color: var(--negro);
    letter-spacing: 0.02em;
}

.datoRed {
    font-size: 12px;
    color: var(--gris-osc);
}

/* ============================= */
/* MOBILE HEADER + SIDE MENU */
/* ============================= */

.site-header {
    width: 100%;
    position: relative;
    z-index: 1100;
    display: none;
    padding: 12px 20px;

}

.header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.logo-mobile img {
    height: 66px;
    width: auto;
    display: flex;
    border-radius: 0;
    padding: 0px;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* clave */
    gap: 5px;
    cursor: pointer;
    padding: 0; /* clave */
    margin-right: 20px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--verde);
    border-radius: 2px;
    transition: 0.3s 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);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1190;
    touch-action: none;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(80vw, 320px);
    height: 100vh;
    background: var(--negro);
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.22);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.22, .68, 0, 1);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.side-menu.show {
    transform: translateX(0);
}

.close-menu {
    align-self: flex-end;
    margin: 0 20px 20px 0;
    border: none;
    background: transparent;
    font-size: 26px;
    color: var(--gris-cla);
    cursor: pointer;
    line-height: 1;
    transition: 0.25s ease;
}

.close-menu:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.side-menu-links {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.side-menu-links a {
    text-decoration: none;
    color: var(--gris-cla);
    font-size: 1.35rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    letter-spacing: 0.04em;
    padding: 18px 28px;
    border-top: 1px solid rgba(208, 209, 205, 0.1);
    transition: background 0.25s ease, padding-left 0.25s ease, color 0.25s ease;
    opacity: 0;
    transform: translateX(18px);
}

.side-menu.show .side-menu-links a {
    opacity: 1;
    transform: translateX(0);
}

.side-menu-links a:nth-child(1) {
    transition-delay: 0.07s;
}

.side-menu-links a:nth-child(2) {
    transition-delay: 0.13s;
}

.side-menu-links a:nth-child(3) {
    transition-delay: 0.19s;
}

.side-menu-links a:last-child {
    border-bottom: 1px solid rgba(208, 209, 205, 0.1);
}

.side-menu-links a:hover {
    background: rgba(197, 217, 187, 0.07);
    padding-left: 36px;
    color: var(--verde-cla);
}


.Menuredes {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    padding-left: 20px;
    padding-top: 20px;
    
}


.Menuredes a {
    text-decoration: none;
}

.Menuredes img {
    width: 46px;
    height: 46px;
    padding: 0px;
    border-radius: 14px;
    background: var(--negro);
    filter: grayscale(100%) brightness(0.7);
}



/* ============================= */
/* HERO */
/* ============================= */

.content {
    position: relative;
    width: 100%;
    height: 82vh;
    min-height: 520px;
    overflow: hidden;
}

.video-fondo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.45) 42%,
        rgba(0, 0, 0, 0.18) 100%
    );
    pointer-events: none;
}

.texto {
    position: absolute;
    top: 16%;
    left: clamp(24px, 5vw, 72px);
    z-index: 3;
    max-width: 900px;
}

.texto p {
    margin: 0;
    color: white;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

.hero-titulo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(52px, 9vw, 135px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards;
}

.hero-subtitulo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(30px, 4.8vw, 76px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.1;
    margin-top: 10px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
    transition: opacity 0.4s ease;
}

.botonesH {
    position: absolute;
    left: clamp(24px, 5vw, 72px);
    bottom: 125px;
    z-index: 3;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.botonM,
.botonP {
    padding: 13px 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: 0.3s ease;
}

.botonM:hover,
.botonP:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.Info {
    position: absolute;
    left: clamp(24px, 5vw, 72px);
    bottom: 42px;
    z-index: 3;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(15px, 1.6vw, 22px);
    font-weight: 300;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.5;
}

.Info p {
    margin: 4px 0;
}

.hero-boton {
    opacity: 0;
    animation: heroFadeUp 0.9s ease forwards;
    animation-delay: 0.4s;
}

.hero-info {
    opacity: 0;
    animation: heroFadeUp 0.9s ease forwards;
    animation-delay: 0.55s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================= */
/* SEPARADOR */
/* ============================= */

hr {
    border: none;
    margin: 52px 16px 0;
    width: calc(100% - 32px);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gris-cla), transparent);
}

/* ============================= */
/* CATEGORÍAS */
/* ============================= */

.slider-wrap {
    position: relative;
    width: 100%;
}

.slider-btn {
    display: none;
}

.content2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background-color: #d5d7cf;
    padding-top: 40px;
    padding-bottom: 60px;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
    z-index: 0;
}

.content2txt {
    text-align: center;
    padding: 60px 20px 30px;
}

/* etiqueta pequeña arriba */
.content2txt .subtitulo {
    font-size: 11px;
    letter-spacing: 4px;
    color: #595959;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* título principal */
.content2txt h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 6vw, 80px);
    font-weight: 300;
    color: #467235;
    margin: 0;
    line-height: 1;
}

/* subtítulo */
.content2txt span {
    margin-top: 16px;
    font-size: clamp(13px, 2vw, 17px);
    color: #595959;
    letter-spacing: 0.04em;
}

.top {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    border-radius: 0;
    overflow: hidden;
}

.top img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 !important;
    margin: 0;
    padding: 0;
}

.low {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    border-radius: 0;
    overflow: hidden;
}

.low img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 !important;
    margin: 0;
    padding: 0;
}

.tituloC {
    flex-shrink: 0;
    padding: 0 16px 0 20px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(50px, 5vw, 88px);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--verde);
    margin-top: 40px;
}

/* carrusel mobile */
.imgCategorias {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;

    /* quitar barra fea */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.imgCategorias::-webkit-scrollbar {
    display: none;
}

.imgCategorias .card {
    flex: 1;
    aspect-ratio: 3 / 4;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.imgCategorias .card a {
    display: block;
    width: 100%;
    height: 100%;
}

.imgCategorias .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.imgCategorias .card:hover img {
    transform: scale(1.07);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #467235 0%, #46723576 50%, transparent 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.overlay p {
    color: var(--blanco);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card:hover .overlay {
    opacity: 1;
}



/* ============================= */
/* MAPA */
/* ============================= */

.content3 {
    display: flex;
    flex-direction: row;
    gap: 22px;
    align-items: center;
    box-sizing: border-box;

    padding: 80px;

    position: relative;
    z-index: 1;
    background-color: var(--verde);
    background-image: url("../imagenes/fondocafes.jpg");
    background-repeat: repeat;
    background-size: auto;
    background-position: center;

    overflow: hidden;
}

.mapa {
    flex: 2;
    background: rgba(255, 255, 255, 0.841);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(70, 114, 53, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.txtmapa p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(20px, 2.8vw, 36px);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--verde);
    margin-bottom: 4px;
}

.txtmapa span {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--gris-osc);
    letter-spacing: 0.04em;
}

.mapa iframe {
    width: 100%;
    height: 285px;
    border: none;
    border-radius: 16px;
    margin-top: 16px;
}

.btnMapa {
    display: inline-block;
    margin-top: 16px;
    padding: 11px 28px;
    background: var(--negro);
    color: var(--blanco);
    border-radius: 999px;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(13, 13, 13, 0.18);
}

.btnMapa:hover {
    background: var(--verde);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(70, 114, 53, 0.3);
}

.imgCategorias2 {
    flex: 1;
}

.imgCategorias2 img {
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
    max-height: 480px;
}


/* ============================= */
/* RESEÑAS */
/* ============================= */


.reviews-section {
    padding: 80px 20px;
    background: #f2f2f2;
    text-align: center;
}

.reviews-header p {
    font-size: 13px;
    letter-spacing: 3px;
    color: #467235;
    font-weight: 700;
    margin-bottom: 8px;
}

.reviews-header h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 5vw, 58px);
    color: #467235;
    font-weight: 500;
    margin-bottom: 8px;
}

.reviews-header span {
    color: #595959;
    font-size: 15px;
}

.reviews-carousel {
    max-width: 780px;
    margin: 45px auto 18px;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 5px 0 20px;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-shot {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: #1f1f1f;
    padding: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(13, 13, 13, 0.16);
    transition: 0.3s ease;
}

.review-shot:hover {
    transform: translateY(-5px);
}

.review-shot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.review-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d1cd;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.review-dot.active {
    width: 22px;
    border-radius: 999px;
    background: #467235;
}


/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
    background: #0d0d0d;
    padding: 55px 20px 25px;
    text-align: center;
    color: #d0d1cd;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    letter-spacing: 4px;
    color: #467235;
    margin-bottom: 6px;
}

.footer-frase {
    font-size: 14px;
    color: #d0d1cd;
    margin-bottom: 22px;
    font-style: italic;
}

.footerCol.links {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.footerCol.links a {
    color: #d0d1cd;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.footerCol.links a:hover {
    color: #467235;
}

.redes {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.redes a {
    text-decoration: none;
}

.redes img {
    width: 46px;
    height: 46px;
    padding: 0px;
    border-radius: 14px;
    background: #1a1a1a;
    border: 1px solid rgba(70, 114, 53, 0.65);
    transition: 0.3s ease;
}

.redes img:hover {
    background: #467235;
    transform: translateY(-4px);
}

.footer-btn {
    display: inline-block;
    padding: 11px 24px;
    background: #467235;
    color: #f2f2f2 !important;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 26px;
    transition: 0.3s ease;
}

.footer-btn:hover {
    background: #355829;
    transform: translateY(-3px);
}

.footerBottom {
    border-top: 1px solid rgba(208, 209, 205, 0.12);
    padding-top: 18px;
}

.footer-copy {
    font-size: 12px;
    color: #595959;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.5;
}

/* ============================= */
/* WHATSAPP FLOTANTE */
/* ============================= */

.whatsapp-float {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    background: var(--verde);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(70, 114, 53, 0.42);
    z-index: 1300;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-radius 0.25s ease;
    overflow: hidden;
}

.whatsapp-float:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 10px 28px rgba(70, 114, 53, 0.46);
    border-radius: 999px;
}

.whatsapp-float img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 99p9x;
}

/* ============================= */
/* ANIMACIONES SCROLL */
/* ============================= */

/* ── Animaciones de scroll ─────────────────────────────────────
   .animar      → cards y bloques: scale notorio + fade
   .animar-izq  → mapa (elemento grande): solo opacity
   .animar-der  → reservado
   .animar-scale → carruseles con overflow: solo opacity
   
   Regla anti-rebote: scale no afecta layout.
   translateY/X solo en elementos fuera de contenedores scroll.
────────────────────────────────────────────────────────────── */

.animar {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 1.5s cubic-bezier(.16,1,.3,1),
                transform 1.5s cubic-bezier(.16,1,.3,1);
}

.animar.visible {
    opacity: 1;
    transform: scale(1);
}

.animar-izq {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 1.5s cubic-bezier(.16,1,.3,1),
                transform 1.5s cubic-bezier(.16,1,.3,1);
}

.animar-izq.visible {
    opacity: 1;
    transform: scale(1);
}

.animar-der {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 1.5s cubic-bezier(.16,1,.3,1),
                transform 1.5s cubic-bezier(.16,1,.3,1);
}

.animar-der.visible {
    opacity: 1;
    transform: scale(1);
}

/* Carruseles con overflow-x: solo opacity */
.animar-scale {
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(.16,1,.3,1);
}

.animar-scale.visible {
    opacity: 1;
}


.delay-1 { transition-delay: 0.0s; }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.45s; }
.delay-5 { transition-delay: 0.60s; }


/* ============================= */
/* CARRUSEL 3D CATEGORÍAS        */
/* ============================= */

.cat3d-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 10px;
}



.cat3d-track {
    position: relative;
    width: 100%;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
}

.cat3d-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.55s cubic-bezier(.22,.68,0,1);
    /* sin opacity:0 inicial — no usa IntersectionObserver */
}

.cat3d-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform 0.6s ease;
}

.cat3d-card:hover img {
    transform: scale(1.06);
}

.cat3d-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 18px;
    background: linear-gradient(to top, rgba(13,13,13,0.85) 0%, transparent 100%);
    color: var(--blanco);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* La card central siempre muestra la etiqueta */
.cat3d-card[data-pos="center"] .cat3d-label {
    opacity: 1;
}

/* ─── POSICIONES ────────────────────────────────── */

.cat3d-card[data-pos="center"] {
    z-index: 5;
    width: clamp(200px, 18vw, 280px);
    height: 100%;
    left: 50%;
    transform: translateX(-50%) rotateY(0deg) scale(1);
    box-shadow: 0 32px 64px rgba(0,0,0,0.28);
}

.cat3d-card[data-pos="left1"] {
    z-index: 4;
    width: clamp(175px, 16vw, 250px);
    height: 88%;
    left: calc(50% - clamp(230px, 23vw, 320px));
    transform: translateX(-50%) perspective(1000px) rotateY(20deg) scale(0.88);
    opacity: 0.75;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.cat3d-card[data-pos="right1"] {
    z-index: 4;
    width: clamp(175px, 16vw, 250px);
    height: 88%;
    left: calc(50% + clamp(230px, 23vw, 320px));
    transform: translateX(-50%) perspective(1000px) rotateY(-20deg) scale(0.88);
    opacity: 0.75;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.cat3d-card[data-pos="left2"],
.cat3d-card[data-pos="right2"],
.cat3d-card[data-pos="hidden-left"],
.cat3d-card[data-pos="hidden-right"] {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}



/* ─── FLECHAS ───────────────────────────────────── */

.cat3d-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(70,114,53,0.3);
    background: rgba(237,238,233,0.9);
    color: var(--verde);
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cat3d-arrow:hover {
    background: var(--verde);
    color: var(--blanco);
    border-color: var(--verde);
    transform: translateY(-50%) scale(1.08);
}

.cat3d-prev { left: 20px; }
.cat3d-next { right: 20px; }

/* ─── DOTS ──────────────────────────────────────── */

.cat3d-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 4px 0 24px;
}

.cat3d-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(89,89,89,0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.cat3d-dot.active {
    width: 22px;
    border-radius: 999px;
    background: var(--verde);
}

/* ============================= */
/* RESPONSIVE FINAL COMPLETO */
/* ============================= */

/* Laptop / tablet grande */
@media (max-width: 1100px) {
    .header2 {
        padding: 14px 18px;
    }

    .header2>a img {
        width: 125px;
    }

    .opciones {
        font-size: 14px;
        padding: 8px 10px;
    }

    .botonR {
        font-size: 13px;
        padding: 9px 15px;
    }

    .content>img {
        height: 72vh;
    }

    .imgCategorias .card {
        height: 340px;
    }

    .content3 {
        padding: 120px 35px;
    }

    .reviews-carousel {
        max-width: 680px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .texto1 {
        font-size: 9px;
        gap: 10px;
        text-align: center;
    }

    .boxH2 {
        gap: 2px;
    }

    .opciones {
        font-size: 12px;
        padding: 7px 8px;
    }

    .botonR {
        font-size: 12px;
        padding: 8px 12px;
    }

    .content>img {
        height: 62vh;
    }

    .texto {
        left: 28px;
        top: 12%;
    }

    .botonM {
        left: 28px;
        bottom: 90px;
    }

    .Info {
        left: 28px;
        bottom: 32px;
    }

    .content2 {
        flex-direction: column;
    }

    .imgCategorias {
        flex-wrap: wrap;
    }

    .imgCategorias .card {
        flex: 1 1 calc(50% - 10px);
        height: 270px;
    }

    .content3 {
        padding: 100px 22px;
    }

    .mapa {
        width: 100%;
    }

    .mapa iframe {
        height: 260px;
    }

    .reviews-carousel {
        max-width: 620px;
    }
}

/* Celular */
@media (max-width: 768px) {

    .header,
    .header2 {
        display: none !important;
        
    }

    .site-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(231, 233, 226, 0.95);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        z-index: 1100;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(70, 114, 53, 0.12);
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .header-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    body {
        padding-top: 80px;
    }

    .content {
        padding: 0;
    }

    .content>img {
        height: 68vh;
        min-height: 420px;
        border-radius: 0;
    }

    .content {
        height: 52vh;
        min-height: 360px;
    }

    .video-fondo {
        height: 100%;
        object-position: center center;
    }

    .hero-overlay {
        border-radius: 0;
    }

    .texto {
        top: 28px;
        left: 20px;
        right: 20px;
    }

    .hero-titulo {
        font-size: clamp(38px, 14vw, 72px);
        max-width: 95%;
    }

    .hero-subtitulo {
        font-size: clamp(26px, 9vw, 44px);
    }

     .botonesH {
        left: 20px;
        bottom: 90px;
        gap: 8px;
    }

    .botonM,
    .botonP {
        font-size: 11px;
        padding: 8px 16px;
        left: 20px;
        bottom: 82px;
    }

    .Info {
        left: 20px;
        bottom: 24px;
        max-width: 85%;
        font-size: 10px;
    }
    .hero-info{
        font-size: 15px;
    }

    .top img,
    .low img {
        min-height: 70px;
        object-fit: cover;
    }

    .content2 {
        padding: 0px 16px 20px;
    }

    .content2txt {
        margin-bottom: 0px;
        margin-top: 0px;
    }

    .content2txt h2 {
        font-size: clamp(30px, 10vw, 48px);
        line-height: 1.1;
    }

    .content2txt span {
        font-size: 13px;
        padding: 0 10px;
    }

    /* carrusel mobile */
    .imgCategorias {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        padding: 10px 0;
        scroll-snap-type: x mandatory;
        touch-action: pan-x pan-y;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .imgCategorias .card {
        flex: 0 0 50%;
        min-width: 50%;
        aspect-ratio: 3 / 4;
        height: auto;
    }


    .overlay {
        opacity: 1;
        align-items: flex-end;
        background: linear-gradient(to top, rgba(70,114,53,0.92) 0%, rgba(70,114,53,0.3) 35%, transparent 65%);
    }

    .overlay p {
        font-size: 12px;
        padding: 0 12px;
        text-align: center;
    }

    .slider-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        border: none;
        background: rgba(13, 13, 13, 0.75);
        color: white;
        font-size: 28px;
        z-index: 30;
        cursor: pointer;
    }

    .slider-btn.prev {
        left: 0;
    }

    .slider-btn.next {
        right: 0;
    }

    .content3 {
        flex-direction: column;
        padding: 100px 14px;
        background-size: cover;
        background-position: center;
    }

    .mapa {
        width: 100%;
        padding: 18px;
        border-radius: 24px;
    }

    .txtmapa p {
        font-size: 28px;
    }

    .txtmapa span {
        font-size: 11px;
    }

    .mapa iframe {
        height: 260px;
        border-radius: 16px;
    }

    .reviews-section {
        padding: 60px 14px;
    }

    .reviews-header h2 {
        font-size: clamp(30px, 9vw, 44px);
    }

    .reviews-carousel {
        max-width: 100%;
        gap: 14px;
        padding: 4px 0 18px;
    }

    .review-shot {
        flex: 0 0 88%;
        border-radius: 24px;
    }

    .review-shot img {
        width: 100%;
        height: auto;
        border-radius: 0;
    }

    .footer {
        padding: 46px 18px 24px;
    }

    .footerCol.links {
        flex-direction: column;
        gap: 12px;
    }

    .footerCol.links a {
        font-size: 12px;
    }

    .redes img {
        width: 44px;
        height: 44px;
    }

    .footer-btn {
        font-size: 12px;
        padding: 10px 22px;
    }

    .footer-copy {
        font-size: 10px;
    }

    .whatsapp-float {
        display: flex;
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-float img {
        width: 54px;
        height: 54px;
        border-radius: 50%;
    }

    /* Carrusel 3D en móvil */
    .cat3d-track {
        height: 340px;
    }

    .cat3d-card[data-pos="center"] {
        width: 58vw;
        max-width: 220px;
    }

    .cat3d-card[data-pos="left1"] {
        width: 26vw;
        max-width: 105px;
        left: calc(50% - 44vw);
        transform: translateX(-50%) perspective(600px) rotateY(28deg) scale(0.86);
    }

    .cat3d-card[data-pos="right1"] {
        width: 26vw;
        max-width: 105px;
        left: calc(50% + 44vw);
        transform: translateX(-50%) perspective(600px) rotateY(-28deg) scale(0.86);
    }

    .cat3d-card[data-pos="left2"],
    .cat3d-card[data-pos="right2"] {
        opacity: 0;
        pointer-events: none;
    }

    .cat3d-prev { left: 8px; }
    .cat3d-next { right: 8px; }
}

/* Celular pequeño */
@media (max-width: 480px) {
    body {
        padding-top: 76px;
    }

    .logo-mobile img {
        height: 50px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .content>img {
        height: 62vh;
        min-height: 390px;
    }

    .hero-titulo {
        font-size: clamp(34px, 13vw, 54px);
    }

    .hero-subtitulo {
        font-size: clamp(22px, 8vw, 34px);
    }

    .botonM {
        bottom: 76px;
        font-size: 10px;
        padding: 8px 15px;
    }

    .Info {
        font-size: 9px;
        bottom: 20px;
    }

    .imgCategorias .card {
        flex: 0 0 60%;
        min-width: 60%;
        aspect-ratio: 3 / 4;
        height: auto;
    }

    .imgCategorias .card a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .imgCategorias .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .content3 {
        padding: 90px 10px;
    }

    .mapa {
        padding: 14px;
        border-radius: 20px;
    }

    .txtmapa p {
        font-size: 24px;
    }

    .mapa iframe {
        height: 230px;
    }

    .btnMapa {
        font-size: 10px;
        padding: 10px 22px;
    }

    .review-shot {
        flex: 0 0 92%;
    }

    .review-dot {
        width: 7px;
        height: 7px;
    }

    .review-dot.active {
        width: 20px;
    }

    .footer-title {
        font-size: 20px;
    }

    .footer-frase {
        font-size: 13px;
    }
}

/* Celular extra pequeño */
@media (max-width: 360px) {
    .hero-titulo {
        font-size: 32px;
    }

    .hero-subtitulo {
        font-size: 22px;
    }

    .imgCategorias .card {
        height: 235px;
    }

    .mapa iframe {
        height: 210px;
    }

    .reviews-header h2 {
        font-size: 28px;
    }
}

/* ============================= */
/* OPTIMIZACIONES DE SCROLL      */
/* ============================= */

/* En móvil: quitar backdrop-filter de botones del hero
   (blur mientras la imagen de fondo carga congela el scroll) */
@media (max-width: 768px) {
    .botonM,
    .botonP {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(0, 0, 0, 0.28);
    }

    /* Desactivar scroll anchor — evita el rebote cuando elementos
       animados cambian de tamaño/posición al entrar al viewport */
    html {
        overflow-anchor: none;
    }

    /* El mapa (iframe) puede causar freeze de scroll al intentar
       capturar el toque — pointer-events:none hasta que el usuario haga tap */
    .mapa iframe {
        pointer-events: none;
    }
    .mapa:focus-within iframe,
    .mapa:active iframe {
        pointer-events: auto;
    }

    /* Quitar backdrop-filter del mapa en mobile — es otro culpable de freeze */
    .mapa {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.92);
    }

    /* content3 tiene overflow:hidden que en iOS puede crear un contexto
       de scroll independiente que compite con el principal */
    .content3 {
        overflow: visible;
    }
}