/*! Spark & Sugar · content.css — content pages: slim palette header, centered reading column, about, FAQ, care
    cards, policy with table of contents, contact + event forms, 404 (docs/REDESIGN.md "Content pages") */

/* ---------- Widths ---------- */
.container--reading { max-width: calc(720px + var(--gutter) * 2); }
.container--wide { max-width: calc(1120px + var(--gutter) * 2); }

/* ---------- Slim full-bleed palette header ---------- */
.page-hero__inner { padding-block: clamp(28px, 4.2vw, 60px); }
.page-hero__container { display: grid; justify-items: start; gap: 10px; }
.page-hero__crumbs { margin-bottom: 6px; }
.page-hero__title { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); line-height: 1.08; }
.page-hero__lead { max-width: 62ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; line-height: 1.45; }
.page-hero__lead a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Body ---------- */
.content { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 104px); }
.content-h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2; }
.prose--lg { max-width: none; font-size: 1.0625rem; line-height: 1.7; }
.prose a:not(.btn), .accordion__body a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:not(.btn):hover, .accordion__body a:hover { color: var(--purple); }

/* Lavender-soft help box (FAQ, policy) */
.help-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin-top: clamp(32px, 4vw, 48px); padding: clamp(20px, 2.6vw, 32px); border-radius: var(--radius-card); background: var(--lavender-soft);
}
.help-box__title { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.help-box__text p { margin-top: 4px; color: var(--ink-2); }
.help-box__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---------- /nosotros/ ---------- */
.pull-quote { margin: clamp(28px, 4vw, 44px) 0; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-card); }
.pull-quote blockquote { margin: 0; }
.pull-quote p { font-size: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.012em; text-wrap: balance; }
.about__photos { display: grid; gap: clamp(12px, 1.6vw, 20px); max-width: 960px; margin: clamp(32px, 4.4vw, 56px) auto; }
.about__photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-img); background: var(--lavender-soft); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__closing { margin-top: 1.4em; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 700; line-height: 1.35; color: var(--purple); text-wrap: balance; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.about-values__title { margin-bottom: clamp(24px, 3vw, 36px); text-align: center; }

/* ---------- /preguntas-frecuentes/ ---------- */
.faq__item { scroll-margin-top: calc(var(--header-h) + 16px); }
.faq__item .accordion__summary { font-size: 1.0625rem; }
.faq__item .accordion__body { max-width: 64ch; line-height: 1.6; }

/* ---------- /cuidado-del-producto/ ---------- */
.care__grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
@media (min-width: 768px) { .care__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.care-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.care-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--lavender-soft); }
.care-card__media img { width: 100%; height: 100%; object-fit: cover; }
.care-card__media--candles img { object-position: 50% 62%; } /* keeps the whole matchbox in the 3:2 crop */
.care-card__body { display: grid; align-content: start; gap: 14px; padding: clamp(20px, 2.6vw, 32px); }
.care-card__title { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h2); font-weight: 800; line-height: 1.15; }
.care-card__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; }
.care-card__intro { color: var(--ink-2); }
.care-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.care-list li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.care-list .icon { flex: none; margin-top: 2px; color: var(--purple); }
.care-card__subtitle { margin-top: 6px; font-size: var(--fs-h3); font-weight: 700; }
.care-steps { margin: 0; padding-left: 1.4em; }
.care-steps li + li { margin-top: 6px; }
.care-steps li::marker { color: var(--purple); font-weight: 700; }
.care-card__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 4px; }
.care__outro { max-width: 60ch; margin: clamp(32px, 4vw, 52px) auto 0; font-size: 1.125rem; font-weight: 600; line-height: 1.55; text-align: center; text-wrap: balance; }
.care__faq { margin-top: 14px; text-align: center; }

/* ---------- /politica-de-cambios/ ---------- */
.legal__layout { display: grid; gap: 28px; }
.toc { padding: 18px 20px; border-radius: var(--radius-card); background: var(--lavender-soft); }
.toc__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.toc__list { display: grid; margin: 8px 0 0; padding: 0; list-style: none; }
.legal .toc__list a { display: block; padding: 7px 0; color: var(--ink); font-size: var(--fs-ui); font-weight: 600; line-height: 1.35; text-decoration: none; }
.legal .toc__list a:hover { color: var(--purple); text-decoration: underline; }
@media (min-width: 960px) {
  .legal__layout { grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); }
}
.legal__prose { max-width: 68ch; font-size: 1.0625rem; line-height: 1.65; }
.legal__section { scroll-margin-top: calc(var(--header-h) + 20px); }
.legal__prose > .legal__section + .legal__section { margin-top: 1.8em; padding-top: 1.8em; border-top: 1px solid var(--line); }
.legal__section h2 { margin: 0 0 .5em; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.legal__section > * + * { margin-top: .75em; }
.legal .help-box { max-width: 68ch; }

/* ---------- Two columns: contact channels | form · event form | aside ---------- */
.split { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .split--form-first { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* Contact channels */
.contact__channels { display: grid; align-content: start; gap: 20px; }
.contact__wa { justify-self: start; }
.channels { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.channels li { border-bottom: 1px solid var(--line); }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 0; color: var(--ink); text-decoration: none; }
.channel__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--lavender); color: var(--ink); }
.channels li:nth-child(1) .channel__icon { background: var(--lime); }
.channels li:nth-child(2) .channel__icon { background: var(--cyan); }
.channels li:nth-child(3) .channel__icon { background: var(--coral); }
.channel__text { display: grid; flex: 1; min-width: 0; }
.channel__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.channel__value { font-size: 1.0625rem; font-weight: 700; overflow-wrap: anywhere; }
.channel__go { flex: none; color: var(--ink-2); }
.channel:hover .channel__value { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.channels--compact .channel { gap: 12px; padding: 12px 0; }
.channels--compact .channel__icon { width: 40px; height: 40px; }
.channels--compact .channel__value { font-size: 1rem; }
.contact__more { display: grid; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--ink-2); }
.contact__more li { display: flex; align-items: flex-start; gap: 10px; }
.contact__more .icon { flex: none; margin-top: 2px; color: var(--ink); }
.contact__more .text-link { font-size: inherit; text-underline-offset: 3px; }

/* WhatsApp forms (lavender-soft panel, 48px controls from base.css) */
.form-panel { padding: clamp(22px, 2.8vw, 36px); border-radius: var(--radius-card); background: var(--lavender-soft); }
.wa-form { display: grid; gap: 18px; }
.wa-form__title { font-size: var(--fs-h2); font-weight: 800; line-height: 1.2; }
.wa-form__intro { margin-top: -6px; font-size: var(--fs-ui); color: var(--ink-2); }
.wa-form__error { padding: 12px 14px; border-left: 3px solid var(--error); background: var(--white); color: var(--error); font-size: var(--fs-ui); font-weight: 700; }
.wa-form__submit { margin-top: 2px; }
.wa-form__fine { font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-2); }
.wa-form__done { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--radius-btn); background: var(--lime); font-size: var(--fs-ui); line-height: 1.45; }
.wa-form__done:focus { outline: none; }
.wa-form__done:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.wa-form__done-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; }
.wa-form__done a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.field--group .pills__row { margin-top: 8px; }
.field--group.is-invalid .pill > span { border-color: var(--error); }

/* Event aside */
.events__aside { display: grid; align-content: start; gap: 20px; }
.events__photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-img); background: var(--lavender-soft); }
.events__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .events__photo { aspect-ratio: 4 / 5; } }
.events__text { font-size: 1.0625rem; line-height: 1.6; }

/* ---------- /404.html ---------- */
.nf { padding-block: clamp(48px, 8vw, 112px); }
.nf__inner { display: grid; justify-items: center; gap: 12px; text-align: center; }
.nf__mascot img { width: 112px; height: auto; }
.nf__title { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); line-height: 1.1; }
.nf__text { font-size: 1.125rem; }
.nf__search { position: relative; display: flex; gap: 8px; width: min(100%, 520px); margin-top: 12px; }
.nf__search-icon { position: absolute; top: 50%; left: 14px; translate: 0 -50%; color: var(--ink-2); pointer-events: none; }
.nf__search-input { flex: 1; min-width: 0; padding-left: 44px; }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.nf__chips { justify-content: center; max-width: 720px; margin-top: 16px; }
