/* ==========================================================================
   Sistema visual del sitio. Mobile-first. Cambiar SOLO los tokens de :root
   con la paleta y tipografías de la marca; el resto se adapta.
   ========================================================================== */
:root {
  /* Paleta inspirada en las fotos de Paula: crema, arena, caramelo del pelo, dorado de las joyas y espresso del blazer */
  --c-primary: #8b5e3c;        /* caramelo: botones, links (blanco encima 5.6:1) */
  --c-primary-ink: #ffffff;
  --c-primary-2: #a8754d;      /* caramelo claro (hover, degradés) */
  --c-accent: #d9a86c;         /* miel / dorado: detalles decorativos */
  --c-blush: #ecd3c1;          /* nude rosado */
  --c-sand: #eadbc8;           /* arena */
  --c-greige: #8e8783;         /* gris cálido del fondo de las fotos */
  --c-ink: #2b211c;            /* espresso: texto principal */
  --c-muted: #6b5d54;          /* texto secundario (5.9:1 sobre crema) */
  --c-bg: #fbf6f0;             /* crema */
  --c-alt: #f4eadf;            /* secciones alternas */
  --c-card: #fffdfa;
  --c-line: #e6d7c6;
  --c-dark: #2b211c;
  --c-dark-ink: #f6ece2;

  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Fraunces", Georgia, serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(43 33 28 / .05), 0 14px 40px rgb(43 33 28 / .08);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 10vw, 128px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 1rem/1.65 var(--f-body); color: var(--c-ink); background: var(--c-bg); overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3, .h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-primary); color: var(--c-primary-ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.container.narrow { width: min(100% - 2 * var(--gutter), 760px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.muted { color: var(--c-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 600; color: var(--c-primary); margin-bottom: .75rem; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.tag { align-self: flex-start; display: inline-block; font-size: .75rem; font-weight: 600; padding: .2em .65em; border-radius: 99px; background: color-mix(in srgb, var(--c-accent) 18%, transparent); color: var(--c-ink); margin-bottom: .6rem; }

/* Botones */
.btn { --b: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em; border-radius: 99px; border: 2px solid var(--b); background: var(--b); color: var(--c-primary-ink); font: 600 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: currentColor; }
.btn--light { --b: #fff; color: var(--c-ink); }
.btn--lg { min-height: 54px; padding-inline: 1.7em; font-size: 1.05rem; }

.btn { transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn--primary:hover { --b: var(--c-primary-2); box-shadow: 0 10px 24px -8px rgb(139 94 60 / .55); transform: translateY(-2px); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.btn--sm { white-space: nowrap; min-height: 42px; padding: .55em 1.15em; font-size: .95rem; }
.btn--wa { --b: #1f7a4a; color: #fff; }
.btn--wa::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3C9 3 3.3 8.6 3.3 15.6c0 2.2.6 4.4 1.7 6.3L3 29l7.3-1.9c1.8 1 3.8 1.5 5.8 1.5 7 0 12.7-5.7 12.7-12.6C28.8 8.6 23 3 16 3z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3C9 3 3.3 8.6 3.3 15.6c0 2.2.6 4.4 1.7 6.3L3 29l7.3-1.9c1.8 1 3.8 1.5 5.8 1.5 7 0 12.7-5.7 12.7-12.6C28.8 8.6 23 3 16 3z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Header (sin menú: marca + una acción) */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--c-bg) 80%, transparent); 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, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 24px -18px rgb(43 33 28 / .4); background: color-mix(in srgb, var(--c-bg) 92%, transparent); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-ink); min-width: 0; }
.brand__logo { height: 48px; width: auto; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { white-space: nowrap; font-family: var(--f-head); font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; }
.brand__sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin-top: 3px; }
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.header-social { list-style: none; display: flex; gap: 2px; margin: 0 4px 0 0; padding: 0; }
.header-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--c-primary); transition: background .25s, color .25s, transform .3s var(--ease); }
.header-social a:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); }
.header-link { color: var(--c-ink); text-decoration: none; font-weight: 500; padding: .5em .8em; border-radius: 99px; transition: background .2s; }
.header-link:hover { background: var(--c-alt); }
@media (max-width: 520px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1.12rem; }
  .header-social a { width: 32px; height: 32px; }
  .header-social svg { width: 16px; height: 16px; }
  .header-link { display: none; }
  .site-header .btn--sm { padding-inline: .9em; }
}

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.hero__in { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.08fr .92fr; } }
.hero__title { font-size: clamp(2.4rem, 6.2vw, 4.4rem); font-weight: 500; line-height: 1.04; letter-spacing: -.025em; max-width: 15ch; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--c-primary); position: relative; white-space: nowrap; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: var(--c-accent); opacity: .45; border-radius: 99px; transform: scaleX(0); transform-origin: left; animation: underline 1.1s .9s var(--ease) forwards; z-index: -1; }
@keyframes underline { to { transform: scaleX(1); } }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--c-muted); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero__chips { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--c-muted); }
.hero__chips li { display: flex; align-items: center; gap: 8px; }
.hero__chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
.hero__blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero__blob--1 { width: 520px; height: 520px; background: var(--c-blush); top: -160px; right: -120px; }
.hero__blob--2 { width: 420px; height: 420px; background: var(--c-sand); bottom: -180px; left: -140px; animation-delay: -6s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } 100% { transform: translate(30px, -20px) scale(.96); } }
.hero__media { position: relative; justify-self: center; width: min(100%, 470px); }
.hero__arch { position: relative; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--c-sand); box-shadow: 0 40px 80px -40px rgb(43 33 28 / .5); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-2%); } }
.hero__arch::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgb(255 255 255 / .55); border-radius: inherit; z-index: 1; pointer-events: none; }
.float-card { position: absolute; background: color-mix(in srgb, var(--c-card) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / .7); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .88rem; display: grid; gap: 2px; animation: bob 6s ease-in-out infinite; }
.float-card strong { font-family: var(--f-head); font-size: 1.05rem; font-weight: 500; color: var(--c-primary); }
.float-card span { color: var(--c-muted); }
.float-card--a { left: -8%; bottom: 22%; }
.float-card--b { right: -8%; bottom: 6%; display: flex; align-items: center; gap: 8px; animation-delay: -3s; }
.float-card__dot { width: 9px; height: 9px; border-radius: 50%; background: #3a9a63; box-shadow: 0 0 0 0 rgb(58 154 99 / .6); animation: ping 2s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgb(58 154 99 / 0); } 100% { box-shadow: 0 0 0 0 rgb(58 154 99 / 0); } }
@media (max-width: 560px) {
  .float-card--a { left: 0; bottom: 20%; }
  .float-card--b { right: 0; bottom: -18px; }
}

/* Áreas de trabajo: carrusel sobrio entre filetes dorados */
.areas { background: var(--c-card); border-block: 1px solid var(--c-line); padding-block: clamp(44px, 6vw, 72px); position: relative; }
.areas::before, .areas::after { content: ""; position: absolute; left: 50%; width: min(220px, 40%); height: 1px; translate: -50% 0; background: linear-gradient(90deg, transparent, var(--c-accent), transparent); }
.areas::before { top: 10px; } .areas::after { bottom: 10px; }
.areas__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.areas__title { font-family: var(--f-body); font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--c-primary); margin: 0; display: flex; align-items: center; gap: 12px; }
.areas__title::before { content: ""; width: 7px; height: 7px; background: var(--c-accent); transform: rotate(45deg); }
.areas__nav { display: flex; gap: 8px; }
.areas__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-primary); display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.areas__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.areas__btn:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.areas__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--radius); }
.areas__viewport::-webkit-scrollbar { display: none; }
.areas__track { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 18px; }
@media (min-width: 640px) { .areas__track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (min-width: 1000px) { .areas__track { grid-auto-columns: calc((100% - 54px) / 4); } }
.areas__item { scroll-snap-align: start; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px 26px 28px; display: flex; flex-direction: column; min-height: 220px; transition: border-color .3s, box-shadow .3s; }
.areas__item:hover { border-color: var(--c-accent); box-shadow: var(--shadow); }
.areas__n { font-family: var(--f-head); font-style: italic; font-size: 1.05rem; color: var(--c-accent); padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--c-line); }
.areas__item h3 { font-style: italic; font-weight: 500; font-size: clamp(1.25rem, 1.8vw, 1.45rem); margin-bottom: .45em; }
.areas__item p { color: var(--c-muted); font-size: .95rem; margin: 0; }
.areas__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.areas__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--c-line); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.areas__dots button[aria-current="true"] { width: 26px; background: var(--c-primary); }
.areas__foot { text-align: center; margin: 1.4rem 0 0; font-size: .9rem; letter-spacing: .08em; color: var(--c-muted); }

/* Animación al hacer scroll */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal="zoom"] { transform: scale(.94); }
@media (min-width: 900px) {
  .js [data-reveal="left"] { transform: translateX(-36px); }
  .js [data-reveal="right"] { transform: translateX(36px); }
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.is-editing [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Secciones */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .5) var(--section); }
.section--alt { background: var(--c-alt); }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section__lead { font-size: 1.12rem; color: var(--c-muted); }
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 32px); background: radial-gradient(ellipse at 90% 0%, color-mix(in srgb, var(--c-blush) 70%, transparent), transparent 60%); }
.page-hero .section__lead { max-width: 60ch; }
.page-cover img { border-radius: var(--radius); width: 100%; }
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Tarjetas */
.card { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { display: block; aspect-ratio: 4/3; background: var(--c-alt); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .card__media { aspect-ratio: 1200 / 630; }
.post__cover img { aspect-ratio: 1200 / 630; object-fit: cover; }
.card__placeholder { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 20% 90%, color-mix(in srgb, var(--c-accent) 35%, transparent), transparent 45%), radial-gradient(circle at 80% 10%, var(--c-blush), transparent 55%), linear-gradient(135deg, var(--c-sand), var(--c-alt)); transition: transform .8s var(--ease); }
.card:hover .card__placeholder { transform: scale(1.05); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { margin-bottom: .4em; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__text { color: var(--c-muted); flex: 1; }
.card__meta { font-size: .85rem; color: var(--c-muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-bg); }
.faq__item summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.4rem; color: var(--c-primary); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 20px 18px; margin: 0; color: var(--c-muted); }

/* CTA */
.cta-band { background: var(--c-primary); color: var(--c-primary-ink); text-align: center; }
.cta-band__in { max-width: 720px; }
.cta-band p { font-size: 1.15rem; opacity: .95; }

/* Formularios */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-weight: 500; }
.field input, .field textarea, .field select, .search input { width: 100%; font: inherit; padding: .8em 1em; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-bg); color: var(--c-ink); }
.field input:focus, .field textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 20%, transparent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c62828; }
.field__err { color: #c62828; font-size: .85rem; font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--c-muted); }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--c-primary); }
.hp { position: absolute; left: -9999px; }
.form__status:empty { display: none; }
.form__status { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--c-alt); }
.form__status.is-ok { background: #e7f6ec; color: #135c2b; }
.form__status.is-err { background: #fdecec; color: #8a1c1c; }
.search { display: flex; gap: 8px; max-width: 520px; margin-top: 1rem; }

.contact-info { background: var(--c-alt); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 12px; }
.map { margin-top: 1rem; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Blog */
.chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { display: inline-block; padding: .4em .9em; border: 1px solid var(--c-line); border-radius: 99px; text-decoration: none; color: var(--c-ink); font-size: .9rem; }
.chips a[aria-current] { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.chips--small span { font-size: .8rem; color: var(--c-muted); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: var(--radius-sm); text-decoration: none; color: var(--c-ink); }
.pager a[aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-primary-ink); }
.empty { text-align: center; color: var(--c-muted); padding: 48px 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: inherit; }
.post__meta { color: var(--c-muted); font-size: .95rem; }
.post__cover img { border-radius: var(--radius); width: 100%; }
.tldr { border-left: 4px solid var(--c-primary); background: var(--c-alt); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0; }
.tldr strong { display: block; margin-bottom: .3em; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; color: var(--c-primary); }
.tldr p { margin: 0; font-size: 1.05rem; }
.toc { border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 16px 22px; margin-bottom: 28px; }
.toc ol { margin: .5em 0 0; padding-left: 1.2em; }
.post__faq { margin-top: 48px; }
.share { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: .95rem; }
.author { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--c-alt); border-radius: var(--radius); }
.author__img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.preview-note { background: #fff3cd; color: #664d03; text-align: center; padding: 10px; font-size: .9rem; }

/* Contenido enriquecido */
.prose { font-size: 1.07rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em auto; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .88rem; color: var(--c-muted); text-align: center; }
.prose blockquote { margin: 1.5em 0; padding: .5em 0 .5em 1.2em; border-left: 3px solid var(--c-accent); font-size: 1.12rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: .6em .8em; text-align: left; }
.prose th { background: var(--c-alt); }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-sm); margin: 1.5em 0; }

/* Footer */
.site-footer { background: var(--c-dark); color: var(--c-dark-ink); padding-top: clamp(48px, 7vw, 80px); font-size: .95rem; }
.site-footer a { color: inherit; }
.site-footer__grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__logo { height: 44px; width: auto; margin-bottom: 1rem; }
.site-footer__title { font-family: var(--f-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.site-footer__links, .social { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1rem; }
.nap { font-style: normal; display: grid; gap: 6px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-block: 20px 96px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .82rem; opacity: .85; }
.site-footer__legal p { margin: 0; }
@media (min-width: 800px) { .site-footer__legal { padding-bottom: 24px; } }

/* WhatsApp, cookies, editor */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; background: var(--c-bg); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; font-size: .92rem; }
.consent p { margin-bottom: 12px; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent .btn { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.edit-fab { position: fixed; left: 18px; bottom: 18px; z-index: 40; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: 99px; text-decoration: none; font-size: .9rem; box-shadow: var(--shadow); }
.notfound { text-align: center; }
.notfound .hero__actions { justify-content: center; }

/* ---------- Secciones de la home ---------- */
.section__head--center { margin-inline: auto; text-align: center; }
.section--dark { background: var(--c-dark); color: var(--c-dark-ink); }
.section--dark .eyebrow { color: var(--c-accent); }
.section--dark p { color: color-mix(in srgb, var(--c-dark-ink) 78%, transparent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.section__head--center .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }

/* Señales */
.signs { display: grid; gap: 16px; }
@media (min-width: 640px) { .signs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .signs { grid-template-columns: repeat(3, 1fr); } }
.sign { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px 26px 22px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.sign:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--c-sand); }
.sign h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: .35em; }
.sign p { color: var(--c-muted); margin: 0; }
.sign__icon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--c-alt); margin-bottom: 18px; fill: none; stroke: var(--c-primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: background .4s, stroke .4s, transform .5s var(--ease); }
.sign:hover .sign__icon { background: var(--c-primary); stroke: #fff; transform: rotate(-8deg); }

/* Servicios */
.services { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service { position: relative; background: var(--c-card); padding: 34px 28px 30px; overflow: hidden; isolation: isolate; transition: color .5s; }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--c-primary), #6e4529); transform: translateY(101%); transition: transform .6s var(--ease); }
.service:hover::before { transform: none; }
.service:hover, .service:hover p { color: #fff; }
.service__n { font-family: var(--f-head); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--c-accent); display: block; margin-bottom: 22px; }
.service h3 { font-weight: 500; }
.service p { color: var(--c-muted); margin: 0; transition: color .5s; }

/* Sobre mí */
.about__in { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .about__in { grid-template-columns: .9fr 1.1fr; } }
.about__media { position: relative; justify-self: center; width: min(100%, 440px); }
.about__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1.5px solid var(--c-accent); border-radius: var(--radius); z-index: 0; }
.about__frame { position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover .about__frame img { transform: scale(1.04); }
.about__badge { position: absolute; z-index: 2; right: -12px; bottom: 40px; background: var(--c-primary); color: #fff; border-radius: 18px; padding: 16px 20px; display: grid; box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; }
.about__badge strong { font-family: var(--f-head); font-size: 2.2rem; font-weight: 500; line-height: 1; }
.about__badge span { font-size: .82rem; opacity: .9; max-width: 12ch; }
@media (max-width: 560px) { .about__badge { right: 0; } .about__media::before { inset: 14px -10px -14px 14px; } }
.about__text p { color: var(--c-muted); }
.creds { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: 10px; }
@media (min-width: 560px) { .creds { grid-template-columns: 1fr 1fr; } }
.creds li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; }
.creds li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Enfoque */
.approach { display: grid; gap: 16px; }
@media (min-width: 700px) { .approach { grid-template-columns: repeat(2, 1fr); } }
.approach__item { position: relative; padding: 30px 30px 26px 30px; border-radius: var(--radius); background: var(--c-card); border: 1px solid var(--c-line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.approach__item::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, var(--c-blush), transparent 70%); transition: transform .8s var(--ease); }
.approach__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.approach__item:hover::after { transform: scale(1.6); }
.approach__item h3 { position: relative; z-index: 1; font-size: 1.5rem; font-weight: 500; font-style: italic; color: var(--c-primary); }
.approach__item p { position: relative; z-index: 1; color: var(--c-muted); margin: 0; }

/* Pasos */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 28px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { counter-increment: step; position: relative; padding-top: 72px; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--f-head); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--c-accent); }
.step::after { content: ""; position: absolute; top: 28px; left: 84px; right: 0; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--c-accent) 60%, transparent), transparent); }
.step h3 { color: #fff; font-weight: 500; }

/* Modalidades */
.modes { display: grid; gap: 18px; }
@media (min-width: 800px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--c-sand); position: relative; overflow: hidden; }
.mode--alt { background: var(--c-blush); }
.mode::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c-primary) 30%, transparent); box-shadow: 0 0 0 24px color-mix(in srgb, #fff 18%, transparent); }
.mode .h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 500; }
.mode p { color: var(--c-ink); opacity: .85; max-width: 46ch; }
.link-arrow::after { content: "→"; margin-left: .35em; display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* FAQ animada */
.faq__item { background: var(--c-card); border-color: var(--c-line); border-radius: 16px; transition: box-shadow .3s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { padding: 20px 56px 20px 22px; font-family: var(--f-head); font-weight: 500; font-size: 1.08rem; }
.faq__item summary::after { content: ""; width: 26px; height: 26px; right: 18px; border-radius: 50%; background: var(--c-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5e3c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .4s var(--ease); }
.faq__item[open] summary::after { content: ""; transform: rotate(135deg); }
.faq__item p { padding: 0 22px 20px; }
.faq__item[open] p { animation: fadeDown .45s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* Contacto */
.contact-band { background: linear-gradient(180deg, var(--c-bg), var(--c-alt)); }
.contact-band__in { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .contact-band__in { grid-template-columns: .9fr 1.1fr; } }
.contact-band__photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-bottom: 20px; box-shadow: 0 0 0 6px var(--c-card), 0 0 0 7px var(--c-line); }
.contact-band__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.contact-band__intro > p { color: var(--c-muted); }
.contact-band__form { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.contact-band .contact-list { margin-top: 1.5rem; }

.card { background: var(--c-card); }
.card__media img { transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__title { font-weight: 500; }

/* Llamado al final de cada artículo */
.post-cta { display: grid; gap: 18px; align-items: start; margin: 40px 0 8px; padding: clamp(22px, 4vw, 34px); border-radius: var(--radius); background: linear-gradient(140deg, var(--c-sand), var(--c-blush)); }
@media (min-width: 640px) { .post-cta { grid-template-columns: 88px 1fr; gap: 24px; } }
.post-cta__photo { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--c-card); }
.post-cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.post-cta p { margin-bottom: 1rem; }

/* Footer */
.site-footer { position: relative; }
.site-footer__wave { position: absolute; left: 0; right: 0; top: -59px; height: 60px; color: var(--c-dark); }
.site-footer__wave svg { width: 100%; height: 100%; }
.site-footer__brand { font-family: var(--f-head); font-size: 1.6rem; margin-bottom: .4em; }
.site-footer__note { flex-basis: 100%; order: 3; opacity: .75; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .wa-float, .consent, .share { display: none !important; } }
