/* =============================================
   Espacio AnMa — Hoja de estilos principal
   anmaconsultoriapsi.site
   ============================================= */

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

:root {
  --rose: #C4788A;
  --rose-light: #F2DDE2;
  --rose-pale: #FBF4F6;
  --rose-dark: #8C4A5A;
  --warm: #E8D5C4;
  --warm-light: #FAF5F0;
  --text: #2C1F24;
  --text-mid: #6B4F57;
  --text-soft: #A4848E;
  --white: #FFFCFA;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,252,250,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196,120,138,0.12);
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img { height: 70px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rose); }
.nav-cta {
  background: var(--rose) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 99px;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--rose-dark) !important; }

/* ---- HERO ---- */
.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 64px 64px 80px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--rose);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--rose); }
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 14px;
}
.hero-tag {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.hero-tag span {
  display: inline-block;
  background: var(--rose-light);
  color: var(--rose-dark);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  margin-right: 8px;
}
.btn-primary {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
  margin-right: 16px;
}
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  color: var(--rose);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--rose-light);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--rose); }
.hero-right {
  background: var(--rose-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-consultorio {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- SECCIONES BASE ---- */
section { padding: 100px 80px; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--rose);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--rose); }

/* ---- PARA QUIEN ---- */
.para-quien { background: var(--warm-light); }
.para-quien-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}
.para-quien-sub {
  font-size: 16px;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 400px;
  align-self: end;
  padding-bottom: 8px;
}
.para-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.para-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(196,120,138,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.para-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(196,120,138,0.1); }
.para-card-num {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 16px;
}
.para-card-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.para-card-text { font-size: 13px; color: var(--text-soft); line-height: 1.7; }

/* ---- COUNSELING ---- */
.counseling-section { padding: 100px 80px; background: var(--white); }
.counseling {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.counseling-visual {
  background: var(--rose-pale);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.counseling-visual::before {
  content: '"';
  font-family: var(--serif);
  font-size: 200px;
  color: var(--rose-light);
  position: absolute;
  top: -20px;
  left: 20px;
  line-height: 1;
}
.counseling-quote {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}
.counseling-attr {
  font-size: 13px;
  color: var(--text-soft);
  position: relative;
  z-index: 1;
}
.counseling-text { font-size: 16px; font-weight: 300; color: var(--text-mid); line-height: 1.9; margin-bottom: 20px; }
.counseling-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill {
  background: var(--rose-light);
  color: var(--rose-dark);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 400;
}

/* ---- SERVICIOS ---- */
.servicios { background: var(--rose-pale); }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.servicio-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(196,120,138,0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.servicio-card:hover { transform: translateY(-3px); }
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--rose);
  opacity: 0.4;
}
.servicio-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.servicio-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
}
.servicio-text { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.servicio-list { list-style: none; }
.servicio-list li {
  font-size: 13px;
  color: var(--text-soft);
  padding: 6px 0;
  border-bottom: 1px solid rgba(196,120,138,0.08);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.servicio-list li::before { content: '—'; color: var(--rose); flex-shrink: 0; }
.servicio-list li strong { color: var(--text-mid); font-weight: 500; }

/* ---- PRIMERA SESION ---- */
.primera-sesion {
  background: var(--rose);
  color: var(--white);
  text-align: center;
  padding: 80px;
}
.primera-sesion .section-title { color: var(--white); margin-bottom: 16px; }
.primera-sesion .section-title em { color: rgba(255,255,255,0.7); }
.primera-sesion p { color: rgba(255,255,255,0.85); font-size: 16px; font-weight: 300; max-width: 520px; margin: 0 auto 36px; }
.primera-eyebrow { color: rgba(255,255,255,0.6) !important; justify-content: center; }
.primera-eyebrow::before { background: rgba(255,255,255,0.4) !important; }
.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--rose);
  padding: 14px 36px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-right: 16px;
  transition: transform 0.2s;
}
.btn-white:hover { transform: translateY(-1px); }
.btn-outline-white {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-outline-white:hover { border-color: var(--white); }

/* ---- EQUIPO ---- */
.equipo { background: var(--warm-light); }
.equipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
.equipo-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  border: 1px solid rgba(196,120,138,0.1);
}
.equipo-foto {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 3px solid var(--rose-light);
}
.equipo-name { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--text); margin-bottom: 4px; }
.equipo-role { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose); margin-bottom: 12px; }
.equipo-text { font-size: 14px; color: var(--text-mid); line-height: 1.7; font-weight: 300; }
.equipo-contact { margin-top: 14px; font-size: 13px; color: var(--text-soft); }
.equipo-contact a { color: var(--rose); text-decoration: none; }
.equipo-aac {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
}
.equipo-aac a { color: var(--rose); text-decoration: none; border-bottom: 1px solid var(--rose-light); }

/* ---- FOOTER ---- */
footer {
  background: var(--text);
  color: rgba(255,252,250,0.6);
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer-logo { height: 36px; width: auto; margin-bottom: 16px; display: block; opacity: 0.85; }
.footer-tagline { font-size: 13px; line-height: 1.7; }
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,252,250,0.5);
  text-decoration: none;
  font-size: 13px;
  margin-top: 14px;
  transition: color 0.2s;
}
.footer-instagram:hover { color: var(--rose-light); }
.footer-col-title { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,252,250,0.4); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,252,250,0.6); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  background: var(--text);
  padding: 20px 80px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,252,250,0.3);
}

/* ---- ANIMACIONES ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  section { padding: 64px 24px; }
  .counseling-section { padding: 64px 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 90px 24px 40px; }
  .hero-right { min-height: 260px; }
  .para-quien-intro { grid-template-columns: 1fr; gap: 16px; }
  .para-cards { grid-template-columns: 1fr 1fr; }
  .counseling { grid-template-columns: 1fr; gap: 40px; }
  .servicios-grid { grid-template-columns: 1fr; }
  .equipo-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; padding: 48px 24px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; }
  .primera-sesion { padding: 64px 24px; }
}