/* =========================================================
   MED ESTETIC
   STYLE.CSS
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --primary: #075a73;
    --primary-dark: #043f52;
    --primary-light: #0d7894;

    --accent: #36b8bd;
    --accent-light: #dff6f5;

    --white: #ffffff;
    --background: #f8fbfb;
    --background-alt: #eef7f7;

    --text: #1c2c31;
    --text-light: #68777b;

    --border: #dce8e9;

    --shadow:
        0 15px 45px rgba(0, 57, 73, 0.10);

    --shadow-hover:
        0 25px 60px rgba(0, 57, 73, 0.16);

    --radius: 22px;
    --radius-small: 12px;

    --transition: 0.35s ease;

    --container: 1180px;
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

button {
    border: none;
}

::selection {
    background: var(--accent);
    color: var(--white);
}


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

.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--accent);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    line-height: 1.15;
}

h1,
h2 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

h2 {
    color: var(--primary-dark);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
}

h2 span,
h1 span {
    color: var(--accent);
}

p {
    color: var(--text-light);
}

.section-heading {
    max-width: 730px;
    margin: 0 auto 60px;

    text-align: center;
}

.section-heading p {
    max-width: 620px;

    margin:
        20px
        auto
        0;

    font-size: 1.05rem;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding:
        0
        28px;

    border: 1px solid transparent;
    border-radius: 100px;

    font-size: 0.92rem;
    font-weight: 600;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        border var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );

    color: var(--white);

    box-shadow:
        0 10px 30px rgba(7, 90, 115, 0.20);
}

.btn-primary:hover {
    box-shadow:
        0 16px 35px rgba(7, 90, 115, 0.30);
}

.btn-secondary {
    border-color: var(--primary);

    color: var(--primary);

    background: transparent;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    border-color:
        rgba(255, 255, 255, 0.55);

    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-weight: 700;

    transition:
        gap var(--transition),
        color var(--transition);
}

.text-link span {
    color: var(--accent);
}

.text-link:hover {
    gap: 14px;
    color: var(--accent);
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 1000;

    width: 100%;

    padding: 18px 0;

    background:
        rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid transparent;

    transition:
        padding var(--transition),
        box-shadow var(--transition),
        border var(--transition);
}

.header.scrolled {
    padding: 10px 0;

    border-color: var(--border);

    box-shadow:
        0 8px 35px rgba(0, 50, 65, 0.08);
}

.nav-container {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;
}

.logo-link {
    flex-shrink: 0;
}

.logo {
    width: 180px;
    height: 80px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.nav {
    display: flex;

    align-items: center;

    gap: 27px;
}

.nav > a:not(.btn) {
    position: relative;

    color: var(--text);

    font-size: 0.88rem;
    font-weight: 500;
}

.nav > a:not(.btn)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: width var(--transition);
}

.nav > a:not(.btn):hover::after {
    width: 100%;
}

.btn-nav {
    min-height: 45px;

    padding:
        0
        22px;

    background: var(--primary);
    color: var(--white);
}

.btn-nav:hover {
    background: var(--accent);
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 6px 0;

    background: var(--primary);

    transition: var(--transition);
}


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

.hero {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 100vh;

    padding:
        190px
        0
        90px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #ffffff 0%,
            #f3fbfb 50%,
            #e8f7f7 100%
        );
}

.hero-container {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 75px;
}

.hero-content h1 {
    max-width: 680px;

    margin-bottom: 25px;

    color: var(--primary-dark);

    font-size:
        clamp(
            3.3rem,
            6vw,
            5.8rem
        );

    letter-spacing: -2px;
}

.hero-content h1 span {
    display: block;

    font-style: italic;
}

.hero-description {
    max-width: 570px;

    margin-bottom: 35px;

    font-size: 1.12rem;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 50px;
}

.hero-features {
    display: flex;

    gap: 40px;

    padding-top: 30px;

    border-top:
        1px solid var(--border);
}

.hero-features div {
    display: flex;

    flex-direction: column;

    max-width: 135px;
}

.hero-features strong {
    color: var(--primary);

    font-family:
        "Playfair Display",
        serif;

    font-size: 2rem;
}

.hero-features span {
    margin-top: 3px;

    color: var(--text-light);

    font-size: 0.78rem;
    line-height: 1.4;
}

.hero-image-wrapper {
    position: relative;

    min-height: 620px;
}

.hero-image {
    height: 620px;

    border-radius:
        260px
        260px
        30px
        30px;

    object-fit: cover;

    box-shadow: var(--shadow);
}

.hero-card {
    position: absolute;

    left: -45px;
    bottom: 40px;

    max-width: 230px;

    padding: 22px;

    border:
        1px solid
        rgba(255, 255, 255, 0.65);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.90);

    backdrop-filter: blur(12px);

    box-shadow: var(--shadow);
}

.hero-card span {
    display: block;

    margin-bottom: 7px;

    color: var(--accent);

    font-size: 0.75rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-card strong {
    color: var(--primary-dark);

    font-family:
        "Playfair Display",
        serif;

    font-size: 1.15rem;
}

.hero-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.hero-decoration-one {
    top: -180px;
    right: -100px;

    width: 500px;
    height: 500px;

    border:
        1px solid
        rgba(54, 184, 189, 0.20);
}

.hero-decoration-two {
    right: 30%;
    bottom: -280px;

    width: 600px;
    height: 600px;

    background:
        rgba(54, 184, 189, 0.05);
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--white);
}

.about-container {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    align-items: center;

    gap: 90px;
}

.about-image {
    position: relative;
}

.about-image > img {
    height: 600px;

    border-radius:
        25px
        160px
        25px
        25px;

    object-fit: cover;

    box-shadow: var(--shadow);
}

.experience-card {
    position: absolute;

    right: -45px;
    bottom: 40px;

    display: flex;

    align-items: center;

    gap: 15px;

    max-width: 230px;

    padding:
        25px
        28px;

    border-radius: 18px;

    background: var(--primary);

    color: var(--white);

    box-shadow: var(--shadow);
}

.experience-card strong {
    color: var(--white);

    font-family:
        "Playfair Display",
        serif;

    font-size: 3rem;

    line-height: 1;
}

.experience-card span {
    font-size: 0.85rem;
    line-height: 1.3;
}

.about-content h2 {
    margin-bottom: 28px;
}

.about-content p {
    margin-bottom: 20px;

    font-size: 1.03rem;
}

.about-content .text-link {
    margin-top: 10px;
}


/* =========================================================
   TREATMENTS
========================================================= */

.treatments {
    background: var(--background);
}

.treatments-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}

.treatment-card {
    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border var(--transition);
}

.treatment-card:hover {
    transform: translateY(-10px);

    border-color:
        rgba(54, 184, 189, 0.40);

    box-shadow: var(--shadow-hover);
}

.treatment-image {
    position: relative;

    height: 300px;

    overflow: hidden;
}

.treatment-image img {
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}

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

.treatment-category {
    position: absolute;

    top: 18px;
    left: 18px;

    padding:
        7px
        14px;

    border-radius: 100px;

    background:
        rgba(255, 255, 255, 0.92);

    color: var(--primary);

    font-size: 0.72rem;
    font-weight: 700;

    backdrop-filter: blur(8px);
}

.treatment-content {
    padding: 27px;
}

.treatment-content h3 {
    margin-bottom: 12px;

    color: var(--primary-dark);

    font-family:
        "Playfair Display",
        serif;

    font-size: 1.45rem;
}

.treatment-content p {
    min-height: 76px;

    margin-bottom: 22px;

    font-size: 0.92rem;
}

.center-button {
    margin-top: 50px;

    text-align: center;
}


/* =========================================================
   CATEGORIES
========================================================= */

.categories {
    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );
}

.categories .eyebrow {
    color: #82e2e2;
}

.categories .section-heading h2 {
    color: var(--white);
}

.categories .section-heading h2 span {
    color: #82e2e2;
}

.categories-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.category-card {
    position: relative;

    display: flex;

    align-items: center;

    min-height: 150px;

    padding: 35px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.06);

    color: var(--white);

    transition:
        background var(--transition),
        transform var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);

    background:
        rgba(255, 255, 255, 0.12);
}

.category-number {
    margin-right: 25px;

    color:
        rgba(255, 255, 255, 0.45);

    font-family:
        "Playfair Display",
        serif;

    font-size: 2rem;
}

.category-card h3 {
    max-width: 300px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 1.5rem;
    font-weight: 500;
}

.category-arrow {
    margin-left: auto;

    font-size: 1.7rem;

    transition:
        transform var(--transition);
}

.category-card:hover
.category-arrow {
    transform: translateX(7px);
}


/* =========================================================
   TEAM
========================================================= */

.team {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: start;
}

.team-card {
    text-align: center;
    transition: transform 0.35s ease;
}

/* CONTENEDOR DE LA FOTOGRAFÍA */
.team-image {
    position: relative;

    width: 100%;
    max-width: 320px;

    margin: 0 auto 24px;

    overflow: hidden;

    border-radius: 24px;

    background: transparent;

    box-shadow:
        0 12px 35px rgba(0, 58, 112, 0.10);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* IMAGEN COMPLETA */
.team-image img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    transition: transform 0.5s ease;
}

/* EFECTO ELEGANTE AL PASAR EL CURSOR */
.team-card:hover .team-image {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px rgba(0, 58, 112, 0.16);
}

.team-card:hover .team-image img {
    transform: scale(1.015);
}

/* NOMBRE */
.team-info h3 {
    margin: 0 0 8px;

    color: var(--primary-dark);

    font-family:
        "Playfair Display",
        serif;

    font-size: 1.45rem;
    line-height: 1.2;
}

/* CARGO */
.team-info p {
    margin: 0 auto;

    max-width: 280px;

    color: var(--text-light);

    font-size: 0.9rem;
    line-height: 1.55;
}

/* TABLET */
@media (max-width: 1050px) {

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 28px;
    }

    .team-image {
        max-width: 330px;
    }
}

/* MÓVIL */
@media (max-width: 600px) {

    .team-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .team-image {
        max-width: 320px;
    }

    .team-info h3 {
        font-size: 1.35rem;
    }

    .team-info p {
        font-size: 0.88rem;
    }
}


/* =========================================================
   RESULTS
========================================================= */

.results {
    background: var(--background);
}

.results-container {
    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    align-items: center;

    gap: 80px;
}

.results-content h2 {
    margin-bottom: 25px;
}

.results-content > p {
    margin-bottom: 18px;
}

.results-note {
    padding-left: 18px;

    border-left:
        3px solid var(--accent);

    font-size: 0.83rem;
}

.results-content .btn {
    margin-top: 15px;
}


/* BEFORE / AFTER */

.before-after {
    max-width: 650px;
}

.comparison {
    position: relative;

    width: 100%;
    height: 480px;

    overflow: hidden;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.comparison-image,
.comparison-before img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.comparison-before {
    position: absolute;

    top: 0;
    left: 0;

    width: 50%;
    height: 100%;

    overflow: hidden;
}

.comparison-before img {
    width: 650px;
    max-width: none;
}

.comparison-line {
    position: absolute;

    top: 0;
    left: 50%;

    width: 2px;
    height: 100%;

    background: var(--white);

    transform:
        translateX(-50%);
}

.comparison-line span {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: var(--white);

    color: var(--primary);

    box-shadow:
        0 4px 20px
        rgba(0, 0, 0, 0.20);

    transform:
        translate(-50%, -50%);
}

.comparison-slider {
    width: 100%;

    margin-top: 20px;

    accent-color: var(--primary);

    cursor: pointer;
}


/* =========================================================
   APPOINTMENT CTA
========================================================= */

.appointment-cta {
    position: relative;

    padding:
        110px
        0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #0c8092
        );

    color: var(--white);

    text-align: center;
}

.appointment-cta::before {
    content: "";

    position: absolute;

    top: -250px;
    left: -100px;

    width: 500px;
    height: 500px;

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 50%;
}

.appointment-container {
    position: relative;

    z-index: 2;

    max-width: 780px;
}

.appointment-cta .eyebrow {
    color: #a9eeee;
}

.appointment-cta h2 {
    margin-bottom: 20px;

    color: var(--white);
}

.appointment-cta p {
    max-width: 620px;

    margin:
        0
        auto
        35px;

    color:
        rgba(255, 255, 255, 0.80);

    font-size: 1.05rem;
}

.appointment-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-bottom: 30px;
}

.contact-card {
    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background: var(--white);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.contact-card > span {
    display: block;

    margin-bottom: 8px;

    color: var(--accent);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-card h3 {
    margin-bottom: 8px;

    color: var(--primary-dark);

    font-family:
        "Playfair Display",
        serif;

    font-size: 1.3rem;
}

.map-placeholder {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 350px;

    padding: 40px;

    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            var(--background-alt),
            #e3f2f2
        );

    text-align: center;
}

.map-placeholder span {
    margin-bottom: 10px;

    color: var(--primary);

    font-family:
        "Playfair Display",
        serif;

    font-size: 2rem;
}


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

.footer {
    padding:
        70px
        0
        25px;

    background: #052f3d;

    color: var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.7fr
        1fr
        1fr
        1fr;

    gap: 60px;

    padding-bottom: 55px;
}

.footer-brand img {
    width: 170px;

    margin-bottom: 20px;

    /* Si el logo tiene fondo blanco,
       quitaremos esta regla posteriormente. */

    border-radius: 8px;
}

.footer-brand p {
    max-width: 330px;

    color:
        rgba(255, 255, 255, 0.60);

    font-size: 0.9rem;
}

.footer h4 {
    margin-bottom: 20px;

    font-size: 0.9rem;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer a {
    margin-bottom: 10px;

    color:
        rgba(255, 255, 255, 0.60);

    font-size: 0.85rem;

    transition:
        color var(--transition);
}

.footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 25px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.10);
}

.footer-bottom p {
    color:
        rgba(255, 255, 255, 0.45);

    font-size: 0.78rem;
}


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

.whatsapp-button {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 900;

    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 120px;
    height: 48px;

    padding:
        0
        20px;

    border-radius: 100px;

    background: #25d366;

    color: var(--white);

    font-size: 0.82rem;
    font-weight: 700;

    box-shadow:
        0 10px 30px
        rgba(37, 211, 102, 0.30);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(20px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}

.whatsapp-button.visible {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}

.whatsapp-button:hover {
    transform:
        translateY(-4px);
}


/* =========================================================
   JAVASCRIPT ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(45px);

    transition:
        opacity 0.85s ease,
        transform 0.85s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}

.hero-animate {
    opacity: 0;

    transform:
        translateY(30px);
}

body.loaded
.hero-animate {
    opacity: 1;

    transform:
        translateY(0);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

body.loaded
.hero-animate:nth-child(1) {
    transition-delay: 0.10s;
}

body.loaded
.hero-animate:nth-child(2) {
    transition-delay: 0.20s;
}

body.loaded
.hero-animate:nth-child(3) {
    transition-delay: 0.30s;
}

body.loaded
.hero-animate:nth-child(4) {
    transition-delay: 0.40s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .nav {
        gap: 16px;
    }

    .nav > a:not(.btn) {
        font-size: 0.80rem;
    }

    .hero-container {
        gap: 45px;
    }

    .hero-image-wrapper,
    .hero-image {
        min-height: 540px;
        height: 540px;
    }

    .about-container {
        gap: 60px;
    }

    .team-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap:
            45px
            25px;
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {

    .section {
        padding:
            85px
            0;
    }

    /* NAVIGATION */

    .menu-toggle {
        display: block;

        z-index: 1100;
    }

    .nav {
        position: fixed;

        top: 0;
        right: -100%;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        width: min(85%, 390px);
        height: 100vh;

        padding:
            110px
            35px
            40px;

        gap: 24px;

        background: var(--white);

        box-shadow:
            -15px 0 50px
            rgba(0, 50, 65, 0.12);

        transition:
            right 0.4s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav > a:not(.btn) {
        width: 100%;

        padding-bottom: 10px;

        border-bottom:
            1px solid var(--border);

        font-size: 1rem;
    }

    .nav .btn {
        width: 100%;

        margin-top: 5px;
    }

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

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

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


    /* HERO */

    .hero {
        min-height: auto;

        padding:
            130px
            0
            80px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-image-wrapper {
        width: min(100%, 600px);

        margin: 0 auto;
    }

    .hero-card {
        left: 20px;
    }


    /* ABOUT */

    .about-container {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .about-image {
        width: min(100%, 650px);

        margin: 0 auto;
    }

    .experience-card {
        right: 20px;
    }


    /* TREATMENTS */

    .treatments-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* RESULTS */

    .results-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .before-after {
        width: 100%;
        max-width: 100%;
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: 91%;
    }

    .section {
        padding:
            70px
            0;
    }

    .logo {
        width: 125px;
    }


    /* HERO */

    .hero-content h1 {
        font-size:
            clamp(
                2.8rem,
                13vw,
                4rem
            );

        letter-spacing: -1px;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 15px;
    }

    .hero-features div {
        max-width: none;
    }

    .hero-features strong {
        font-size: 1.6rem;
    }

    .hero-image-wrapper,
    .hero-image {
        min-height: 440px;
        height: 440px;
    }

    .hero-image {
        border-radius:
            160px
            160px
            20px
            20px;
    }

    .hero-card {
        left: 15px;
        bottom: 20px;

        max-width: 190px;

        padding: 17px;
    }


    /* ABOUT */

    .about-image > img {
        height: 480px;

        border-radius:
            20px
            100px
            20px
            20px;
    }

    .experience-card {
        right: 10px;
        bottom: 20px;

        padding:
            18px
            20px;
    }

    .experience-card strong {
        font-size: 2.4rem;
    }


    /* TREATMENTS */

    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .treatment-image {
        height: 330px;
    }


    /* CATEGORIES */

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 120px;

        padding: 25px;
    }


    /* TEAM */

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        width: min(100%, 380px);

        margin: 0 auto;
    }


    /* RESULTS */

    .comparison {
        height: 400px;
    }

    .comparison-before img {
        width: calc(91vw);
    }


    /* APPOINTMENT */

    .appointment-cta {
        padding:
            80px
            0;
    }

    .appointment-buttons {
        flex-direction: column;
    }

    .appointment-buttons .btn {
        width: 100%;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .whatsapp-button {
        right: 15px;
        bottom: 15px;

        min-width: auto;

        padding:
            0
            18px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }

    .reveal,
    .hero-animate {
        opacity: 1;

        transform: none;
    }

}

/* =========================================
   AJUSTE DE IMÁGENES ANTES / DESPUÉS
========================================= */

.before-after {
    width: 100%;
    max-width: 800px;
}

.comparison {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    border-radius: 24px;
}

.comparison-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* =========================================================
   PÁGINA TRATAMIENTOS - MED ESTETIC
========================================================= */


/* -------------------------
   HERO
------------------------- */

.treatments-hero {
    padding: 190px 0 110px;
    background:
        linear-gradient(
            120deg,
            #ffffff 0%,
            #f4fbfb 50%,
            #e9f7f7 100%
        );
    text-align: center;
}

.treatments-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.treatments-hero .section-label {
    display: block;
    margin-bottom: 22px;
}

.treatments-hero h1 {
    margin: 0 auto 25px;
    max-width: 850px;

    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 1.02;
    font-weight: 500;

    color: #064d63;
}

.treatments-hero h1 span {
    display: block;
    color: #2db7bc;
}

.treatments-hero p {
    max-width: 700px;
    margin: 0 auto 35px;

    font-size: 1.1rem;
    line-height: 1.8;

    color: #61727a;
}


/* -------------------------
   INTRODUCCIÓN
------------------------- */

.treatments-intro {
    background: #ffffff;
}

.treatments-intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.treatments-intro h2 {
    margin-top: 12px;

    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.08;
    font-weight: 500;

    color: #064d63;
}

.treatments-intro h2 span {
    display: block;
    color: #2db7bc;
}

.treatments-intro p {
    margin-bottom: 18px;

    font-size: 1.05rem;
    line-height: 1.8;

    color: #61727a;
}


/* -------------------------
   CATÁLOGO
------------------------- */

.treatments-catalog {
    background: #f7fbfb;
}

.treatments-catalog .section-heading {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.treatments-catalog .section-heading h2 {
    margin: 12px 0 18px;

    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.1;
    font-weight: 500;

    color: #064d63;
}

.treatments-catalog .section-heading h2 span {
    display: block;
    color: #2db7bc;
}

.treatments-catalog .section-heading p {
    max-width: 650px;
    margin: auto;

    font-size: 1.05rem;
    line-height: 1.7;

    color: #61727a;
}


/* -------------------------
   FILTROS
------------------------- */

.treatment-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 50px;
}

.filter-btn {
    appearance: none;
    border: 1px solid #c8dddd;
    background: #ffffff;

    padding: 12px 24px;

    border-radius: 50px;

    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;

    color: #315a65;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);

    border-color: #20aeb4;

    color: #087083;
}

.filter-btn.active {
    background: #08647a;
    border-color: #08647a;

    color: #ffffff;
}


/* -------------------------
   GRID DE TRATAMIENTOS
------------------------- */

.treatments-full-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* -------------------------
   TARJETA
------------------------- */

.treatment-full-card {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e3eeee;
    border-radius: 24px;

    box-shadow:
        0 12px 35px rgba(5, 76, 94, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.treatment-full-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(5, 76, 94, 0.13);
}


/* -------------------------
   IMAGEN
------------------------- */

.treatment-full-image {
    position: relative;

    width: 100%;
    height: 300px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #e8f7f7,
            #d8f0f0
        );
}

.treatment-full-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.5s ease;
}

.treatment-full-card:hover
.treatment-full-image img {
    transform: scale(1.04);
}


/* -------------------------
   PLACEHOLDER
------------------------- */

.treatment-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #eaf8f8 0%,
            #d9f1f1 50%,
            #eefafa 100%
        );
}

.treatment-placeholder span {
    font-size: 0.9rem;
    font-weight: 700;

    letter-spacing: 4px;

    color: #1aa7ad;
}


/* -------------------------
   CONTENIDO TARJETA
------------------------- */

.treatment-full-content {
    padding: 28px 28px 32px;
}

.treatment-full-content > span {
    display: block;

    margin-bottom: 10px;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 2px;

    color: #24adb4;
}

.treatment-full-content h3 {
    margin: 0 0 14px;

    font-size: 1.45rem;
    line-height: 1.25;

    color: #064d63;
}

.treatment-full-content p {
    min-height: 105px;

    margin: 0 0 22px;

    font-size: 0.95rem;
    line-height: 1.7;

    color: #687b82;
}

.treatment-full-content a {
    display: inline-flex;
    align-items: center;

    font-size: 0.95rem;
    font-weight: 700;

    color: #087087;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.treatment-full-content a:hover {
    color: #20adb4;
    transform: translateX(4px);
}


/* -------------------------
   CTA FINAL
------------------------- */

.treatment-cta {
    background: #ffffff;
}

.treatment-cta-container {
    max-width: 1050px;

    margin: auto;
    padding: 75px 50px;

    text-align: center;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #e9f8f8 0%,
            #f7fcfc 100%
        );
}

.treatment-cta-container h2 {
    max-width: 750px;

    margin: 14px auto 20px;

    font-size: clamp(2.3rem, 4vw, 3.8rem);
    line-height: 1.1;
    font-weight: 500;

    color: #064d63;
}

.treatment-cta-container h2 span {
    display: block;
    color: #2db7bc;
}

.treatment-cta-container p {
    max-width: 650px;

    margin: 0 auto 30px;

    font-size: 1.05rem;
    line-height: 1.75;

    color: #61727a;
}


/* -------------------------
   MENÚ ACTIVO
------------------------- */

.nav a.active {
    color: #0791a0;
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1024px) {

    .treatments-full-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .treatments-intro-container {
        gap: 45px;
    }

}


/* =========================================================
   RESPONSIVE - MÓVIL
========================================================= */

@media (max-width: 768px) {

    .treatments-hero {
        padding:
            150px
            20px
            75px;
    }

    .treatments-hero h1 {
        font-size: clamp(
            2.7rem,
            12vw,
            4rem
        );
    }

    .treatments-intro-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .treatment-filters {
        justify-content: flex-start;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 10px;

        scrollbar-width: thin;
    }

    .filter-btn {
        flex: 0 0 auto;
    }

    .treatments-full-grid {
        grid-template-columns: 1fr;
    }

    .treatment-full-image {
        height: 330px;
    }

    .treatment-full-content p {
        min-height: auto;
    }

    .treatment-cta-container {
        padding:
            55px
            25px;

        border-radius: 22px;
    }

}


/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 480px) {

    .treatments-hero {
        padding-top: 135px;
    }

    .treatment-full-image {
        height: 280px;
    }

    .treatment-full-content {
        padding: 24px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.88rem;
    }

}

/* =========================================================
   CORRECCIÓN HEADER - PÁGINA TRATAMIENTOS
========================================================= */

.header {
    height: 120px;
}

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

.logo {
    width: 150px;
    height: auto;
    max-height: 95px;
    object-fit: contain;
}

.header .nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-btn {
    flex-shrink: 0;
}


/* =========================================================
   CORRECCIÓN HERO TRATAMIENTOS
========================================================= */

.treatments-hero {
    min-height: 650px;

    padding:
        210px
        20px
        100px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            120deg,
            #ffffff 0%,
            #f4fbfb 55%,
            #e9f7f7 100%
        );
}

.treatments-hero-container {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.treatments-hero h1 {
    margin:
        15px
        auto
        25px;

    max-width: 900px;
}

.treatments-hero p {
    max-width: 700px;
    margin:
        0
        auto
        35px;
}


/* TABLET */

@media (max-width: 1024px) {

    .header .nav {
        gap: 18px;
    }

}


/* MÓVIL */

@media (max-width: 768px) {

    .header {
        height: 95px;
    }

    .logo {
        width: 125px;
        max-height: 75px;
    }

    .treatments-hero {
        min-height: auto;

        padding:
            150px
            20px
            80px;
    }

}

/* =========================================================
   PÁGINAS INDIVIDUALES DE TRATAMIENTOS
   MED ESTETIC
========================================================= */


/* =========================================================
   HERO DEL TRATAMIENTO
========================================================= */

.treatment-detail-hero {
    padding: 180px 0 90px;

    background:
        linear-gradient(
            120deg,
            #ffffff 0%,
            #f5fbfb 55%,
            #e9f7f7 100%
        );
}

.treatment-detail-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


/* TEXTO HERO */

.treatment-detail-hero-content {
    max-width: 620px;
}

.treatment-back {
    display: inline-block;

    margin-bottom: 35px;

    font-size: 0.9rem;
    font-weight: 600;

    color: #557078;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.treatment-back:hover {
    color: #17a8ae;
    transform: translateX(-4px);
}


.treatment-detail-hero-content .section-label {
    display: block;

    margin-bottom: 16px;
}


.treatment-detail-hero h1 {
    margin: 0 0 25px;

    font-size: clamp(
        3.5rem,
        6vw,
        6rem
    );

    line-height: 0.98;

    font-weight: 500;

    color: #064d63;
}


.treatment-detail-hero h1 span {
    display: block;

    color: #2db7bc;
}


.treatment-hero-description {
    max-width: 580px;

    margin-bottom: 30px;

    font-size: 1.08rem;

    line-height: 1.8;

    color: #5f737b;
}


/* BOTONES HERO */

.treatment-hero-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 25px;
}


.treatment-medical-note {
    max-width: 520px;

    padding-left: 18px;

    border-left: 3px solid #2db7bc;

    font-size: 0.88rem;

    line-height: 1.6;

    color: #718187;
}


/* IMAGEN HERO */

.treatment-detail-hero-image {
    position: relative;

    height: 610px;

    overflow: hidden;

    border-radius: 30px;

    box-shadow:
        0 25px 60px rgba(
            6,
            77,
            99,
            0.13
        );
}


.treatment-detail-hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.6s ease;
}


.treatment-detail-hero-image:hover img {
    transform: scale(1.025);
}



/* =========================================================
   INTRODUCCIÓN
========================================================= */

.treatment-detail-intro {
    background: #ffffff;
}


.treatment-detail-intro-grid {
    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    gap: 90px;

    align-items: start;
}


.treatment-detail-intro h2 {
    margin-top: 12px;

    font-size: clamp(
        2.6rem,
        4vw,
        4.2rem
    );

    line-height: 1.08;

    font-weight: 500;

    color: #064d63;
}


.treatment-detail-intro h2 span {
    display: block;

    color: #2db7bc;
}


.treatment-detail-text p {
    margin:
        0
        0
        22px;

    font-size: 1.04rem;

    line-height: 1.85;

    color: #60737b;
}



/* =========================================================
   OBJETIVO / BENEFICIOS
========================================================= */

.treatment-purpose {
    background: #f6fbfb;
}


.treatment-purpose .section-heading {
    max-width: 800px;

    margin:
        0
        auto
        55px;

    text-align: center;
}


.treatment-purpose .section-heading h2 {
    margin:
        12px
        0
        20px;

    font-size: clamp(
        2.5rem,
        4vw,
        4rem
    );

    line-height: 1.08;

    font-weight: 500;

    color: #064d63;
}


.treatment-purpose .section-heading h2 span {
    display: block;

    color: #2db7bc;
}


.treatment-purpose .section-heading p {
    max-width: 700px;

    margin: auto;

    line-height: 1.8;

    color: #61747c;
}


/* TARJETAS */

.treatment-benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.treatment-benefit-card {
    padding: 38px 32px;

    background: #ffffff;

    border:
        1px solid
        #e1eeee;

    border-radius: 22px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.treatment-benefit-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px
        rgba(6, 77, 99, 0.09);
}


.benefit-number {
    display: block;

    margin-bottom: 28px;

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 2px;

    color: #2db7bc;
}


.treatment-benefit-card h3 {
    margin-bottom: 15px;

    font-size: 1.35rem;

    color: #064d63;
}


.treatment-benefit-card p {
    margin: 0;

    line-height: 1.75;

    color: #687b82;
}



/* =========================================================
   ZONAS
========================================================= */

.treatment-zones {
    background: #ffffff;
}


.treatment-zones-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 90px;

    align-items: start;
}


.treatment-zones h2 {
    margin:
        12px
        0
        20px;

    font-size: clamp(
        2.5rem,
        4vw,
        4rem
    );

    line-height: 1.08;

    font-weight: 500;

    color: #064d63;
}


.treatment-zones h2 span {
    display: block;

    color: #2db7bc;
}


.treatment-zones > .container > div:first-child p {
    max-width: 520px;

    line-height: 1.8;

    color: #65777e;
}


/* LISTADO */

.zones-list {
    border-top:
        1px solid
        #dce9e9;
}


.zone-item {
    display: grid;

    grid-template-columns:
        55px 1fr;

    gap: 20px;

    padding:
        25px
        0;

    border-bottom:
        1px solid
        #dce9e9;
}


.zone-item > span {
    padding-top: 4px;

    font-size: 0.78rem;

    font-weight: 700;

    color: #2db7bc;
}


.zone-item h3 {
    margin:
        0
        0
        8px;

    color: #064d63;
}


.zone-item p {
    margin: 0;

    line-height: 1.7;

    color: #687a81;
}



/* =========================================================
   PROCESO
========================================================= */

.treatment-process {
    background:
        linear-gradient(
            135deg,
            #064d63,
            #07677b
        );
}


.treatment-process .section-label {
    color: #6ed9dd;
}


.treatment-process .section-heading {
    margin-bottom: 55px;

    text-align: center;
}


.treatment-process .section-heading h2 {
    margin-top: 12px;

    font-size: clamp(
        2.5rem,
        4vw,
        4rem
    );

    line-height: 1.08;

    font-weight: 500;

    color: #ffffff;
}


.treatment-process .section-heading h2 span {
    display: block;

    color: #67d6da;
}


.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.process-card {
    min-height: 270px;

    padding: 32px 27px;

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.07);
}


.process-card > span {
    display: block;

    margin-bottom: 50px;

    font-size: 0.8rem;

    font-weight: 700;

    color: #67d6da;
}


.process-card h3 {
    margin-bottom: 14px;

    color: #ffffff;
}


.process-card p {
    margin: 0;

    line-height: 1.7;

    color:
        rgba(
            255,
            255,
            255,
            0.76
        );
}



/* =========================================================
   EXPECTATIVAS
========================================================= */

.treatment-expectations {
    background: #f7fbfb;
}


.treatment-expectations-grid {
    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    gap: 90px;
}


.expectations-highlight h2 {
    margin-top: 12px;

    font-size: clamp(
        2.7rem,
        4vw,
        4.2rem
    );

    line-height: 1.08;

    font-weight: 500;

    color: #064d63;
}


.expectations-highlight h2 span {
    display: block;

    color: #2db7bc;
}


.expectations-content > p {
    margin:
        0
        0
        20px;

    font-size: 1.03rem;

    line-height: 1.8;

    color: #61747c;
}


/* AVISO */

.medical-warning {
    margin-top: 35px;

    padding: 25px 28px;

    border-left:
        4px solid
        #2db7bc;

    background: #ffffff;

    border-radius:
        0
        14px
        14px
        0;
}


.medical-warning strong {
    display: block;

    margin-bottom: 8px;

    color: #064d63;
}


.medical-warning p {
    margin: 0;

    line-height: 1.7;

    color: #64777e;
}



/* =========================================================
   CUIDADOS
========================================================= */

.treatment-care {
    background: #ffffff;
}


.treatment-care .section-heading {
    max-width: 760px;

    margin:
        0
        auto
        50px;

    text-align: center;
}


.treatment-care .section-heading h2 {
    margin:
        12px
        0
        18px;

    font-size: clamp(
        2.5rem,
        4vw,
        4rem
    );

    line-height: 1.08;

    font-weight: 500;

    color: #064d63;
}


.treatment-care .section-heading h2 span {
    display: block;

    color: #2db7bc;
}


.treatment-care .section-heading p {
    line-height: 1.8;

    color: #65777e;
}


.care-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

    max-width: 950px;

    margin: auto;
}


.care-card {
    padding: 38px;

    border-radius: 22px;

    background: #f5fbfb;

    border:
        1px solid
        #e0eeee;
}


.care-card h3 {
    margin:
        0
        0
        16px;

    font-size: 1.35rem;

    color: #064d63;
}


.care-card p {
    margin: 0;

    line-height: 1.8;

    color: #64777e;
}



/* =========================================================
   PREGUNTAS FRECUENTES
========================================================= */

.treatment-faq {
    background: #f6fbfb;
}


.treatment-faq-container {
    max-width: 900px;
}


.treatment-faq .section-heading {
    margin-bottom: 45px;

    text-align: center;
}


.treatment-faq .section-heading h2 {
    margin-top: 12px;

    font-size: clamp(
        2.5rem,
        4vw,
        4rem
    );

    line-height: 1.08;

    font-weight: 500;

    color: #064d63;
}


.treatment-faq .section-heading h2 span {
    display: block;

    color: #2db7bc;
}


/* FAQ */

.faq-item {
    margin-bottom: 14px;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid
        #e0ecec;

    border-radius: 15px;
}


.faq-item summary {
    position: relative;

    padding:
        23px
        60px
        23px
        25px;

    font-size: 1rem;

    font-weight: 700;

    color: #064d63;

    cursor: pointer;

    list-style: none;
}


.faq-item summary::-webkit-details-marker {
    display: none;
}


.faq-item summary::after {
    content: "+";

    position: absolute;

    right: 25px;

    top: 50%;

    transform:
        translateY(-50%);

    font-size: 1.5rem;

    font-weight: 400;

    color: #2db7bc;
}


.faq-item[open] summary::after {
    content: "−";
}


.faq-item p {
    margin: 0;

    padding:
        0
        25px
        25px;

    line-height: 1.75;

    color: #64777e;
}



/* =========================================================
   CTA FINAL
========================================================= */

.treatment-detail-cta {
    background: #ffffff;
}


.treatment-detail-cta-box {
    max-width: 1050px;

    padding:
        75px
        50px;

    text-align: center;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #e8f8f8,
            #f7fcfc
        );
}


.treatment-detail-cta-box h2 {
    max-width: 760px;

    margin:
        14px
        auto
        20px;

    font-size: clamp(
        2.5rem,
        4vw,
        4rem
    );

    line-height: 1.08;

    font-weight: 500;

    color: #064d63;
}


.treatment-detail-cta-box h2 span {
    display: block;

    color: #2db7bc;
}


.treatment-detail-cta-box p {
    max-width: 650px;

    margin:
        0
        auto
        30px;

    line-height: 1.8;

    color: #62757c;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

    .treatment-detail-hero-grid {
        gap: 40px;
    }

    .treatment-detail-hero-image {
        height: 520px;
    }

    .treatment-detail-intro-grid,
    .treatment-zones-grid,
    .treatment-expectations-grid {
        gap: 50px;
    }

    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}



@media (max-width: 768px) {

    .treatment-detail-hero {
        padding:
            140px
            0
            70px;
    }


    .treatment-detail-hero-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .treatment-detail-hero-content {
        max-width: none;
    }


    .treatment-detail-hero h1 {
        font-size: clamp(
            3rem,
            14vw,
            4.5rem
        );
    }


    .treatment-detail-hero-image {
        height: 500px;

        border-radius: 22px;
    }


    .treatment-detail-intro-grid,
    .treatment-zones-grid,
    .treatment-expectations-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .treatment-benefits-grid {
        grid-template-columns: 1fr;
    }


    .process-grid {
        grid-template-columns: 1fr;
    }


    .process-card {
        min-height: auto;
    }


    .process-card > span {
        margin-bottom: 30px;
    }


    .care-grid {
        grid-template-columns: 1fr;
    }


    .treatment-detail-cta-box {
        padding:
            55px
            25px;

        border-radius: 22px;
    }

}



@media (max-width: 480px) {

    .treatment-detail-hero {
        padding-top: 125px;
    }


    .treatment-detail-hero-image {
        height: 420px;
    }


    .treatment-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }


    .treatment-hero-actions .btn {
        width: 100%;

        justify-content: center;
        text-align: center;
    }


    .treatment-benefit-card,
    .care-card {
        padding: 28px 24px;
    }


    .zone-item {
        grid-template-columns:
            40px
            1fr;
    }

}

/* =========================================================
   ENLACES TARJETAS DE TRATAMIENTOS
========================================================= */

.treatment-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.treatment-full-card {
    overflow: hidden;
}

.treatment-full-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.treatment-full-card:hover
.treatment-full-image img {
    transform: scale(1.04);
}

.treatment-full-content strong {
    display: inline-block;

    margin-top: 18px;

    color: #20aeb4;

    font-size: 0.9rem;

    transition:
        transform 0.25s ease;
}

.treatment-full-card:hover
.treatment-full-content strong {
    transform: translateX(5px);
}

/* =========================================================
   SISTEMA DE CITAS - MED ESTETIC
========================================================= */


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

.booking-hero {
    min-height: 500px;
    padding: 190px 20px 90px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            120deg,
            #ffffff 0%,
            #f4fbfb 55%,
            #e8f7f7 100%
        );
}

.booking-hero-container {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

.booking-hero h1 {
    max-width: 850px;

    margin: 15px auto 25px;

    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1.05;
}

.booking-hero h1 span {
    display: block;
    color: #20aeb4;
}

.booking-hero p {
    max-width: 650px;

    margin: 0 auto;

    color: #657070;

    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   CONTENEDOR GENERAL
========================================================= */

.booking-section {
    background: #f8fbfb;
}

.booking-container {
    max-width: 1100px;
}


/* =========================================================
   PROGRESO
========================================================= */

.booking-progress {
    max-width: 900px;

    margin: 0 auto 45px;

    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.progress-step {
    width: 110px;

    position: relative;

    text-align: center;

    opacity: 0.45;

    transition: 0.3s ease;
}

.progress-step span {
    width: 44px;
    height: 44px;

    margin: 0 auto 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #cad8d8;
    border-radius: 50%;

    background: #ffffff;

    color: #718080;

    font-weight: 700;

    transition: 0.3s ease;
}

.progress-step p {
    margin: 0;

    font-size: 0.78rem;
    font-weight: 600;

    color: #657070;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.active span {
    border-color: #20aeb4;

    background: #20aeb4;

    color: #ffffff;
}

.progress-step.active p {
    color: #173d42;
}

.progress-line {
    width: 75px;
    height: 2px;

    margin-top: 21px;

    background: #dce6e6;
}


/* =========================================================
   PANEL PRINCIPAL
========================================================= */

.booking-panel {
    max-width: 950px;

    margin: 0 auto;

    padding: 55px;

    background: #ffffff;

    border: 1px solid #e8eeee;
    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(0, 55, 65, 0.07);
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;

    animation: bookingFade 0.35s ease;
}

@keyframes bookingFade {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

}

.booking-step-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #20aeb4;

    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.booking-step h2 {
    margin: 0 0 15px;

    font-size: clamp(2rem, 4vw, 3rem);

    color: #173d42;
}

.booking-description {
    max-width: 650px;

    margin: 0 0 35px;

    color: #6b7777;

    line-height: 1.7;
}


/* =========================================================
   OPCIONES DE TRATAMIENTOS
========================================================= */

.booking-options {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.booking-option {
    width: 100%;

    padding: 20px;

    display: flex;
    align-items: center;
    gap: 16px;

    border: 1px solid #dfe8e8;
    border-radius: 16px;

    background: #ffffff;

    text-align: left;

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.booking-option:hover {
    border-color: #20aeb4;

    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(0, 70, 80, 0.07);
}

.booking-option.selected {
    border-color: #20aeb4;

    background: #f0fbfb;

    box-shadow:
        0 0 0 2px rgba(32, 174, 180, 0.10);
}

.option-icon {
    min-width: 45px;
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef8f8;

    color: #20aeb4;

    font-size: 0.82rem;
    font-weight: 700;
}

.booking-option.selected .option-icon {
    background: #20aeb4;

    color: #ffffff;
}

.booking-option strong {
    display: block;

    margin-bottom: 5px;

    color: #173d42;

    font-size: 0.98rem;
}

.booking-option small {
    display: block;

    color: #7b8585;

    font-size: 0.78rem;
    line-height: 1.4;
}


/* =========================================================
   PROFESIONALES
========================================================= */

.professional-options {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.professional-card {
    min-height: 240px;

    padding: 25px 20px;

    flex-direction: column;
    justify-content: center;

    text-align: center;
}

.professional-avatar {
    width: 105px;
    height: 105px;

    overflow: hidden;

    border-radius: 50%;

    background: #eef5f5;
}

.professional-avatar img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center top;
}

.professional-any {
    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef9f9;

    color: #20aeb4;

    font-size: 2rem;
    font-weight: 700;
}

.professional-card strong {
    font-size: 1.05rem;
}


/* =========================================================
   FECHA
========================================================= */

.booking-date-container {
    max-width: 520px;

    margin: 40px auto;

    padding: 35px;

    border: 1px solid #e1eaea;
    border-radius: 20px;

    background: #f9fcfc;
}

.booking-date-container label {
    display: block;

    margin-bottom: 12px;

    color: #173d42;

    font-size: 0.9rem;
    font-weight: 700;
}

.booking-date {
    width: 100%;

    padding: 17px 18px;

    border: 1px solid #d5e1e1;
    border-radius: 12px;

    outline: none;

    background: #ffffff;

    color: #173d42;

    font-family: inherit;
    font-size: 1rem;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.booking-date:focus {
    border-color: #20aeb4;

    box-shadow:
        0 0 0 3px rgba(32, 174, 180, 0.10);
}


/* =========================================================
   HORARIOS
========================================================= */

.time-options {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.time-option {
    padding: 17px 10px;

    border: 1px solid #dbe5e5;
    border-radius: 12px;

    background: #ffffff;

    color: #173d42;

    font-family: inherit;
    font-weight: 600;

    cursor: pointer;

    transition: 0.25s ease;
}

.time-option:hover {
    border-color: #20aeb4;

    background: #f4fbfb;
}

.time-option.selected {
    border-color: #20aeb4;

    background: #20aeb4;

    color: #ffffff;
}


/* =========================================================
   BOTONES ATRÁS / CONTINUAR
========================================================= */

.booking-actions {
    margin-top: 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.booking-actions .btn {
    min-width: 145px;
}

.booking-back {
    border: 1px solid #d8e2e2;

    background: #ffffff;

    color: #496060;

    cursor: pointer;
}

.booking-back:hover {
    border-color: #20aeb4;

    color: #20aeb4;
}

.next-step:disabled {
    opacity: 0.4;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   FORMULARIO
========================================================= */

.booking-form {
    margin-top: 35px;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #173d42;

    font-size: 0.87rem;
    font-weight: 700;
}

.form-group label span {
    color: #899393;

    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid #d8e2e2;
    border-radius: 12px;

    outline: none;

    background: #ffffff;

    color: #243f43;

    font-family: inherit;
    font-size: 0.95rem;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group textarea {
    resize: vertical;

    min-height: 110px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #20aeb4;

    box-shadow:
        0 0 0 3px rgba(32, 174, 180, 0.10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aaaa;
}


/* =========================================================
   PRIVACIDAD
========================================================= */

.privacy-check {
    padding: 18px;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    border-radius: 12px;

    background: #f6fafa;

    color: #667575;

    font-size: 0.85rem;
    line-height: 1.6;

    cursor: pointer;
}

.privacy-check input {
    width: 18px;
    height: 18px;

    margin-top: 2px;

    flex-shrink: 0;

    accent-color: #20aeb4;
}


/* =========================================================
   RESUMEN
========================================================= */

.booking-summary {
    margin-top: 35px;

    padding: 28px;

    border: 1px solid #e1eaea;
    border-radius: 18px;

    background: #f9fcfc;
}

.booking-summary h3 {
    margin: 0 0 20px;

    color: #173d42;

    font-size: 1.2rem;
}

.summary-row {
    padding: 13px 0;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-bottom: 1px solid #e4ecec;
}

.summary-row:last-child {
    border-bottom: 0;
}

.summary-row span {
    color: #7a8787;
}

.summary-row strong {
    color: #173d42;

    text-align: right;
}


/* =========================================================
   CONFIRMACIÓN
========================================================= */

.booking-success {
    padding: 40px 20px;

    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e9f8f8;

    color: #20aeb4;

    font-size: 2.4rem;
    font-weight: 700;
}

.booking-success h2 {
    max-width: 650px;

    margin: 10px auto 20px;
}

.booking-success h2 span {
    color: #20aeb4;
}

.booking-success > p {
    max-width: 620px;

    margin: 0 auto 30px;

    color: #6d7979;

    line-height: 1.8;
}

.confirmation-number {
    max-width: 350px;

    margin: 0 auto 30px;

    padding: 22px;

    border-radius: 15px;

    background: #f4fafa;
}

.confirmation-number small {
    display: block;

    margin-bottom: 8px;

    color: #7a8787;
}

.confirmation-number strong {
    color: #173d42;

    font-size: 1.45rem;
    letter-spacing: 2px;
}


/* =========================================================
   INFORMACIÓN INFERIOR
========================================================= */

.booking-information {
    background: #ffffff;
}

.booking-info-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: start;
}

.booking-info-grid h2 {
    margin-top: 12px;

    font-size: clamp(2rem, 4vw, 3.3rem);

    color: #173d42;
}

.booking-info-grid h2 span {
    color: #20aeb4;
}

.booking-info-grid p {
    margin-bottom: 18px;

    color: #697777;

    line-height: 1.8;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .booking-panel {
        padding: 40px 30px;
    }

    .professional-options {
        grid-template-columns: 1fr;
    }

    .professional-card {
        min-height: auto;

        flex-direction: row;
        justify-content: flex-start;

        text-align: left;
    }

    .professional-avatar,
    .professional-any {
        width: 75px;
        height: 75px;

        min-width: 75px;
    }

    .time-options {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .booking-info-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 768px) {

    .booking-hero {
        min-height: auto;

        padding:
            150px
            20px
            70px;
    }

    .booking-hero h1 {
        font-size: 2.5rem;
    }

    .booking-progress {
        margin-bottom: 30px;

        overflow-x: auto;

        justify-content: flex-start;

        padding-bottom: 10px;
    }

    .progress-step {
        min-width: 70px;
        width: 70px;
    }

    .progress-step p {
        font-size: 0.66rem;
    }

    .progress-line {
        min-width: 25px;
        width: 25px;
    }

    .booking-panel {
        padding: 30px 18px;

        border-radius: 20px;
    }

    .booking-step h2 {
        font-size: 2rem;
    }

    .booking-options {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .summary-row {
        flex-direction: column;

        gap: 5px;
    }

    .summary-row strong {
        text-align: left;
    }

    .booking-actions {
        flex-wrap: wrap;
    }

    .booking-actions .btn {
        flex: 1;

        min-width: 130px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 480px) {

    .booking-panel {
        padding:
            25px
            14px;
    }

    .time-options {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .professional-card {
        padding: 17px 14px;
    }

    .professional-avatar,
    .professional-any {
        width: 60px;
        height: 60px;

        min-width: 60px;
    }

    .booking-date-container {
        padding: 22px 16px;
    }

    .booking-summary {
        padding: 20px 16px;
    }

}

/* ==========================================================
   MED ESTETIC
   PROFESIONALES - AGENDAR CITA
========================================================== */

.professional-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    gap: 24px;
    margin-top: 30px;
}


/* TARJETA */

.professional-card {
    width: 100%;
    padding: 0;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dce8e8;
    border-radius: 20px;

    cursor: pointer;
    text-align: left;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.professional-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.08);
}


/* SELECCIONADO */

.professional-card.selected {
    border:
        2px solid #20aeb4;

    box-shadow:
        0 12px 30px
        rgba(32, 174, 180, 0.18);
}


/* FOTO */

.professional-card-image {
    width: 100%;
    height: 300px;

    overflow: hidden;

    background:
        #f4f8f8;
}


.professional-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position:
        center top;
}


/* INFORMACIÓN */

.professional-card-content {
    padding: 22px;
}


.professional-card-content strong {
    display: block;

    margin-bottom: 8px;

    color: #003f4c;

    font-size: 1.1rem;

    line-height: 1.3;
}


.professional-card-content span {
    display: block;

    color: #667476;

    font-size: 0.92rem;

    line-height: 1.5;
}


/* ==========================================================
   TRATAMIENTOS - SELECCIÓN
========================================================== */

.booking-option.selected {
    border:
        2px solid #20aeb4;

    background:
        #f2fbfb;

    box-shadow:
        0 8px 25px
        rgba(32, 174, 180, 0.12);
}


/* ==========================================================
   HORARIOS
========================================================== */

.time-option.selected {
    border:
        2px solid #20aeb4;

    background:
        #20aeb4;

    color:
        #ffffff;
}


/* ==========================================================
   MENSAJES
========================================================== */

.booking-message {
    margin-top: 15px;

    line-height: 1.5;

    color:
        #56676a;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 768px) {

    .professional-options {
        grid-template-columns:
            1fr;
    }


    .professional-card-image {
        height: 350px;
    }

}

/* ==========================================================
   MED ESTETIC
   NUEVA PÁGINA - SOLICITAR CITA
========================================================== */


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

.contact-booking-hero {
    padding: 170px 20px 70px;

    background:
        linear-gradient(
            120deg,
            #ffffff 0%,
            #f5fbfb 55%,
            #edf8f8 100%
        );

    text-align: center;
}

.contact-booking-hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.contact-booking-hero .section-label {
    display: block;

    margin-bottom: 12px;

    color: #20aeb4;

    font-size: 0.82rem;
    font-weight: 700;

    letter-spacing: 3px;
}

.contact-booking-hero h1 {
    margin: 0 0 18px;

    color: #003f4c;

    font-size: clamp(2.7rem, 5vw, 4.7rem);
    font-weight: 400;

    line-height: 1.05;
}

.contact-booking-hero p {
    max-width: 680px;

    margin: 0 auto;

    color: #617174;

    font-size: 1.05rem;

    line-height: 1.7;
}


/* ==========================================================
   CONTENEDOR PRINCIPAL
========================================================== */

.appointment-contact-section {
    background: #ffffff;
}

.appointment-contact-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(350px, 0.9fr);

    width: 100%;
    max-width: 1500px;

    margin: 0 auto;
}


/* ==========================================================
   COLUMNA DEL FORMULARIO
========================================================== */

.appointment-form-column {
    padding:
        80px
        clamp(40px, 6vw, 100px)
        90px;

    background: #ffffff;
}

.appointment-form-column .section-label,
.appointment-info-column .section-label {
    display: block;

    margin-bottom: 8px;

    color: #20aeb4;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 2.5px;
}

.appointment-form-column h2,
.appointment-info-column h2 {
    margin: 0;

    color: #003f4c;

    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 400;

    line-height: 1.1;
}

.appointment-intro {
    max-width: 750px;

    margin:
        15px
        0
        38px;

    color: #657477;

    line-height: 1.7;
}


/* ==========================================================
   FORMULARIO
========================================================== */

.appointment-request-form {
    width: 100%;
}

.request-field {
    margin-bottom: 22px;
}

.request-field label {
    display: block;

    margin-bottom: 8px;

    color: #174d56;

    font-size: 0.94rem;
    font-weight: 500;
}

.request-field label span {
    color: #829093;

    font-size: 0.82rem;
    font-weight: 400;
}


/* INPUTS */

.request-field input,
.request-field select,
.request-field textarea {
    display: block;

    width: 100%;

    padding:
        16px
        18px;

    border:
        1px solid #d8e4e4;

    border-radius: 8px;

    outline: none;

    background: #fbfdfd;

    color: #173e46;

    font-family: inherit;
    font-size: 1rem;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


/* INPUT FOCUS */

.request-field input:focus,
.request-field select:focus,
.request-field textarea:focus {
    border-color: #20aeb4;

    background: #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(32, 174, 180, 0.08);
}


/* TEXTAREA */

.request-field textarea {
    min-height: 200px;

    resize: vertical;

    line-height: 1.6;
}


/* SELECT */

.request-field select {
    cursor: pointer;
}


/* ==========================================================
   PRIVACIDAD
========================================================== */

.request-privacy {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-top: 8px;

    color: #5e6e71;

    font-size: 0.9rem;

    line-height: 1.5;

    cursor: pointer;
}

.request-privacy input {
    width: 18px;
    height: 18px;

    margin-top: 2px;

    accent-color: #20aeb4;

    flex-shrink: 0;
}

.request-security {
    margin:
        18px
        0
        0;

    color: #839093;

    font-size: 0.82rem;

    line-height: 1.5;
}


/* ==========================================================
   MENSAJE DEL FORMULARIO
========================================================== */

.request-form-message {
    min-height: 22px;

    margin:
        14px
        0
        0;

    color: #177f84;

    font-size: 0.9rem;
}


/* ==========================================================
   BOTÓN ENVIAR
========================================================== */

.request-submit-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 190px;

    margin-top: 20px;

    padding:
        16px
        30px;

    border: 0;

    border-radius: 50px;

    background: #003f4c;

    color: #ffffff;

    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;

    letter-spacing: 0.6px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.request-submit-btn:hover {
    background: #20aeb4;

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(32, 174, 180, 0.2);
}


/* ==========================================================
   COLUMNA DE INFORMACIÓN
========================================================== */

.appointment-info-column {
    position: relative;

    padding:
        80px
        clamp(35px, 4vw, 70px);

    border-left:
        1px solid #dfeaea;

    background:
        linear-gradient(
            145deg,
            #f4fbfb 0%,
            #edf8f8 100%
        );
}

.appointment-info-inner {
    position: sticky;

    top: 150px;
}

.appointment-info-description {
    margin:
        15px
        0
        45px;

    color: #647477;

    line-height: 1.7;
}


/* ==========================================================
   MÉTODOS DE CONTACTO
========================================================== */

.contact-method {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding:
        22px
        0;

    border-bottom:
        1px solid #d7e6e6;
}

.contact-method-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border:
        1px solid #20aeb4;

    border-radius: 50%;

    color: #20aeb4;

    font-size: 1rem;
    font-weight: 700;

    flex-shrink: 0;
}

.contact-method strong {
    display: block;

    margin-bottom: 5px;

    color: #004d59;

    font-size: 1rem;
}

.contact-method span {
    display: block;

    color: #6c797c;

    font-size: 0.9rem;

    line-height: 1.6;
}


/* ==========================================================
   FRASE
========================================================== */

.appointment-info-phrase {
    margin-top: 45px;
}

.appointment-info-phrase p {
    margin: 0;

    color: #20aeb4;

    font-size: 1.55rem;

    font-style: italic;

    line-height: 1.5;
}


/* ==========================================================
   AVISO
========================================================== */

.appointment-note {
    padding:
        25px
        20px;

    background: #eef8f8;

    border-top:
        1px solid #dbe9e9;

    border-bottom:
        1px solid #dbe9e9;
}

.appointment-note .container {
    max-width: 1200px;

    margin: 0 auto;
}

.appointment-note p {
    margin: 0;

    color: #5c6e71;

    text-align: center;

    font-size: 0.9rem;

    line-height: 1.6;
}

.appointment-note strong {
    color: #003f4c;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .appointment-contact-container {
        grid-template-columns: 1fr;
    }

    .appointment-info-column {
        border-left: 0;

        border-top:
            1px solid #dfeaea;
    }

    .appointment-info-inner {
        position: static;
    }

}


/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 768px) {

    .contact-booking-hero {
        padding:
            135px
            20px
            55px;
    }

    .contact-booking-hero h1 {
        font-size: 2.7rem;
    }

    .appointment-form-column {
        padding:
            55px
            22px
            65px;
    }

    .appointment-info-column {
        padding:
            55px
            22px
            65px;
    }

    .appointment-form-column h2,
    .appointment-info-column h2 {
        font-size: 2.1rem;
    }

    .request-field textarea {
        min-height: 170px;
    }

    .request-submit-btn {
        width: 100%;
    }

}


/* ==========================================================
   CELULAR PEQUEÑO
========================================================== */

@media (max-width: 480px) {

    .contact-booking-hero h1 {
        font-size: 2.35rem;
    }

    .contact-method {
        gap: 14px;
    }

    .contact-method-icon {
        width: 42px;
        height: 42px;
    }

    .appointment-info-phrase p {
        font-size: 1.3rem;
    }

}
/* ==========================================
   CORRECCIÓN LOGO DEL FOOTER
========================================== */

.footer-logo {
    width: 160px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .footer-logo {
        width: 130px;
    }
}

/* ==========================================================
   AJUSTES FINALES - SOLICITAR CITA
========================================================== */


/* LINKS DE CONTACTO */

.contact-method-link {
    color: inherit;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.contact-method-link:hover {
    transform: translateX(5px);
}

.contact-method-link:hover strong {
    color: #20aeb4;
}


/* MENSAJES DEL FORMULARIO */

.request-form-message {
    min-height: 24px;

    margin-top: 16px;

    font-size: 0.9rem;

    line-height: 1.5;
}

.request-form-message.success {
    color: #16866f;
}

.request-form-message.error {
    color: #b64242;
}


/* BOTÓN DESACTIVADO */

.request-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* ==========================================================
   LOGO DEL FOOTER
========================================================== */

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: block;

    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;

    margin: 0 0 20px 0;

    object-fit: contain;
}


/* LINKS DEL FOOTER */

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

.footer a:hover {
    color: #20aeb4;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 768px) {

    .footer-logo {
        width: 125px !important;
        max-width: 125px !important;
    }

}
/* ==========================================================
   CONTACTO - PÁGINA PRINCIPAL
========================================================== */

.contact-section {
    padding: 110px 20px;
    background: #ffffff;
}

/* ==================================================
   UBICACIÓN - MED ESTETIC
================================================== */

.location-section {
    background: #ffffff;
    padding: 90px 0;
}

.location-container {
    max-width: 1100px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 50px;
}

.location-image {
    width: 100%;
    height: 690px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}

.location-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.location-info {
    padding: 20px 0;
}

.location-info h3 {
    margin: 12px 0 18px;
    font-size: 2rem;
}

.location-info p {
    margin-bottom: 28px;
    line-height: 1.8;
}


/* TABLET Y CELULAR */

@media (max-width: 768px) {

    .location-section {
        padding: 65px 0;
    }

    .location-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .location-image {
        height: 400px;
        border-radius: 18px;
    }

    .location-info {
        text-align: center;
        padding: 5px 10px;
    }

}


/* CELULARES PEQUEÑOS */

@media (max-width: 480px) {

    .location-image {
        height: 330px;
    }

    .location-info h3 {
        font-size: 1.6rem;
    }

}   

/* =========================
   REDES SOCIALES
========================= */

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 12px;
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-link .facebook-icon {
    fill: currentColor;
    stroke: none;
}

/* =========================================
   VALIDACIÓN FORMULARIO DE CITA
========================================= */

#requestFormMessage.error {
    color: #c62828;
    font-weight: 600;
    margin-top: 14px;
}

#requestFormMessage.success {
    color: #16834b;
    font-weight: 600;
    margin-top: 14px;
}

/* Campo con error */
.request-field input.field-error,
.request-field select.field-error,
.request-field textarea.field-error {
    border: 1.5px solid #c62828;
    background-color: #fffafa;
}

/* Mensaje debajo del campo */
.field-error-message {
    display: block;
    color: #c62828;
    font-size: 0.88rem;
    font-weight: 500;
    margin-top: 7px;
    line-height: 1.4;
}

/* Cuando el usuario entra nuevamente al campo */
.request-field input.field-error:focus,
.request-field select.field-error:focus,
.request-field textarea.field-error:focus {
    border-color: #c62828;
    outline: none;
}


/* ==========================================
   FOOTER COMPACTO - MED ESTETIC
========================================== */

.footer {
    padding: 40px 0 18px;
    background: #052f3d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 25px;
    align-items: start;
}

.footer-brand img {
    width: 145px;
    margin-bottom: 12px;
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer h4 {
    margin-bottom: 12px;
}

.footer a {
    margin-bottom: 7px;
}

.footer-bottom {
    padding-top: 16px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.78rem;
}

/* TABLET */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }
}

/* CELULARES */
@media (max-width: 600px) {
    .footer {
        padding: 35px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 25px;
    }

    .footer-brand img {
        width: 135px;
    }
}


/* ==========================================
   FOOTER MÁS COMPACTO - MED ESTETIC
========================================== */

.footer {
    padding: 28px 0 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
    padding-bottom: 20px;
}

/* Evitar espacios excesivos */
.footer-grid > div {
    margin: 0;
    padding: 0;
}

.footer-brand img {
    width: 125px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.8rem;
    line-height: 1.5;
}

.footer h4 {
    margin-bottom: 10px;
}

.footer a {
    margin-bottom: 5px;
    line-height: 1.5;
}

.footer-bottom {
    padding-top: 12px;
}

.footer-bottom p {
    margin: 0;
}

/* TABLET */
@media (max-width: 1050px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 25px;
    }
}

/* CELULARES */
@media (max-width: 600px) {
    .footer {
        padding: 30px 0 15px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 18px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand img {
        width: 125px;
    }
}


/* ==========================================
   AJUSTE DE ESPACIOS - CONTACTO Y UBICACIÓN
========================================== */

/* Sección de contacto */
.contact {
    padding-top: 45px;
    padding-bottom: 35px;
}

/* Sección de ubicación */
.location-section {
    padding-top: 35px;
    padding-bottom: 45px;
}

/* Título de ubicación */
.location-section .section-header {
    margin-bottom: 25px;
}

/* Contenedor de ubicación */
.location-container {
    margin-top: 20px;
    gap: 35px;
}

/* Adaptación para celulares */
@media (max-width: 768px) {
    .contact {
        padding-top: 35px;
        padding-bottom: 30px;
    }

    .location-section {
        padding-top: 30px;
        padding-bottom: 35px;
    }

    .location-container {
        gap: 25px;
    }
}


