/* =============================================
   Dra. Vanesa Figueroa — Estilos principales
   dravanesafigueroa.site
   ============================================= */

/* ---- Variables ---- */
:root {
  --bg: #FAFAF8;
  --cream: #F3EFE8;
  --dark: #1E2D3A;
  --dark-mid: #2B3A4A;
  --gold: #C4975A;
  --gold-light: #D4A96A;
  --text: #3A3A3A;
  --text-light: #6B7280;
  --border: #E5DDD2;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1140px;
  --section-pad: 100px;
  --radius: 12px;
  --radius-sm: 8px;

  --nav-h: 72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ---- Utilidades ---- */
.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}
.section { padding-block: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark); }

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--gold-light); }

.section-header { text-align: center; max-width: 700px; margin-inline: auto; margin-bottom: 64px; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}
.section-title--light { color: #fff; }
.section-sub { margin-top: 16px; color: var(--text-light); font-size: 1.05rem; }

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 18px rgba(196,151,90,0.35);
}
.btn--gold:hover { background: var(--gold-light); box-shadow: 0 6px 24px rgba(196,151,90,0.45); transform: translateY(-1px); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-mid); transform: translateY(-1px); }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--sm { padding: 9px 20px; font-size: 0.82rem; }
.btn--full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* =============================================
   NAVEGACIÓN
   ============================================= */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-wrapper.scrolled {
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}
.nav-wrapper:not(.scrolled) .nav__logo-text { color: #fff; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition), background var(--transition);
}
.nav-wrapper:not(.scrolled) .nav__link { color: rgba(255,255,255,0.9); }
.nav__link:hover { color: var(--gold); background: rgba(196,151,90,0.08); }
.nav-wrapper:not(.scrolled) .nav__link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-wrapper:not(.scrolled) .nav__toggle span { background: #fff; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,25,35,0.15) 0%,
    rgba(15,25,35,0.35) 40%,
    rgba(15,25,35,0.75) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__headline em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
  transition: color var(--transition);
}
.hero__scroll:hover { color: rgba(255,255,255,0.9); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 768px) { .break-desktop { display: none; } }

/* =============================================
   BANDA ESLOGAN
   ============================================= */
.band {
  background: var(--dark);
  padding-block: 28px;
  text-align: center;
}
.band__text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gold-light);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* =============================================
   ENFOQUE
   ============================================= */
.enfoque__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}
.enfoque__card {
  padding: 36px 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.enfoque__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.enfoque__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(196,151,90,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}
.enfoque__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.enfoque__desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}
.enfoque__quote {
  max-width: 800px;
  margin-inline: auto;
  padding: 40px 48px;
  border-left: 3px solid var(--gold);
  background: rgba(196,151,90,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.enfoque__quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
}
.enfoque__quote footer {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* =============================================
   SERVICIOS
   ============================================= */
.servicios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.servicio-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.servicio-card__num {
  padding: 20px 28px 0;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(196,151,90,0.15);
  line-height: 1;
}
.servicio-card__body {
  padding: 12px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.servicio-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.servicio-card__desc {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}
.servicio-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.servicio-card__price {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
}
.servicios__cta {
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.servicios__cta p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* =============================================
   SOBRE MÍ
   ============================================= */
.sobre-mi__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre-mi__img-wrap {
  position: relative;
}
.sobre-mi__img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/5;
}
.sobre-mi__deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.4;
}
.sobre-mi__subtitle {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-top: 8px;
  margin-bottom: 28px;
  font-style: italic;
}
.sobre-mi__bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.sobre-mi__bio p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}
.sobre-mi__bio strong {
  color: var(--dark);
  font-weight: 600;
}

/* =============================================
   ÁGORA
   ============================================= */
.agora__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.agora__desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 20px;
}
.agora__desc--em {
  color: rgba(255,255,255,0.9);
  font-style: italic;
}
.agora__method-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.agora__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.agora__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.98rem;
}
.agora__list li span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  min-width: 24px;
}

/* =============================================
   CONTACTO
   ============================================= */
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacto__form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

/* Formulario */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,151,90,0.12);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}
.form-check input { margin-top: 2px; flex-shrink: 0; accent-color: var(--gold); }
.form-check a { color: var(--gold); text-decoration: underline; }
.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(72,199,142,0.1);
  border: 1px solid rgba(72,199,142,0.3);
  border-radius: var(--radius-sm);
  color: #1a7340;
  font-size: 0.9rem;
  text-align: center;
}
.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(220,53,69,0.08);
  border: 1px solid rgba(220,53,69,0.25);
  border-radius: var(--radius-sm);
  color: #b91c1c;
  font-size: 0.9rem;
  text-align: center;
}

/* Info contacto */
.contacto__wa {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 28px;
  transition: opacity var(--transition);
}
.contacto__wa:hover { opacity: 0.9; }
.contacto__wa-label {
  display: block;
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 500;
}
.contacto__wa-num {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}
.contacto__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.contacto__detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-light);
}
.contacto__detail svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contacto__detail strong { display: block; font-size: 0.82rem; color: var(--dark); margin-bottom: 2px; }
.contacto__detail a { font-size: 0.92rem; line-height: 1.5; }
.contacto__detail a:hover { color: var(--gold); }
.contacto__map-link { display: block; }
.contacto__map-placeholder {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contacto__map-link:hover .contacto__map-placeholder {
  border-color: var(--gold);
  box-shadow: 0 2px 16px rgba(196,151,90,0.12);
}
.contacto__map-placeholder svg:first-child { color: var(--gold); flex-shrink: 0; }
.contacto__map-placeholder div { flex: 1; }
.contacto__map-placeholder span { display: block; font-weight: 600; font-size: 0.9rem; }
.contacto__map-placeholder small { display: block; color: var(--text-light); font-size: 0.78rem; margin-top: 2px; }
.map-arrow { color: var(--text-light); flex-shrink: 0; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: 64px;
  padding-bottom: 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
}
.footer__tagline {
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.footer__addr {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer__contact { font-size: 0.88rem; line-height: 1.8; }
.footer__contact a:hover { color: var(--gold-light); }
.footer__nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer__nav ul, .footer__legal-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a, .footer__legal-nav a {
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer__nav a:hover, .footer__legal-nav a:hover { color: var(--gold-light); }
.footer__disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
  max-width: 700px;
  margin-bottom: 12px;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer__copy a { color: var(--gold-light); }
.footer__copy a:hover { text-decoration: underline; }

/* =============================================
   FAB WhatsApp
   ============================================= */
.fab-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fab-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Hero items start visible after load */
.hero .fade-up {
  opacity: 0;
  transform: translateY(24px);
}
.hero .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .enfoque__grid { grid-template-columns: 1fr 1fr; }
  .servicios__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .sobre-mi__grid { grid-template-columns: 1fr; gap: 48px; }
  .sobre-mi__img-wrap { max-width: 440px; }
  .agora__inner { grid-template-columns: 1fr; gap: 48px; }
  .contacto__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; --nav-h: 64px; }

  /* Nav móvil */
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(250,250,248,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__link { font-size: 1.1rem; padding: 12px 24px; color: var(--dark) !important; }
  .nav-wrapper:not(.scrolled) .nav__link { color: var(--dark) !important; }
  .nav__cta { margin: 16px 0 0; }

  /* Hamburger → X */
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .enfoque__grid { grid-template-columns: 1fr; }
  .enfoque__quote { padding: 28px 24px; }
  .sobre-mi__deco { display: none; }
  .contacto__form-wrap { padding: 28px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 2.4rem; }
  .servicio-card__footer { flex-direction: column; align-items: flex-start; }
  .btn--full { font-size: 0.9rem; }
}

/* ---- Accesibilidad ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .fade-up { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
