/* =========================================================
   Perla Trujillo · Nutrición Clínica
   Hoja de estilos — Structify
   ========================================================= */

:root {
  /* Base neutra (inspirada en el consultorio) */
  --ivory: #FBF7F3;
  --white: #FFFFFF;
  --sand: #F3EBE3;
  --blush: #F8E4DF;
  --rose: #EBC0B6;
  --line: #E8DCD3;

  /* Acentos llamativos */
  --accent: #C8456A;       /* frambuesa */
  --accent-dark: #A3304F;
  --accent-soft: #FBE3EA;
  --sage: #5F8566;         /* verde salvia (nutrición) */
  --sage-soft: #E5EEE4;
  --plum: #3B2532;         /* fondo oscuro de secciones destacadas */

  /* Texto */
  --ink: #2A2124;
  --muted: #6E5F63;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -24px rgba(59, 37, 50, .28);
  --shadow-sm: 0 8px 24px -14px rgba(59, 37, 50, .25);

  --font-script: "Allura", "Brush Script MT", cursive;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.22rem; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #F6B8C8; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 20px; height: 20px; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(200, 69, 106, .7); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: var(--accent-soft); }
.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.link { color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Encabezado ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 247, 243, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(59,37,50,.4); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.brand__script { font-family: var(--font-script); font-size: 2.15rem; color: var(--ink); line-height: .9; }
.brand__sub { font-size: .66rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-top: 2px; padding-left: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; border-radius: 2px; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, var(--blush) 0%, rgba(248,228,223,0) 68%); z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 40px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.hero__facts li { padding: 18px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.hero__facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero__facts strong { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; color: var(--ink); line-height: 1.1; }
.hero__facts span { font-size: .84rem; color: var(--muted); line-height: 1.35; }
.hero__media { position: relative; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 5px var(--sage-soft); }

/* Espacios para fotos de Perla */
.photo-slot {
  position: relative; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 55%),
    linear-gradient(160deg, var(--blush) 0%, var(--rose) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--accent-dark); box-shadow: var(--shadow);
}
.photo-slot--hero { aspect-ratio: 4 / 5; }
.photo-slot--tall { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.photo-slot__mono { font-family: var(--font-script); font-size: clamp(5rem, 11vw, 8rem); line-height: 1; opacity: .55; }
.photo-slot__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .7; }
.hero__media img, .about__media > img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* ---------- Frase ---------- */
.quote-band { background: var(--plum); color: #fff; padding: clamp(50px, 7vw, 80px) 0; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 860px; }
.quote-band p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.35; margin-bottom: 16px; }
.quote-band cite { font-style: normal; font-family: var(--font-script); font-size: 2rem; color: #F6B8C8; }

/* ---------- Secciones ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--blush { background: var(--blush); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head > p:not(.eyebrow) { color: var(--muted); }
.section__head--center { margin-inline: auto; text-align: center; }

/* Sobre mí */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__media { position: relative; padding-bottom: 60px; padding-right: 50px; }
.about__inset { position: absolute; right: 0; bottom: 0; width: 56%; border-radius: var(--radius-sm); overflow: hidden; border: 6px solid var(--ivory); box-shadow: var(--shadow); }
.about__inset img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.5' fill='none' stroke='%235F8566' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Filosofía */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { background: var(--ivory); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.pillar__num { font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 18px; }
.pillar p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Plato del Bien Comer ---------- */
.plate { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.plate__panel {
  background: #fff; border-radius: var(--radius); padding: 26px 28px; margin: 26px 0 18px; border: 1px solid var(--line);
  border-left: 6px solid var(--g, var(--sage)); box-shadow: var(--shadow-sm); min-height: 230px; transition: border-color .3s;
}
.plate__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g, var(--sage)); margin-bottom: 6px; }
.plate__panel h3 { font-size: 1.5rem; margin-bottom: 8px; }
.plate__panel p { color: var(--muted); margin-bottom: 14px; }
.plate__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.plate__chips li { background: var(--gs, var(--sage-soft)); color: var(--ink); font-size: .86rem; font-weight: 500; padding: 6px 13px; border-radius: 999px; }
.plate__note { font-size: .92rem; color: var(--muted); }
.plate__note span { display: block; font-size: .8rem; opacity: .8; margin-top: 4px; }
.plate__wheel { position: relative; }
#plateSvg { width: 100%; max-width: 480px; margin: 0 auto; display: block; overflow: visible; }
#plateSvg .seg { cursor: pointer; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .3s; transform-origin: 0 0; outline: none; }
#plateSvg .seg:hover, #plateSvg .seg:focus-visible { filter: brightness(1.06); }
#plateSvg .seg.is-active { filter: drop-shadow(0 10px 16px rgba(59,37,50,.25)); }
#plateSvg .seg-label { font-family: var(--font-body); font-weight: 700; font-size: 10.5px; fill: #fff; pointer-events: none; text-anchor: middle; letter-spacing: .02em; }
#plateSvg .rim { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
#plateSvg .hub { fill: #fff; }
#plateSvg .hub-text { font-family: var(--font-script); font-size: 26px; fill: var(--ink); text-anchor: middle; }
#plateSvg .hub-sub { font-family: var(--font-body); font-size: 7.5px; font-weight: 700; letter-spacing: .18em; fill: var(--muted); text-anchor: middle; }
#plateSvg .spin { animation: plateIn 1.2s cubic-bezier(.2,.8,.2,1) both; transform-origin: 0 0; }
@keyframes plateIn { from { transform: rotate(-90deg) scale(.85); opacity: 0; } to { transform: rotate(0) scale(1); opacity: 1; } }
.plate__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.plate__legend button {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px 8px 10px; cursor: pointer;
  font: 600 .86rem var(--font-body); color: var(--ink); display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, background .2s;
}
.plate__legend button i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.plate__legend button[aria-selected="true"] { border-color: var(--c); background: var(--cs); }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { background: #fff; border-radius: var(--radius); padding: 32px 28px; transition: transform .3s, box-shadow .3s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__ico { width: 46px; height: 46px; color: var(--accent); background: var(--accent-soft); border-radius: 14px; padding: 10px; margin-bottom: 20px; }
.service p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- GLP-1 ---------- */
.glp__card {
  background: linear-gradient(135deg, var(--plum) 0%, #5A2E44 100%); color: #fff; border-radius: 32px;
  padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden;
}
.glp__card::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(200,69,106,.55), transparent 70%); }
.glp__card > * { position: relative; z-index: 1; max-width: 640px; }
.glp__card p { color: rgba(255,255,255,.82); font-size: 1.08rem; }
.glp__card strong { color: #fff; }
.glp__list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.glp__list li { padding-left: 26px; position: relative; font-size: .97rem; }
.glp__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(200,69,106,.3); }

/* ---------- Consulta ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: var(--ivory); border-radius: var(--radius); padding: 30px 26px; }
.step__n {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 18px;
}
.step h3 small { font-family: var(--font-body); font-size: .8rem; color: var(--accent); font-weight: 600; display: block; margin-top: 4px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 480px; gap: 18px; }
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.gallery__item picture { display: block; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600;
}

/* ---------- NutrIA ---------- */
.nutria { background: var(--plum); color: #fff; position: relative; overflow: hidden; }
.nutria::before { content: ""; position: absolute; width: 900px; height: 900px; left: -400px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(200,69,106,.28), transparent 65%); }
.nutria .wrap { position: relative; }
.nutria__top { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; margin-bottom: 64px; }
.nutria h2 { color: #fff; }
.nutria__word { font-family: var(--font-display); font-style: italic; color: #F6B8C8; }
.nutria .lead { color: rgba(255,255,255,.78); }
.nutria__promise { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 18px 20px; margin: 26px 0; }
.nutria__promise .ico { width: 30px; height: 30px; flex: none; color: #9FD0A6; }
.nutria__promise p { margin: 0; color: rgba(255,255,255,.85); font-size: .98rem; }
.nutria__promise strong { color: #fff; }
.nutria__access { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nutria__access h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: #fff; }
.nutria__access p { font-size: .92rem; color: rgba(255,255,255,.7); margin: 0; }
.nutria__access em { color: #F6B8C8; font-style: normal; font-weight: 600; }

.phone { width: min(300px, 100%); margin: 0 auto; background: #120B0F; border-radius: 44px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.08); transform: rotate(3deg); }
.phone__screen { background: var(--ivory); color: var(--ink); border-radius: 34px; padding: 16px 18px 20px; min-height: 540px; }
.phone__bar { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; margin-bottom: 18px; color: var(--muted); }
.phone__hi { font-family: var(--font-display); font-size: 1.5rem; margin: 0; }
.phone__sub { font-size: .78rem; color: var(--muted); margin: 0 0 14px; }
.phone__progress { height: 8px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.phone__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), #8DB592); border-radius: 99px; }
.phone__meta { font-size: .72rem; color: var(--muted); margin: 6px 0 14px; }
.phone__meals { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.phone__meals li { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 12px; border: 1px solid var(--line); }
.phone__meals i { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line); flex: none; }
.phone__meals li.done i { background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3 3L15 6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/90% no-repeat; border-color: var(--sage); }
.phone__meals b { font-size: .84rem; display: block; line-height: 1.2; }
.phone__meals small { font-size: .7rem; color: var(--muted); }
.phone__chat { background: #fff; border-radius: 16px; padding: 12px; border: 1px solid var(--line); display: grid; gap: 8px; }
.phone__chat p { margin: 0; font-size: .74rem; line-height: 1.45; padding: 8px 11px; border-radius: 12px; }
.phone__chat .q { background: var(--accent); color: #fff; justify-self: end; border-bottom-right-radius: 4px; max-width: 85%; }
.phone__chat .a { background: var(--sand); border-bottom-left-radius: 4px; }

.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.feature { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 22px 20px; transition: background .3s, transform .3s; }
.feature:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.feature svg { width: 30px; height: 30px; color: #F6B8C8; margin-bottom: 14px; }
.feature h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.feature p { font-size: .88rem; color: rgba(255,255,255,.72); margin: 0; line-height: 1.55; }
.nutria__fine { margin: 40px 0 0; font-size: .85rem; color: rgba(255,255,255,.6); max-width: 820px; }
.nutria__fine span { display: block; margin-top: 6px; }
.nutria__fine a { color: #F6B8C8; font-weight: 600; }

/* ---------- Costos ---------- */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 22px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 38px 34px; display: flex; flex-direction: column; }
.price--featured { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.price--featured::before { content: "Empieza aquí"; position: absolute; top: -14px; left: 34px; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.price__name { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.price__amount { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; margin: 0 0 6px; }
.price__amount span { font-size: 1.6rem; vertical-align: top; margin-right: 2px; color: var(--accent); }
.price__amount small { font-family: var(--font-body); font-size: .95rem; color: var(--muted); font-weight: 600; }
.price__time { color: var(--muted); font-size: .92rem; margin-bottom: 4px; }
.price .checks { margin-bottom: 30px; flex: 1; }
.price .checks li { font-size: .96rem; }
.prices__note { text-align: center; margin-top: 30px; color: var(--muted); }
.prices__note a { color: var(--accent); font-weight: 600; }

/* ---------- Sedes ---------- */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.place { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.place__map { aspect-ratio: 16/9; background: var(--blush); }
.place__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.place__body { padding: 28px 30px 30px; }
.place__body h3 { font-size: 1.6rem; margin-bottom: 6px; }
.place__addr { color: var(--muted); margin-bottom: 10px; }
.place__hours { background: var(--sand); border-radius: 12px; padding: 10px 14px; display: inline-block; font-size: .95rem; }
.place__hours b { color: var(--accent-dark); margin-right: 6px; }
.place__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.testimonial blockquote { margin: 0 0 16px; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; }
.testimonial figcaption { font-size: .9rem; color: var(--muted); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 500;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23C8456A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/60% no-repeat;
  transition: transform .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); padding-right: 44px; margin: -6px 0 22px; }

/* ---------- CTA final ---------- */
.cta { background: var(--accent); color: #fff; padding: clamp(60px, 8vw, 96px) 0; text-align: center; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); }
.cta::before { width: 420px; height: 420px; left: -140px; top: -200px; }
.cta::after { width: 300px; height: 300px; right: -80px; bottom: -160px; }
.cta__inner { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 760px; margin: 0 auto 30px; }
.cta h2 em { color: #FFE1EA; }

/* ---------- Pie ---------- */
.footer { background: var(--sand); padding: 64px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 6px 0 12px; }
.footer__small { color: var(--muted); font-size: .92rem; line-height: 1.75; margin: 12px 0 0; }
.footer__small a { text-decoration: none; }
.footer__small a:hover { color: var(--accent); }
.brand--footer .brand__script { font-size: 2.4rem; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
.made-by { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: #fff; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.made-by:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.made-by span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.made-by img { width: 108px; height: auto; }


/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .pillars, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); padding: 10px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(59,37,50,.3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .nav a:not(.btn)::after { display: none; }

  .hero__grid, .about, .plate, .nutria__top, .faq { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; margin-inline: auto; width: 100%; }
  .about__media { max-width: 480px; margin-inline: auto; width: 100%; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .places { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .phone { transform: none; }
  .testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand__script { font-size: 1.85rem; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts li, .hero__facts li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: baseline; gap: 12px; }
  .hero__facts strong { font-size: 1.3rem; min-width: 96px; }
  .hero__actions .btn { width: 100%; }
  .about__media { padding-right: 24px; padding-bottom: 46px; }
  .pillars, .steps, .services, .features, .nutria__access, .glp__list, .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .gallery__item--wide { grid-column: 1 / -1; }
  .gallery__item--wide img { object-position: center 40%; }
  .prices { grid-template-columns: 1fr; }
  .price { padding: 34px 24px; }
  .place__body { padding: 24px 22px 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .faq__list summary { font-size: 1.05rem; }
}

/* ---------- Ajustes v2 ---------- */
.nw { white-space: nowrap; }

/* Botón "Agendar cita" del encabezado: llamativo */
.header__cta { position: relative; overflow: hidden; isolation: isolate; animation: ctaGlow 2.4s ease-in-out infinite; flex: none; }
.header__cta .ico { width: 18px; height: 18px; }
.header__cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: ctaShine 3.2s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,69,106,.55), 0 10px 24px -12px rgba(200,69,106,.7); }
  60% { box-shadow: 0 0 0 10px rgba(200,69,106,0), 0 10px 24px -12px rgba(200,69,106,.7); }
}
@keyframes ctaShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.header__inner .nav { margin-left: auto; }

/* NutrIA: explicación */
.nutria__what { color: rgba(255,255,255,.85); font-size: 1.02rem; margin-top: 4px; }
.nutria__what strong { color: #fff; }
.howto { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px; margin-bottom: 28px; }
.howto__title { color: #fff; font-size: 1.4rem; margin-bottom: 18px; }
.howto__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.howto__steps li { display: flex; gap: 14px; align-items: flex-start; }
.howto__steps span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); }
.howto__steps b { color: #fff; display: block; margin-bottom: 2px; }
.howto__steps p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.72); line-height: 1.55; }

@media (prefers-reduced-motion: reduce) { .header__cta, .header__cta::after { animation: none; } }
@media (max-width: 960px) {
  .header__inner { gap: 10px; }
  .header__cta { margin-left: auto; }
  .howto__steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header__cta { padding: 10px 14px; font-size: .86rem; }
  .glp__card h2 { font-size: 1.7rem; }
  .howto { padding: 24px 20px; }
}
@media (max-width: 380px) { .header__cta span { display: none; } }

.brand { white-space: nowrap; flex: none; }
.glp__card h2 { text-wrap: balance; }
@media (max-width: 640px) {
  .brand__script { font-size: 1.6rem; }
  .brand__sub { font-size: .56rem; letter-spacing: .22em; }
  .header__cta .ico { display: none; }
  .nav-toggle { width: 42px; height: 42px; flex: none; }
  .nav-toggle span { left: 11px; right: 11px; }
  .nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 24px; }
  .nav-toggle[aria-expanded="true"] span:first-child, .nav-toggle[aria-expanded="true"] span:last-child { top: 20px; }
}

/* ---------- Asistente IA 24/7 ---------- */
.nutria .lead .hl { color: #fff; background: linear-gradient(transparent 62%, rgba(200,69,106,.55) 62%); }
.ai {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center;
  background: linear-gradient(135deg, rgba(200,69,106,.22), rgba(255,255,255,.05)); border: 1px solid rgba(246,184,200,.35);
  border-radius: 28px; padding: clamp(28px, 5vw, 52px); margin-bottom: 28px;
}
.ai__badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 16px 6px 6px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: #fff; margin-bottom: 18px; }
.ai__badge b { background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: .95rem; animation: ctaGlow 2.4s ease-in-out infinite; }
.ai h3 { color: #fff; font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 14px; }
.ai p { color: rgba(255,255,255,.8); }
.ai strong { color: #fff; }
.ai__list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.ai__list li { position: relative; padding-left: 28px; color: rgba(255,255,255,.75); font-size: .96rem; }
.ai__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 4px; background: #F6B8C8; transform: rotate(45deg) scale(.7); }
.ai__list b { color: #fff; }
.ai__note { font-size: .92rem; margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.ai__chat { background: var(--ivory); border-radius: 24px; padding: 18px; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 10px; }
.ai__head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.ai__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #E58AA3); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.ai__head b { display: block; font-size: .95rem; }
.ai__head small { font-size: .75rem; color: var(--sage); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.ai__head small i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.msg { margin: 0; font-size: .86rem; line-height: 1.5; padding: 10px 14px; border-radius: 16px; max-width: 88%; }
.msg--me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg--ai { align-self: flex-start; background: var(--sand); border-bottom-left-radius: 4px; }
.ai__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ai__chips span { font-size: .74rem; font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 6px 11px; }
.feature--hl { background: rgba(200,69,106,.22); border-color: rgba(246,184,200,.45); }
@media (max-width: 960px) { .ai { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ai__badge b { animation: none; } }
.ai .ai__chat .msg--ai { color: var(--ink); }
.ai .ai__chat .msg--me { color: #fff; }

/* ---------- Páginas legales ---------- */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); }
.legal__grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.legal__toc-title { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal__toc a { display: block; text-decoration: none; font-size: .9rem; color: var(--muted); padding: 6px 10px; border-radius: 10px; line-height: 1.35; }
.legal__toc a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.legal__body { max-width: 760px; }
.legal__body h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); margin-bottom: 8px; }
.legal__updated { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.legal__intro { font-size: 1.1rem; color: var(--ink); padding: 20px 24px; background: var(--blush); border-radius: var(--radius-sm); border-left: 4px solid var(--accent); }
.legal__body section { padding-top: 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal__body h2 { font-size: 1.45rem; margin: 26px 0 12px; }
.legal__body h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 18px 0 6px; }
.legal__body p, .legal__body li { color: var(--muted); }
.legal__body strong { color: var(--ink); }
.legal__body ul, .legal__body ol { padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.legal__body li::marker { color: var(--accent); }
.legal__body a:not(.btn) { color: var(--accent); font-weight: 600; }
.legal__contact { margin-top: 44px; background: var(--sand); border-radius: var(--radius); padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.legal__contact p { margin: 0; color: var(--ink); }
.footer__bottom p a { text-decoration: none; }
.footer__bottom p a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { display: none; }
}
@media (max-width: 640px) {
  .legal__back { padding: 10px 14px; font-size: .84rem; }
  .legal__intro { padding: 16px 18px; font-size: 1rem; }
}

/* ---------- Ajustes v3: enfoque en agendar ---------- */
.topbar { background: var(--plum); color: #fff; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 9px 0; flex-wrap: wrap; text-align: center; }
.topbar p { margin: 0; color: rgba(255,255,255,.85); }
.topbar b { color: #fff; }
.topbar__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #9FD0A6; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(159,208,166,.7); animation: dotPulse 2s infinite; }
@keyframes dotPulse { 70%, 100% { box-shadow: 0 0 0 8px rgba(159,208,166,0); } }
.topbar__link { color: #F6B8C8; font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar__link:hover { color: #fff; }

.btn--lg { padding: 18px 30px; font-size: 1.05rem; }
.btn--pulse { animation: ctaGlow 2.4s ease-in-out infinite; }
.hero__actions { margin-bottom: 14px; }
.hero__note { font-size: .9rem; color: var(--muted); margin: 0 0 32px; display: flex; align-items: flex-start; gap: 10px; max-width: 34em; }
.hero__note .dot { margin-top: .5em; flex: none; }
.hero__note b { color: var(--accent-dark); }

.section--tight { padding: clamp(56px, 7vw, 90px) 0; }
.fit { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px 56px; }
.fit__head h2 { margin-bottom: 0; }
.fit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fit__list li { background: var(--blush); border-radius: 16px; padding: 14px 16px 14px 46px; position: relative; font-size: .96rem; line-height: 1.45; }
.fit__list li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border-radius: 6px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3L14.5 7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/90% no-repeat; }
.fit__cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; }
.fit__cta p { margin: 0; font-size: 1.05rem; }

.service { display: flex; flex-direction: column; }
.service p { flex: 1; }
.service__cta { margin-top: 18px; align-self: flex-start; color: var(--accent); font-weight: 700; text-decoration: none; font-size: .95rem; border-bottom: 2px solid transparent; transition: border-color .2s; }
.service__cta:hover { border-color: var(--accent); }

.band { background: var(--accent); color: #fff; padding: 34px 0; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.band__text { margin: 0; font-size: 1.15rem; max-width: 46em; }
.band__text b { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; display: block; line-height: 1.25; margin-bottom: 2px; }
.band__text span { color: rgba(255,255,255,.85); }
.band--soft { background: var(--blush); color: var(--ink); }
.band--soft .band__text span { color: var(--muted); }

.trust { list-style: none; margin: 28px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.trust svg { width: 20px; height: 20px; color: var(--sage); background: var(--sage-soft); border-radius: 50%; padding: 3px; }

.cta__sub { color: rgba(255,255,255,.9); max-width: 40em; margin: -10px auto 28px; font-size: 1.06rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta__hours { margin: 22px 0 0; font-size: .88rem; color: rgba(255,255,255,.8); }
.cta .eyebrow { justify-content: center; }
.cta .eyebrow--light { color: #FFE1EA; }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

@media (prefers-reduced-motion: reduce) { .btn--pulse, .topbar__dot { animation: none; } }
@media (max-width: 960px) {
  .fit { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar__more { display: none; }
  .fit__list { grid-template-columns: 1fr; }
  .fit__cta .btn, .band__inner .btn, .cta__actions .btn { width: 100%; }
  .band__text b { font-size: 1.3rem; }
}
.hero__note { display: block; }
.hero__note .dot { display: inline-block; margin: 0 8px 0 4px; vertical-align: middle; }

/* ---------- Fotos reales de Perla ---------- */
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: var(--radius); box-shadow: var(--shadow); }

.glp__card--media { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.glp__card--media > * { max-width: none; }
.glp__photo { position: relative; z-index: 1; }
.glp__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 24px; border: 6px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

.gallery--grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-template-areas: "a a b c" "a a b c" "d d e f"; }
.gallery--grid .gallery__item { aspect-ratio: auto; }
.gallery--grid .g-a { grid-area: a; }
.gallery--grid .g-b { grid-area: b; }
.gallery--grid .g-c { grid-area: c; }
.gallery--grid .g-d { grid-area: d; }
.gallery--grid .g-e { grid-area: e; }
.gallery--grid .g-f { grid-area: f; }
.gallery--grid .g-d img { object-position: center 70%; }
.gallery--grid .g-b img, .gallery--grid .g-c img, .gallery--grid .g-e img { object-position: center 25%; }

@media (max-width: 960px) {
  .glp__card--media { grid-template-columns: 1fr; }
  .glp__photo { max-width: 360px; }
}
@media (max-width: 640px) {
  .gallery--grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; grid-template-areas: "a a" "b c" "d d" "e f"; }
  .gallery--grid .g-a { grid-row: auto; }
  .glp__photo { max-width: none; }
  .glp__photo img { aspect-ratio: 4 / 4.2; }
}
@media (max-width: 640px) {
  .gallery__item figcaption { left: 10px; bottom: 10px; padding: 5px 11px; font-size: .74rem; }
}

/* ---------- Galería tipo collage (fotos completas, distintos tamaños) ---------- */
.collage { display: grid; grid-template-columns: 1.94fr 1.03fr 1fr; gap: 16px; align-items: stretch; }
.collage__col { display: flex; flex-direction: column; gap: 16px; }
.collage__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blush); box-shadow: var(--shadow-sm); }
.collage__item img { width: 100%; height: auto; display: block; transition: transform .8s ease; }
.collage__item:hover img { transform: scale(1.03); }
.collage__item--fill { flex: 1; }
.collage__item--fill img { height: 100%; object-fit: cover; }
.collage__item figcaption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600;
}
@media (max-width: 640px) {
  .collage { grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .collage__col { display: contents; }
  .collage__item--fill { grid-column: 1 / -1; }
  .collage__item--fill img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 60%; }
  .collage__item figcaption { left: 8px; bottom: 8px; padding: 4px 10px; font-size: .7rem; }
}
