/* ==========================================================================
   alma · terapia alternativa — Landing
   Paleta y tipografías tomadas de la app (tema cálido) para coherencia total.
   ========================================================================== */

:root {
  --bg:          #F5EFE4;
  --bg-soft:     #EFE6D3;
  --surface:     #FBF7EE;
  --surface-2:   #FFFFFF;
  --ink:         #2E3A24;
  --ink-2:       #5A5340;
  --ink-soft:    #8A8270;
  --line:        #E4DAC4;
  --line-soft:   #ECE3CF;
  --brand:       #7C8A5A;   /* verde salvia */
  --brand-dark:  #4E5A36;
  --brand-soft:  #DDE3C7;
  --gold:        #C9A84A;   /* dorado */
  --gold-soft:   #E8D89A;
  --terracotta:  #C4A78D;   /* mano del logo */
  --plum:        #6B5060;   /* puntos de la espina */

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --shadow-sm: 0 1px 2px rgba(70,55,30,.06);
  --shadow:    0 10px 34px rgba(70,55,30,.12);
  --shadow-lg: 0 24px 60px rgba(70,55,30,.18);
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand-dark); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
.btn-wa { background: #25806b; color: #fff; }
.btn-wa:hover { background: #1f6d5b; transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(245,239,228,.82);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-txt { font-family: var(--font-serif); font-size: 26px; color: var(--brand-dark); line-height: 1; letter-spacing: .01em; }
.brand-txt small { display: block; font-family: var(--font-sans); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.link { font-size: 14.5px; font-weight: 500; color: var(--ink-2); position: relative; transition: color .2s; }
.nav-links a.link::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px; background: var(--gold); transition: width .28s var(--ease); }
.nav-links a.link:hover { color: var(--ink); }
.nav-links a.link:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 118px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero::before { /* halo dorado suave */
  content: ""; position: absolute; top: -18%; right: -8%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(201,168,74,.16), transparent 62%);
  pointer-events: none;
}
.hero::after { /* mancha verde */
  content: ""; position: absolute; bottom: -22%; left: -12%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(124,138,90,.16), transparent 64%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); letter-spacing: -.01em; margin: 22px 0 0; }
.hero h1 .accent { color: var(--brand); font-style: italic; }
.hero-lead { font-size: clamp(17px, 2vw, 20px); max-width: 30ch; margin: 22px 0 34px; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .m { }
.hero-meta .m b { font-family: var(--font-serif); font-size: 30px; color: var(--brand-dark); display: block; line-height: 1; }
.hero-meta .m span { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

.hero-visual { position: relative; }
.slideshow { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--bg-soft); }
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.slideshow .slide.active { opacity: 1; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 3; }
.slide-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.slide-dots button.active { background: #fff; width: 22px; border-radius: 4px; }
.hero-badge {
  position: absolute; bottom: -26px; left: -26px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 13px; max-width: 240px;
}
.hero-badge img { width: 46px; height: 46px; border-radius: 50%; }
.hero-badge div { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.hero-badge b { display: block; font-family: var(--font-serif); font-size: 17px; color: var(--ink); }

/* ---------- Franja de valores ---------- */
.values { background: var(--brand-dark); color: #EDEAD9; }
.values .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 34px; padding-bottom: 34px; }
.values .v { display: flex; gap: 14px; align-items: flex-start; }
.values .v svg { width: 26px; height: 26px; stroke: var(--gold-soft); flex: none; margin-top: 2px; }
.values .v b { font-family: var(--font-serif); font-size: 20px; color: #fff; display: block; }
.values .v p { font-size: 14px; color: #C9CDB6; margin-top: 2px; }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); margin: 16px 0 0; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.section-alt { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* ---------- Servicios ---------- */
.serv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.serv-col {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 24px;
  padding: 38px 36px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.serv-col::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--gold)); }
.serv-col h3 { font-size: 30px; display: flex; align-items: center; gap: 12px; }
.serv-col h3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.serv-col .sub { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 6px 0 26px; font-weight: 600; }
.serv-list { list-style: none; }
.serv-list li { padding: 16px 0; border-top: 1px solid var(--line-soft); }
.serv-list li:first-child { border-top: 0; }
.serv-list .name { font-family: var(--font-serif); font-size: 22px; color: var(--ink); }
.serv-list .desc { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.serv-note { margin-top: 30px; text-align: center; font-size: 15px; color: var(--ink-soft); }

/* ---------- Galería / El centro ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; }
.gallery figure { overflow: hidden; border-radius: 18px; box-shadow: var(--shadow-sm); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Sobre / Vanessa ---------- */
.about { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px,5vw,72px); align-items: center; }
.about-figure { position: relative; z-index: 0; }
.about-figure::before { content: ""; position: absolute; inset: 18px -16px -16px 18px; border: 1px solid var(--gold); border-radius: 24px; z-index: -1; }
.about-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about h2 { font-size: clamp(34px,4.6vw,54px); margin: 14px 0 20px; }
.about p { margin-bottom: 16px; }
.about-quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(21px,2.4vw,27px); color: var(--brand-dark); line-height: 1.32; border-left: 3px solid var(--gold); padding-left: 22px; margin: 24px 0 !important; }
.about-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 4px; }
.about-tags span { font-size: 13px; background: var(--brand-soft); color: var(--brand-dark); padding: 8px 15px; border-radius: 999px; font-weight: 600; }
.about .sign { font-family: var(--font-serif); font-size: 28px; color: var(--brand-dark); margin-top: 18px; }
.about .sign small { display: block; font-family: var(--font-sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Contacto / Cómo llegar ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.contact-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 28px; margin-bottom: 22px; }
.info-row { display: flex; gap: 15px; padding: 14px 0; border-top: 1px solid var(--line-soft); align-items: flex-start; }
.info-row:first-of-type { border-top: 0; }
.info-row svg { width: 22px; height: 22px; stroke: var(--brand); flex: none; margin-top: 2px; }
.info-row .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.info-row .val { font-size: 17px; color: var(--ink); }
.info-row a.val:hover { color: var(--brand-dark); text-decoration: underline; }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); min-height: 340px; background: var(--bg-soft); position: relative; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map .map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--ink-soft); padding: 20px; }
.map .map-placeholder svg { width: 40px; height: 40px; stroke: var(--brand); }

.hours { list-style: none; margin-top: 4px; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 15.5px; }
.hours li:first-child { border-top: 0; }
.hours .d { color: var(--ink-2); }
.hours .h { color: var(--ink); font-weight: 500; }
.hours .closed { color: var(--ink-soft); }

/* ---------- CTA final ---------- */
.cta-final { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; text-align: center; border-radius: 30px; padding: clamp(46px,7vw,80px) 30px; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(201,168,74,.28), transparent 45%); }
.cta-final > * { position: relative; }
.cta-final h2 { color: #fff; font-size: clamp(32px,5vw,54px); }
.cta-final p { color: #E4E7D6; max-width: 44ch; margin: 18px auto 32px; font-size: 18px; }
.cta-final .btn-primary { background: #fff; color: var(--brand-dark); }
.cta-final .btn-primary:hover { background: var(--gold-soft); }

/* ---------- Placeholder inline (datos a completar) ---------- */
.todo { background: var(--gold-soft); color: #6b5a1e; padding: 1px 7px; border-radius: 5px; font-weight: 600; font-family: var(--font-sans); font-size: .82em; }

/* ---------- Footer ---------- */
.footer { background: #262c1c; color: #B6BBA4; padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer .brand-txt { color: #EFEAD8; }
.footer p { font-size: 14.5px; color: #9AA087; margin-top: 16px; max-width: 34ch; }
.footer h4 { font-family: var(--font-sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #CDD1B9; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 11px; font-size: 14.5px; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; color: #7E8469; }

/* ---------- Animaciones reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 8px auto 0; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .values .wrap { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; background: var(--surface); padding: 24px; gap: 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .35s var(--ease); align-items: flex-start; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .serv-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .g-wide { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -30px; }
}
