/* ── index.html ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

:root {
--sage:       #7a9e87;
--sage-light: #e8f0ea;
--sage-dark:  #4a6b55;
--warm:       #f5ede4;
--warm-mid:   #e8d5c4;
--cream:      #faf8f5;
--text:       #2c2b29;
--text-mid:   #6b6762;
--text-light: #9b9690;
--white:      #ffffff;
--font-serif: 'Cormorant Garamond', Georgia, serif;
--font-sans:  'DM Sans', system-ui, sans-serif;
--radius:     12px;
--max:        1100px;
}

html { scroll-behavior: smooth; }

/* ── NAV ── */
body { font-family: var(--font-sans); background: var(--cream); color: var(--text); line-height: 1.7; font-size: 16px; font-weight: 300; }
body > nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,248,245,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(122,158,135,0.15); padding: 0 2rem; }
body > nav .nav-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
body > nav .nav-brand { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; color: var(--text); text-decoration: none; letter-spacing: 0.01em; white-space: nowrap; }
body > nav .nav-brand span { color: var(--sage-dark); font-style: italic; }
body > nav .nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
body > nav .nav-links li { display: flex; align-items: center; }
body > nav .nav-links a { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
body > nav .nav-links a:hover, body > nav .nav-links a.active { color: var(--sage); border-bottom-color: var(--sage); }
body > nav .nav-cta { background: var(--sage) !important; color: var(--white) !important; padding: 0.5rem 1.25rem !important; border-radius: 50px; font-size: 0.8rem !important; transition: background 0.2s !important; }
body > nav .nav-cta:hover { background: var(--sage-dark) !important; }
body > nav .nav-cta.active { border-bottom: none !important; }
body > nav .nav-burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
body > nav .nav-burger span { width: 24px; height: 2.5px; background: var(--text); display: block; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
body > nav .nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body > nav .nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body > nav .nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── FOOTER NAV ── */
.footer-links { position: static !important; display: flex; flex-wrap: wrap; gap: 1.5rem; background: none !important; border: none !important; padding: 0 !important; height: auto !important; backdrop-filter: none !important; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; border: none !important; }
.footer-links a:hover { color: rgba(255,255,255,0.7) !important; }
.footer-copy { font-size: 0.75rem; width: 100%; text-align: center; margin-top: 1rem; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem; }

/* ── REVIEWS ── */
#reviews { background: var(--cream); }
.reviews-header { text-align: center; margin-bottom: 3.5rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--white); border: 1px solid rgba(122,158,135,0.15); border-radius: var(--radius); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; transition: transform 0.2s; }
.review-card:hover { transform: translateY(-3px); }
.review-stars { display: flex; gap: 3px; }
.review-stars span { color: var(--sage); font-size: 1rem; }
.review-text { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; font-style: italic; color: var(--text); line-height: 1.8; flex: 1; }
.review-text::before { content: '\201C'; }
.review-text::after  { content: '\201D'; }
.review-author { display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid rgba(122,158,135,0.12); padding-top: 1rem; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--sage-light); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 500; color: var(--sage-dark); flex-shrink: 0; }
.review-name { font-size: 0.85rem; font-weight: 400; color: var(--text); }
.review-meta { font-size: 0.75rem; color: var(--text-light); margin-top: 1px; }
.reviews-cta-row { text-align: center; margin-top: 3rem; }
.reviews-disclaimer { font-size: 0.75rem; color: var(--text-light); margin-top: 0.75rem; }

/* ── HERO ── */
#inicio { min-height: 100vh; display: flex; align-items: center; padding: 100px 2rem 4rem; background: linear-gradient(135deg, var(--cream) 0%, var(--warm) 100%); position: relative; overflow: hidden; }
#inicio::before { content: ''; position: absolute; top: -10%; right: -5%; width: 55%; height: 120%; background: radial-gradient(ellipse, rgba(122,158,135,0.12) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; width: 100%; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--sage-light); color: var(--sage-dark); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; }
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--sage); border-radius: 50%; }
.hero-title { font-family: var(--font-serif); font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 300; line-height: 1.15; color: var(--text); margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--sage-dark); }
.hero-subtitle { font-size: 1.05rem; color: var(--text-mid); max-width: 440px; margin-bottom: 2.5rem; font-weight: 300; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--sage); color: var(--white); padding: 0.85rem 2rem; border-radius: 50px; text-decoration: none; font-size: 0.9rem; font-weight: 400; letter-spacing: 0.02em; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--sage); color: var(--sage-dark); padding: 0.85rem 2rem; border-radius: 50px; text-decoration: none; font-size: 0.9rem; font-weight: 400; letter-spacing: 0.02em; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-outline:hover { background: var(--sage-light); transform: translateY(-1px); }

.hero-visual { position: relative; display: flex; justify-content: center;}
.hero-photo-frame { width: 360px; height: 460px; border-radius: 180px 180px 120px 120px; background: var(--sage-light); position: relative; overflow: hidden; border: 3px solid rgba(122,158,135,0.25); }
.hero-photo-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--sage-dark); font-size: 0.8rem; text-align: center; gap: 0.75rem; }
.hero-photo-placeholder svg { opacity: 0.35; width: 80px; height: 80px; }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-badge { position: absolute; bottom: 2rem; left: -1.5rem; background: var(--white); border: 1px solid rgba(122,158,135,0.2); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: 0 8px 32px rgba(74,107,85,0.1); min-width: 200px; }
.hero-badge-label { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-badge-value { font-family: var(--font-serif); font-size: 1.1rem; color: var(--text); margin-top: 0.2rem; }
.hero-badge-sub { font-size: 0.75rem; color: var(--sage-dark); margin-top: 0.1rem; }

/* ── SECTIONS COMMON ── */
section { padding: 6rem 2rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 1rem; display: block; }
.section-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.2; color: var(--text); margin-bottom: 1.5rem; }
.section-title em { font-style: italic; color: var(--sage-dark); }
.section-body { font-size: 1rem; color: var(--text-mid); max-width: 580px; line-height: 1.85; }

/* ── SOBRE MÍ ── */
#sobre-mi { background: var(--white); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.sobre-photo { width: 100%; aspect-ratio: 4/5; border-radius: 120px 120px 60px 60px; background: var(--sage-light); overflow: hidden; position: relative; }
.sobre-photo img { width: 100%; height: 100%; object-fit: cover; }
.sobre-photo-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--sage-dark); font-size: 0.8rem; text-align: center; gap: 0.5rem; }
.sobre-photo-placeholder svg { opacity: 0.3; width: 60px; height: 60px; }
.credential { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--sage-light); color: var(--sage-dark); font-size: 0.8rem; padding: 0.35rem 0.9rem; border-radius: 50px; margin-bottom: 0.5rem; }
.credentials-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }

/* ── ESPECIALIDADES ── */
#especialidades { background: var(--cream); }
.esp-header { text-align: center; margin-bottom: 4rem; }
.esp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.esp-card { background: var(--white); border: 1px solid rgba(122,158,135,0.15); border-radius: var(--radius); padding: 2rem 1.75rem; transition: transform 0.2s, box-shadow 0.2s; }
.esp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(74,107,85,0.1); }
.esp-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sage-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.esp-icon svg { width: 22px; height: 22px; stroke: var(--sage-dark); fill: none; stroke-width: 1.5; }
.esp-card h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 400; color: var(--text); margin-bottom: 0.75rem; }
.esp-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.esp-placeholder { font-style: italic; color: var(--text-light); font-size: 0.85rem; }
.esp-card-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.25rem; font-size: 0.82rem; font-weight: 500; color: var(--sage-dark); text-decoration: none; letter-spacing: 0.04em; transition: gap 0.2s, color 0.2s; }
.esp-card-link:hover { gap: 0.7rem; color: var(--sage); }
.esp-card-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── CÓMO FUNCIONA ── */
#como-funciona { background: var(--warm); }
.pasos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.paso { display: flex; flex-direction: column; gap: 1rem; }
.paso-num { font-family: var(--font-serif); font-size: 3rem; font-weight: 300; color: var(--sage); line-height: 1; }
.paso h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 400; color: var(--text); }
.paso p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }
.paso-divider { width: 32px; height: 1px; background: var(--sage); margin-top: 0.25rem; }

/* ── BENEFICIOS ── */
#beneficios { background: var(--sage-dark); color: var(--white); }
#beneficios .section-title { color: var(--white); }
#beneficios .section-label { color: rgba(255,255,255,0.6); }
#beneficios .section-body { color: rgba(255,255,255,0.75); max-width: 100%; }
.ben-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.ben-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.ben-list li { display: flex; gap: 1rem; align-items: flex-start; }
.ben-bullet { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; }
.ben-bullet svg { width: 10px; height: 10px; stroke: var(--white); fill: none; stroke-width: 2.5; }
.ben-list li .ben-text strong { display: block; font-weight: 400; color: var(--white); font-size: 0.95rem; margin-bottom: 0.2rem; }
.ben-list li .ben-text span { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.ben-quote { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 2.5rem; }
.ben-quote blockquote { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 300; font-style: italic; line-height: 1.6; color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.ben-quote cite { font-style: normal; font-size: 0.8rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── CONTACTO ── */
#contacto { background: var(--white); }
.contacto-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contacto-info { display: flex; flex-direction: column; gap: 2rem; }
.contacto-item { display: flex; gap: 1rem; align-items: flex-start; }
.contacto-item-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--sage-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contacto-item-icon svg { width: 18px; height: 18px; stroke: var(--sage-dark); fill: none; stroke-width: 1.5; }
.contacto-item-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 0.2rem; }
.contacto-item-value { font-size: 0.95rem; color: var(--text); }
.contacto-item-value a { color: var(--sage-dark); text-decoration: none; }
.contacto-item-value a:hover { text-decoration: underline; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage-dark); font-weight: 500; margin-bottom: 0.5rem; }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; padding: 0.8rem 1rem; border: 1.5px solid rgba(122,158,135,0.25); border-radius: 8px; background: var(--cream); color: var(--text); font-family: var(--font-sans); font-size: 0.9rem; font-weight: 300; outline: none; transition: border-color 0.2s; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--sage); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-check { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; }
.form-check input[type="checkbox"] { margin-top: 3px; accent-color: var(--sage); }
.form-check label { font-size: 0.8rem; color: var(--text-light); line-height: 1.5; }
.form-check a { color: var(--sage-dark); }
.form-submit { width: 100%; background: var(--sage); color: var(--white); border: none; padding: 0.95rem; border-radius: 50px; font-family: var(--font-sans); font-size: 0.9rem; font-weight: 400; letter-spacing: 0.03em; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: var(--sage-dark); }
.form-notice { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 0.75rem; }

/* ── FOOTER ── */
footer { background: var(--text); color: rgba(255,255,255,0.5); padding: 3rem 2rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { font-family: var(--font-serif); font-size: 1.1rem; color: rgba(255,255,255,0.8); }
.footer-brand em { font-style: italic; color: rgba(122,158,135,0.9); }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }

/* Instagram float button */
.ig-float { position: fixed; bottom: 2rem; right: 2rem; width: 52px; height: 52px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 20px rgba(74,107,85,0.3); transition: transform 0.2s, background 0.2s; z-index: 90; }
.ig-float:hover { background: var(--sage-dark); transform: scale(1.08); }
.ig-float svg { width: 22px; height: 22px; stroke: var(--white); fill: none; stroke-width: 1.5; }

/* ── RESPONSIVE ── */

/* ── FAQ ── */
#faq { background: var(--sage-dark); }
#faq .section-label { color: rgba(255,255,255,0.55); }
#faq .section-title { color: var(--white); }
#faq .section-title em { color: rgba(232,240,234,0.9); }
.faq-intro { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 540px; margin-bottom: 3rem; line-height: 1.8; }
.faq-list { max-width: 100%; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.12); }
.faq-question { width: 100%; background: none; border: none; padding: 1.4rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; cursor: pointer; text-align: left; }
.faq-question span { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; color: var(--white); line-height: 1.4; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s, border-color 0.2s; }
.faq-icon svg { width: 12px; height: 12px; stroke: var(--white); fill: none; stroke-width: 2.5; transition: transform 0.3s; }
.faq-item.open .faq-icon { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-answer p { padding-bottom: 1.4rem; color: rgba(255,255,255,0.72); font-size: 0.95rem; line-height: 1.85; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── index.html ── */

/* ── especialidades.html ── */

/* HERO */
.hub-hero { padding: 120px 2rem 5rem; background: linear-gradient(135deg, var(--cream) 0%, var(--warm) 100%); text-align: center; }
.hub-hero-inner { max-width: 680px; margin: 0 auto; }
.hub-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--sage-light); color: var(--sage-dark); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; }
.hub-tag::before { content: ''; width: 6px; height: 6px; background: var(--sage); border-radius: 50%; }
.hub-hero h1 { font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 300; line-height: 1.15; color: var(--text); margin-bottom: 1.25rem; }
.hub-hero h1 em { font-style: italic; color: var(--sage-dark); }
.hub-hero p { color: var(--text-mid); font-size: 1.05rem; line-height: 1.85; max-width: 520px; margin: 0 auto; }

/* TERAPIA INDIVIDUAL */
.terapia-individual { padding: 5rem 2rem 0; background: var(--white); }
.terapia-individual-inner { max-width: var(--max); margin: 0 auto; padding-bottom: 4rem; border-bottom: 1px solid rgba(122,158,135,0.15); }
.terapia-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-dark); display: block; margin-bottom: 1rem; }
.terapia-title { font-family: var(--font-serif); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 300; line-height: 1.2; color: var(--text); margin-bottom: 2rem; display: block; }
.terapia-title em { font-style: italic; color: var(--sage-dark); }
.terapia-body p { font-size: 0.97rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 1rem; max-width: 860px; }
.terapia-body p:last-child { margin-bottom: 0; }
.terapia-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; }
.terapia-tag-item { background: var(--sage-light); color: var(--sage-dark); font-size: 0.78rem; padding: 0.3rem 0.85rem; border-radius: 50px; }

/* GRID */
.hub-grid-section { padding: 4rem 2rem 6rem; background: var(--cream); }
.hub-grid-inner { max-width: var(--max); margin: 0 auto; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.hub-card { background: var(--cream); border: 1px solid rgba(122,158,135,0.15); border-radius: var(--radius); padding: 2.25rem 2rem; text-decoration: none; display: flex; flex-direction: column; gap: 1rem; transition: transform 0.2s, box-shadow 0.2s; }
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(74,107,85,0.1); }
.hub-card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sage-light); display: flex; align-items: center; justify-content: center; }
.hub-card-icon svg { width: 24px; height: 24px; stroke: var(--sage-dark); fill: none; stroke-width: 1.5; }
.hub-card h2 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; color: var(--text); }
.hub-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; flex: 1; font-style: italic; }
.hub-card-cta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 500; color: var(--sage-dark); margin-top: 0.25rem; }
.hub-card-cta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s; }
.hub-card:hover .hub-card-cta svg { transform: translateX(3px); }

/* CTA BAND */
.hub-cta-band { background: var(--sage-dark); padding: 5rem 2rem; text-align: center; }
.hub-cta-band h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; color: var(--white); margin-bottom: 1rem; }
.hub-cta-band h2 em { font-style: italic; color: rgba(232,240,234,0.9); }
.hub-cta-band p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 480px; margin: 0 auto 2rem; line-height: 1.8; }
.btn-white { background: var(--white); color: var(--sage-dark); padding: 0.85rem 2rem; border-radius: 50px; text-decoration: none; font-size: 0.9rem; font-weight: 500; display: inline-block; transition: background 0.2s; }
.btn-white:hover { background: var(--sage-light); }

/* ── especialidades.html ── */

/* ── páginas de especialidad ── */

/* HERO */
.esp-hero { padding: 120px 2rem 5rem; background: linear-gradient(135deg, var(--cream) 0%, var(--warm) 100%); }
.esp-hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.esp-breadcrumb { font-size: 0.78rem; color: var(--text-light); letter-spacing: 0.06em; margin-bottom: 1.25rem; }
.esp-breadcrumb a { color: var(--sage-dark); text-decoration: none; }
.esp-breadcrumb a:hover { text-decoration: underline; }
.esp-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--sage-light); color: var(--sage-dark); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.25rem; }
.esp-tag::before { content: ''; width: 6px; height: 6px; background: var(--sage); border-radius: 50%; }
.esp-hero h1 { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1.15; color: var(--text); margin-bottom: 1.25rem; }
.esp-hero h1 em { font-style: italic; color: var(--sage-dark); }
.esp-hero-lead { font-size: 1.05rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 2rem; }

.esp-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.esp-hero-visual { background: var(--sage-light); border-radius: 120px 120px 60px 60px; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; color: var(--sage-dark); font-size: 0.8rem; text-align: center; flex-direction: column; gap: 1rem; }
.esp-hero-visual svg { width: 64px; height: 64px; stroke: var(--sage-dark); fill: none; stroke-width: 1; opacity: 0.35; }
.esp-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 120px 120px 60px 60px;}
/* CONTENT */
.esp-content { padding: 5rem 2rem; background: var(--white); }
.esp-content-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 5rem; align-items: start; }
.esp-section { margin-bottom: 3rem; }
.esp-section h2 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; color: var(--text); margin-bottom: 1rem; }
.esp-section h2 em { font-style: italic; color: var(--sage-dark); }
.esp-section p { color: var(--text-mid); font-size: 0.97rem; line-height: 1.85; margin-bottom: 0.85rem; }
.esp-section ul { list-style: none; padding: 0; margin: 1rem 0; }
.esp-section ul li { color: var(--text-mid); font-size: 0.95rem; line-height: 1.8; padding-left: 1.5rem; position: relative; margin-bottom: 0.5rem; }
.esp-section ul li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--sage); border-radius: 50%; }
/* SIDEBAR */
.esp-sidebar { position: sticky; top: 88px; }
.esp-cta-box { background: var(--sage-dark); border-radius: var(--radius); padding: 2rem; color: var(--white); margin-bottom: 1.5rem; }
.esp-cta-box h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 300; color: var(--white); margin-bottom: 0.75rem; }
.esp-cta-box p { font-size: 0.88rem; color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 1.25rem; }
.esp-cta-box a { background: var(--white); color: var(--sage-dark); padding: 0.7rem 1.5rem; border-radius: 50px; text-decoration: none; font-size: 0.85rem; font-weight: 500; display: block; text-align: center; width: 100%; box-sizing: border-box; transition: background 0.2s; }
.esp-cta-box a:hover { background: var(--sage-light); }
.esp-other { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
.esp-other h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 1rem; }
.esp-other a { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid rgba(122,158,135,0.15); font-size: 0.88rem; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.esp-other a:last-child { border-bottom: none; }
.esp-other a:hover { color: var(--sage-dark); }
.esp-other a svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
/* LOREM badge */
.lorem-badge { display: inline-block; background: rgba(122,158,135,0.15); color: var(--sage-dark); font-size: 0.72rem; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.5rem; letter-spacing: 0.05em; }

/* ── páginas de especialidad ── */

/* ── blog.html ── */

/* HERO */
.blog-hero { padding: 120px 2rem 5rem; background: linear-gradient(135deg, var(--cream) 0%, var(--warm) 100%); }
.blog-hero-inner { max-width: var(--max); margin: 0 auto; }
.blog-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--sage-light); color: var(--sage-dark); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; }
.blog-tag::before { content: ''; width: 6px; height: 6px; background: var(--sage); border-radius: 50%; }
.blog-hero h1 { font-family: var(--font-serif); font-size: clamp(1.9rem, 8vw, 3.5rem); font-weight: 300; line-height: 1.15; color: var(--text); margin-bottom: 1.25rem; }
.blog-hero h1 em { font-style: italic; color: var(--sage-dark); }
.blog-hero p { color: var(--text-mid); font-size: 1.05rem; line-height: 1.85; max-width: 580px; }

/* FEATURED POST */
.blog-featured { padding: 5rem 2rem 0; background: var(--white); }
.blog-featured-inner { max-width: var(--max); margin: 0 auto; }
.blog-featured-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-dark); display: block; margin-bottom: 1.5rem; }
.blog-featured-card { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; background: var(--cream); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(122,158,135,0.15); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; min-width: 0; }
.blog-featured-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(74,107,85,0.1); }
.blog-featured-img { aspect-ratio: 4/3; background: var(--sage-light); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.75rem; color: var(--sage-dark); font-size: 0.78rem; }
.blog-featured-img svg { width: 48px; height: 48px; stroke: var(--sage-dark); fill: none; stroke-width: 1; opacity: 0.4; }
.blog-featured-content { padding: 2.5rem 2.5rem 2.5rem 0; min-width: 0; }
.blog-post-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.blog-post-cat { background: var(--sage-light); color: var(--sage-dark); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.75rem; border-radius: 50px; }
.blog-post-date { font-size: 0.78rem; color: var(--text-light); }
.blog-post-readtime { font-size: 0.78rem; color: var(--text-light); }
.blog-featured-content h2 { font-family: var(--font-serif); font-size: clamp(1.4rem, 5vw, 2.2rem); font-weight: 400; color: var(--text); line-height: 1.25; margin-bottom: 1rem; }
.blog-featured-content h2 em { font-style: italic; color: var(--sage-dark); }
.blog-featured-content p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.5rem; }
.blog-read-more { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 500; color: var(--sage-dark); }
.blog-read-more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s; }
.blog-featured-card:hover .blog-read-more svg { transform: translateX(4px); }

/* GRID */
.blog-grid-section { padding: 4rem 2rem 6rem; background: var(--white); }
.blog-grid-inner { max-width: var(--max); margin: 0 auto; }
.blog-grid-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-dark); display: block; margin-bottom: 1.5rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: var(--cream); border: 1px solid rgba(122,158,135,0.15); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(74,107,85,0.1); }
.blog-card-img { aspect-ratio: 16/9; background: var(--sage-light); display: flex; align-items: center; justify-content: center; }
.blog-card-img svg { width: 36px; height: 36px; stroke: var(--sage-dark); fill: none; stroke-width: 1; opacity: 0.35; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.blog-card-body .blog-post-meta { margin-bottom: 0; }
.blog-card-body h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; color: var(--text); line-height: 1.3; }
.blog-card-body p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; flex: 1; }
.blog-card-cta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 500; color: var(--sage-dark); margin-top: 0.5rem; }
.blog-card-cta svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s; }
.blog-card:hover .blog-card-cta svg { transform: translateX(3px); }

/* CTA BAND */
.blog-cta-band { background: var(--sage-dark); padding: 5rem 2rem; text-align: center; }
.blog-cta-band h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; color: var(--white); margin-bottom: 1rem; }
.blog-cta-band h2 em { font-style: italic; color: rgba(232,240,234,0.9); }
.blog-cta-band p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 480px; margin: 0 auto 2rem; line-height: 1.8; }



/* ── blog.html ── */

/* ── artículos del blog ── */

/* ARTICLE HERO */
.article-hero { padding: 120px 2rem 4rem; background: linear-gradient(135deg, var(--cream) 0%, var(--warm) 100%); }
.article-hero-inner { max-width: 780px; margin: 0 auto; }
.article-breadcrumb { font-size: 0.78rem; color: var(--text-light); margin-bottom: 1.5rem; }
.article-breadcrumb a { color: var(--sage-dark); text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.article-cat { background: var(--sage-light); color: var(--sage-dark); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.75rem; border-radius: 50px; }
.article-date { font-size: 0.78rem; color: var(--text-light); }
.article-readtime { font-size: 0.78rem; color: var(--text-light); }
.article-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.2; color: var(--text); margin-bottom: 1.5rem; }
.article-hero h1 em { font-style: italic; color: var(--sage-dark); }
.article-lead { font-size: 1.1rem; color: var(--text-mid); line-height: 1.85; font-style: italic; border-left: 3px solid var(--sage); padding-left: 1.25rem; }
.article-cover { width: 100%; aspect-ratio: 16/7; background: var(--sage-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.75rem; color: var(--sage-dark); font-size: 0.8rem; margin-top: 2.5rem; }
.article-cover svg { width: 48px; height: 48px; stroke: var(--sage-dark); fill: none; stroke-width: 1; opacity: 0.35; }

/* ARTICLE BODY */
.article-body-wrap { padding: 4rem 2rem 6rem; background: var(--white); }
.article-layout { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 5rem; align-items: start; }
.article-content h2 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; color: var(--text); margin: 2.5rem 0 1rem; }
.article-content h2 em { font-style: italic; color: var(--sage-dark); }
.article-content h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: var(--text); margin: 1.75rem 0 0.75rem; }
.article-content p { font-size: 0.97rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 1.1rem; }
.article-content strong { color: var(--sage-dark); font-weight: 500; }
.article-content ul { list-style: none; padding: 0; margin: 1rem 0 1.25rem; }
.article-content ul li { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; padding-left: 1.5rem; position: relative; margin-bottom: 0.5rem; }
.article-content ul li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; background: var(--sage); border-radius: 50%; }
.article-content blockquote { background: var(--sage-light); border-left: 3px solid var(--sage); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.75rem 0; }
.article-content blockquote p { font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; color: var(--sage-dark); margin: 0; }
.article-author { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(122,158,135,0.2); }
.article-author-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--sage-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.article-author-avatar svg { width: 24px; height: 24px; stroke: var(--sage-dark); fill: none; stroke-width: 1.5; }
.article-author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.article-author-name { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.article-author-role { font-size: 0.78rem; color: var(--text-light); }

/* SIDEBAR */
.article-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-cta { background: var(--sage-dark); border-radius: var(--radius); padding: 2rem; color: var(--white); }
.sidebar-cta h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 300; color: var(--white); margin-bottom: 0.75rem; }
.sidebar-cta p { font-size: 0.88rem; color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 1.25rem; }
.sidebar-cta a { background: var(--white); color: var(--sage-dark); padding: 0.7rem 1.5rem; border-radius: 50px; text-decoration: none; font-size: 0.85rem; font-weight: 500; display: block; text-align: center; width: 100%; box-sizing: border-box; transition: background 0.2s; }
.sidebar-cta a:hover { background: var(--sage-light); }
.sidebar-related { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
.sidebar-related h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 1rem; }
.sidebar-related a { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(122,158,135,0.15); text-decoration: none; transition: color 0.2s; }
.sidebar-related a:last-child { border-bottom: none; }
.sidebar-related a:hover span { color: var(--sage-dark); }
.sidebar-related a span { font-size: 0.88rem; color: var(--text-mid); line-height: 1.5; }
.sidebar-related .rel-cat { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage-dark); display: block; margin-bottom: 0.2rem; }
.sidebar-related .rel-current { cursor: default; }
.sidebar-related .rel-current:hover span { color: var(--text-mid) !important; }
.sidebar-related .rel-badge { font-size: 0.65rem; color: var(--sage-dark); font-weight: 500; }

/* ── artículos del blog ── */

/* ── páginas legales ── */

.legal-hero { padding: 120px 2rem 4rem; background: linear-gradient(135deg, var(--cream) 0%, var(--warm) 100%); }
.legal-hero-inner { max-width: 780px; margin: 0 auto; }
.legal-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--sage-light); color: var(--sage-dark); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; }
.legal-tag::before { content: ''; width: 6px; height: 6px; background: var(--sage); border-radius: 50%; }
.legal-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.2; color: var(--text); margin-bottom: 1rem; }
.legal-hero h1 em { font-style: italic; color: var(--sage-dark); }
.legal-hero p { color: var(--text-mid); font-size: 0.9rem; }
.legal-body { padding: 4rem 2rem 6rem; }
.legal-body-inner { max-width: 780px; margin: 0 auto; }
.legal-section { margin-bottom: 3rem; }
.legal-section h2 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(122,158,135,0.2); }
.legal-section h3 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; color: var(--text); margin: 1.25rem 0 0.5rem; }
.legal-section p { color: var(--text-mid); margin-bottom: 0.75rem; font-size: 0.95rem; line-height: 1.8; }
.legal-section ul { list-style: none; padding: 0; margin-bottom: 0.75rem; }
.legal-section ul li { color: var(--text-mid); font-size: 0.95rem; line-height: 1.8; padding-left: 1.25rem; position: relative; margin-bottom: 0.25rem; }
.legal-section ul li::before { content: '–'; position: absolute; left: 0; color: var(--sage); }
.legal-section a { color: var(--sage-dark); }
.info-box { background: var(--sage-light); border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.info-box p { color: var(--sage-dark) !important; margin: 0; }

.cookie-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9rem; }
.cookie-table th { background: var(--sage-light); color: var(--sage-dark); text-align: left; padding: 0.6rem 1rem; font-weight: 500; }
.cookie-table td { padding: 0.6rem 1rem; border-bottom: 1px solid rgba(122,158,135,0.12); color: var(--text-mid); vertical-align: top; }
.cookie-table tr:last-child td { border-bottom: none; }

/* ── páginas legales ── */

/* -- MOBILE -- */

@media (max-width: 900px) {
    .hero-inner, .sobre-grid, .ben-layout { grid-template-columns: 1fr; gap: 3rem; }
    .sobre-photo { width: 80%; max-width: 380px; margin: 0 auto; aspect-ratio: 3/4; border-radius: 80px 80px 40px 40px; }
    .contacto-layout { grid-template-columns: 1fr; gap: 0; }
    .contacto-layout > div:first-child { padding-bottom: 2.5rem; }
    .contacto-layout > div:last-child { padding-top: 2.5rem; border-top: 1px solid rgba(122,158,135,0.25); }
    .pasos-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}

@media (max-width: 768px) {
    body > nav .nav-links { display: none; }
    body > nav .nav-burger { display: flex; }
    body > nav .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: fixed; top: 68px; left: 0; right: 0; background: var(--cream); padding: 1.5rem 2rem 2rem; border-bottom: 1px solid rgba(122,158,135,0.15); gap: 0; height: auto !important; z-index: 99; }
    body > nav .nav-links.open li { display: block; }
    body > nav .nav-links.open li a { display: block; padding: 0.6rem 0; height: auto !important; }
    body > nav .nav-links.open li:last-child a { display: inline-block; background: var(--sage); color: var(--white); padding: 0.5rem 1.25rem; border-radius: 50px; margin-top: 0.5rem; }
    .blog-featured-card { grid-template-columns: 1fr; gap: 0; }
    .blog-featured-content { padding: 1.5rem !important; }
    .blog-grid { grid-template-columns: 1fr; }
    .cookie-table { display: block; overflow-x: auto; }
    .esp-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
    .esp-hero-visual { display: none; }
    .esp-content-inner { grid-template-columns: 1fr; }
    .esp-sidebar { position: static; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
}
