/* ===================================================
   Mónica Jiménez · Psicóloga online
   Paleta híbrida: base serena (crema/arena) + acento verde teal
   =================================================== */

:root {
  --cream:      #FAF7F2;   /* fondo página */
  --cream-2:    #F2ECE2;   /* fondo secciones alternas */
  --sand:       #E8E0D5;   /* placeholders / detalles */
  --ink:        #2E2E2B;   /* texto principal */
  --muted:      #5F5E58;   /* texto secundario */

  --teal:       #2F5D62;   /* acento principal (botones, enlaces) */
  --teal-dark:  #27514F;   /* hover / fondos oscuros */
  --teal-soft:  #D5E7E3;   /* fondos suaves */
  --sage:       #7C9885;   /* acento secundario */
  --gold:       #D2A24C;   /* estrellas / detalle cálido */

  --line:       #E4DCD0;   /* bordes sutiles */

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1080px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--ink); margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--teal); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-accent { background: var(--teal); color: #fff; }
.btn-accent:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--teal); border-color: #B9CFC9; }
.btn-ghost:hover { background: var(--teal-soft); }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { transform: translateY(-1px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--teal-dark); }
.brand span { color: var(--sage); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--teal-dark); }
.nav .nav-cta { color: #fff; }
.nav .nav-cta:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 0 0 14px; }
.eyebrow.center { text-align: center; }
.hero-text h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 32em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-trust { font-size: 14px; color: var(--muted); margin: 0; }
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; margin-right: 6px; }
.hero-trust strong { color: var(--ink); }

.photo-placeholder {
  width: 100%; aspect-ratio: 4/5; background: var(--sand);
  border-radius: 20px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: #B0A795;
}
.photo-placeholder i { font-size: 56px; }
.photo-placeholder span { font-size: 13px; }
.photo-placeholder.small { aspect-ratio: 1/1; border-radius: 16px; }

/* Vídeo del hero */
.hero-media { max-width: 320px; margin: 0 auto; }
.video-wrap {
  position: relative; width: 100%; aspect-ratio: 2/3;
  border-radius: 20px; overflow: hidden; background: #1a1a1a;
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 66px; height: 66px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, .9); color: var(--teal-dark);
  font-size: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .18s ease, background .18s ease;
}
.video-play:hover { background: #fff; transform: scale(1.07); }
.video-wrap.playing .video-play { display: none; }

/* Foto de "Sobre mí" */
.about-photo { width: 100%; height: auto; border-radius: 16px; display: block; }

/* ---------- Barra de confianza ---------- */
.trust-bar { background: var(--teal); padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card { text-align: center; color: #fff; }
.trust-num { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 0; }
.trust-label { font-size: 13.5px; color: #C9E0DC; margin: 4px 0 0; }

/* ---------- Secciones ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--cream-2); }
.section-title { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 8px; }
.section-title.center { margin-bottom: 40px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(47,93,98,.08); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal-soft); color: var(--teal-dark);
  font-size: 26px; margin-bottom: 18px;
}
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- Sobre mí ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.about-text .section-title { margin-bottom: 16px; }
.about-text p { color: var(--muted); }
.about-text .btn { margin-top: 12px; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 66px; height: 66px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  transition: transform .18s ease;
  animation: wa-beat 2.8s ease-in-out infinite;
}
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; z-index: -1;
  animation: wa-ring 2s ease-out infinite;
}
.wa-float:hover { transform: scale(1.1); color: #fff; animation-play-state: paused; }

@keyframes wa-ring {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes wa-beat {
  0%, 84%, 100% { transform: scale(1); }
  88% { transform: scale(1.14); }
  92% { transform: scale(1.04); }
  96% { transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float::before { animation: none; }
}

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 70;
  max-width: 420px; background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .14); padding: 18px 20px;
}
.cookie-banner p { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 600px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 88px; max-width: none; }
}

/* ---------- Cabecera de página interna ---------- */
.page-hero { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 56px 0 48px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 12px; }
.page-hero > .container > p { color: var(--muted); font-size: 18px; max-width: 36em; margin: 0 auto; }

/* ---------- Sobre mí (página completa) ---------- */
.bio-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.bio-photo { width: 100%; height: auto; border-radius: 18px; display: block; position: sticky; top: 96px; }
.bio-text h2 { font-size: 25px; margin: 30px 0 12px; }
.bio-text h2:first-child { margin-top: 0; }
.bio-text p { color: var(--muted); }
.cred-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 13px; }
.cred-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.cred-list i { color: var(--teal); font-size: 20px; margin-top: 2px; flex: 0 0 auto; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { background: var(--teal-soft); color: var(--teal-dark); font-size: 13px; padding: 6px 14px; border-radius: 999px; }

/* ---------- Servicios (página) ---------- */
.service-list { display: grid; gap: 18px; }
.service-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start;
}
.service-item .card-icon { margin: 0; }
.service-item h3 { font-size: 20px; margin-bottom: 6px; }
.service-item p { color: var(--muted); margin: 0; font-size: 16px; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.step { text-align: center; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff;
  font-family: var(--serif); font-size: 20px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Plataformas de conexión */
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.platform {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--ink);
}
.platform i { color: var(--teal); font-size: 20px; }

/* Precios */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; margin-top: 8px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.price-card.featured { border: 2px solid var(--teal); }
.price-badge { display: inline-block; background: var(--teal); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.price-card h3 { font-size: 19px; margin-bottom: 4px; }
.price-amount { font-family: var(--serif); font-size: 40px; color: var(--teal-dark); margin: 6px 0 10px; }
.price-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Página legal ---------- */
.legal h2 { font-size: 24px; margin: 38px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal p { color: var(--muted); }
.legal ul { color: var(--muted); padding-left: 20px; margin: 0 0 1rem; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }

/* ---------- Contacto / formulario ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-form-col .section-title { margin-bottom: 24px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 93, 98, .12);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.form-consent input { margin-top: 3px; flex: 0 0 auto; }
.contact-aside { background: var(--cream-2); border-radius: var(--radius); padding: 32px 30px; }
.contact-aside h3 { font-size: 20px; margin-bottom: 14px; }
.contact-aside ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 14px; }
.contact-aside li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.contact-aside i { color: var(--teal); font-size: 20px; flex: 0 0 auto; margin-top: 1px; }

/* ---------- Opiniones / carrusel ---------- */
.carousel { display: flex; align-items: center; gap: 14px; max-width: 780px; margin: 44px auto 0; }
.carousel-viewport { overflow: hidden; flex: 1; }
.carousel-track { display: flex; transition: transform .45s ease; }
.testi-slide {
  flex: 0 0 100%; box-sizing: border-box; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 44px; text-align: center;
}
.testi-quote { font-size: 34px; color: #B9CFC9; display: block; margin-bottom: 6px; }
.testi-slide blockquote {
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5;
  color: var(--ink); margin: 0 0 22px;
}
.testi-slide figcaption { display: flex; flex-direction: column; gap: 2px; }
.testi-name { font-weight: 600; color: var(--teal-dark); font-size: 16px; }
.testi-tag { font-size: 13px; color: var(--muted); }

.carousel-arrow {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--teal-dark);
  cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center;
  transition: all .18s ease;
}
.carousel-arrow:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none;
  background: var(--sand); cursor: pointer; padding: 0; transition: background .18s ease;
}
.carousel-dots button.active { background: var(--teal); }

/* ---------- CTA final ---------- */
.cta { background: var(--teal-dark); padding: 72px 0; text-align: center; }
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta p { color: #C9E0DC; font-size: 18px; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { font-size: 18px; color: var(--teal-dark); margin-bottom: 8px; }
.footer-head { font-weight: 600; font-size: 14px; color: var(--ink); margin: 0 0 12px; }
.footer-muted { color: var(--muted); font-size: 15px; }
.site-footer a { display: block; color: var(--muted); font-size: 15px; padding: 3px 0; }
.site-footer a:hover { color: var(--teal-dark); }
.footer-social { display: flex; gap: 16px; margin-top: 10px; }
.footer-social a { display: inline; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; padding-bottom: 24px; }
.footer-bottom p { font-size: 13.5px; color: var(--muted); margin: 0; }
.footer-bottom a { display: inline; }

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
  }
  .nav.open a { padding: 10px 0; width: 100%; }
  .nav.open .nav-cta { width: auto; margin-top: 6px; }
  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: -1; max-width: 320px; margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-media { max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .carousel { gap: 6px; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 18px; }
  .testi-slide { padding: 30px 22px; }
  .testi-slide blockquote { font-size: 18px; }

  .bio-grid { grid-template-columns: 1fr; gap: 28px; }
  .bio-photo { position: static; max-width: 300px; margin: 0 auto; }
  .service-item { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .price-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  .wa-float { bottom: 18px; right: 18px; width: 60px; height: 60px; font-size: 32px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 56px 0; }
}
