/* ═══════════════════════════════════════════════════════════════════════
   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;
}
.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;
}
.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-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);
}
.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;
}
.profile-name {
    font-size: 38px;
    color: var(--primario);
    margin-bottom: 16px;
}
.profile-credentials {
    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 {
        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, etc.) ── */
@media (max-width: 420px) {
    .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 */
}
