:root {
  --cream:    #FDF3EE;
  --blush:    #F7E0D6;
  --coral:    #E0846A;
  --coral-lt: #EDA590;
  --blue:     #5C6FA6;
  --blue-dk:  #3B4D84;
  --blue-lt:  #8B9DC8;
  --text:     #2C2828;
  --muted:    #7A7070;
  --white:    #FFFFFF;
  --border:   rgba(92,111,166,.18);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }
.serif { font-family: 'Cormorant Garamond', serif; }
h1,h2,h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.5rem; }
p  { line-height: 1.75; color: var(--muted); font-size: .97rem; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); font-weight: 500; margin-bottom: .6rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .82rem 2rem; border-radius: 50px; font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .28s ease; text-decoration: none; border: none; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 28px rgba(224,132,106,.35); }
.btn-primary:hover { background: #c96d53; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(224,132,106,.45); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue-lt); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.1rem 0; transition: all .3s ease; background: rgba(253,243,238,.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
nav.scrolled { border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--text); line-height: 1.1; }
.nav-logo-sub  { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .88rem; transition: color .2s; }
.nav-links a:hover { color: var(--coral); }

/* ── HERO ── */
#hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding: 8rem 2rem 5rem; max-width: 1160px; margin: 0 auto; }
.hero-eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.2rem; }
.hero-eyebrow span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); font-weight: 500; }
.hero-eyebrow::before { content: ''; display: block; width: 36px; height: 1.5px; background: var(--blue-lt); }
.hero-title em { font-style: italic; color: var(--coral); }
.hero-motto {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--blue-dk);
  margin: 1.4rem 0 .6rem;
  padding-left: 1rem;
  border-left: 3px solid var(--coral);
}
.hero-desc { margin: .6rem 0 2.4rem; max-width: 460px; font-size: 1rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 600; color: var(--text); }
.stat-lbl { font-size: .78rem; color: var(--muted); margin-top: .1rem; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-blob { width: 460px; height: 460px; border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; background: linear-gradient(135deg, var(--blush) 0%, #efd5cc 60%, #dce2f0 100%); animation: blobmorph 8s ease-in-out infinite; display: flex; align-items: center; justify-content: center; position: relative; }
@keyframes blobmorph { 0%,100%{border-radius:60% 40% 55% 45%/45% 55% 40% 60%} 33%{border-radius:40% 60% 45% 55%/55% 45% 60% 40%} 66%{border-radius:55% 45% 60% 40%/40% 60% 45% 55%} }
.hero-butterfly-large { width: 220px; height: 220px; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(92,111,166,.2)); }
@keyframes float { 0%,100%{transform:translateY(0) rotate(-3deg)} 50%{transform:translateY(-18px) rotate(2deg)} }
.hero-badge { position: absolute; top: 1.5rem; right: -1.5rem; background: #fff; border-radius: 16px; padding: .9rem 1.2rem; box-shadow: 0 12px 40px rgba(0,0,0,.09); display: flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 500; color: var(--text); white-space: nowrap; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #5cb85c; flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(92,184,92,.5)}50%{box-shadow:0 0 0 6px rgba(92,184,92,0)} }
.hero-badge-bottom { position: absolute; bottom: 1.5rem; left: -1.5rem; background: var(--blue-dk); color: #fff; border-radius: 16px; padding: .9rem 1.2rem; box-shadow: 0 12px 40px rgba(59,77,132,.3); font-size: .82rem; }
.hero-badge-bottom strong { display: block; font-size: 1.1rem; font-family: 'Cormorant Garamond', serif; }

/* ── TABÚ BANNER ── */
#tabu {
  background: var(--blue-dk);
  padding: 4.5rem 0;
}
.tabu-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}
.tabu-label { color: var(--coral-lt); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: .8rem; }
.tabu-title { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: #fff; line-height: 1.2; }
.tabu-title em { font-style: italic; color: var(--coral-lt); }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote-bubble {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  position: relative;
}
.quote-bubble::before { content: '"'; font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: var(--coral-lt); opacity: .4; position: absolute; top: .2rem; left: .8rem; line-height: 1; }
.quote-bubble p { color: rgba(255,255,255,.75); font-size: .88rem; font-style: italic; padding-top: 1.2rem; }
.tabu-note { text-align: center; margin-top: 2rem; color: rgba(255,255,255,.5); font-size: .85rem; grid-column: 1/-1; }

/* ── SOBRE MÍ ── */
#sobre { background: var(--white); padding: 7rem 0; }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.photo-placeholder { width: 100%; aspect-ratio: 3/4; max-height: 500px; border-radius: 24px 24px 80px 24px; background: linear-gradient(145deg, var(--blush), #dce2f0); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--muted); font-size: .85rem; position: relative; overflow: hidden; }
.photo-placeholder::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.photo-icon { font-size: 3rem; opacity: .25; }
.photo-caption { opacity: .45; font-size: .78rem; }
.sobre-accent { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--blush); bottom: -24px; left: -24px; z-index: -1; }
.sobre-content h2 { margin-bottom: 1.2rem; }
.sobre-content h2 em { color: var(--coral); font-style: italic; }
.sobre-content p { margin-bottom: 1rem; }
.credenciales { display: flex; flex-direction: column; gap: .6rem; margin: 1.6rem 0; }
.cred-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .88rem; color: var(--text); line-height: 1.4; }
.cred-icon { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; flex-shrink: 0; margin-top: .1rem; }
.ci-psi { background: #eef0fb; }
.ci-law { background: #fef0ec; }
.ci-mag { background: #eef6f0; }
.doble-perfil { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.perfil-card { border-radius: 16px; padding: 1.2rem; border: 1px solid var(--border); }
.perfil-card.psi { background: linear-gradient(135deg, #f0f3fb, #e8ecf7); }
.perfil-card.law { background: linear-gradient(135deg, #fdf0ec, #f7e2d9); }
.perfil-card-icon { font-size: 1.4rem; margin-bottom: .5rem; }
.perfil-card-title { font-weight: 500; font-size: .88rem; color: var(--text); }
.perfil-card-sub { font-size: .75rem; color: var(--muted); margin-top: .2rem; line-height: 1.4; }

/* ── SERVICIOS ── */
#servicios { padding: 7rem 0; background: var(--cream); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { margin-bottom: .8rem; }
.section-header p { max-width: 540px; margin: 0 auto; }
.servicios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.servicio-card { background: var(--white); border-radius: 24px; padding: 2.2rem 1.8rem; border: 1px solid var(--border); transition: all .3s ease; position: relative; overflow: hidden; }
.servicio-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--coral), var(--blue)); transform: scaleX(0); transition: transform .3s ease; }
.servicio-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.servicio-card:hover::after { transform: scaleX(1); }
.servicio-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.ic-blue { background: #eef0fb; }
.ic-coral { background: #fef0ec; }
.ic-sage { background: #eef6f0; }
.ic-warm { background: #fdf7ee; }
.servicio-card h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.servicio-card p { font-size: .88rem; }
.servicio-link { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1.2rem; font-size: .82rem; color: var(--blue); text-decoration: none; font-weight: 500; transition: gap .2s; }
.servicio-link:hover { gap: .6rem; color: var(--coral); }
.servicio-badge { position: absolute; top: 1.2rem; right: 1.2rem; background: var(--coral); color: #fff; font-size: .65rem; font-weight: 500; letter-spacing: .06em; padding: .25rem .6rem; border-radius: 50px; }

/* ── ESPECIALIDADES ── */
#especialidades { background: var(--blue-dk); padding: 7rem 0; position: relative; overflow: hidden; }
#especialidades::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.03); }
#especialidades .section-header h2 { color: #fff; }
#especialidades .section-header p { color: rgba(255,255,255,.55); }
#especialidades .tag { color: var(--coral-lt); }
.esp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.esp-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: all .3s; }
.esp-item:hover { background: rgba(255,255,255,.1); transform: translateX(6px); }
.esp-num { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--coral-lt); opacity: .5; line-height: 1; flex-shrink: 0; }
.esp-body h4 { color: #fff; font-size: 1rem; margin-bottom: .3rem; }
.esp-body p { color: rgba(255,255,255,.5); font-size: .82rem; }

/* ── PRECIOS ── */
#precios { background: var(--white); padding: 7rem 0; }
.precios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 760px; margin: 0 auto; }
.precio-card { border-radius: 24px; padding: 2.5rem; border: 1px solid var(--border); text-align: center; position: relative; transition: all .3s; }
.precio-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.precio-card.featured { border-color: var(--coral); background: linear-gradient(145deg, #fef5f2, #fdf3ee); }
.precio-card.featured::before { content: 'Recomendado'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .9rem; border-radius: 50px; }
.precio-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.precio-amount { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; font-weight: 600; color: var(--text); line-height: 1; }
.precio-amount span { font-size: 1.2rem; color: var(--muted); }
.precio-desc { font-size: .85rem; margin: .8rem 0 1.5rem; }
.precio-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: .5rem; }
.precio-features li { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.precio-features li::before { content: '✓'; color: var(--coral); font-weight: 700; flex-shrink: 0; }
.precio-note { text-align: center; margin-top: 2rem; font-size: .82rem; color: var(--muted); }
.precio-note strong { color: var(--text); }

/* ── LEGAL ── */
#legal { background: var(--cream); padding: 7rem 0; }
.legal-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 5rem; align-items: center; }
.legal-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.legal-tag { background: var(--white); border: 1px solid var(--border); border-radius: 50px; padding: .4rem 1rem; font-size: .8rem; color: var(--text); }
.legal-visual { border-radius: 24px; background: linear-gradient(145deg, #f0f3fb, #e4e9f7); padding: 2.5rem; text-align: center; }
.legal-scales { font-size: 5rem; display: block; margin-bottom: 1rem; opacity: .7; }
.legal-cita { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-style: italic; color: var(--blue-dk); line-height: 1.5; }
.legal-cita-attr { font-size: .78rem; color: var(--muted); margin-top: .8rem; }

/* ── BLOG ── */
#blog { padding: 7rem 0; background: var(--white); }
.blog-coming {
  background: linear-gradient(135deg, var(--blush), #dce2f0);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.blog-coming-icon { font-size: 3.5rem; margin-bottom: 1.2rem; }
.blog-coming h3 { font-size: 2rem; margin-bottom: .8rem; }
.blog-coming p { font-size: .95rem; margin-bottom: 2rem; max-width: 440px; margin-left: auto; margin-right: auto; }
.blog-topics { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.blog-topic-tag { background: rgba(255,255,255,.7); border: 1px solid rgba(92,111,166,.2); border-radius: 50px; padding: .35rem .9rem; font-size: .78rem; color: var(--blue-dk); }
.email-input-row { display: flex; gap: .5rem; max-width: 400px; margin: 0 auto; }
.email-input-row input { flex: 1; padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: 50px; font-family: 'DM Sans', sans-serif; font-size: .9rem; background: rgba(255,255,255,.9); outline: none; }
.email-input-row input:focus { border-color: var(--blue); }

/* ── CONTACTO ── */
#contacto { padding: 7rem 0; background: var(--cream); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contacto-info h2 { margin-bottom: 1rem; }
.contacto-info h2 em { color: var(--coral); font-style: italic; }
.contacto-info p { margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: #fff; border-radius: 16px; border: 1px solid var(--border); text-decoration: none; transition: all .25s; }
.contact-item:hover { border-color: var(--coral); transform: translateX(4px); }
.contact-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-wa { background: #e8f7ee; }
.ci-em { background: #eef0fb; }
.ci-loc { background: #fef0ec; }
.contact-text strong { display: block; font-size: .9rem; font-weight: 500; color: var(--text); }
.contact-text span { font-size: .8rem; color: var(--muted); }
.form-card { background: #fff; border-radius: 24px; padding: 2.5rem; border: 1px solid var(--border); box-shadow: 0 8px 40px rgba(0,0,0,.04); }
.form-card h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 500; color: var(--text); margin-bottom: .4rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: .9rem; background: var(--cream); color: var(--text); transition: border-color .2s; outline: none; resize: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; padding: .9rem; font-size: .95rem; }

/* ── FOOTER ── */
footer { background: var(--text); color: rgba(255,255,255,.6); padding: 3.5rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: #fff; margin-bottom: .4rem; }
.footer-brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-desc { font-size: .85rem; margin-top: .8rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 500; margin-bottom: 1rem; letter-spacing: .06em; text-transform: uppercase; font-family: 'DM Sans', sans-serif; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--coral-lt); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; }
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; padding-top: 6rem; text-align: center; }
  .hero-blob { width: 300px; height: 300px; }
  .hero-visual { order: -1; }
  .hero-eyebrow { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .sobre-grid, .legal-grid, .contacto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .esp-grid { grid-template-columns: 1fr; }
  .precios-grid { grid-template-columns: 1fr; max-width: 400px; }
  .tabu-inner { grid-template-columns: 1fr; gap: 2rem; }
  .quotes-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-badge, .hero-badge-bottom { display: none; }
  .email-input-row { flex-direction: column; }
}
@media (max-width: 600px) {
  .servicios-grid { grid-template-columns: 1fr; }
}