/* Tema MOVA Personas — paleta y tipografía de la guía de identidad (carpeta GI).
   Se carga después de styles.css: redefine los tokens compartidos y suma los
   componentes propios de la página. */
:root{
  --navy-deep:#2B3832;
  --navy:#3E4943;
  --navy-soft:#6B7A6C;
  --green:#A8B5A6;
  --green-dark:#5E6F5C;
  --paper:#F5F2EC;
  --white:#F5F2EC;
  --ink:#3E4943;
  --ink-soft:#5E6A61;
  --line:#DDE2D9;
  --gray:#C7D1C2;
  --gray-dark:#6B7A6C;
  --mist:#E8ECE6;
  --terracotta:#C87958;
  --terracotta-dark:#A65F43;
  --serif:'Playfair Display', Georgia, serif;
}
body.personas{ background:var(--paper); }
.personas h1, .personas h2, .personas h3{ font-family:var(--serif); font-weight:500; letter-spacing:-0.015em; }
.personas .section-head h2{ font-weight:500; }
.personas .btn-primary{ background:var(--terracotta-dark); }
.personas .btn-primary:hover{ background:#8C4E36; }
.personas footer{ background:#222C26; }

/* ---------- Logo ---------- */
.brand img.brand-personas{ height:28px; width:auto; }
@media (max-width:420px){ .brand img.brand-personas{ height:22px; } }

/* ---------- Hero ---------- */
.p-hero{
  background:linear-gradient(100deg, var(--paper) 0%, #F0EEE6 55%, var(--mist) 100%);
  padding:72px 0 64px; overflow:hidden;
}
.p-hero-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:center; }
.p-hero .overline{ color:var(--green-dark); margin-bottom:16px; }
.p-rule{ display:block; width:44px; height:2px; background:var(--terracotta); margin-bottom:22px; }
.p-hero h1{ font-size:clamp(36px,5vw,58px); line-height:1.1; color:var(--navy-deep); margin-bottom:20px; }
.p-hero .lead{ font-family:var(--serif); font-size:19px; line-height:1.55; color:var(--ink); max-width:480px; margin-bottom:30px; }
.p-hero-figure{ margin:0; }
.p-hero-image{ height:360px; overflow:hidden; border-radius:48% 48% 20px 20px; box-shadow:var(--shadow-md); }
.p-hero-image img{ width:100%; height:100%; object-fit:cover; object-position:center 30%; }
.p-hero-figure figcaption{ margin-top:16px; text-align:center; font-family:var(--serif); font-style:italic; font-size:15px; color:var(--ink-soft); }

/* ---------- Ejes ---------- */
.p-pillars{ background:#FAF9F5; padding:30px 0; border-bottom:1px solid var(--line); }
.p-pillars-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.p-pillar{ display:flex; align-items:center; gap:16px; }
.p-pillar-icon{ flex:none; width:54px; height:54px; border-radius:50%; background:#DDE4D9; color:var(--navy); display:flex; align-items:center; justify-content:center; }
.p-pillar-icon svg{ width:26px; height:26px; }
.p-pillar h2{ font-family:'Inter',sans-serif; font-weight:700; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--navy); margin-bottom:3px; }
.p-pillar p{ font-family:var(--serif); font-size:15px; color:var(--ink-soft); line-height:1.4; }

/* ---------- Talleres ---------- */
.p-workshops{ background:var(--mist); }
.p-section-top{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:40px; }
.p-section-top .section-head{ margin-bottom:0; }
.p-section-intro{ max-width:380px; }
.p-section-intro p{ font-family:var(--serif); font-size:16px; color:var(--ink-soft); margin-bottom:12px; }
.p-text-link{ font-weight:600; font-size:14px; color:var(--terracotta-dark); text-decoration:none; border-bottom:1.5px solid var(--green); padding-bottom:3px; transition:border-color .2s ease; }
.p-text-link:hover{ border-color:var(--terracotta-dark); }
.p-cards{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; }
.p-card{ background:#FAF9F5; border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; box-shadow:var(--shadow-sm); transition:box-shadow .25s ease, transform .25s ease; }
.p-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.p-card img{ width:100%; height:140px; object-fit:cover; }
.p-card-body{ padding:20px 20px 22px; display:flex; flex-direction:column; flex:1; }
.p-card h3{ font-size:21px; line-height:1.2; color:var(--navy-deep); margin-bottom:8px; }
.p-card p{ font-size:14px; color:var(--ink-soft); flex:1; margin-bottom:14px; }
.p-card a{ align-self:flex-start; font-weight:600; font-size:13.5px; color:var(--terracotta-dark); text-underline-offset:4px; }
.p-note{ margin-top:20px; font-size:12.5px; color:var(--ink-soft); }

/* ---------- Sesiones individuales ---------- */
.p-sessions{ padding:0; background:var(--paper); }
.p-sessions-grid{ display:grid; grid-template-columns:1fr 1fr; align-items:stretch; }
.p-sessions-grid img{ width:100%; height:100%; min-height:320px; object-fit:cover; }
.p-sessions-copy{ padding:64px clamp(28px,5vw,76px); align-self:center; }
.p-sessions-copy .overline{ color:var(--green-dark); margin-bottom:14px; }
.p-sessions-copy h2{ font-size:clamp(28px,3vw,40px); color:var(--navy-deep); margin-bottom:16px; }
.p-sessions-copy p:not(.overline){ color:var(--ink-soft); max-width:520px; margin-bottom:18px; }
.p-chip{ display:inline-block; padding:7px 14px; border:1px solid var(--green-dark); border-radius:999px; font-size:12.5px; font-weight:600; color:var(--green-dark); }

/* ---------- Sobre mí ---------- */
.p-story .wrap{ max-width:none; padding-left:clamp(24px,6vw,120px); padding-right:clamp(24px,6vw,120px); }
.p-story-grid{ display:grid; grid-template-columns:1fr; gap:36px; }
.p-story .overline{ color:var(--green-dark); margin-bottom:14px; }
.p-story h2{ font-size:clamp(26px,2.6vw,36px); line-height:1.15; color:var(--navy-deep); margin-bottom:22px; }
.p-story-body{ display:grid; grid-template-columns:1fr 1fr; gap:0 clamp(40px,6vw,96px); align-items:start; }
.p-story-body p{ font-family:var(--serif); font-size:clamp(16px,1.15vw,18px); line-height:1.75; color:var(--ink); margin-bottom:16px; }
.p-story-body .p-opening{ font-size:clamp(19px,1.6vw,22px); line-height:1.6; color:var(--navy-deep); margin-bottom:22px; }
.p-story-body .p-beat{ font-size:clamp(17px,1.3vw,19px); font-style:italic; color:var(--navy-deep); margin:0 0 16px; }
.p-story-body .p-sign{ margin:28px 0 0; text-align:right; font-style:italic; color:var(--ink-soft); }
.p-quote{ margin:24px 0; padding:20px 26px; background:var(--mist); border-left:3px solid var(--terracotta); border-radius:0 var(--radius) var(--radius) 0; }
.p-story-body .p-quote p{ font-style:italic; font-size:clamp(18px,1.5vw,21px); line-height:1.45; color:var(--navy-deep); margin:0; }

/* ---------- Contacto ---------- */
.p-contact{ background:linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%); color:var(--pure); }
.p-contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:start; }
.p-contact .overline{ color:var(--green); margin-bottom:14px; }
.p-contact h2{ font-size:clamp(28px,3.4vw,40px); margin-bottom:18px; }
.p-contact p{ font-size:15.5px; color:#D9E0D5; max-width:520px; }

@media (max-width:900px){
  .p-story-grid{ gap:24px; }
  .p-story-body{ grid-template-columns:1fr; }
  .p-hero-grid{ grid-template-columns:1fr; gap:36px; }
  .p-hero-image{ height:300px; }
  .p-pillars-grid{ grid-template-columns:1fr; gap:18px; }
  .p-section-top{ flex-direction:column; align-items:flex-start; gap:20px; }
  .p-cards{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .p-sessions-grid{ grid-template-columns:1fr; }
  .p-sessions-grid img{ min-height:0; height:240px; }
  .p-contact-grid{ grid-template-columns:1fr; gap:28px; }
}
@media (max-width:620px){
  .p-hero{ padding:48px 0 44px; }
  .p-hero-image{ height:240px; border-radius:45% 45% 14px 14px; }
  .p-cards{ grid-template-columns:1fr; }
  .p-card img{ height:150px; }
  .p-sessions-copy{ padding:40px 20px; }
}

/* ---------- Taller: movimiento personal ---------- */
.p-card .p-move{ font-family:var(--serif); font-style:italic; font-size:15.5px; color:var(--green-dark); }

/* ---------- Experiencia destacada: Mapa de los Sueños ---------- */
.p-event{ background:#FAF9F5; }
.p-event-grid{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(36px,6vw,88px); align-items:start; }
.p-event .overline{ color:var(--terracotta-dark); margin-bottom:14px; }
.p-event h2{ font-size:clamp(34px,4.4vw,54px); line-height:1.08; color:var(--navy-deep); margin-bottom:14px; }
.p-event-sub{ font-family:var(--serif); font-style:italic; font-size:clamp(19px,2vw,24px); line-height:1.4; color:var(--green-dark); margin-bottom:20px; }
.p-event-copy > p{ font-size:16.5px; color:var(--ink-soft); max-width:600px; }
.p-event-copy h3{ font-size:20px; color:var(--navy-deep); margin:30px 0 12px; }
.p-event-list{ list-style:none; max-width:600px; }
.p-event-list li{ position:relative; padding:0 0 10px 22px; font-size:15.5px; color:var(--ink-soft); line-height:1.6; }
.p-event-list li::before{ content:''; position:absolute; left:0; top:.62em; width:10px; height:2px; background:var(--terracotta); }
.p-event-list strong{ color:var(--navy-deep); }
.p-event-card{ position:sticky; top:96px; background:var(--mist); border-radius:var(--radius); padding:28px clamp(22px,3vw,32px); }
.p-event-facts{ list-style:none; display:flex; flex-direction:column; gap:16px; margin:0 0 26px; }
.p-event-facts li{ display:flex; align-items:center; gap:12px; font-size:16px; color:var(--navy-deep); }
.p-event-facts svg{ flex:none; color:var(--green-dark); }
.p-event-facts strong{ font-family:var(--serif); font-size:26px; font-weight:600; }
.p-event-actions{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.p-link-btn{ background:none; border-top:0; border-left:0; border-right:0; cursor:pointer; font-family:inherit; }
.visually-hidden{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
@media (max-width:900px){
  .p-event-grid{ grid-template-columns:1fr; }
  .p-event-card{ position:static; }
}

/* ---------- Pop-up del encuentro ---------- */
.p-modal{ border:none; padding:0; background:transparent; max-width:none; max-height:none; overflow:visible; margin:auto; }
.p-modal::backdrop{ background:rgba(34,44,38,.62); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); }
.p-modal-box{ position:relative; width:fit-content; background:#FAF9F5; border-radius:18px; overflow:hidden; box-shadow:0 30px 70px rgba(15,23,32,.35); }
.p-modal-box img{ display:block; width:auto; height:auto; max-width:min(440px, calc(100vw - 32px)); max-height:calc(100vh - 170px); max-height:calc(100dvh - 170px); }
.p-modal-actions{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px 22px; padding:14px 18px 16px; }
.p-modal-actions .btn-primary{ padding:12px 24px; font-size:14.5px; }
.p-modal-close{ position:absolute; top:10px; right:10px; z-index:2; width:38px; height:38px; border-radius:50%; border:none; background:rgba(255,255,255,.92); color:var(--navy-deep); font-size:26px; line-height:1; cursor:pointer; box-shadow:var(--shadow-sm); }
.p-modal-close:hover{ background:#fff; }
.p-modal[open] .p-modal-box{ animation:pModalIn .45s cubic-bezier(.16,1,.3,1) both; }
.p-modal[open]::backdrop{ animation:pFade .35s ease both; }
@keyframes pModalIn{ from{ opacity:0; transform:translateY(18px) scale(.97); } to{ opacity:1; transform:none; } }
@keyframes pFade{ from{ opacity:0; } to{ opacity:1; } }
html:has(dialog[open]){ overflow:hidden; }
