/* ===========================================================
   GROWWW · Psico Angy — custom Angela Ianni
   =========================================================== */

:root {
  --crema:      #F7F2E7;
  --crema-2:    #FBF8F1;
  --tinta:      #33392A;
  --tinta-soft: #5B6350;
  --salvia:     #4F5D3A;
  --salvia-dk:  #3A4529;
  --salvia-lt:  #E4E8D9;
  --terracota:  #B8935A;
  --terracota-dk: #9C7A45;
  --arena:      #E3D9C4;
  --arena-2:    #EDE4D2;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(46,42,51,.04), 0 8px 24px rgba(46,42,51,.06);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--tinta); }

/* ---------- Site Header (fila superior) ---------- */
.site-header {
  background: var(--crema-2);
  border-bottom: 1px solid var(--arena);
  padding: 1rem 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.site-header__logo {
  height: 80px;
  width: auto;
  flex-shrink: 0;
}
.site-header__brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
}
.site-header__name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--tinta);
  line-height: 1.1;
}
.site-header__rol {
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--tinta-soft);
  margin-top: .1rem;
}
.site-header__sep {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .25rem 0 .15rem;
}
.site-header__sep-line {
  width: 48px;
  height: 1px;
  background: var(--terracota);
  opacity: .55;
}
.site-header__heart {
  color: var(--terracota);
  flex-shrink: 0;
}
.site-header__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: .93rem;
  color: var(--tinta-soft);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.site-header__social {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--salvia);
  color: var(--crema);
  transition: background .2s var(--ease);
}
.site-header__social:hover { background: var(--salvia-dk); }
.site-header__social svg { width: 20px; height: 20px; }
.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .92rem;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  background: var(--salvia);
  color: var(--crema);
  border: none;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.site-header__cta:hover { background: var(--salvia-dk); transform: translateY(-1px); }

/* ---------- Site Nav (fila de links) ---------- */
.site-nav {
  background: var(--arena-2);
  border-bottom: 1px solid var(--arena);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow .3s;
}
.site-nav.is-scrolled { box-shadow: 0 2px 14px rgba(46,42,38,.06); }
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 54px;
  position: relative;
}
.site-nav__link {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tinta-soft);
  padding: 0 1.2rem;
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.site-nav__link:hover { color: var(--tinta); }
.site-nav__link.is-active { color: var(--tinta); border-bottom-color: var(--tinta); }


/* Links wrap — desktop: fila horizontal centrada */
.site-nav__links-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  flex: 1;
  justify-content: center;
}

/* Mobile hamburger */
.site-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.site-nav__toggle span {
  width: 22px; height: 2px;
  background: var(--tinta);
  border-radius: 2px;
  transition: .3s;
  display: block;
}

/* ---------- Hero Portada ---------- */
.hero-portada {
  padding: 2rem 0 2.5rem;
}
.hero-portada__wrap {
  background: var(--arena-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 10fr 11fr;
  min-height: 300px;
}
.hero-portada__img-col {
  overflow: hidden;
}
.hero-portada__img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-portada__content {
  position: relative;
  padding: 2.6rem 3rem 2.6rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-portada__rama {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 300px;
  opacity: .9;
  pointer-events: none;
  z-index: 0;
}
.hero-portada__title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-family: var(--serif);
  font-weight: 500;
  color: var(--tinta);
  line-height: 1.15;
  position: relative;
  z-index: 1;
  margin-bottom: .6rem;
}
.hero-portada__heart {
  color: var(--terracota);
  margin: .5rem 0;
  position: relative;
  z-index: 1;
}
.hero-portada__sub {
  font-size: .98rem;
  color: var(--tinta-soft);
  max-width: 36ch;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ---------- Secciones interiores ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section__head { max-width: 620px; margin-bottom: 2.8rem; }
.section__head--center { text-align: center; margin: 0 auto 2.8rem; }
.section__title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section__sub { color: var(--tinta-soft); font-size: 1.05rem; margin-top: .9rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--salvia);
  margin-bottom: .8rem;
  display: block;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  text-decoration: none;
}
.btn--primary { background: var(--terracota); color: var(--crema); box-shadow: 0 6px 18px rgba(184,147,90,.3); }
.btn--primary:hover { background: var(--terracota-dk); transform: translateY(-2px); }
.btn--secondary {
  background: transparent;
  color: var(--tinta);
  border: 1.5px solid var(--arena);
}
.btn--secondary:hover { background: var(--arena-2); transform: translateY(-2px); }
.btn--salvia { background: var(--salvia); color: var(--crema); }
.btn--salvia:hover { background: var(--salvia-dk); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.08rem; }
.btn__icon { flex-shrink: 0; }

/* ---------- Sobre mí ---------- */
.sobre { background: var(--crema-2); }
.sobre__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sobre__p { color: var(--tinta-soft); margin-bottom: 1.2rem; font-size: 1.05rem; }
.sobre__card {
  background: var(--crema);
  border: 1px solid var(--arena);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.sobre__card-title { font-size: 1.15rem; margin-bottom: 1.1rem; }
.cred { list-style: none; }
.cred li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .85rem;
  color: var(--tinta-soft);
  font-size: .96rem;
}
.cred li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terracota);
}

/* ---------- Modalidad / Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--modalidad { grid-template-columns: repeat(2, 1fr); max-width: 800px; }

.card {
  background: var(--crema-2);
  border: 1px solid var(--arena);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--salvia-lt);
  border-radius: 12px;
  color: var(--salvia);
  margin-bottom: 1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.card p { color: var(--tinta-soft); font-size: .96rem; }

.card--modalidad { background: var(--crema-2); }
.card--modalidad .card__icon { background: var(--arena-2); color: var(--terracota-dk); }
.card__bullets {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  border-top: 1px solid var(--arena);
  padding-top: .9rem;
}
.card__bullets li {
  font-size: .88rem;
  color: var(--tinta-soft);
  padding-left: 1.1rem;
  position: relative;
}
.card__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--terracota);
}

/* ---------- Obras sociales ---------- */
.obras {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--salvia); color: var(--crema);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.obras__text h3 { color: var(--crema); font-size: 1.25rem; margin-bottom: .4rem; }
.obras__text p { opacity: .9; max-width: 46ch; font-size: .96rem; }

/* ---------- Proceso ---------- */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.paso { position: relative; padding: 2rem 1.6rem 1.6rem; }
.paso::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--terracota), transparent);
  border-radius: 3px;
}
.paso__num { font-family: var(--serif); font-size: 2rem; color: var(--salvia); opacity: .5; display: block; margin-bottom: .5rem; }
.paso h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.paso p { color: var(--tinta-soft); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--crema-2); }
.faq__lista {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq__item {
  background: var(--crema);
  border: 1px solid var(--arena);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .25s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__pregunta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .98rem;
  color: var(--tinta);
  list-style: none;
  user-select: none;
}
.faq__pregunta::-webkit-details-marker { display: none; }
.faq__pregunta:hover { background: var(--crema-2); }
.faq__icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--terracota);
  transition: transform .3s var(--ease);
  line-height: 1;
}
.faq__respuesta {
  padding: 0 1.4rem 1.2rem;
  color: var(--tinta-soft);
  font-size: .96rem;
  line-height: 1.75;
}

/* ---------- Contacto ---------- */
.contacto { background: var(--salvia-lt); }
.contacto__inner { text-align: center; max-width: 620px; margin: 0 auto; }
.contacto .section__title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.contacto .section__sub { margin: .9rem auto 2rem; }
.contacto__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.8rem;
  justify-content: center; margin-top: 1.6rem;
  color: var(--tinta-soft); font-size: .93rem;
}
.contacto__meta a:hover { color: var(--salvia); }

/* ---------- Página placeholder ---------- */
.placeholder-page {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
}
.placeholder-page__icon {
  width: 64px; height: 64px;
  background: var(--arena-2);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 1.5rem;
  color: var(--salvia);
}
.placeholder-page h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: .8rem;
}
.placeholder-page p {
  color: var(--tinta-soft);
  max-width: 40ch;
  font-size: 1.05rem;
  margin: 0 auto;
}

/* ---------- Página interior hero ---------- */
.page-hero {
  background: var(--arena-2);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  text-align: center;
  border-bottom: 1px solid var(--arena);
}
.page-hero .eyebrow { justify-content: center; display: block; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: var(--tinta-soft); max-width: 55ch; margin: .9rem auto 0; font-size: 1.05rem; }

/* ---------- Psicooncología ---------- */
.psico-content { max-width: 800px; margin: 0 auto; }
.psico-content p { color: var(--tinta-soft); margin-bottom: 1.3rem; font-size: 1.05rem; line-height: 1.8; }
.psico-content h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }

/* ---------- Servicios grid ---------- */
.servicios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

/* ---------- Footer ---------- */
.footer { background: var(--tinta); color: var(--arena); padding: 1.8rem 0; font-size: .88rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer__by a { color: var(--crema); border-bottom: 1px solid var(--salvia); }

/* ---------- FAB WhatsApp ---------- */
.fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.08); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */

/* Nav mobile */
@media (max-width: 900px) {
  .site-nav__inner { justify-content: flex-start; }
  .site-nav__links-wrap {
    position: fixed;
    inset: auto 0 auto 0;
    top: 54px;
    background: var(--arena-2);
    border-bottom: 1px solid var(--arena);
    padding: .8rem 1.5rem 1.4rem;
    flex-direction: column;
    gap: 0;
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
    box-shadow: var(--shadow);
    z-index: 49;
  }
  .site-nav__links-wrap.is-open { transform: translateY(0); }
  .site-nav__link {
    height: auto;
    padding: .9rem 0;
    border-bottom-color: transparent !important;
    border-bottom: 1px solid var(--arena) !important;
    width: 100%;
  }
  .site-nav__link.is-active { font-weight: 700; color: var(--tinta); }
.site-nav__toggle { display: flex; }
  .site-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .site-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Header mobile */
  .site-header__logo { height: 56px; width: auto; }
  .site-header__cta { display: none; }

  /* Hero */
  .hero-portada__wrap { grid-template-columns: 1fr; }
  .hero-portada__img-col { max-height: 220px; }
  .hero-portada__rama { width: 180px; right: -20px; }

  /* Sections */
  .sobre__inner { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr; }
  .obras { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .grid--modalidad, .servicios-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.2rem; }
  .site-header__tagline { display: none; }
  .site-header__sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .faq__icon { transition: none; }
}
