:root {
    --color-primary: #167070;
    --color-primary-dark: #0f4d4d;
    --color-primary-light: #33C5B1;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F4F8F8;
    --color-text: #2B2B28;
    --color-text-dark: #167070;
    --color-white: #FFFFFF;
    --color-whatsapp: #25D366;
    --font-main: 'Poppins', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --container-w: 1180px;
    --radius: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.3;
    font-weight: 300;
}

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

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2 {
    font-family: var(--font-serif);
    color: var(--color-text-dark);
    line-height: 1.3;
    margin: 0 0 0.5em;
}

h3 {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    line-height: 1.3;
    margin: 0 0 0.5em;
}

h1 {
    font-family: var(--font-serif);
    font-size: 46px;
    font-weight: 800;
    /* Volvemos al estado firme y derecho */
    color: #167070;
    line-height: 1.15;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.15);
}

h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
}

h3 {
    font-size: 20px;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
    font-weight: 400;
    font-size: 18px;
}

.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

.media-wa-link {
    display: block;
    cursor: pointer;
}


/* BOTONES CON DEGRADADOS, BORDES REDONDEADOS Y SOMBRA PARALELA REPETIDA DE LA IMAGEN 1 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 23px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, #167070 0%, #29b39f 100%);
    color: var(--color-white) !important;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0f4d4d 0%, #29b39f 100%);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-pulse {
    animation: breathingPulse 2.5s infinite ease-in-out;
}

@keyframes breathingPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}


/* HEADER */

.site-header {
    background-color: var(--color-primary-light);
    height: 180px;
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.header-blank {
    width: 160px;
}

.logo-centered {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 110;
    background: var(--color-primary-light);
    padding: 12px 20px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    perspective: 1000px;
    display: inline-block;
}

.logo-centered img {
    width: 130px;
    height: auto;
}

.oceanshape {
    width: 300px;
    cursor: pointer;
    /* Transición suave para cuando el mouse sale de la tarjeta y vuelve a su estado plano */
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
    transform-style: preserve-3d;
}

.oceanshape:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


/* HERO CON TONO OPACADO CREMA/CÁLIDO SOBRE LA IMAGEN */

.hero {
    background-image: linear-gradient(rgba(247, 244, 238, 0.25), rgba(247, 244, 238, 0.25)), url('../img/62eae51e1bea143b8d028077de45c932d11e420716f2ad48a4a0d5b8e782d810.png');
    background-size: cover;
    background-position: center center;
    min-height: 580px;
    display: flex;
    align-items: center;
}

.hero-container-flex {
    display: flex;
    justify-content: flex-end;
}

.hero-content-right {
    max-width: 540px;
    text-align: left;
}

.hero-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 20PX;
    font-weight: 500;
    color: #080808;
}

.hero-cta-line {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #111;
}

.hero-btn {
    display: flex;
    justify-content: center;
}


/* ABOUT */

.about {
    padding: 100px 0;
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 60px;
    align-items: start;
}

.about-media {
    width: 310px;
    /* Ajusta el contenedor al ancho exacto de tu foto */
}

.about-media img {
    opacity: 1;
    border-radius: 5px;
    border: 0px none rgb(0, 0, 0);
    box-shadow: rgb(162, 173, 184) 10px 8px 39px 3px;
    cursor: pointer;
    width: 310px;
    height: auto;
}

.about-text h1 {
    font-family: var(--font-serif);
    font-size: 50px;
    font-weight: 900;
    color: #167070;
    line-height: 1.1;
    text-align: center;
    /* Lo dejamos alineado a la izquierda para que fluya al lado de ella */
    max-width: 600px;
    margin-top: 10px;
    /* Con este margen puedes subir o bajar el texto para que quede al ras exacto de su cabeza */
    margin-bottom: 0.5em;
}

.about-text p {
    text-align: left;
    font-size: 17px;
    max-width: 800px;
    margin: 0;
}

.about-tagline {
    grid-column: 1 / -1;
    width: 100%;
    /* EL CAMBIO CLAVE: Limitamos el ancho para forzar los mismos saltos de línea */
    max-width: 777px;
    /* Centra el bloque de texto horizontalmente en la pantalla */
    margin: 40px auto 0 auto;
    font-family: 'Roboto', sans-serif;
    font-size: 42px !important;
    font-weight: 500 !important;
    line-height: 1;
    color: #000000;
    text-align: center;
}


/* SERVICES BANNER */

.services-banner {
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(247, 244, 238, 0.25), rgba(247, 244, 238, 0.25)), url('../img/relax2.png');
    background-size: cover;
    background-position: center center;
    min-height: 580px;
    display: flex;
    align-items: center;
}

.services-banner h1 {
    max-width: 500rem;
    font-size: 65px;
    margin: 0 auto 20px;
}

.services-banner p {
    font-family: 'Roboto', sans-serif;
    max-width: 950px;
    margin: 0 auto 30px;
    font-weight: 700;
    font-size: 18px;
    color: #1a1a1a;
}


/* TREATMENTS */

.treatments {
    padding: 90px 0;
    background: var(--color-bg);
}

.treatments-heading {
    text-align: center;
    font-size: 65px;
    font-weight: 700;
    margin-bottom: 10px;
}

.treatments-subheading {
    text-align: center;
    max-width: 48rem !important;
    color: #000000;
    font-weight: 500;
    margin: 0 auto 50px;
    font-size: 32px;
    font-family: 'Roboto', sans-serif;
    line-height: 0.9;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background-color: var(--color-primary-dark);
}

.treatment-card {
    background: var(--color-bg-alt);
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.treatment-card img {
    width: 100%;
    height: 392px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.treatment-media {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

.treatment-media .treatment-overlay-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.treatment-media .treatment-overlay-title h3 {
    font-family: var(--font-serif);
    color: var(--color-white);
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.treatment-list {
    margin-top: 20px;
    margin-bottom: 30px;
    width: 100%;
    /* Centramos el bloque completo de la lista */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.treatment-list p {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #000000;
    line-height: 1.3;
    text-align: left;
    /* Alineación del texto a la izquierda */
    /* Alineamos el icono arriba si el texto llega a ocupar dos líneas */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    /* Separación exacta entre el check y la primera letra */
}

.treatment-list p i {
    font-size: 18px;
    display: inline-block;
}

.treatment-list li {
    /* Cambiamos inline-block por flex para un control exacto del check */
    display: flex;
    align-items: flex-start;
    text-align: left;
    /* Definimos un ancho máximo o fijo para que todos inicien en la misma línea vertical */
    width: 100%;
    max-width: 250px;
    /* Ajusta este valor en px según el largo de tu texto más largo */
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    color: var(--color-text);
}

.treatment-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

.treatment-card .btn {
    width: auto;
    margin-top: auto;
}


/* TECHNOLOGY */

.technology {
    padding: 90px 0;
    background: var(--color-bg);
}


/* El grid ahora se aplica solo al contenido inferior */

.technology-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.technology h1 {
    font-size: 65px;
    font-weight: 900;
    max-width: 65rem;
    /* Ajustado sutilmente para un balance visual óptimo */
    text-align: start;
}

.tech-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 40px;
}

.tech-brands {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.tech-logo {
    width: 130px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.tech-info h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.technology-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
}


/* STATS */

.stats {
    background: var(--color-bg);
    padding: 70px 0;
    border-top: 1px solid #EBF2F2;
    border-bottom: 1px solid #EBF2F2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item img {
    margin: 0 auto 15px;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text);
}


/* PAOLA */

.paola {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 95px 0;
    position: relative;
}

.paola-image {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
}

.paola-text-block {
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 0;
}

.paola-text h2 {
    color: var(--color-white);
    text-align: left;
    margin-bottom: 5px;
    font-size: 32px;
    margin-left: 340px;
}

.paola-subhead {
    font-family: var(--font-serif) !important;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 30px;
    margin-left: 340px;
}

.paola-paragraphs p {
    color: var(--color-white);
    font-size: 19px;
    opacity: 0.95;
    margin-bottom: 18px;
    max-width: 760px;
    margin-left: 340px;
    width: 100%;
}

.paola-paragraphs .paola-wide-text {
    max-width: 100%;
    margin-left: 0;
    line-height: 1.6;
}

.paola .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    margin-top: 15px;
    box-shadow: 0 6px 13px rgba(0, 0, 0, 0.55);
}

.paola .btn-primary:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary-dark);
}

.btn-center {
    display: flex;
    flex-flow: column;
    align-items: center;
}


/* Estilo para la nueva sección centrada */

.paola-text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    /* Ajusta este valor si quieres el texto más ancho o estrecho */
    margin: 0 auto;
}


/* Forzar el centrado del H2 y párrafos dentro de esta sección */

.paola-text-center h2 {
    text-align: center;
    margin-bottom: 5px;
}

.paola-text-center .paola-paragraphs p {
    color: var(--color-white);
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 20px;
}

.paola-text-center .btn {
    margin-top: 20px;
}

.BOOKING-NOW {
    display: flex;
    align-items: center;
}


/* ESTRUCTURACIÓN DEL FOOTER EN CONTENEDORES SÓLIDOS (IMAGEN 1 Y 2) */

.site-footer {
    background: white;
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.8fr 2.2fr;
    gap: 30px;
    padding-bottom: 40px;
}


/* Bloque contenedor izquierdo: Hours */

.footer-hours-box {
    background-color: #105353;
    padding: 40px 30px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footer-hours-box h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 20px;
    text-align: center;
}

.footer-hours-box p {
    color: var(--color-white);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer-hours-box .q-title {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 600;
}

.footer-hours-box .btn-primary {
    background: linear-gradient(135deg, #167070 0%, #29b39f 100%);
    color: var(--color-white);
    border: none;
    width: 100%;
    margin-top: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* Bloque unificado derecho: Address + Logo + Mapa */

.footer-address-box {
    background-color: #105353;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 2fr;
    overflow: hidden;
}

.footer-address-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-gold-logo {
    max-width: 110px;
    height: auto;
    filter: brightness(1.1);
}

.footer-address-center {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-address-center h2 {
    font-size: 29px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 15px;
    text-align: left;
    text-transform: uppercase;
}

.footer-address-center p {
    color: var(--color-white);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-tel a {
    font-weight: 600;
    color: var(--color-primary-light) !important;
    font-size: 16px;
}

.footer-address-center .social-icons {
    margin-top: 5px;
}

.footer-address-right {
    width: 100%;
    height: 100%;
    min-height: 250px;
}

.social-icons a {
    display: inline-flex;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    font-weight: 200;
    margin: 0;
    opacity: 0.6;
}


/* FLOAT WA */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: var(--color-whatsapp);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}


/* RESPONSIVE */

@media (max-width: 1024px) {
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-address-box {
        grid-template-columns: 1fr 1.5fr;
    }
    .footer-address-left {
        display: none;
    }
}

@media (max-width: 768px) {
    .technology-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-address-box {
        grid-template-columns: 1fr;
    }
    .footer-address-right {
        height: 220px;
    }
    .hero-container-flex {
        justify-content: center;
    }
    .hero-content-right {
        text-align: center;
    }
    .treatments-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .logo-centered {
        padding: 10px;
    }
    .logo-centered img {
        width: 100px;
    }
}