/* =========================================
   Estilos específicos - 11-salud-estetica
   ========================================= */


/* =========================================
   11 - SALUD & ESTÉTICA
   Sage Green · Rose · Clean Premium
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── TOKENS ─────────────────────────────── */
:root {
    --h-sage:         #7A9E87;
    --h-sage-light:   #A8C4B3;
    --h-sage-glow:    rgba(122, 158, 135, 0.18);
    --h-sage-bg:      rgba(122, 158, 135, 0.08);
    --h-rose:         #C47D8A;
    --h-rose-light:   #D49AA5;
    --h-rose-glow:    rgba(196, 125, 138, 0.18);
    --h-cream:        #FAF9F7;
    --h-cream-2:      #F0EDE8;
    --h-sage-section: #EFF4F1;
    --h-card-bg:      #ffffff;
    --h-card-border:  rgba(122, 158, 135, 0.15);
    --h-text:         #1a2920;
    --h-text-muted:   #6B7D72;
    --h-shadow:       0 8px 32px rgba(122, 158, 135, 0.1);
    --font-display:   'DM Serif Display', serif;
    --font-body:      'Plus Jakarta Sans', sans-serif;
    --tr:             0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-w:          1200px;
}

[data-theme="dark"] {
    --h-cream:        #0e1612;
    --h-cream-2:      #131d18;
    --h-sage-section: #0e1612;
    --h-card-bg:      rgba(255, 255, 255, 0.04);
    --h-card-border:  rgba(122, 158, 135, 0.12);
    --h-text:         #e8f0eb;
    --h-text-muted:   #8aa896;
    --h-shadow:       0 8px 32px rgba(0,0,0,0.3);
}

/* ── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background-color: var(--h-cream);
    color: var(--h-text);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color var(--tr), color var(--tr);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.h-container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ── TYPOGRAPHY ─────────────────────────── */
.h-h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--h-text);
    margin-bottom: 20px;
}
.h-h1 em { font-style: italic; color: var(--h-sage); }

.h-h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--h-text);
    margin-bottom: 14px;
}
.h-h2 em { font-style: italic; color: var(--h-sage); }

/* ── BADGES ─────────────────────────────── */
.h-badge {
    display: inline-block;
    background: var(--h-sage-bg);
    border: 1px solid var(--h-card-border);
    color: var(--h-sage);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.h-badge-section {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--h-sage);
    margin-bottom: 10px;
}

/* ── BUTTONS ────────────────────────────── */
.h-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--tr);
}
.h-btn-primary {
    background-color: var(--h-sage);
    color: #fff;
    box-shadow: 0 4px 18px var(--h-sage-glow);
}
.h-btn-primary:hover {
    background-color: var(--h-sage-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--h-sage-glow);
}
.h-btn-outline {
    background: transparent;
    border: 1.5px solid var(--h-sage);
    color: var(--h-sage);
}
.h-btn-outline:hover {
    background: var(--h-sage-bg);
    transform: translateY(-2px);
}
.h-btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.25);
}
.h-btn-whatsapp:hover {
    background: #20b858;
    transform: translateY(-2px);
}
.h-btn-full { width: 100%; justify-content: center; border-radius: 8px; }
.h-btn-large { padding: 15px 36px; font-size: 1rem; }
.h-btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ── REVEAL ─────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ── HEADER ─────────────────────────────── */
.header-health {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 200;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all var(--tr);
}
.nav-wrapper-h {
    display: flex; align-items: center;
    justify-content: space-between;
    height: 76px; gap: 20px;
}
.h-logo img { height: 36px; object-fit: contain; }
.h-nav-links { display: flex; gap: 26px; }
.h-nav-link {
    font-size: 0.88rem; font-weight: 500;
    color: var(--h-text-muted);
    transition: color var(--tr);
}
.h-nav-link:hover { color: var(--h-sage); }
.h-mobile-btn { display: none; background: none; border: none; color: var(--h-text); cursor: pointer; }

/* ── HERO ───────────────────────────────── */
.hero-h {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: var(--h-cream);
}
.hero-h-img-bg {
    position: absolute;
    top: 0; right: 0;
    width: 48%;
    height: 100%;
    z-index: 0;
}
.hero-h-img-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--h-cream) 0%, transparent 40%);
    z-index: 1;
}
.hero-h-img-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-h-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}
.hero-h-subtitle {
    font-size: 1.05rem;
    color: var(--h-text-muted);
    max-width: 480px;
    margin-bottom: 28px;
    line-height: 1.7;
}
.hero-h-trust { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.h-trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; color: var(--h-text-muted);
}
.h-trust-item svg { color: var(--h-sage); flex-shrink: 0; }

.hero-h-stats {
    display: flex; gap: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--h-card-border);
}
.h-stat { text-align: left; }
.h-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--h-sage);
    line-height: 1;
}
.h-stat-label {
    display: block; font-size: 0.78rem;
    color: var(--h-text-muted); margin-top: 4px;
    text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── BOOKING CARD ───────────────────────── */
.h-booking-card {
    background: var(--h-card-bg);
    border: 1px solid var(--h-card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--h-shadow);
}
[data-theme="dark"] .h-booking-card {
    background: rgba(14, 22, 18, 0.93);
    border-color: rgba(122, 158, 135, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .h-input::placeholder {
    color: rgba(232, 240, 235, 0.45);
}
.h-booking-header {
    background: var(--h-sage);
    padding: 22px 28px;
    color: #fff;
}
.h-booking-header h2, .h-booking-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 4px;
}
.h-booking-header p { font-size: 0.85rem; opacity: 0.85; }

.h-form { padding: 24px 28px; }
.h-form-group { margin-bottom: 14px; }
.h-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.h-label {
    display: block; font-size: 0.78rem; font-weight: 600;
    color: var(--h-text-muted); margin-bottom: 5px;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.h-input {
    width: 100%; padding: 11px 14px;
    background: var(--h-cream-2);
    border: 1.5px solid var(--h-card-border);
    border-radius: 8px;
    color: var(--h-text);
    font-family: var(--font-body); font-size: 0.9rem;
    transition: border-color var(--tr);
}
[data-theme="dark"] .h-input { background: rgba(255,255,255,0.06); }
.h-input:focus {
    outline: none;
    border-color: var(--h-sage);
    box-shadow: 0 0 0 3px var(--h-sage-glow);
}
.h-select { -webkit-appearance: none; cursor: pointer; }
.h-calendly-note {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; color: var(--h-text-muted);
    margin-bottom: 14px; flex-wrap: wrap;
}
.h-calendly-link { color: var(--h-sage); font-weight: 600; }
.h-form-disclaimer {
    text-align: center; font-size: 0.77rem;
    color: var(--h-text-muted); margin-top: 10px;
}
.h-success-msg {
    margin-top: 12px; padding: 11px;
    background: rgba(122,158,135,0.12);
    border: 1px solid var(--h-sage);
    color: var(--h-sage); border-radius: 8px;
    font-size: 0.88rem; text-align: center;
}

/* ── SECTIONS ───────────────────────────── */
.h-section { padding: 90px 0; }
.h-section-light { background: var(--h-cream); }
.h-section-sage  { background: var(--h-sage-section); }
.h-section-header {
    margin-bottom: 50px;
    max-width: 640px;
}
.h-section-header.text-center { margin-left: auto; margin-right: auto; }
.h-section-desc {
    font-size: 1.02rem; color: var(--h-text-muted);
    line-height: 1.7; margin-top: 12px;
}

/* ── SERVICES ───────────────────────────── */
.h-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.h-service-card {
    background: var(--h-card-bg);
    border: 1px solid var(--h-card-border);
    border-radius: 14px;
    padding: 32px 28px;
    display: flex; flex-direction: column; gap: 12px;
    transition: var(--tr);
}
.h-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--h-sage);
    box-shadow: var(--h-shadow);
}
.h-service-icon {
    font-size: 2.2rem;
    width: 56px; height: 56px;
    background: var(--h-sage-bg);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.h-service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 400;
    color: var(--h-text);
}
.h-service-card p { font-size: 0.9rem; color: var(--h-text-muted); line-height: 1.65; flex: 1; }

/* ── TEAM ───────────────────────────────── */
.h-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.h-team-card {
    background: var(--h-card-bg);
    border: 1px solid var(--h-card-border);
    border-radius: 14px; overflow: hidden;
    transition: var(--tr);
}
.h-team-card:hover { transform: translateY(-5px); box-shadow: var(--h-shadow); }
.h-team-img-wrap { aspect-ratio: 3/4; overflow: hidden; }
.h-team-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s; }
.h-team-card:hover .h-team-img-wrap img { transform: scale(1.04); }
.h-team-info { padding: 22px; }
.h-team-role {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--h-sage); margin-bottom: 6px;
}
.h-team-info h3 {
    font-family: var(--font-display); font-size: 1.2rem;
    font-weight: 400; margin-bottom: 8px; color: var(--h-text);
}
.h-team-info p { font-size: 0.85rem; color: var(--h-text-muted); line-height: 1.6; margin-bottom: 16px; }

/* ── PROCESS STEPS ──────────────────────── */
.h-steps-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
}
.h-step {
    background: var(--h-card-bg);
    border: 1px solid var(--h-card-border);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
}
.h-step-icon {
    width: 60px; height: 60px;
    background: var(--h-sage-bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--h-sage); margin: 0 auto 16px;
}
.h-step h3 {
    font-family: var(--font-display); font-size: 1.15rem;
    font-weight: 400; margin-bottom: 10px; color: var(--h-text);
}
.h-step p { font-size: 0.87rem; color: var(--h-text-muted); line-height: 1.65; }
.h-step-arrow {
    font-size: 1.8rem; color: var(--h-sage); opacity: 0.4;
    align-self: center; margin: 0 8px; padding-bottom: 48px;
}

/* ── TESTIMONIALS ───────────────────────── */
.h-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h-testimonial {
    background: var(--h-card-bg);
    border: 1px solid var(--h-card-border);
    border-radius: 14px; padding: 28px 24px;
    transition: var(--tr);
}
.h-testimonial:hover { transform: translateY(-4px); box-shadow: var(--h-shadow); }
.h-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.h-testi-quote {
    font-family: var(--font-display); font-size: 1rem;
    font-style: italic; line-height: 1.7;
    color: var(--h-text); margin-bottom: 20px;
}
.h-testi-author {
    display: flex; align-items: center; gap: 12px;
    border-top: 1px solid var(--h-card-border); padding-top: 16px;
}
.h-testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--h-sage-bg); border: 1px solid var(--h-card-border);
    color: var(--h-sage); display: flex; align-items: center;
    justify-content: center; font-size: 0.82rem; font-weight: 700; flex-shrink: 0;
}
.h-testi-author strong { display: block; font-size: 0.88rem; color: var(--h-text); font-weight: 600; }
.h-testi-author span { display: block; font-size: 0.76rem; color: var(--h-text-muted); margin-top: 2px; }

/* ── FAQ ────────────────────────────────── */
.h-faq-list { max-width: 760px; margin: 0 auto; }
.h-faq-item {
    border-bottom: 1px solid var(--h-card-border);
    padding: 4px 0;
}
.faq-question {
    width: 100%; text-align: left;
    padding: 20px 0; background: none; border: none;
    font-family: var(--font-body); font-size: 1rem;
    font-weight: 600; color: var(--h-text);
    cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    transition: color var(--tr);
}
.faq-question::after {
    content: '+'; font-size: 1.4rem; color: var(--h-sage);
    transition: transform var(--tr);
}
.faq-question.active { color: var(--h-sage); }
.faq-question.active::after { transform: rotate(45deg); }
.h-faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
}
.h-faq-answer p { padding: 0 0 20px; font-size: 0.92rem; color: var(--h-text-muted); line-height: 1.7; }

/* ── CTA SECTION ────────────────────────── */
.h-cta-section { padding: 90px 0; background: var(--h-sage); }
.h-cta-box { text-align: center; }
.h-cta-title {
    font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400; color: #fff; margin-bottom: 16px;
}
.h-cta-desc {
    font-size: 1.05rem; color: rgba(255,255,255,0.85);
    max-width: 540px; margin: 0 auto 36px; line-height: 1.7;
}
.h-cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.h-cta-section .h-btn-primary { background: #fff; color: var(--h-sage); }
.h-cta-section .h-btn-primary:hover { background: var(--h-cream); }

/* ── FOOTER ─────────────────────────────── */
.h-footer { background: var(--h-cream-2); border-top: 1px solid var(--h-card-border); padding-top: 64px; }
.h-footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.h-footer-desc { color: var(--h-text-muted); font-size: 0.88rem; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.h-footer h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; color: var(--h-text); margin-bottom: 18px; }
.h-footer-links ul li { margin-bottom: 10px; }
.h-footer-links a { font-size: 0.87rem; color: var(--h-text-muted); transition: color var(--tr); }
.h-footer-links a:hover { color: var(--h-sage); }
.h-footer-contact p { font-size: 0.87rem; color: var(--h-text-muted); margin-bottom: 16px; }
.h-social-links { display: flex; gap: 10px; }
.h-social-icon {
    width: 34px; height: 34px; border: 1px solid var(--h-card-border);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--h-text-muted); transition: var(--tr);
}
.h-social-icon:hover { border-color: var(--h-sage); color: var(--h-sage); }
.h-footer-bottom {
    border-top: 1px solid var(--h-card-border);
    padding: 22px 0; text-align: center;
    color: var(--h-text-muted); font-size: 0.82rem;
}

/* ── WHATSAPP FLOAT ─────────────────────── */
.whatsapp-float {
    position: fixed; bottom: 90px; right: 24px;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 999; transition: var(--tr);
    animation: wpBounce 3s infinite;
}
.whatsapp-float:hover { background: #20b858; transform: scale(1.1); }
@keyframes wpBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
    .hero-h-inner { grid-template-columns: 1fr; }
    .hero-h-img-bg { display: none; }
    .h-booking-card { max-width: 520px; }
    .h-services-grid { grid-template-columns: 1fr; }
    .h-team-grid { grid-template-columns: repeat(2, 1fr); }
    .h-testimonials-grid { grid-template-columns: 1fr; }
    .h-steps-row { grid-template-columns: 1fr; gap: 12px; }
    .h-step-arrow { transform: rotate(90deg); text-align: center; padding: 0; }
    .h-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .h-nav, .h-btn.h-btn-primary { display: none; }
    .h-mobile-btn { display: block; }
    .h-team-grid { grid-template-columns: 1fr; }
    .h-form-row { grid-template-columns: 1fr; }
    .h-cta-btns { flex-direction: column; align-items: center; }
}

/* Clean Footer local theme overrides */
.clean-footer {
  border-top: 1px solid var(--h-card-border);
  background-color: var(--h-cream-2);
}
.clean-footer-tagline {
  color: var(--h-text-muted);
}
.clean-footer-nav a {
  color: var(--h-text-muted);
}
.clean-footer-nav a:hover {
  color: var(--h-sage);
}
.clean-footer-copy {
  color: var(--h-text-muted);
}
