@charset "UTF-8";
@font-face {
    font-family: "Didot";
    src: url("webfonts/Didot.woff2") format("woff2"), url("webfonts/Didot.woff") format("woff"), url("webfonts/Didot.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fuente global */
body {
    font-family: "Bodoni Moda", serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* Chrome, Safari */
    -moz-osx-font-smoothing: grayscale; /* Firefox */
    text-rendering: optimizeLegibility; /* Mejora kerning y ligaduras */
}

html, body {
    height: 100%;
    overflow: hidden; /* Elimina el scroll nativo */
}

/*--------------------------------------------------
        05. Main Content
---------------------------------------------------*/
#content-scroll {
    z-index: 1;
    position: relative;
}

.smooth-scroll #content-scroll {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.scroll-content {
    cursor: default !important;
}

.scale-up .scroll-content {
    cursor: grabbing !important;
}

.scrollbar-track {
    background: transparent !important;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400; /* Negrita por defecto */
    font-style: normal;
    letter-spacing: 0.05em; /* Espaciado sutil */
}

/* Párrafos */
p {
    font-weight: 300;
    font-style: normal;
    line-height: 1.6;
}

/* Cursiva */
em, i {
    font-style: italic;
}

/* Negrita */
strong, b {
    font-weight: 700;
}

/* Ejemplo para citas o destacados */
blockquote {
    font-style: italic;
    border-left: 4px solid #ccc;
    padding-left: 20px;
    margin: 20px 0;
}

.fullscreen-text {
    text-align: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 1;
    transform: translateY(2.5vw);
    z-index: 9;
    font-family: "Didot";
    display: flex;
    align-items: end;
    height: 100%;
    color: "#7b9a8a";
    opacity: 0;
}

.img-fluid{
    max-width: 100%;
}
.pin-spacer {
    height: 100vh !important;
    max-height: 100vh !important;
    padding: 0 !important;
}

[data-bgimage] {
    transition: background-position 0.3s ease-out;
}

/*--------------------------------------------------
        Ajax Page Transition
---------------------------------------------------*/
main {
    overflow: hidden;
}
main::after {
    content: "";
    transition: all 0.6s ease-in-out;
    z-index: 9;
}
main.loading::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: none;
}
main .cd-main-content {
    width: 100%;
}
main .cd-main-content > div {
    height: 100%;
    min-height: 100vh;
}
main .cd-main-content.cd-index > div {
    vertical-align: middle;
}
main .cd-main-content.cd-index::after {
    background-color: rgba(64, 137, 166, 0);
    background-image: linear-gradient(to top, #4089a6, rgba(64, 137, 166, 0));
}
main .cd-main-content.cd-index::before {
    background-color: rgba(64, 137, 166, 0);
    background-image: linear-gradient(to bottom, #4089a6, rgba(64, 137, 166, 0));
}
main .cd-main-content.cd-about {
    background-color: #fff;
}
main .cd-main-content.cd-about > div {
    padding-top: 50px;
}
main .cd-main-content.cd-about::after {
    background-color: rgba(40, 48, 64, 0);
    background-image: linear-gradient(to top, #283040, rgba(40, 48, 64, 0));
}
main .cd-main-content.cd-about::before {
    background-color: rgba(40, 48, 64, 0);
    background-image: linear-gradient(to bottom, #283040, rgba(40, 48, 64, 0));
}

.cd-cover-layer {
    position: fixed;
    z-index: 10;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 0%;
    width: 0%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background: #e5ebe8;
}
.cd-cover-layer.invisible {
    background-color: transparent;
}
.page-is-changing .cd-cover-layer {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}
.cd-cover-layer.cover-layer-loaded {
    transform: translate(-50%, -100%);
    height: 50vh;
    transition: transform 2s ease-in-out;
    transition: width 0.3s ease-in-out;
    transition: height 0.3s ease-in-out;
    opacity: 1;
    visibility: visible;
    width: 100%;
    height: 100%;
}
.cd-cover-layer.cover-layer-loaded div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
}

.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    display: flex;
    justify-content: start;
    align-items: start;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0);
    z-index: 1000;
}

.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0);
    z-index: 1000;
}

.menu-logo {
    position: relative;
}
.menu-logo img {
    height: 6.77vw;
    min-height: 60px;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}
.menu-logo img.logo-white {
    opacity: 0;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1;
    margin: 3px 10px;
}
.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #000;
    transition: all 0.3s ease;
}
.menu-toggle.open span {
    background: #fff;
}
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(7.5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7.5px, -5px);
}

.menu {
    position: fixed;
    top: 0;
    left: -450px;
    width: 450px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    padding: 20px;
}
.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu ul li {
    margin: 15px 0;
}
.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: clamp(1.6rem, 1.6vw, 2.6rem);
    transition: color 0.3s ease;
}
.menu ul li a:hover {
    color: #7b9a8a;
}

.menu-open {
    left: 0;
}

.menu-white-active .menu-logo img.logo-black {
    opacity: 0;
}
.menu-white-active .menu-logo img.logo-white {
    opacity: 1;
}
.menu-white-active .menu-toggle span {
    background: #fff;
}

/* Cuando el menú está sobre una sección con .menu-white */
.menu-white-active .menu-toggle span {
    background: #fff !important; /* Icono hamburguesa blanco */
}
.menu-white-active .menu a {
    color: #fff !important; /* Textos del menú en blanco */
}

/* Estilo por defecto: escritorio */
.hero-section {
    display: flex;
    width: 100%;
}
.hero-section a {
    display: flex;
    width: 100%;
    height: 100%;
    color: initial;
    text-decoration: none;
}
.hero-section.full {
    height: 100vh;
    min-height: 920px; /* Resultado: 67.71vw */
}
.hero-section.full .hero-left, .hero-section.full .hero-right {
    width: 50%;
    height: 100%;
}
.hero-section.full .hero-right {
    display: flex;
    flex-direction: column;
}
.hero-section.full .hero-right .half {
    flex: 1;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    min-height: 460px;
}
.hero-section.full .hero-right .half:last-child {
    border-bottom: none;
}
.hero-section.short {
    height: 50vh;
    transition: height 0.8s ease-in-out; /* Suaviza el cambio de altura */
}
.hero-section.short.vh100 {
    height: 100vh;
    max-height: 100vh !important;
}
.hero-section.short.h-auto {
    height: auto;
}
.hero-section.short.h-auto .content-all {
    padding: 2vw auto;
}
.hero-section.short.h-auto .content-all.wtext {
    padding: 7.5vw 25vw;
}
.hero-section.short .content-left, .hero-section.short .content-right {
    width: 50%;
    height: 100%;
    position: relative;
}
.hero-section.short .content-all {
    width: 100%;
    height: 100%;
    background-color: #e5ebe8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-direction: column;
    position: relative;
}
.hero-section.short .content-all.wtext {
    padding: 0 25vw;
}
.hero-section.short .content-all.wtext.faq {
    /* Estilo para los párrafos impares */
}
.hero-section.short .content-all.wtext.faq p {
    padding-bottom: 2rem;
}
.hero-section.short .content-all.wtext.faq p:nth-child(even) {
    font-family: "Bodoni Moda";
}
.hero-section.short .content-all.wtext.faq h2 {
    margin-bottom: 1.5vw;
}
.hero-section.short .content-all h2 {
    font-size: clamp(1.5rem, 1.5vw, 3rem);
    margin-bottom: 0;
    font-weight: 700;
}
.hero-section.short .content-all p {
    font-size: clamp(1.4rem, 1.4vw, 2.5rem);
    text-align: center;
    font-style: italic;
    line-height: 1.5;
}
.hero-section.short .content-all main p {
    font-size: 16px;
    text-align: center;
    font-style: italic;
    line-height: 1.5;
    text-align: left;
}
/* BLOQUES ALTERNADOS */
.content-section {
    padding: 0;
}
.content-section .content-block {
    display: flex;
    align-items: center;
    padding: 0;
    height: 50vh;
    min-height: 460px; /* Resultado: 31.25vw */
}
.content-section .content-block .content-left,
.content-section .content-block .content-right {
    background-color: white;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12.5vw;
    flex-direction: column;
    position: relative;
}
.content-section .content-block .content-left.contact,
.content-section .content-block .content-right.contact {
    text-align: left;
    align-items: flex-start;
}
.content-section .content-block .content-left.contact h2,
.content-section .content-block .content-right.contact h2 {
    font-weight: 600;
}
.content-section .content-block .content-left.contact p,
.content-section .content-block .content-right.contact p {
    text-align: left;
    font-weight: 600;
}
.content-section .content-block .content-left img {
    width: 100%;
    max-width: 400px;
}
.content-section .content-block .content-right h2, .content-section .content-block .content-left h2, .content-section .content-block .content-all h2 {
    font-size: clamp(1.5rem, 1.5vw, 3rem); /* Mínimo, fluido, máximo */
    margin-bottom: 0;
    font-weight: 700;
    text-align: center;
}
.content-section .content-block .content-right p, .content-section .content-block .content-left p, .content-section .content-block .content-all p {
    font-size: clamp(1.4rem, 1.4vw, 2.5rem);
    text-align: center;
    font-style: italic;
    line-height: 1.5;
}

#blockAcupuntura {
    bottom: -100vh; /* Ocultarlo fuera de la pantalla al inicio */
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: rgba(0, 0, 0, 0.8); /* Opcional, si quieres un fondo */
    z-index: 10; /* Mayor que secondBlock */
}

footer {
    display: block;
    height: auto;
    background-image: url("../images/footerbg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}



.footer .container {
    padding: 80px 30px;
    font-family: sans-serif;
    color: black;
}

.footer .wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 80%;
    margin: 0 auto;
}

.footer .newsletter {
    flex: 1 1 50%;
    max-width: 700px;
}

.footer .title {
    font-size: 28px;
    margin-bottom: 0px;
    font-weight: 600;
}

.footer .subtitle {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer .input {
    width: 50%;
    padding: 8px;
    border: none;
    border-bottom: 4px solid black;
    margin-bottom: 0px;
    background: transparent;
}

.footer .checks {
    margin-bottom: 20px;
}

.footer .checks label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer .disclaimer {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer .disclaimer a {
    text-decoration: underline;
    color: black;
}

.footer .copy {
    font-size: 12px;
    margin-top: 10px;
}

.footer .links {
    display: flex;
    flex: 1 1 30%;
    justify-content: flex-end;
    min-width: 250px;
}

.footer .column {
    padding: 0 20px;
}
.footer .info {
    flex: 1 1 50%;
    min-width: 300px;
}


address {
    font-style: normal;
    margin-bottom: 20px;
    font-size: 14px;
}
.footer .heading {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer .column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .column li {
    margin-bottom: 8px;
}

.footer .column a {
    text-decoration: none;
    color: black;
    font-size: 14px;
}
.footer .input-wrapper {
    position: relative;
    width: 60%;
    margin-bottom: 20px;
    display: flex;
}

.footer .input-wrapper .input {
    width: 100%;
    padding: 8px 30px 8px 8px;
    border-top: 1px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 4px solid black;
    background: transparent;
    font-size: 16px;
    outline: none;
}
.footer .input-wrapper .input:focus,
.footer .input-wrapper .input:active {
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
    outline: none;
    box-shadow: none;
}
.status-message {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    font-size: 14px;
    padding: 0;
    margin: 0;
    color: black;
}

.status-message.mostrar {
    opacity: 1;
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.5);
    padding: 6px 10px;
    margin-bottom: 20px;
    border-left: 10px solid;
}

.status-message.mostrar.red {
    border-color: #e74c3c;
}

.status-message.mostrar.green {
    border-color: #2ecc71;
}
.footer .submit-icon {
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    color: black;
    transition: transform 0.2s ease;
    line-height: 35px;
    margin-left: 10px;
}

.footer .submit-icon:hover {
    transform: translateX(3px);
}
.footer .icon {
    width: 25px;
    margin-left: 4px;
    display: inline-block;
    height: 25px;
    vertical-align: text-bottom;
}


/* Ejemplos combinados */
.flex-left-bottom {
    display: flex;
    align-items: flex-start !important; /* Izquierda */
    justify-content: flex-end !important; /* Abajo */
    flex-direction: column;
}

p.title {
    padding: 1.2vw 3.5vw;
    font-size: clamp(1.6rem, 1.6vw, 2.6rem);
    z-index: 1;
}
p.number {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #7c9a8c;
    font-size: clamp(6rem, 6vw, 6rem) !important;
    font-weight: 700; /* Demi */
    line-height: 1 !important;
    transform: translate(3vw, 1vw);
    z-index: 9;
}

.hero-subtitle {
    z-index: 9;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* 🔥 Fondo negro con opacidad */
    opacity: 0;
    pointer-events: none; /* No bloquea interacciones */
    transition: opacity 0.3s ease-out;
}

.onload-shuffle {
    transform: scale(1);
    left: 0;
    display: block;
    position: relative;
}
.onload-shuffle.toleft {
    transform-origin: left center;
}
.onload-shuffle.toright {
    transform-origin: right center;
}

.text-white {
    color: white;
}

.text-gray {
    color: #646363;
}

.bg-tre {
    background-color: #e5ebe8;
}

.btn {
    text-decoration: none;
    color: #1a1a1a;
    width: 100%;
    border: solid 1px #1a1a1a;
    text-align: center;
    padding: 1vw;
    margin-top: 1vw;
}

.pixels-cover {
    position: relative;
    width: 100%;
    height: 100vh; /* Ajusta según lo necesario */
    overflow: hidden;
}

.pixels-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    pointer-events: none;
}

.pixel {
    height: auto;
    aspect-ratio: 1/1; /* Hace que los píxeles sean cuadrados */
    background-color: rgba(255, 255, 255, 0.1); /* Color por defecto */
    transition: all 0.3s ease-in-out;
}

.pixel::before {
    float: left;
    padding-top: 101%;
    content: "";
}

@media (max-width: 1440px) {
    .footer .wrapper {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }
}
/* RESPONSIVE AJUSTES */
@media (max-width: 992px) {
    /* HERO SECTION FULL */
    .hero-section.full {
        flex-direction: column;
        height: auto;
    }
    .hero-section.full .hero-left {
        width: 100%;
        height: 100vh; /* Pantalla completa */
        background-size: cover !important;
    }
    .hero-section.full .hero-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 200vw;
    }
    .hero-section.full .hero-right .half {
        width: 100%;
        height: 100vw; /* Cuadrados apilados */
        background-size: cover !important;
        min-height: 1px !important;
    }
    /* HERO SECTION SHORT */
    .hero-section.short {
        flex-direction: column;
        height: auto !important;
        min-height: auto;
    }
    .hero-section.short .content-left, .hero-section.short .content-right {
        width: 100%;
        height: 100vw; /* Cuadrados apilados */
        background-size: 120% 120% !important;
    }
    .hero-section.short .content-all {
        width: 100%;
        min-height: 100vw; /* Mínimo cuadrado */
        height: 100%; /* Crece si hay más contenido */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        flex-direction: column;
    }
    .hero-section.short .content-all.wtext {
        padding: 25px 10px;
    }
    .hero-section.short .content-all.wtext.faq p {
        padding-bottom: 2rem;
    }
    .hero-section.short .content-all.wtext.faq h2 {
        margin-bottom: 1.5rem;
    }
    .hero-section.short .content-all h2 {
        text-align: center;
    }
    .hero-section.short.h-auto .content-all {
        padding: 10px auto;
    }
    .hero-section.short.h-auto .content-all.wtext {
        padding: 15px;
    }
    /* CONTENT BLOCK */
    .content-block {
        flex-direction: column;
        height: 200vw !important;
        /* Alternar orden en bloques pares */
    }
    .content-block .content-left, .content-block .content-right {
        width: 100% !important;
        height: 100vw !important; /* Cuadrados apilados */
        background-size: 120% 120% !important;
    }
    .content-block:nth-child(even) .content-left {
        order: 2;
    }
    .content-block:nth-child(even) .content-right {
        order: 1;
    }
    p.number {
        transform: translate(0, 30px);
    }
    .footer .input-wrapper{
        width: 100%;
    }
    .footer .links {
        /*flex-direction: column;*/
        justify-content: flex-start;
    }
    .footer .copy, .footer .column {
        margin-bottom: 40px;
    }
    #blockAcupuntura {
        height:50vh !important;
    }
    .menu-container {
        min-height: 90px;
        background-color: rgba(255,255,255,.5);
    }
    .menu-toggle {
        top: 20px;
        position: relative;
    }
    .footer .newsletter {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .footer .info {
        flex: 1 1 100%;
        min-width: 100%;
    }
    .hero-section.short.vh100 {
        height: auto;
        max-height: 1000vh !important;
    }
}

@media (max-width: 672px) {
    .footer .links {
        flex-direction: column;
    }
}