﻿
/* ==========================================
   CALMA â€” PSICOLOGÃA CONTEMPORÃNEA
   CSS principal
========================================== */

/* VARIABLES Y CONFIGURACIÃ“N GENERAL */

:root {
    --bg: #F6F2EC;
    --white: #ffffff;
    --surface: #ECE6DD;
    --surface-blue: #E3E7DE;

    --navy: #2B3B35;
    --navy-deep: #1F2B27;
    --navy-soft: #4C6359;

    --text: #2E3A36;
    --muted: #6B655C;
    --border: #DDD7CC;
    --accent: #D9C7A7;

    --font: "Figtree", sans-serif;
    --heading: "Newsreader", Georgia, serif;

    --container: 1180px;
    --ease: 250ms ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--accent);
    color: var(--navy-deep);
}

.container {
    width: min(var(--container), 86%);
    margin-inline: auto;
}

section[id] {
    scroll-margin-top: 95px;
}

.section-space {
    padding-block: 112px;
}


/* ==========================================
   ELEMENTOS GENERALES
========================================== */

.eyebrow,
.section-label,
.contact-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

.eyebrow {
    color: var(--navy);
}

.status-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #6E8A6B;
    box-shadow: 0 0 0 4px rgba(113, 155, 148, 0.13);
}

.section-label {
    color: var(--muted);
}

.section-number {
    color: var(--navy);
    font-family: var(--heading);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}

.section-label > span:last-child {
    padding-left: 11px;
    border-left: 1px solid var(--border);
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 14px 20px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    transition:
        background var(--ease),
        color var(--ease),
        border-color var(--ease),
        transform var(--ease);
}

.button > span {
    font-size: 16px;
    transition: transform var(--ease);
}

.button:hover > span {
    transform: translate(2px, -2px);
}

.button-primary {
    background: var(--navy);
    color: var(--white);
}

.button-primary:hover {
    transform: translateY(-2px);
    background: var(--navy-deep);
}

.button-secondary {
    gap: 12px;
    border-color: var(--border);
    background: transparent;
    color: var(--navy);
}

.button-secondary:hover {
    border-color: var(--navy);
    background: var(--white);
}

.button-secondary > span {
    font-size: 14px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--navy);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
}

.text-link > span {
    transition: transform var(--ease);
}

.text-link:hover > span {
    transform: translate(3px, -3px);
}


/* ==========================================
   HEADER Y NAVEGACIÃ“N
========================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(220, 228, 228, 0.85);
    background: rgba(248, 249, 248, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
}

.brand-symbol {
    display: flex;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #5d6b57;
}

.brand-symbol-icon {
    display: block;
    width: 35px;
    height: 35px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-copy strong {
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
}

.brand-copy small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 30px);
}

.nav-links > a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    transition: color var(--ease);
}

.nav-links > a:hover {
    color: var(--navy);
}

.nav-links .nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    background: var(--navy);
    color: var(--white);
    transition: background var(--ease);
}

.nav-links .nav-contact:hover {
    background: var(--navy-deep);
    color: var(--white);
}

.nav-contact span {
    font-size: 14px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    margin: 6px 0;
    background: var(--navy);
    transition: transform var(--ease);
}


/* ==========================================
   HERO
========================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 65px 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.9fr;
    align-items: center;
    gap: 8%;
    padding-bottom: 75px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-block: 25px;
}

.hero-content .eyebrow {
    margin-bottom: 27px;
}

.hero h1 {
    max-width: 650px;
    font-family: var(--heading);
    font-size: clamp(47px, 5.3vw, 73px);
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 1.13;
}

.hero h1 span {
    display: block;
    color: var(--navy);
    font-weight: 700;
}

.hero-description {
    max-width: 485px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 29px;
}

.hero-assurance {
    display: flex;
    max-width: 390px;
    align-items: center;
    gap: 13px;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.assurance-icon {
    display: grid;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--navy);
    font-size: 16px;
}

.hero-assurance p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.hero-visual {
    position: relative;
    min-width: 0;
    padding: 0 18px 30px 0;
}

.hero-photo {
    position: relative;
    height: clamp(420px, 45vw, 570px);
    overflow: hidden;
    background: var(--surface);
}

.hero-photo::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(25, 60, 70, 0.08);
    content: "";
    pointer-events: none;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 700ms ease;
}

.hero-visual:hover .hero-photo img {
    transform: scale(1.025);
}

.hero-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(355px, 95%);
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: var(--white);
    box-shadow: 0 12px 40px rgba(25, 60, 70, 0.08);
}

.caption-line {
    width: 3px;
    height: 42px;
    flex-shrink: 0;
    background: var(--navy);
}

.hero-caption strong {
    font-family: var(--heading);
    font-size: 14px;
    font-weight: 700;
}

.hero-caption p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.hero-side-label {
    position: absolute;
    top: 30px;
    right: -1px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    writing-mode: vertical-rl;
}

.hero-decoration {
    position: absolute;
    top: -20px;
    right: 0;
    display: flex;
    gap: 6px;
}

.hero-decoration span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--navy);
    opacity: 0.5;
}

.hero-bottom {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
}

.hero-bottom span,
.hero-bottom a {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.hero-bottom a {
    color: var(--navy);
}


/* ==========================================
   INTRODUCCIÃ“N
========================================== */

.intro-section {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.intro-content {
    max-width: 850px;
}

.intro-content h2,
.section-heading h2,
.about-content h2,
.modality-heading h2,
.faq-heading h2,
.contact-inner h2 {
    font-family: var(--heading);
    font-size: clamp(38px, 4.4vw, 58px);
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.23;
}

.intro-content h2 span,
.section-heading h2 span,
.about-content h2 span,
.modality-heading h2 span,
.faq-heading h2 span,
.contact-inner h2 span {
    color: var(--navy);
    font-weight: 700;
}

.intro-content > p {
    max-width: 620px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2.1;
}

.intro-content .text-link {
    margin-top: 29px;
}


/* ==========================================
   ESPECIALIDADES
========================================== */

.specialties-section {
    background: var(--bg);
}

.section-heading {
    margin-bottom: 44px;
}

.heading-row {
    display: grid;
    grid-template-columns: 1.15fr 0.65fr;
    align-items: end;
    gap: 9%;
    margin-top: 23px;
}

.heading-row h2 {
    max-width: 670px;
}

.heading-row > p {
    padding-bottom: 5px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.specialty-card {
    display: flex;
    min-width: 0;
    min-height: 390px;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--border);
    background: var(--white);
    transition:
        border-color var(--ease),
        transform var(--ease),
        box-shadow var(--ease);
}

.specialty-card:hover {
    transform: translateY(-4px);
    border-color: #b9cbcd;
    box-shadow: 0 16px 38px rgba(25, 60, 70, 0.06);
}

.specialty-card-featured {
    padding-top: 23px;
    border-top: 3px solid var(--navy);
}

.card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-number {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-symbol {
    color: var(--navy);
    font-size: 18px;
}

.specialty-icon {
    display: grid;
    width: 53px;
    height: 53px;
    margin-top: 25px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--navy);
}

.specialty-icon svg {
    width: 27px;
    height: 27px;
}

.specialty-card h3 {
    margin-top: 23px;
    font-family: var(--heading);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.4;
}

.specialty-card > p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}

.specialty-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 25px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
}

.specialty-link span {
    font-size: 16px;
    transition: transform var(--ease);
}

.specialty-link:hover span {
    transform: translateX(4px);
}

.specialties-disclaimer {
    margin-top: 20px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}


/* ==========================================
   SOBRE MÃ
========================================== */

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.05fr;
    align-items: center;
    gap: 10%;
}

.about-visual {
    position: relative;
    min-width: 0;
    padding: 0 30px 28px 0;
}

.about-photo {
    height: 560px;
    overflow: hidden;
    background: var(--surface);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.about-photo-note {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(300px, 90%);
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: var(--navy);
    color: var(--white);
}

.note-mark {
    font-family: var(--heading);
    font-size: 35px;
    line-height: 1;
}

.about-photo-note p {
    padding-top: 5px;
    font-size: 12px;
    line-height: 1.8;
}

.about-content {
    max-width: 620px;
}

.about-content h2 {
    margin-top: 24px;
}

.about-content > p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.about-content .about-lead {
    margin-top: 23px;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

.about-details {
    display: grid;
    gap: 0;
    margin-top: 25px;
    border-top: 1px solid var(--border);
}

.about-details > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.detail-number {
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
}

.about-details p {
    font-size: 12px;
    font-weight: 600;
}

.about-content > .button {
    margin-top: 26px;
}

.about-content .demo-disclaimer {
    margin-top: 16px;
    font-size: 11px;
}


/* ==========================================
   MODALIDAD
========================================== */

.modality-section {
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
}

.section-label-light {
    color: rgba(255, 255, 255, 0.7);
}

.section-label-light .section-number {
    color: var(--white);
}

.section-label-light > span:last-child {
    border-color: rgba(255, 255, 255, 0.25);
}

.modality-heading {
    max-width: 730px;
}

.modality-heading h2 {
    margin-top: 24px;
}

.modality-heading h2 span {
    color: #c6dedd;
}

.modality-heading > p {
    max-width: 570px;
    margin-top: 19px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 2;
}

.modality-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 55px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.modality-card {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    padding: 28px 28px 0 0;
}

.modality-card + .modality-card {
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.modality-index {
    color: #c6dedd;
    font-family: var(--heading);
    font-size: 29px;
    font-weight: 500;
}

.modality-card h3 {
    margin-top: 21px;
    font-family: var(--heading);
    font-size: 22px;
    font-weight: 600;
}

.modality-card > p {
    margin-top: 11px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    line-height: 2;
}

.modality-footnote {
    margin-top: auto;
    padding-top: 20px;
    color: #d5e3e2;
    font-size: 11px;
}


/* ==========================================
   PREGUNTAS FRECUENTES
========================================== */

.faq-section {
    background: var(--bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
    gap: 10%;
}

.faq-heading h2 {
    margin-top: 24px;
}

.faq-heading > p {
    max-width: 360px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.faq-heading .text-link {
    margin-top: 26px;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 23px 0;
    list-style: none;
    cursor: pointer;
    font-family: var(--heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-toggle {
    display: grid;
    width: 29px;
    height: 29px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--navy);
    font-size: 18px;
    font-weight: 400;
    transition:
        transform var(--ease),
        background var(--ease);
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
    background: var(--white);
}

.faq-item > p {
    max-width: 600px;
    padding: 0 35px 22px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}


/* ==========================================
   CONTACTO
========================================== */

.contact-section {
    position: relative;
    overflow: hidden;
    padding-block: 100px;
    background: var(--surface-blue);
    text-align: center;
}

.contact-inner {
    position: relative;
    z-index: 1;
}

.contact-kicker {
    justify-content: center;
    color: var(--navy);
}

.contact-kicker-line {
    width: 24px;
    height: 1px;
    background: var(--navy);
}

.contact-inner h2 {
    max-width: 760px;
    margin: 25px auto 0;
    font-size: clamp(44px, 5.3vw, 68px);
}

.contact-inner > p {
    max-width: 520px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.button-light {
    margin-top: 30px;
    background: var(--navy);
    color: var(--white);
}

.button-light:hover {
    transform: translateY(-2px);
    background: var(--navy-deep);
}

.contact-small {
    display: block;
    margin-top: 15px;
    color: var(--muted);
    font-size: 11px;
}

.contact-orbit {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(25, 60, 70, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-one {
    top: -190px;
    left: -90px;
    width: 390px;
    height: 390px;
}

.orbit-two {
    right: -80px;
    bottom: -250px;
    width: 450px;
    height: 450px;
}


/* ==========================================
   FOOTER
========================================== */

.site-footer {
    background: var(--bg);
}

.footer-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    padding-block: 33px;
}

.footer-description {
    color: var(--muted);
    font-size: 12px;
}

.footer-top {
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 20px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--muted);
    font-size: 11px;
}


/* ==========================================
   ANIMACIONES DE ENTRADA
========================================== */

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.reveal-pending {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 650ms ease,
        transform 650ms ease;
    transition-delay: var(--delay, 0ms);
}

.reveal.reveal-pending.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   ACCESIBILIDAD
========================================== */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal.reveal-pending {
        opacity: 1;
        transform: none;
    }
}


/* ==========================================
   TABLETS Y LAPTOPS PEQUEÃ‘AS
========================================== */

@media (max-width: 1050px) {
    .container {
        width: 90%;
    }

    .navbar {
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links > a {
        font-size: 11px;
    }

    .nav-links .nav-contact {
        gap: 8px;
        padding: 12px;
    }

    .hero-grid {
        gap: 5%;
    }

    .hero h1 {
        font-size: clamp(46px, 5.4vw, 62px);
        letter-spacing: -0.5px;
    }

    .hero-photo {
        height: 440px;
    }

    .section-space {
        padding-block: 85px;
    }

    .intro-grid,
    .about-grid,
    .faq-grid {
        gap: 6%;
    }

    .specialty-card {
        padding: 21px;
    }

    .specialty-card-featured {
        padding-top: 19px;
    }

    .about-photo {
        height: 480px;
    }
}


/* ==========================================
   TABLETS VERTICALES Y MÃ“VILES
========================================== */

@media (max-width: 760px) {
    .container {
        width: 88%;
    }

    .section-space {
        padding-block: 72px;
    }

    .navbar {
        min-height: 74px;
    }

    .brand-symbol {
        width: 39px;
        height: 39px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .menu-toggle {
        position: relative;
        z-index: 1002;
        display: block;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    /* MenÃº desplegable */

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 5%;
        right: 5%;
        z-index: 1001;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;

        padding: 18px 22px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: var(--bg);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);

        transition:
            opacity 220ms ease,
            visibility 220ms ease,
            transform 220ms ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links > a:not(.nav-contact) {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
        color: var(--text);
        font-family: var(--heading);
        font-size: 16px;
    }

    .nav-links .nav-contact {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 16px;
        padding: 14px;
        font-size: 14px;
    }

    /* Hero */

    .hero {
        padding-top: 42px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 55px;
    }

    .hero-content {
        padding-block: 5px;
    }

    .hero-content .eyebrow {
        margin-bottom: 23px;
        font-size: 11px;
        letter-spacing: 1.1px;
    }

    .hero h1 {
        font-size: clamp(45px, 10vw, 64px);
        letter-spacing: -0.5px;
        line-height: 1.16;
    }

    .hero-description {
        margin-top: 20px;
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-actions .button-secondary {
        justify-content: space-between;
    }

    .hero-assurance {
        margin-top: 26px;
    }

    .hero-visual {
        width: 96%;
        margin-left: auto;
        padding-right: 12px;
    }

    .hero-photo {
        height: min(112vw, 490px);
    }

    .hero-caption {
        width: 95%;
        padding: 16px;
    }

    .hero-side-label {
        right: -5px;
        font-size: 10px;
    }

    .hero-bottom {
        min-height: 57px;
    }

    .hero-bottom span,
    .hero-bottom a {
        font-size: 10px;
        letter-spacing: 0.7px;
    }

    /* IntroducciÃ³n */

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-content h2,
    .section-heading h2,
    .about-content h2,
    .modality-heading h2,
    .faq-heading h2 {
        font-size: clamp(37px, 8.4vw, 49px);
        letter-spacing: -0.5px;
    }

    .intro-content > p {
        font-size: 14px;
    }

    /* Especialidades */

    .section-heading {
        margin-bottom: 30px;
    }

    .heading-row {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
    }

    .heading-row > p {
        max-width: 520px;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .specialty-card {
        min-height: 345px;
        padding: 24px;
    }

    .specialty-card-featured {
        padding-top: 22px;
    }

    .specialty-card h3 {
        font-size: 22px;
    }

    /* Sobre mÃ­ */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 43px;
    }

    .about-visual {
        width: 94%;
        padding-right: 17px;
    }

    .about-photo {
        height: min(115vw, 470px);
    }

    .about-photo-note {
        width: min(290px, 95%);
        padding: 16px;
    }

    .about-content h2 {
        margin-top: 21px;
    }

    /* Modalidad */

    .modality-heading {
        max-width: 600px;
    }

    .modality-grid {
        grid-template-columns: 1fr;
        margin-top: 37px;
    }

    .modality-card,
    .modality-card + .modality-card {
        min-height: auto;
        padding: 25px 0;
        border-left: 0;
    }

    .modality-card + .modality-card {
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }

    .modality-card h3 {
        margin-top: 15px;
    }

    .modality-footnote {
        margin-top: 15px;
        padding-top: 0;
    }

    /* Preguntas frecuentes */

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .faq-heading > p {
        max-width: 480px;
    }

    .faq-item summary {
        padding: 20px 0;
        font-size: 14px;
    }

    .faq-item > p {
        padding-right: 10px;
    }

    /* Contacto */

    .contact-section {
        padding-block: 78px;
    }

    .contact-inner h2 {
        font-size: clamp(42px, 9.4vw, 56px);
        letter-spacing: -0.5px;
    }

    .contact-inner > p {
        font-size: 14px;
    }

    .contact-inner .button {
        width: 100%;
        max-width: 340px;
    }

    .orbit-one {
        top: -100px;
        left: -240px;
    }

    .orbit-two {
        right: -290px;
        bottom: -280px;
    }

    /* Footer */

    .footer-main {
        grid-template-columns: 1fr auto;
        gap: 18px;
        padding-block: 27px;
    }

    .footer-description {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .footer-top {
        grid-column: 2;
        grid-row: 1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-block: 17px;
    }
}


/* ==========================================
   MÃ“VILES PEQUEÃ‘OS
========================================== */

@media (max-width: 380px) {
    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-content .eyebrow {
        font-size: 10px;
    }

    .hero-photo {
        height: 350px;
    }

    .hero-bottom span,
    .hero-bottom a {
        font-size: 10px;
    }

    .intro-content h2,
    .section-heading h2,
    .about-content h2,
    .modality-heading h2,
    .faq-heading h2 {
        font-size: 32px;
    }

    .contact-inner h2 {
        font-size: 37px;
    }
}

/* FOCO VISIBLE EN SECCIONES OSCURAS */
.modality-section a:focus-visible,
.modality-section button:focus-visible {
    outline-color: var(--accent);
}
