/* ═══════════════════════════════════════════════════════════════════════
   PSICOLOGÍA ALAMEDA — Design System
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────────────────────────── */
:root {
    --rosa: #ff91b8;
    --rosa-dark: #e87da3;
    --rosa-light: #ffc5da;
    --turquesa: #20bbc7;
    --turquesa-dark: #19a8b3;
    --dorado: #ead569;
    --verde: #7bc5a3;
    --verde-dark: #5fae89;

    --text: #3a3a3a;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --heading: #1f2937;
    --white: #ffffff;
    --bg: #fafbfc;
    --bg-light: #f3f4f6;
    --border: #e5e7eb;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .06);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, .1), 0 8px 32px rgba(0, 0, 0, .06);
    --shadow-xl: 0 8px 40px rgba(0, 0, 0, .12);
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ─── Reset ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--rosa);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--rosa-dark);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--heading);
    line-height: 1.3;
    font-weight: 600;
}

ul {
    list-style: none;
}

/* ─── Layout ────────────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.mt-2 {
    margin-top: 2rem;
}

/* ─── Top Bar ───────────────────────────────────────────────────────── */
.topbar {
    background: linear-gradient(135deg, var(--turquesa), var(--turquesa-dark));
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-brand {
    font-weight: 500;
}

.topbar-social-link {
    display: flex;
    align-items: center;
    color: var(--primary);
    /* Pink color */
    font-size: 20px;
    /* Slightly larger icon */
    transition: var(--transition);
    transform: translateY(-1px);
    /* Slight adjustment for visual alignment */
}

.topbar-social-link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.topbar-right {
    display: flex;
    gap: 20px;
}

.topbar-link {
    color: var(--white);
    opacity: .9;
    font-weight: 500;
}

.topbar-link:hover {
    color: var(--white);
    opacity: 1;
}

.topbar-link i {
    margin-right: 5px;
}

/* ─── Header ────────────────────────────────────────────────────────── */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 15px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--heading);
    white-space: nowrap;
}

.logo-accent {
    color: var(--rosa);
}

/* ─── Navigation ────────────────────────────────────────────────────── */
.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    z-index: 900;
    position: relative;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--rosa);
    background: rgba(255, 145, 184, .06);
}

.nav-link--cta {
    background: var(--rosa);
    color: var(--white) !important;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: var(--rosa-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--heading);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn--primary:hover {
    background: var(--rosa-dark);
    border-color: var(--rosa-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 145, 184, .35);
}

.btn--white {
    background: var(--white);
    color: var(--rosa);
    border-color: var(--white);
}

.btn--white:hover {
    background: rgba(255, 255, 255, .9);
    color: var(--rosa-dark);
    transform: translateY(-2px);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .5);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, .15);
    color: var(--white);
}

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

.btn--sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ─── Hero ──────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 520px;
    overflow: hidden;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 520px;
}

.hero-text-side {
    padding: 60px 0;
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: var(--rosa);
    margin: 20px 0 28px;
    border-radius: 3px;
}

.hero-text {
    color: rgba(255, 255, 255, .85);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.hero-text-side .btn {
    margin-top: 20px;
}

.hero-image-side {
    position: relative;
    height: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0 0 0 60px;
    position: absolute;
    inset: 0;
}

/* ─── Sections ──────────────────────────────────────────────────────── */
.section {
    padding: 80px 0;
}

.section--light {
    background: var(--bg-light);
}

.section--with-floral {
    position: relative;
    overflow: hidden;
}

.floral-decorative {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 450px;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    transform: rotate(15deg);
    mix-blend-mode: multiply;
}

.container--relative {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    text-align: center;
    margin-bottom: 8px;
}

.section-title--left {
    text-align: left;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--rosa);
    margin: 0 auto 24px;
    border-radius: 3px;
}

.section-divider--left {
    margin-left: 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 48px;
    font-size: 16px;
    line-height: 1.7;
}

/* ─── Page Header ───────────────────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--turquesa) 0%, var(--turquesa-dark) 100%);
    color: var(--white);
    padding: 60px 0 50px;
    text-align: center;
}

.page-header-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--white);
    margin-bottom: 8px;
}

.page-header-subtitle {
    font-size: 17px;
    opacity: .85;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Services Grid ─────────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 24px;
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ─── Banner ────────────────────────────────────────────────────────── */
.banner--turquoise {
    background: linear-gradient(135deg, var(--turquesa), var(--turquesa-dark));
    color: var(--white);
    padding: 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.banner-card {
    padding: 60px 36px;
    text-align: center;
    transition: var(--transition);
}

.banner-card--accent {
    background: rgba(0, 0, 0, .08);
}

.banner-card i {
    margin-bottom: 20px;
    opacity: .8;
}

.banner-card h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 12px;
}

.banner-card p {
    font-size: 15px;
    opacity: .85;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ─── Terapias Modern Grid (Nueva Página) ─────────────────────────────── */
.terapias-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.terapia-modern-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
}

.terapia-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.terapia-modern-image {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
}

.terapia-modern-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.terapia-modern-card:hover .terapia-modern-image img {
    transform: scale(1.08);
    /* slight zoom on hover */
}

.terapia-modern-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--white);
}

.terapia-modern-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.terapia-modern-title {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.terapia-modern-text {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
    font-size: 15px;
}

.terapia-modern-link {
    font-weight: 700;
    color: var(--primario);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.terapia-modern-card:hover .terapia-modern-link {
    color: var(--secundario);
}

.terapia-modern-link i {
    transition: transform 0.3s ease;
}

.terapia-modern-card:hover .terapia-modern-link i {
    transform: translateX(4px);
}

/* ─── Split Section ─────────────────────────────────────────────────── */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.image-frame {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--rosa-light), var(--verde));
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.image-frame::after {
    content: '🧠';
    font-size: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .3;
}

.lead {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 28px;
    line-height: 1.6;
}

.therapy-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.therapy-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

/* ─── Stats ─────────────────────────────────────────────────────────── */
.stats {
    background: linear-gradient(135deg, var(--rosa) 0%, var(--rosa-dark) 100%);
    padding: 60px 0;
}

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

.stat-number {
    font-size: 56px;
    font-weight: 700;
    font-family: var(--font-heading);
    display: inline;
}

.stat-suffix {
    font-size: 40px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.stat-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: .85;
    margin-top: 4px;
    font-weight: 600;
}

/* ─── Testimonials ──────────────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.testimonials-grid--full {
    grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    color: var(--rosa);
    font-size: 28px;
    margin-bottom: 16px;
    opacity: .6;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.testimonial-role {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rosa), var(--turquesa));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* ─── CTA ───────────────────────────────────────────────────────────── */
.cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    color: var(--white);
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 12px;
}

.cta p {
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
    margin-bottom: 28px;
}

/* ─── Terapias Grid ─────────────────────────────────────────────────── */
.terapias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.terapia-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: block;
    color: var(--text);
}

.terapia-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    color: var(--text);
}

.terapia-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 28px;
    transition: var(--transition);
}

.terapia-card:hover .terapia-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.terapia-card-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.terapia-card-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 18px;
}

.terapia-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--rosa);
    transition: var(--transition);
}

.terapia-card:hover .terapia-card-link i {
    transform: translateX(4px);
}

.terapia-card-link i {
    transition: var(--transition);
}

/* ─── Contact ───────────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form-wrap h2 {
    font-size: 24px;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

.form-input:focus {
    outline: none;
    border-color: var(--rosa);
    box-shadow: 0 0 0 3px rgba(255, 145, 184, .12);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.contact-info-card h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--turquesa-dark);
}

.contact-info-card h3 i {
    margin-right: 8px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-info-card a {
    color: var(--text);
}

.contact-info-card a:hover {
    color: var(--rosa);
}

.map-container {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ─── Content Pages ─────────────────────────────────────────────────── */
.content-container {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    overflow-x: hidden; /* Prevent any inner grid from overflowing */
    width: 100%;
    box-sizing: border-box;
}

.content-container h2 {
    font-size: 28px;
    margin: 40px 0 16px;
}

.content-container h3 {
    font-size: 22px;
    margin: 32px 0 12px;
}

.content-container p {
    margin-bottom: 16px;
}

.content-container ul,
.content-container ol {
    margin: 16px 0 16px 28px;
    list-style: disc;
}

.content-container ul li {
    margin-bottom: 12px;
    padding-left: 8px;
}

/* ─── Modern Quotes (Cuando Acudir) ─────────────────────────────────── */
.modern-quotes {
    margin: 48px 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.quote-block {
    display: flex;
    gap: 32px;
}

.quote-line {
    position: relative;
    width: 2px;
    background-color: transparent;
    flex-shrink: 0;
}

.quote-line::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: -16px;
    /* Extend line slightly below text */
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background-color: var(--rosa);
    border-radius: 4px;
    z-index: 1;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 2px solid var(--rosa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primario);
    font-size: 14px;
    z-index: 2;
}

.quote-content {
    flex-grow: 1;
    padding-top: 4px;
}

.quote-text {
    font-size: 20px;
    font-style: italic;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.6;
}

.quote-description {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.quote-description strong {
    color: var(--text);
    font-weight: 700;
}

.content-container blockquote {
    border-left: 4px solid var(--rosa);
    margin: 24px 0;
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-light);
}

/* ─── El Enfoque ────────────────────────────────────────────────────── */
.enfoque-modern {
    padding: 20px 0 40px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.enfoque-intro {
    max-width: 800px;
    margin: 0 auto 60px;
}

.enfoque-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.enfoque-grid--wide {
    grid-template-columns: 55% 1fr;
}

.enfoque-text-box h3 {
    font-size: 28px;
    color: var(--primario);
    margin-bottom: 16px;
}

.enfoque-text-box p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

.enfoque-image-box {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.enfoque-image-box img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.enfoque-image-box:hover img {
    transform: scale(1.05);
}

/* ── Layout de filas El Enfoque ─────────────────────────────────── */
.ef-row {
    display: grid;
    grid-template-columns: 52% 1fr;
    gap: 64px;
    align-items: stretch;
    margin-bottom: 80px;
}

/* Fila 2: texto primero (izquierda), imagen segunda (derecha) */
.ef-row:nth-child(2) {
    grid-template-columns: 1fr 48%;
}

/* Columna de imagen */
.ef-img-col {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.13);
    align-self: stretch;
}

.ef-img-col img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 20px;
    transition: transform 0.7s ease;
}

.ef-img-col:hover img {
    transform: scale(1.03);
}

/* Modificadores para imágenes cuadradas y centrado vertical */
.ef-row--center {
    align-items: center;
}

.ef-img-col--square {
    align-self: center;
}

.ef-img-col--square img {
    aspect-ratio: 1 / 1;
    min-height: auto;
    height: auto;
}

/* Columna de texto */
.ef-txt-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
}

.ef-title {
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 800;
    color: var(--rosa);
    line-height: 1.05;
    margin-bottom: 32px;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.ef-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 18px;
    text-align: left;
}

.ef-body:last-child {
    margin-bottom: 0;
}

/* ── Tablet (≤ 1100px): proporciones más equilibradas ── */
@media (max-width: 1100px) {
    .ef-row {
        grid-template-columns: 50% 1fr;
        gap: 48px;
    }
    .ef-row:nth-child(2) {
        grid-template-columns: 1fr 50%;
    }
}

/* ── Móvil (≤ 860px): apilado en columna única ── */
@media (max-width: 860px) {
    .ef-row,
    .ef-row:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 56px;
    }

    /* Imagen siempre arriba en móvil */
    .ef-row .ef-img-col {
        order: -1;
    }

    .ef-img-col img {
        min-height: 300px;
        max-height: 420px;
    }

    .ef-title {
        font-size: clamp(30px, 8vw, 48px);
        margin-bottom: 20px;
    }

    .ef-body {
        font-size: 16px;
        line-height: 1.8;
    }

    .ef-txt-col {
        padding: 0;
    }
}

/* ── Mobile pequeño (≤ 480px) ── */
@media (max-width: 480px) {
    .ef-row,
    .ef-row:nth-child(2) {
        gap: 20px;
        margin-bottom: 40px;
    }

    .ef-img-col img {
        min-height: 260px;
        max-height: 360px;
    }
}

/* ── Grid de beneficios ────────────────────────────────────────── */
.enfoque-beneficios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 60px 0;
}

/* Última fila de 2 — centrada */
.enfoque-beneficios .enfoque-beneficio-card:nth-child(4),
.enfoque-beneficios .enfoque-beneficio-card:nth-child(5) {
    grid-column: span 1;
}

.enfoque-beneficios::after {
    content: '';
    display: block;
}

.enfoque-beneficios:has(.enfoque-beneficio-card:nth-child(5):last-child) {
    grid-template-columns: repeat(6, 1fr);
}

.enfoque-beneficios:has(.enfoque-beneficio-card:nth-child(5):last-child) .enfoque-beneficio-card:nth-child(1) {
    grid-column: 1 / 3;
}

.enfoque-beneficios:has(.enfoque-beneficio-card:nth-child(5):last-child) .enfoque-beneficio-card:nth-child(2) {
    grid-column: 3 / 5;
}

.enfoque-beneficios:has(.enfoque-beneficio-card:nth-child(5):last-child) .enfoque-beneficio-card:nth-child(3) {
    grid-column: 5 / 7;
}

.enfoque-beneficios:has(.enfoque-beneficio-card:nth-child(5):last-child) .enfoque-beneficio-card:nth-child(4) {
    grid-column: 2 / 4;
}

.enfoque-beneficios:has(.enfoque-beneficio-card:nth-child(5):last-child) .enfoque-beneficio-card:nth-child(5) {
    grid-column: 4 / 6;
}

.enfoque-beneficio-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enfoque-beneficio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 145, 184, 0.04) 0%, rgba(32, 187, 199, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.enfoque-beneficio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10);
    border-color: rgba(255, 145, 184, 0.4);
}

.enfoque-beneficio-card:hover::before {
    opacity: 1;
}

.enfoque-beneficio-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(32, 187, 199, 0.12) 0%, rgba(32, 187, 199, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: #20bbc7;
    transition: transform 0.3s ease;
}

.enfoque-beneficio-card:hover .enfoque-beneficio-icon {
    transform: scale(1.1) rotate(-5deg);
}

.enfoque-beneficio-card h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--rosa);
    margin-bottom: 12px;
    line-height: 1.2;
}

.enfoque-beneficio-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* ── El Enfoque — Móvil completo ─────────────────────────────── */
@media (max-width: 768px) {

    /* Grid de beneficios: 2 columnas */
    .enfoque-beneficios {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        margin: 40px 0 !important;
    }

    /* Resetear todos los span de columna que estuvieran en desktop */
    .enfoque-beneficios .enfoque-beneficio-card {
        grid-column: span 1 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .enfoque-beneficio-card {
        padding: 24px 16px;
    }

    .enfoque-beneficio-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .enfoque-beneficio-card h4 {
        font-size: 18px;
    }

    /* Quote block */
    .enfoque-quote {
        padding: 40px 24px;
        margin-top: 48px;
    }
}

/* ── El Enfoque — Móvil pequeño (≤ 480px) ──────────────────── */
@media (max-width: 480px) {

    /* 1 columna */
    .enfoque-beneficios {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .enfoque-beneficios .enfoque-beneficio-card {
        grid-column: 1 / -1 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .ef-txt-col {
        padding: 0 4px;
    }
}

/* ── iPhone 12 mini y similares (≤ 375px) ──────────────────── */
@media (max-width: 375px) {

    .enfoque-modern {
        padding: 0 4px;
    }

    .enfoque-beneficios {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .enfoque-beneficio-card {
        padding: 20px 14px;
    }

    .enfoque-beneficio-card h4 {
        font-size: 16px;
    }

    .enfoque-beneficio-card p {
        font-size: 13px;
    }

    .enfoque-quote {
        padding: 32px 16px;
    }
}

.enfoque-quote {
    background: var(--bg-light);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.enfoque-quote blockquote {
    font-size: 24px;
    font-style: italic;
    color: var(--primario);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
    border: none;
    padding: 0;
}

.enfoque-quote .quote-mark {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 60px;
    color: var(--rosa);
    opacity: 0.2;
    z-index: 1;
}

/* ─── Messages / Alerts ─────────────────────────────────────────────── */
.messages-container {
    padding: 16px 0;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: .6;
    line-height: 1;
}

/* ─── Mi Método Modern ───────────────────────────────────────────────── */
.metodo-modern {
    padding: 20px 0 60px;
}

.metodo-intro-section {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 32px;
}

.metodo-intro-card {
    padding: 0;
}

.metodo-intro-icon {
    font-size: 40px;
    color: var(--rosa);
    margin-bottom: 20px;
}

.metodo-intro-card h2 {
    font-size: 36px;
    color: var(--primario);
    margin-bottom: 20px;
}

.metodo-intro-card p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

.metodo-intro-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.metodo-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.metodo-sesion-banner {
    background: linear-gradient(135deg, var(--primario), var(--secundario));
    color: var(--white);
    padding: 48px 60px;
    border-radius: 24px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.metodo-sesion-icon {
    font-size: 48px;
    color: var(--rosa);
    flex-shrink: 0;
    margin-top: 4px;
}

.metodo-sesion-banner h2 {
    font-size: 30px;
    color: var(--white);
    margin-bottom: 12px;
}

.metodo-sesion-banner p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.metodo-tecnicas-section {
    margin-top: 0;
}

.metodo-tecnicas-header {
    text-align: center;
    margin-bottom: 48px;
}

.metodo-tecnicas-header h2 {
    font-size: 36px;
    color: var(--primario);
    margin-bottom: 16px;
}

.metodo-tecnicas-header .lead {
    max-width: 820px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
}

.tecnicas-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 500px;
}

.tecnicas-tabs {
    background: var(--primario);
    display: flex;
    flex-direction: column;
}

.tecnica-tab {
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px 24px;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.tecnica-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.tecnica-tab.active {
    background: var(--white);
    color: var(--primario);
    border-left: 4px solid var(--rosa);
}

.tab-code {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rosa);
}

.tecnica-tab.active .tab-code {
    color: var(--rosa);
}

.tab-name {
    font-size: 15px;
    font-weight: 600;
}

.tecnica-tab.active .tab-name {
    color: var(--primario);
}

.tecnicas-panels {
    background: var(--white);
    position: relative;
}

.tecnica-panel {
    display: none;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    height: 100%;
}

.tecnica-panel.active {
    display: grid;
}

.tecnica-panel-image {
    overflow: hidden;
}

.tecnica-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
}

.tecnica-panel-text {
    padding: 48px 40px;
    overflow-y: auto;
}

.tecnica-panel-text h3 {
    font-size: 26px;
    color: var(--primario);
    margin-bottom: 20px;
}

.tecnica-panel-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

.tecnica-panel-text em {
    font-style: italic;
    color: var(--secundario);
    font-weight: 600;
}

/* ─── Tecnicas Showcase Strips ─────────────────────────────────────── */
.tecnicas-showcase {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tecnica-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(40, 20, 60, 0.12);
    background: var(--white);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    min-height: 300px;
}

.tecnica-strip:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(40, 20, 60, 0.18);
}

/* Alternate direction */
.tecnica-strip:nth-child(even) {
    direction: rtl;
}

.tecnica-strip:nth-child(even)>* {
    direction: ltr;
}

.tecnica-strip__img {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.tecnica-strip__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.tecnica-strip:hover .tecnica-strip__img img {
    transform: scale(1.05);
}

.tecnica-strip__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--heading);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 24px;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.tecnica-strip:nth-child(even) .tecnica-strip__badge {
    left: auto;
    right: 20px;
}

.tecnica-strip__body {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tecnica-strip__body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 16px;
    line-height: 1.3;
}

.tecnica-strip__body p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text);
    margin: 0;
}

/* Wide / Highlight variant */
.tecnica-strip--highlight {
    background: linear-gradient(135deg, #2a153c, #150a1e);
    grid-template-columns: 1fr 1.5fr;
}

.tecnica-strip--highlight .tecnica-strip__body h3 {
    color: var(--white);
}

.tecnica-strip--highlight .tecnica-strip__body p {
    color: rgba(255, 255, 255, 0.9);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .tecnica-strip {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .tecnica-strip:nth-child(even) {
        direction: ltr;
    }

    .tecnica-strip__img {
        min-height: 220px;
        max-height: 260px;
    }

    .tecnica-strip__body {
        padding: 32px 28px;
    }

    .tecnica-strip__body h3 {
        font-size: 24px;
    }

    .tecnica-strip__body p {
        font-size: 15px;
    }

    .tecnica-strip--highlight {
        grid-template-columns: 1fr;
    }

    .tecnica-strip:nth-child(even) .tecnica-strip__badge {
        left: 20px;
        right: auto;
    }
}

@media (max-width: 480px) {
    .tecnicas-showcase {
        gap: 24px;
    }

    .tecnica-strip__img {
        min-height: 180px;
        max-height: 220px;
    }

    .tecnica-strip__body {
        padding: 24px 20px;
    }

    .tecnica-strip__body h3 {
        font-size: 22px;
    }
}

/* ─── Sobre Mí Modern ───────────────────────────────────────────────── */
.sobre-mi-modern {
    padding: 20px 0 60px;
}

.profile-section {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.profile-image-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.profile-image-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 3/4;
}

.profile-content-box p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 24px;
}

.about-text-content h3 {
    font-size: 22px;
    color: var(--heading);
    margin-top: 32px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.about-text-content h3:first-child {
    margin-top: 0;
}

.highlight-quote {
    background: rgba(255, 145, 184, .08);
    border-left: 4px solid var(--rosa);
    padding: 24px 32px;
    border-radius: 0 16px 16px 0;
    margin-top: 32px;
}

.highlight-quote p {
    font-size: 19px;
    color: var(--heading);
    font-style: italic;
    margin-bottom: 0;
    font-weight: 600;
}

.section-title-pink {
    font-size: 56px;
    color: var(--rosa);
    font-family: var(--font-heading);
    margin-bottom: 32px;
    line-height: 1.1;
}

.about-subtitle {
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
}

.about-text-content h4:first-child {
    margin-top: 0;
}

/* ─── Mission Section ───────────────────────────────────────────────── */
.mision-section-full {
    background-color: #8287c8;
    padding: 80px 0;
    margin-top: 60px;
    margin-bottom: -60px;
    /* offset any container bottom padding if needed */
}

.mision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mision-title-side h2 {
    font-size: 52px;
    color: var(--rosa);
    line-height: 1.2;
    margin: 0;
}

.mision-small-title {
    font-size: 15px;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 500;
}

.mision-text-side p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.mision-text-side p:last-child {
    margin-bottom: 0;
}

.mision-text-side strong {
    color: var(--white);
    font-weight: 700;
}

@media (max-width: 900px) {
    .mision-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mision-title-side h2 {
        font-size: 40px;
    }

    .section-title-pink {
        font-size: 42px;
    }
}

.profile-name {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.credential-badge {
    background: var(--bg-light);
    color: var(--primario);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.credential-badge i {
    color: var(--rosa);
}

.formacion-section {
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.timeline-modern {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    align-items: center;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(8px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-weight: 700;
    color: var(--primario);
    font-size: 15px;
    padding-right: 20px;
    border-right: 2px solid var(--rosa);
}

.timeline-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
}

.timeline-content strong {
    color: var(--secundario);
}

/* ─── Footer ────────────────────────────────────────────────────────── */
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, .7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 60px;
}

.footer-heading {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-style: italic;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .5);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 15px;
}

.social-icon:hover {
    background: var(--rosa);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-item i {
    color: var(--rosa);
    width: 16px;
    margin-top: 4px;
    text-align: center;
    flex-shrink: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 10px;
}

.footer-legal-links a,
.footer-legal-links .ck-manage-link {
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.footer-legal-links a:hover,
.footer-legal-links .ck-manage-link:hover {
    color: rgba(255, 255, 255, .8);
}

/* ─── Legal Page Content Styles ─────────────────────────────────────────── */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 0 60px;
    color: var(--text);
    line-height: 1.75;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading);
    margin: 40px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--rosa);
    display: inline-block;
}

.legal-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading);
    margin: 28px 0 8px;
}

.legal-content p {
    margin: 0 0 14px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin: 0 0 14px;
}

.legal-content ul li {
    margin-bottom: 6px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 16px 0 24px;
    border-radius: 8px;
    overflow: hidden;
}

.legal-table th {
    background: var(--rosa);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

.legal-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: top;
}

.legal-table tr:nth-child(even) td {
    background: #f9fafb;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 640px) {
    .legal-table {
        font-size: 13px;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }
}

/* ── Footer Schedule ──*/
.footer-schedule {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-schedule li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

.footer-schedule li:last-child {
    border-bottom: none;
}

.footer-schedule li span:first-child {
    color: var(--white);
    font-weight: 500;
}

.footer-schedule li.closed span:last-child {
    color: var(--rosa);
    font-weight: 600;
}

/* ── Footer Map ──*/
.footer-map-container {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.footer-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}



/* ─── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    /* ── Mobile Hero: Image as background, text overlaid ─────────── */
    .hero {
        position: relative;
        min-height: 85vh;
        overflow: hidden;
    }

    .hero-content-wrapper {
        min-height: 85vh;
    }

    .hero-split {
        min-height: 85vh;
        position: relative;
    }

    /* Make the image fill the entire hero as background */
    .hero-image-side {
        position: absolute !important;
        inset: 0;
        z-index: 0;
        min-height: 100% !important;
        width: 100%;
        height: 100%;
    }

    .hero-image {
        border-radius: 0 !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 30%;
        /* Focus on the face */
    }

    /* Gradient overlay for text readability */
    .hero-image-side::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                rgba(22, 33, 62, 0.92) 0%,
                rgba(22, 33, 62, 0.75) 35%,
                rgba(22, 33, 62, 0.50) 60%,
                rgba(22, 33, 62, 0.30) 80%,
                rgba(22, 33, 62, 0.10) 100%);
        z-index: 1;
    }

    /* Text floats over the image+overlay */
    .hero-text-side {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 80px 24px 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 34px;
        text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
    }

    .hero-divider {
        margin: 16px auto 20px;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.7;
        max-width: 440px;
        text-shadow: 0 1px 10px rgba(0, 0, 0, .30);
        color: rgba(255, 255, 255, .92);
    }

    .hero-text-side .btn {
        margin-top: 28px;
        font-size: 16px;
        padding: 14px 36px;
        box-shadow: 0 8px 30px rgba(255, 145, 184, 0.35);
    }

    .services-grid,
    .terapias-grid,
    .terapias-modern-grid,
    .testimonials-grid--full {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

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

    /* Responsive for El Enfoque modern grid */
    .enfoque-grid,
    .enfoque-grid--wide {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .enfoque-image-box--reverse {
        order: -1;
    }

    /* Responsive for Sobre Mí */
    .profile-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .formacion-section {
        padding: 30px 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
        text-align: center;
    }

    .timeline-year {
        border-right: none;
        border-bottom: 2px solid var(--rosa);
        padding-right: 0;
        padding-bottom: 8px;
        display: inline-block;
        margin: 0 auto;
    }

    /* Responsive for Mi Método */
    .metodo-intro-section {
        grid-template-columns: 1fr;
    }

    .metodo-sesion-banner {
        flex-direction: column;
        padding: 32px 24px;
    }

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

    .tecnica-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .topbar-brand {
        display: none;
    }

    .topbar-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 8px 12px;
        height: auto;
        gap: 10px;
    }

    .topbar-left {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .topbar-social-link {
        font-size: 16px;
    }

    .topbar-right {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        flex-wrap: nowrap;
    }

    .topbar-link {
        font-size: 12px;
        white-space: nowrap;
    }

    .topbar-link i {
        margin-right: 4px;
        font-size: 11px;
    }
}

/* ── Pantallas pequeñas (iPhone Mini 375px, SE, iPhone Pro Max, etc.) ── */
@media (max-width: 480px) {
    .topbar {
        padding: 5px 0;
    }

    .topbar-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 0 12px;
        gap: 8px;
    }

    .topbar-left {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .topbar-social-link {
        font-size: 14px;
    }

    .topbar-right {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .topbar-link {
        font-size: 11px;
    }

    .topbar-link i {
        margin-right: 3px;
        font-size: 10px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .nav-link--cta {
        margin-left: 0;
        margin-top: 8px;
    }

    .services-grid,
    .stats-grid,
    .testimonials-grid,
    .testimonials-grid--full,
    .terapias-grid,
    .terapias-modern-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .hero-content-wrapper,
    .hero-split {
        min-height: 75vh;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-text-side {
        padding: 60px 20px 80px;
    }

    .hero-image {
        object-position: center 25%;
    }

    /* Denser overlay on small phones for readability */
    .hero-image-side::after {
        background: linear-gradient(to bottom,
                rgba(22, 33, 62, 0.95) 0%,
                rgba(22, 33, 62, 0.82) 40%,
                rgba(22, 33, 62, 0.55) 70%,
                rgba(22, 33, 62, 0.25) 100%);
    }

    .section {
        padding: 56px 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .therapy-list {
        grid-template-columns: 1fr;
    }

    .tecnicas-cards-grid {
        grid-template-columns: 1fr;
    }

    .tecnica-card--wide {
        grid-column: span 1;
    }
}

/* ─── Animations ────────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.service-card,
.terapia-card,
.testimonial-card {
    animation: fadeInUp .6s ease both;
}

.service-card:nth-child(2),
.terapia-card:nth-child(2) {
    animation-delay: .1s;
}

.service-card:nth-child(3),
.terapia-card:nth-child(3) {
    animation-delay: .2s;
}

.service-card:nth-child(4) {
    animation-delay: .3s;
}

.service-card:nth-child(5) {
    animation-delay: .4s;
}

.service-card:nth-child(6) {
    animation-delay: .5s;
}

/* ─── Mobile Contact Button & Popup ─────────────────────────────────── */
.mobile-contact-fab {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--rosa);
    color: var(--white);
    padding: 18px 24px;
    border: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 12px 12px 0 0;
    /* Slight rounding at the top only */
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.mobile-contact-fab:active {
    opacity: 0.9;
}

.mobile-contact-fab i {
    font-size: 22px;
}

.mobile-contact-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--rosa) !important;
    text-decoration: underline;
}

.mobile-contact-popup {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    padding: 24px;
    /* Default internal padding */
    z-index: 1002;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-contact-popup.active,
.mobile-contact-overlay.active {
    display: block;
}

.mobile-contact-overlay.show {
    opacity: 1;
}

.mobile-contact-popup.show {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: transform 0.2s ease;
    z-index: 10;
}

.popup-close:active {
    transform: scale(0.9);
}

.popup-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 30px 40px 0;
    /* Extra top and horizontal padding to avoid 'X' */
}

.popup-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.popup-header p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.5;
    padding: 0 10px;
}

.popup-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Contact Options ─────────────────────────────────────────────────── */
.contact-option {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border-radius: 20px;
    text-decoration: none;
    background: #ffffff;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
    border-color: #e5e7eb;
}

.contact-option:active {
    transform: scale(0.975);
    background: #f8fafc;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

/* Icon Container — NO overflow:hidden so location pin isn't clipped */
.option-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e5e7eb;
    /* visible fallback */
}

/* Base icon styles — inline, not flex, so browsers render reliably */
.option-icon i {
    font-size: 26px;
    color: #ffffff;
    display: inline-block;
    line-height: 1;
    /* No transforms here — opticals set per-icon below */
}

/* ── Per-Icon Optical Centering ─────────────────────────────── */

/* Phone icon: FA's phone glyph sits slightly left, nudge right */
.contact-option--call .option-icon i {
    transform: translateX(1px);
}

/* WhatsApp: bubble shape is visually lighter, scale up slightly */
.contact-option--whatsapp .option-icon i {
    font-size: 28px;
    /* Slightly larger because the outline is thin */
}

/* Location dot: the pin's pointed bottom makes the visual center
   sit above mathematical center — shift UP to compensate */
.contact-option--maps .option-icon i {
    font-size: 27px;
    transform: translateY(-2px);
}

/* ── Icon Background Gradients ──────────────────────────────── */
.contact-option--call .option-icon {
    background: linear-gradient(135deg, #2196F3 0%, #0D47A1 100%);
    box-shadow: 0 6px 18px rgba(13, 71, 161, 0.28);
}

.contact-option--whatsapp .option-icon {
    background: linear-gradient(135deg, #43D475 0%, #0e8c3e 100%);
    box-shadow: 0 6px 18px rgba(14, 140, 62, 0.28);
}

.contact-option--maps .option-icon {
    background: linear-gradient(135deg, #FF5252 0%, #C62828 100%);
    box-shadow: 0 6px 18px rgba(198, 40, 40, 0.28);
}

/* ── Text Block ─────────────────────────────────────────────── */
.option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    /* prevent overflow in flex */
}

.option-label {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.2;
    white-space: nowrap;
}

.option-value {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Right Chevron ──────────────────────────────────────────── */
.contact-option>i:last-child {
    color: #d1d5db;
    font-size: 14px;
    flex-shrink: 0;
    align-self: center;
    /* vertically centered via flex parent */
    transition: transform 0.2s ease, color 0.2s ease;
}

.contact-option:hover>i:last-child {
    color: #9ca3af;
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .mobile-contact-fab {
        display: flex;
        animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    body {
        padding-bottom: 60px;
    }

    /* Add padding to prevent content from being covered by FAB bar */
}

/* Responsive adjustments for Sobre Mí */
@media (max-width: 768px) {
    .highlight-quote {
        padding: 16px 20px;
        margin-top: 24px;
    }

    .about-text-content h3 {
        font-size: 20px;
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .highlight-quote p {
        font-size: 17px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   SOBRE MÍ — Premium Layout
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hero split ─────────────────────────────────────────────── */
.sm-hero {
    display: grid;
    grid-template-columns: 35% 1fr;
    min-height: auto;
    align-items: start;
}

.sm-hero__image {
    position: sticky;
    top: 100px;
    height: 600px;
    overflow: hidden;
    border-radius: 0 20px 20px 0;
}

.sm-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 8s ease;
}

.sm-hero__image:hover img {
    transform: scale(1.04);
}

.sm-hero__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(250, 251, 252, 0.35) 100%),
        linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.15) 100%);
}

.sm-hero__content {
    background: var(--bg);
    padding: 0;
}

.sm-hero__inner {
    padding: 72px 64px 80px;
    max-width: 740px;
}

/* ── Tag ───────────────────────────────────────────────────── */
.sm-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 145, 184, .12);
    color: var(--rosa-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 145, 184, .25);
}

/* ── Main title ─────────────────────────────────────────────── */
.sm-title {
    font-family: var(--font-heading);
    font-size: clamp(56px, 7vw, 96px);
    line-height: 1;
    color: var(--heading);
    margin-bottom: 56px;
    font-weight: 700;
}

.sm-title em {
    font-style: normal;
    color: var(--rosa);
}

/* ── Content blocks ─────────────────────────────────────────── */
.sm-block {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.sm-block:last-of-type {
    border-bottom: none;
    margin-bottom: 40px;
    padding-bottom: 0;
}

.sm-block__heading {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--heading);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-weight: 600;
}

.sm-block__number {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--rosa);
    background: rgba(255, 145, 184, .1);
    padding: 4px 10px;
    border-radius: 100px;
    flex-shrink: 0;
}

.sm-block p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 18px;
}

.sm-block p:last-child {
    margin-bottom: 0;
}

.sm-block__secondary {
    color: var(--text-light) !important;
    font-style: italic;
}

/* ── Credentials ─────────────────────────────────────────────── */
.sm-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.sm-cred {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 100px;
    box-shadow: var(--shadow);
}

.sm-cred i {
    color: var(--rosa);
    font-size: 14px;
}

/* ── Misión section ──────────────────────────────────────────── */
.sm-mision {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f2d4e 100%);
    padding: 100px 0;
    overflow: hidden;
}

.sm-mision__bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(100px, 18vw, 240px);
    font-weight: 900;
    color: rgba(255, 255, 255, .03);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: -4px;
}

.sm-mision__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.sm-mision__header {
    text-align: center;
    margin-bottom: 70px;
}

.sm-mision__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rosa);
    margin-bottom: 20px;
}

.sm-mision__title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    color: var(--white);
    line-height: 1.15;
    margin: 0;
}

.sm-mision__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sm-mision__card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: 40px 32px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.sm-mision__card:hover {
    background: rgba(255, 255, 255, .09);
    transform: translateY(-6px);
    border-color: rgba(255, 145, 184, .3);
}

.sm-mision__card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--rosa), var(--rosa-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(255, 145, 184, .35);
}

.sm-mision__card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 16px;
}

.sm-mision__card p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .7);
    margin: 0;
}

/* ── Formación ───────────────────────────────────────────────── */
.sm-formacion {
    padding: 100px 0;
    background: var(--white);
}

.sm-formacion__header {
    margin-bottom: 64px;
}

.sm-formacion__title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    color: var(--heading);
    margin: 16px 0 20px;
}

.sm-formacion__lead {
    font-size: 18px;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Timeline ────────────────────────────────────────────────── */
.sm-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.sm-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
    transform: translateX(-50%);
}

.sm-tl-item {
    padding: 28px 40px;
    position: relative;
}

.sm-tl-item:nth-child(odd) {
    border-right: 1px solid var(--border);
    text-align: right;
    padding-right: 48px;
}

.sm-tl-item:nth-child(even) {
    padding-left: 48px;
}

.sm-tl-item:nth-child(odd)::after,
.sm-tl-item:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 34px;
    width: 10px;
    height: 10px;
    background: var(--rosa);
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--rosa);
}

.sm-tl-item:nth-child(odd)::after {
    right: -5px;
}

.sm-tl-item:nth-child(even)::before {
    left: -5px;
}

.sm-tl-year {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rosa);
    margin-bottom: 8px;
}

.sm-tl-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
}

.sm-tl-body strong {
    color: var(--heading);
}

/* ── CTA final ───────────────────────────────────────────────── */
.sm-cta {
    background: linear-gradient(135deg, var(--rosa) 0%, var(--rosa-dark) 100%);
    padding: 80px 24px;
    text-align: center;
}

.sm-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.sm-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    color: var(--white);
    margin-bottom: 16px;
}

.sm-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 36px;
    line-height: 1.7;
}

.sm-cta .btn--primary {
    background: var(--white);
    color: var(--rosa-dark);
    border-color: var(--white);
}

.sm-cta .btn--primary:hover {
    background: rgba(255, 255, 255, .9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sm-hero {
        grid-template-columns: 36% 1fr;
    }

    .sm-hero__image {
        height: 520px;
    }

    .sm-hero__inner {
        padding: 48px 40px 64px;
    }

    .sm-mision__cards {
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .sm-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .sm-hero__image {
        position: relative;
        top: 0;
        height: auto;
        aspect-ratio: 4 / 3;
        max-height: none;
        border-radius: 0;
    }

    .sm-hero__image img {
        object-position: center center; /* Muestra el rostro completo */
    }

    .sm-hero__image-overlay {
        background: linear-gradient(to bottom, transparent 50%, rgba(250, 251, 252, 0.6) 100%);
    }

    .sm-hero__inner {
        padding: 40px 28px 56px;
        max-width: 100%;
    }

    .sm-title {
        font-size: clamp(40px, 9vw, 64px);
        margin-bottom: 32px;
    }

    .sm-mision__cards {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .sm-mision__container {
        padding: 0 32px;
    }

    .sm-timeline {
        grid-template-columns: 1fr;
    }

    .sm-timeline::before {
        display: none;
    }

    .sm-tl-item {
        padding: 20px 0 20px 28px;
        border-right: none !important;
        text-align: left !important;
        border-left: 1px solid var(--border);
    }

    .sm-tl-item:nth-child(odd)::after {
        display: none;
    }

    .sm-tl-item::before {
        content: '';
        position: absolute;
        top: 26px;
        left: -5px;
        width: 10px;
        height: 10px;
        background: var(--rosa);
        border-radius: 50%;
        border: 2px solid var(--white);
        box-shadow: 0 0 0 2px var(--rosa);
    }
}

@media (max-width: 600px) {
    .sm-hero__inner {
        padding: 40px 20px 56px;
    }

    .sm-block {
        margin-bottom: 36px;
        padding-bottom: 36px;
    }

    .sm-mision {
        padding: 72px 0;
    }

    .sm-mision__container {
        padding: 0 20px;
    }

    .sm-mision__header {
        margin-bottom: 48px;
    }

    .sm-formacion {
        padding: 72px 0;
    }

    .sm-creds {
        gap: 10px;
    }

    .sm-cred {
        font-size: 12px;
        padding: 8px 14px;
    }
}

/* ── Sobre Mí — Móvil pequeño (≤ 480px) ──────────────── */
@media (max-width: 480px) {
    .sm-hero__image {
        aspect-ratio: 1 / 1;
    }

    .sm-hero__image img {
        object-position: center 20%;
    }

    .sm-hero__inner {
        padding: 32px 16px 48px;
    }

    .sm-title {
        font-size: clamp(34px, 10vw, 48px);
        margin-bottom: 24px;
    }
}

/* ── Sobre Mí — iPhone 12 mini (≤ 375px) ─────────────── */
@media (max-width: 375px) {
    .sm-hero__image {
        aspect-ratio: 1 / 1;
    }

    .sm-hero__image img {
        object-position: center 20%;
    }

    .sm-hero__inner {
        padding: 28px 14px 40px;
    }

    .sm-title {
        font-size: clamp(30px, 11vw, 42px);
        margin-bottom: 20px;
    }

    .sm-block p {
        font-size: 15.5px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   HOME — Sobre Mí Section (hsm / hsmimg / hsmtxt)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Section container ─────────────────────────────────────────── */
.hsm-section {
    background: var(--white);
    padding: 0;
    overflow: hidden;
}

.hsm-wrapper {
    display: grid;
    grid-template-columns: 42% 1fr;
    align-items: stretch;
    /* ← image col stretches to row height */
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 48px;
    gap: 64px;
}

.hsm-wrapper--wide {
    grid-template-columns: 60% 1fr;
}

/* ── Image column ──────────────────────────────────────────────── */
.hsm-image-col {
    position: relative;
    /* Stretch to match text column height automatically */
    align-self: stretch;
}

.hsmimg-frame {
    position: relative;
    height: 100%;
    /* fill the full column height */
    min-height: 480px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .10);
}

.hsmimg-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 20px;
    transition: transform 7s ease;
}

.hsm-image-col:hover .hsmimg-photo {
    transform: scale(1.03);
}

/* NO overlay — clean photo */
.hsmimg-frame::after {
    display: none;
}

/* Floating badge */
.hsmimg-badge {
    position: absolute;
    bottom: 40px;
    left: 32px;
    background: var(--white);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .14);
    z-index: 2;
    border: 1px solid rgba(255, 145, 184, .2);
    animation: hsmBadgePulse 3s ease-in-out infinite;
}

@keyframes hsmBadgePulse {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 12px 40px rgba(0, 0, 0, .14);
    }

    50% {
        transform: translateY(-4px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
    }
}

.hsmimg-badge__num {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    color: var(--rosa);
    line-height: 1;
}

.hsmimg-badge__txt {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
    letter-spacing: 0.3px;
}

/* Accent blob — hidden, kept for markup compatibility */
.hsmimg-accent {
    display: none;
}

/* ── Text column ───────────────────────────────────────────────── */
.hsmtxt-col {
    padding: 0 0 0 8px;
    /* gap handled by wrapper */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

/* Tag */
.hsmtxt-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 145, 184, .1);
    color: var(--rosa-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 9px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 145, 184, .25);
    width: fit-content;
}

.hsmtxt-tag i {
    font-size: 12px;
    opacity: .8;
}

/* Title */
.hsmtxt-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 4.5vw, 62px);
    line-height: 1.1;
    color: var(--heading);
    margin-bottom: 0;
    font-weight: 700;
}

.hsmtxt-title em {
    font-style: normal;
    color: var(--rosa);
}

/* Divider */
.hsmtxt-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--rosa), var(--rosa-light));
    border-radius: 3px;
    margin: 20px 0 28px;
}

/* Lead paragraph */
.hsmtxt-lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 18px;
}

.hsmtxt-lead strong {
    color: var(--heading);
    font-weight: 700;
}

/* Body paragraph */
.hsmtxt-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 18px;
}

.hsmtxt-body em {
    color: var(--rosa-dark);
    font-style: normal;
    font-weight: 600;
}

/* Subsection */
.hsmtxt-subsection {
    background: linear-gradient(135deg, rgba(255, 145, 184, .06) 0%, rgba(32, 187, 199, .05) 100%);
    border-left: 3px solid var(--rosa);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 20px 0 28px;
}

.hsmtxt-subh {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--heading);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Info chips */
.hsmtxt-chips {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.hsmtxt-chip {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
    transition: var(--transition);
}

.hsmtxt-chip:hover {
    border-color: rgba(255, 145, 184, .4);
    background: rgba(255, 145, 184, .04);
    transform: translateX(4px);
}

.hsmtxt-chip>i {
    color: var(--rosa);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.hsmtxt-chip strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--heading);
    letter-spacing: .3px;
    margin-bottom: 4px;
}

.hsmtxt-chip span {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* CTA row */
.hsmtxt-cta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Secondary link */
.hsmtxt-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-bottom: 2px solid var(--border);
    padding-bottom: 2px;
    transition: var(--transition);
}

.hsmtxt-link:hover {
    color: var(--rosa);
    border-color: var(--rosa);
    gap: 12px;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hsm-wrapper {
        grid-template-columns: 44% 1fr;
        padding: 48px 36px;
        gap: 48px;
    }
}

@media (max-width: 860px) {
    .hsm-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 32px;
    }

    .hsmimg-frame {
        height: auto;
        min-height: auto;
        max-height: none;
        aspect-ratio: 4 / 3;
    }

    .hsmimg-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    #sobre-mi-home .hsmimg-photo {
        object-position: center 20%;
    }

    /* remove the gradient on mobile too — clean photo */
    .hsmimg-frame::after {
        display: none;
    }

    .hsmtxt-col {
        padding: 0;
    }

    .hsmtxt-title {
        font-size: clamp(34px, 9vw, 50px);
    }
}

/* iPhone 12 mini (≤ 375px) */
@media (max-width: 375px) {
    .hsm-wrapper {
        padding: 28px 14px;
        gap: 20px;
    }

    .hsmimg-frame {
        aspect-ratio: 1 / 1;
    }

    #sobre-mi-home .hsmimg-frame {
        aspect-ratio: 4 / 5; /* Un poco más alta que ancha para esta imagen en concreto */
    }

    #sobre-mi-home .hsmimg-photo {
        object-position: center 20%; /* Para que se vea bien la cabeza */
    }

    .hsmimg-photo {
        object-position: center center;
    }

    .hsmimg-badge {
        bottom: 10px;
        left: 10px;
        padding: 10px 12px;
        gap: 8px;
    }

    .hsmimg-badge__num {
        font-size: 22px;
    }

    .hsmtxt-title {
        font-size: clamp(28px, 10vw, 40px);
    }
}

@media (max-width: 480px) {
    .hsm-wrapper {
        padding: 32px 16px;
        gap: 24px;
    }

    .hsmimg-frame {
        min-height: auto;
        max-height: none;
        aspect-ratio: 1 / 1;
    }

    #sobre-mi-home .hsmimg-frame {
        aspect-ratio: 4 / 5; /* Más alta en móviles */
    }

    #sobre-mi-home .hsmimg-photo {
        object-position: center 20%; /* Asegura que la parte superior sea visible */
    }

    .hsmimg-photo {
        object-position: center center;
    }

    .hsmtxt-lead {
        font-size: 16px;
    }

    .hsmtxt-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hsmimg-badge {
        bottom: 16px;
        left: 16px;
        padding: 12px 16px;
    }

    .hsmimg-badge__num {
        font-size: 26px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   HOME — Mi Método Interactive Panel  (hmm)
   ═══════════════════════════════════════════════════════════════════════ */

.hmm-section {
    background: #f9f6f3;
    padding: 88px 0 0;
    overflow: hidden;
}

/* ── Header ──────────────────────────────────────────────────────── */
.hmm-header {
    max-width: 720px;
    margin: 0 auto 56px;
    padding: 0 24px;
    text-align: center;
}

.hmm-header__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(154, 205, 208, .15);
    color: #20bbc7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(154, 205, 208, .35);
}

.hmm-header__label i {
    font-size: 11px;
}

.hmm-header__title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 60px);
    color: var(--heading);
    line-height: 1.1;
    margin: 0 0 8px;
    font-weight: 700;
}

.hmm-header__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rosa);
    margin: 0 0 18px;
}

.hmm-header__desc {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-light);
    margin: 0;
}

/* ── Split panel ─────────────────────────────────────────────────── */
.hmm-panel {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 520px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Tab list (left column) ──────────────────────────────────────── */
.hmm-tabs {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 8px 0;
}

.hmm-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
    position: relative;
    transition: background .2s ease, color .2s ease;
    border-left: 3px solid transparent;
}

.hmm-tab:hover {
    background: rgba(255, 145, 184, .06);
}

.hmm-tab--active {
    background: rgba(255, 145, 184, .08);
    border-left-color: var(--rosa);
}

.hmm-tab__num {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--rosa);
    opacity: .7;
    flex-shrink: 0;
    min-width: 22px;
    transition: opacity .2s;
}

.hmm-tab--active .hmm-tab__num {
    opacity: 1;
}

.hmm-tab__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    flex: 1;
    line-height: 1.35;
    transition: color .2s;
}

.hmm-tab--active .hmm-tab__name,
.hmm-tab:hover .hmm-tab__name {
    color: var(--heading);
}

.hmm-tab__arrow {
    font-size: 11px;
    color: var(--rosa);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s;
    flex-shrink: 0;
}

.hmm-tab--active .hmm-tab__arrow,
.hmm-tab:hover .hmm-tab__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* "Ver método completo" link at bottom of tabs */
.hmm-tabs__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: auto 28px 28px;
    font-size: 13px;
    font-weight: 700;
    color: var(--heading);
    text-decoration: none;
    border-bottom: 2px solid var(--rosa);
    padding-bottom: 2px;
    width: fit-content;
    transition: color .2s, gap .2s;
}

.hmm-tabs__more:hover {
    color: var(--rosa);
    gap: 12px;
}

/* ── Display area (right column) ─────────────────────────────────── */
.hmm-display {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

/* Individual pane */
.hmm-pane {
    display: none;
    grid-template-columns: 55% 1fr;
    height: 100%;
    min-height: 520px;
    opacity: 0;
    transition: opacity .35s ease;
}

.hmm-pane--active {
    display: grid;
    opacity: 1;
}

.hmm-pane--fade-in {
    animation: hmmFadeIn .35s ease forwards;
}

@keyframes hmmFadeIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

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

/* Image side */
.hmm-pane__img {
    overflow: hidden;
}

.hmm-pane__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 7s ease;
}

.hmm-pane--active .hmm-pane__img img {
    transform: scale(1.03);
}

/* Text side */
.hmm-pane__body {
    padding: 56px 56px 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hmm-pane__body h3 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.5vw, 34px);
    color: var(--heading);
    margin: 0 0 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hmm-pane__body p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-light);
    margin: 0 0 32px;
}

.hmm-pane__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
    text-decoration: none;
    border-bottom: 2px solid var(--rosa);
    padding-bottom: 3px;
    width: fit-content;
    transition: color .2s, gap .2s;
}

.hmm-pane__link:hover {
    color: var(--rosa);
    gap: 14px;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hmm-panel {
        grid-template-columns: 260px 1fr;
    }

    .hmm-pane {
        grid-template-columns: 50% 1fr;
    }

    .hmm-pane__body {
        padding: 40px 36px;
    }
}

@media (max-width: 768px) {
    .hmm-section {
        padding: 48px 0 0;
    }

    .hmm-panel {
        grid-template-columns: 1fr;
    }

    /* Ocultar el display original en mobile — el contenido se inyecta inline */
    .hmm-display {
        display: none !important;
    }

    /* El clon del pane inyectado justo debajo del tab activo */
    .mobile-accordion-pane {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
        border-radius: 0 0 12px 12px !important;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .10);
        background: #fff;
        margin: 0;
    }

    .mobile-accordion-pane .hmm-pane__img,
    .mobile-accordion-pane .htr-pane__img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .mobile-accordion-pane .hmm-pane__img img,
    .mobile-accordion-pane .htr-pane__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .mobile-accordion-pane .hmm-pane__body,
    .mobile-accordion-pane .htr-pane__body {
        padding: 20px 20px 28px;
    }

    .mobile-accordion-pane h3 {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .mobile-accordion-pane p {
        font-size: 14px;
        line-height: 1.7;
        color: var(--text-light);
    }

    .mobile-accordion-pane a {
        margin-top: 12px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 600;
    }

    /* ── Tabs: lista vertical completa (igual que desktop) ── */
    .hmm-tabs {
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: unset;
        overflow-y: unset;
        border-right: none;
        border-bottom: 2px solid var(--border);
        padding: 8px 0;
        gap: 0;
        background: var(--white);
    }

    .hmm-tab {
        flex: unset;
        width: 100%;
        padding: 16px 20px;
        border-left: 4px solid transparent;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        gap: 12px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text);
        white-space: normal;
        text-align: left;
        transition: all .2s ease;
    }

    .hmm-tab:last-of-type {
        border-bottom: none;
    }

    .hmm-tab__num {
        display: inline;
        color: var(--rosa);
        font-size: 12px;
        font-weight: 700;
        min-width: 26px;
    }

    .hmm-tab__arrow {
        display: none;
    }

    .hmm-tab--active {
        border-left-color: var(--rosa);
        background: rgba(255, 145, 184, .06);
        color: var(--rosa);
        box-shadow: none;
    }

    .hmm-tabs__more {
        flex: unset;
        margin: 12px 20px;
        padding: 10px 18px;
        border-radius: 8px;
        background: transparent;
        border: 2px solid var(--rosa);
        color: var(--rosa);
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

    /* ── Display: tarjeta con imagen + contenido ── */
    .hmm-display {
        background: #f8f7ff;
        padding: 20px 16px 40px;
    }

    .hmm-pane {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 24px rgba(0, 0, 0, .09);
        background: #fff;
    }

    .hmm-pane--fade-in {
        animation: hmmFadeInUp .3s ease forwards;
    }

    @keyframes hmmFadeInUp {
        from {
            opacity: 0;
            transform: translateY(12px);
        }

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

    .hmm-pane__img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

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

    .hmm-pane__body {
        padding: 24px 20px 32px;
    }

    .hmm-pane__body h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .hmm-pane__body p {
        font-size: 15px;
        line-height: 1.7;
        color: var(--text-light);
    }

    .hmm-pane__link {
        margin-top: 16px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        font-weight: 600;
        color: var(--rosa);
    }
}

@media (max-width: 480px) {
    .hmm-tab {
        padding: 14px 16px;
        font-size: 14px;
    }

    /* aspect-ratio ya controla el alto — no forzamos px fijos */
    .hmm-pane__img {
        aspect-ratio: 4 / 3;
    }
}

/* iPhone 12 mini y similares (≤ 375px) */
@media (max-width: 375px) {
    .hmm-pane__img {
        aspect-ratio: 4 / 3;
    }
}



/* ═══════════════════════════════════════════════════════════════════════
   HOME — Terapias Interactive Panel  (htr)
   Mirrors the hmm-* pattern with a warm-white background variant
   ═══════════════════════════════════════════════════════════════════════ */

.htr-section {
    background: var(--white);
    padding: 88px 0 0;
    overflow: hidden;
}

/* ── Header ──────────────────────────────────────────────────────── */
.htr-header {
    max-width: 720px;
    margin: 0 auto 56px;
    padding: 0 24px;
    text-align: center;
}

.htr-header__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(123, 197, 163, .15);
    color: #4aaa82;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(123, 197, 163, .35);
}

.htr-header__label i {
    font-size: 11px;
}

.htr-header__title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 60px);
    color: var(--heading);
    line-height: 1.1;
    margin: 0 0 18px;
    font-weight: 700;
}

.htr-header__desc {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-light);
    margin: 0;
}

/* ── Split panel ─────────────────────────────────────────────────── */
.htr-panel {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 520px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Tab list (left) ─────────────────────────────────────────────── */
.htr-tabs {
    display: flex;
    flex-direction: column;
    background: #f9f6f3;
    border-right: 1px solid var(--border);
    padding: 8px 0;
}

.htr-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background .2s ease;
    border-left: 3px solid transparent;
}

.htr-tab:hover {
    background: rgba(123, 197, 163, .08);
}

.htr-tab--active {
    background: rgba(123, 197, 163, .1);
    border-left-color: #7bc5a3;
}

.htr-tab__num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #7bc5a3;
    opacity: .7;
    flex-shrink: 0;
    min-width: 22px;
    transition: opacity .2s;
}

.htr-tab--active .htr-tab__num {
    opacity: 1;
}

.htr-tab__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    flex: 1;
    line-height: 1.35;
    transition: color .2s;
}

.htr-tab--active .htr-tab__name,
.htr-tab:hover .htr-tab__name {
    color: var(--heading);
}

.htr-tab__arrow {
    font-size: 11px;
    color: #7bc5a3;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s;
    flex-shrink: 0;
}

.htr-tab--active .htr-tab__arrow,
.htr-tab:hover .htr-tab__arrow {
    opacity: 1;
    transform: translateX(0);
}

.htr-tabs__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: auto 28px 28px;
    font-size: 13px;
    font-weight: 700;
    color: var(--heading);
    text-decoration: none;
    border-bottom: 2px solid #7bc5a3;
    padding-bottom: 2px;
    width: fit-content;
    transition: color .2s, gap .2s;
}

.htr-tabs__more:hover {
    color: #7bc5a3;
    gap: 12px;
}

/* ── Display area (right) ────────────────────────────────────────── */
.htr-display {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.htr-pane {
    display: none;
    grid-template-columns: 55% 1fr;
    height: 100%;
    min-height: 520px;
}

.htr-pane--active {
    display: grid;
}

.htr-pane--fade-in {
    animation: htrFadeIn .35s ease forwards;
}

@keyframes htrFadeIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

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

.htr-pane__img {
    overflow: hidden;
}

.htr-pane__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 7s ease;
}

.htr-pane--active .htr-pane__img img {
    transform: scale(1.03);
}

.htr-pane__body {
    padding: 56px 56px 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.htr-pane__body h3 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.5vw, 34px);
    color: var(--heading);
    margin: 0 0 20px;
    font-weight: 700;
    line-height: 1.2;
}

.htr-pane__body p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-light);
    margin: 0 0 32px;
}

.htr-pane__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
    text-decoration: none;
    border-bottom: 2px solid #7bc5a3;
    padding-bottom: 3px;
    width: fit-content;
    transition: color .2s, gap .2s;
}

.htr-pane__link:hover {
    color: #7bc5a3;
    gap: 14px;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .htr-panel {
        grid-template-columns: 260px 1fr;
    }

    .htr-pane {
        grid-template-columns: 50% 1fr;
    }

    .htr-pane__body {
        padding: 40px 36px;
    }
}

@media (max-width: 768px) {
    .htr-section {
        padding: 48px 0 0;
    }

    .htr-panel {
        grid-template-columns: 1fr;
    }

    /* Ocultar el display original en mobile */
    .htr-display {
        display: none !important;
    }

    /* ── Tabs: lista vertical completa ── */
    .htr-tabs {
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: unset;
        overflow-y: unset;
        border-right: none;
        border-bottom: 2px solid var(--border);
        padding: 8px 0;
        gap: 0;
        background: var(--white);
    }

    .htr-tab {
        flex: unset;
        width: 100%;
        padding: 16px 20px;
        border-left: 4px solid transparent;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        gap: 12px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text);
        white-space: normal;
        text-align: left;
        transition: all .2s ease;
    }

    .htr-tab:last-of-type {
        border-bottom: none;
    }

    .htr-tab__num {
        display: inline;
        color: #4aaa82;
        font-size: 12px;
        font-weight: 700;
        min-width: 26px;
    }

    .htr-tab__arrow {
        display: none;
    }

    .htr-tab--active {
        border-left-color: #4aaa82;
        background: rgba(74, 170, 130, .06);
        color: #4aaa82;
        box-shadow: none;
    }

    .htr-tabs__more {
        flex: unset;
        margin: 12px 20px;
        padding: 10px 18px;
        border-radius: 8px;
        background: transparent;
        border: 2px solid #4aaa82;
        color: #4aaa82;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

    /* ── Display: tarjeta con imagen + contenido ── */
    .htr-display {
        background: #f3fcf6;
        padding: 20px 16px 40px;
    }

    .htr-pane {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 24px rgba(0, 0, 0, .09);
        background: #fff;
    }

    .htr-pane--fade-in {
        animation: htrFadeInUp .3s ease forwards;
    }

    @keyframes htrFadeInUp {
        from {
            opacity: 0;
            transform: translateY(12px);
        }

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

    .htr-pane__img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

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

    .htr-pane__body {
        padding: 24px 20px 32px;
    }

    .htr-pane__body h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .htr-pane__body p {
        font-size: 15px;
        line-height: 1.7;
        color: var(--text-light);
    }

    .htr-pane__link {
        margin-top: 16px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        font-weight: 600;
        color: #4aaa82;
    }
}

@media (max-width: 480px) {
    .htr-tab {
        padding: 14px 16px;
        font-size: 14px;
    }

    /* aspect-ratio ya controla el alto — no forzamos px fijos */
    .htr-pane__img {
        aspect-ratio: 4 / 3;
    }
}

/* iPhone 12 mini y similares (≤ 375px) */
@media (max-width: 375px) {
    .htr-pane__img {
        aspect-ratio: 4 / 3;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   HOME — Sendero Section  (hsd — reuses hsm layout)
   ═══════════════════════════════════════════════════════════════════════ */

/* Reverse direction on desktop: image on LEFT, matches hsm default */
/* Extra override: slightly larger column ratio for richer text */
.hsd-wrapper {
    grid-template-columns: 40% 1fr;
    padding: 72px 56px;
    background: linear-gradient(135deg, #fdf8f5 0%, #fff 100%);
}

.hsd-title {
    font-size: clamp(30px, 3.8vw, 52px) !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
}

/* ── Three pillars ──────────────────────────────────────────────── */
.hsd-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0 28px;
}

.hsd-pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.hsd-pillar:hover {
    border-left-color: var(--rosa);
    background: rgba(255, 145, 184, .03);
    transform: translateX(4px);
}

.hsd-pillar__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--rosa), var(--rosa-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
}

.hsd-pillar strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
    letter-spacing: .2px;
}

.hsd-pillar span {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.55;
}

/* ── Blockquote ─────────────────────────────────────────────────── */
.hsd-quote {
    margin: 0 0 32px;
    padding: 20px 24px;
    border-left: 4px solid var(--rosa);
    background: rgba(255, 145, 184, .05);
    border-radius: 0 12px 12px 0;
    font-size: 15px;
    font-style: italic;
    line-height: 1.8;
    color: var(--text);
    position: relative;
}

.hsd-quote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 48px;
    color: var(--rosa);
    opacity: .3;
    font-family: Georgia, serif;
    line-height: 1;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hsd-wrapper {
        grid-template-columns: 42% 1fr;
        padding: 56px 36px;
        gap: 48px;
    }
}

@media (max-width: 860px) {
    .hsd-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 32px;
    }

    .hsd-title {
        font-size: clamp(28px, 8vw, 44px) !important;
    }
}

@media (max-width: 480px) {
    .hsd-wrapper {
        padding: 32px 16px;
        gap: 24px;
    }

    .hsd-pillar {
        padding: 14px 16px;
    }
}

/* ─── YouTube Section ───────────────────────────────────────────────── */
.ytsec {
    padding: 90px 0 80px;
    background: linear-gradient(160deg, #fafbfc 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.ytsec::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.06), transparent 70%);
    pointer-events: none;
}

.ytsec-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* ── Header ── */
.ytsec-header {
    text-align: center;
    max-width: 640px;
}

.ytsec-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 0, 0, 0.08);
    color: #cc0000;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.ytsec-tag i {
    font-size: 14px;
}

.ytsec-title {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--heading);
    margin-bottom: 4px;
    line-height: 1.2;
}

.ytsec-title em {
    color: #cc0000;
    font-style: italic;
}

.ytsec-divider {
    width: 52px;
    height: 3px;
    background: #cc0000;
    border-radius: 3px;
    margin: 16px auto 20px;
}

.ytsec-desc {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.75;
}

/* ── Imagen ── */
.ytsec-img-wrap {
    width: 100%;
    max-width: 860px;
}

.ytsec-img-link {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1),
        box-shadow 0.4s cubic-bezier(.4, 0, .2, 1);
}

.ytsec-img-link:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.ytsec-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.ytsec-img-link:hover .ytsec-img {
    transform: scale(1.03);
}

/* Overlay on hover */
.ytsec-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 20px;
}

.ytsec-img-link:hover .ytsec-overlay {
    opacity: 1;
}

.ytsec-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ff0000;
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    padding: 14px 28px;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.45);
    transform: scale(0.88);
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
}

.ytsec-img-link:hover .ytsec-play-btn {
    transform: scale(1);
}

.ytsec-play-btn i {
    font-size: 22px;
}

/* ── CTA button ── */
.ytsec-cta {
    text-align: center;
}

.btn--yt {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
    padding: 13px 32px;
    font-size: 15px;
}

.btn--yt:hover {
    background: #cc0000;
    border-color: #cc0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
}

.btn--yt i {
    font-size: 18px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ytsec {
        padding: 60px 0;
    }

    .ytsec-inner {
        gap: 36px;
    }

    .ytsec-img-link {
        border-radius: 14px;
    }

    .ytsec-img {
        border-radius: 14px;
    }

    .ytsec-play-btn {
        font-size: 15px;
        padding: 12px 22px;
    }
}

@media (max-width: 480px) {
    .ytsec {
        padding: 48px 0;
    }

    .ytsec-inner {
        gap: 28px;
    }

    .ytsec-play-btn {
        font-size: 14px;
        padding: 10px 18px;
        gap: 8px;
    }

    .ytsec-play-btn i {
        font-size: 18px;
    }
}

/* ─── Contact Page New Design ───────────────────────────────────────── */
.contact-page-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.cp-title {
    color: var(--rosa);
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 42px);
    font-style: italic;
    font-weight: 700;
    margin-bottom: 16px;
}

.cp-subtitle {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 24px;
}

.cp-email {
    font-size: 18px;
    margin-bottom: 24px;
}

.cp-email a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.cp-email a:hover {
    color: var(--rosa);
}

.cp-phones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.cp-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
    color: var(--rosa);
    text-decoration: none;
}

.cp-phone-link i {
    color: var(--turquesa);
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.cp-phone-link:hover {
    color: var(--rosa-dark);
}

.cp-social {
    margin-bottom: 40px;
}

.cp-social-title {
    display: block;
    font-style: italic;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    font-size: 18px;
}

.cp-social-icons {
    display: flex;
    gap: 16px;
}

.cp-social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--rosa);
    color: #ffffff;
    border-radius: 50%;
    font-size: 22px;
    transition: var(--transition);
}

.cp-social-circle:hover {
    background-color: var(--rosa-dark);
    transform: translateY(-3px);
    color: #ffffff;
}

.cp-schedule-wrapper {
    margin-bottom: 60px;
}

.cp-schedule-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 2px solid var(--rosa);
    border-radius: 0;
}

.cp-schedule-cell {
    padding: 24px 12px;
    text-align: center;
    border-right: 2px solid var(--rosa);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cp-schedule-cell:last-child {
    border-right: none;
}

.cp-day {
    color: #7b81a1;
    font-size: 18px;
    margin-bottom: 12px;
}

.cp-line {
    width: 36px;
    height: 2px;
    background-color: var(--turquesa);
    margin-bottom: 12px;
}

.cp-time {
    color: #7b81a1;
    font-size: 14px;
}

.cp-map-container {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .cp-schedule-grid {
        grid-template-columns: 1fr;
        border-right: 2px solid var(--rosa);
        border-bottom: 2px solid var(--rosa);
    }

    .cp-schedule-cell {
        border-right: none;
        border-bottom: 2px solid var(--rosa);
    }

    .cp-schedule-cell:last-child {
        border-bottom: none;
    }
}
/* ── Layout adicional para Mi Método ────────────────────────────── */
.metodo-pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 64px;
}

.metodo-conclusion {
    max-width: 900px;
    margin: 0 auto 80px auto;
    text-align: center;
}

@media (max-width: 860px) {
    .metodo-pilares-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .metodo-conclusion {
        margin-bottom: 40px;
    }
}
