/* Leire Nogués · Psicóloga sanitaria en San Sebastián
   Paleta de su web original: crema, coral y marrón teja. Marcellus para títulos, Jost para leer. */
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/marcellus-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('assets/fonts/jost-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/jost-400i.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #fbecdc;
  --cream-2: #f6dfc8;
  --sand: #efd2b6;
  --paper: #fff8f1;
  --coral: #fa5537;      /* decorativo y títulos grandes */
  --coral-d: #c2391c;    /* botones y enlaces: contraste AA sobre crema y con texto blanco */
  --brown: #863527;      /* texto principal */
  --brown-d: #5a2318;
  --muted: #9a5a4a;
  --line: rgba(134, 53, 39, .16);
  --shadow: 0 24px 50px -28px rgba(90, 35, 24, .45);

  --f-title: 'Marcellus', Georgia, serif;
  --f-body: 'Jost', system-ui, sans-serif;

  --wrap: 1180px;
  --r: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--brown); font: 400 18px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-d); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-title); font-weight: 400; line-height: 1.12; margin: 0; color: var(--brown-d); }
p { margin: 0; }
p + p { margin-top: 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--coral-d); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brown-d); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.6em; border-radius: 999px; font: 500 1rem/1.1 var(--f-body); letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--main { background: var(--coral-d); color: #fff; box-shadow: 0 14px 28px -14px rgba(194, 57, 28, .8); }
.btn--main:hover { background: var(--brown); transform: translateY(-2px); }
.btn--ghost { border-color: var(--brown); color: var(--brown-d); background: transparent; }
.btn--ghost:hover { background: var(--brown-d); color: var(--cream); border-color: var(--brown-d); }
.btn--light { background: var(--cream); color: var(--brown-d); }
.btn--light:hover { background: #fff; }

/* ---------- Cabecera ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 236, 220, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(90, 35, 24, .6); }
.nav__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: grid; text-decoration: none; color: var(--brown-d); line-height: 1; }
.logo strong { font: 400 1.5rem/1 var(--f-title); letter-spacing: .04em; }
.logo span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral-d); margin-top: 6px; }
.menu { display: flex; align-items: center; gap: 26px; margin-left: auto; list-style: none; }
.menu a { color: var(--brown-d); text-decoration: none; font-size: .98rem; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--coral-d); }
.menu .btn { padding: .7em 1.3em; color: #fff; }
.menu .btn:hover { color: #fff; }
.drop { position: relative; }
.drop > button { all: unset; cursor: pointer; color: var(--brown-d); font-size: .98rem; display: inline-flex; align-items: center; gap: 6px; }
.drop > button::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.drop ul { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 230px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--ease); }
.drop ul a { display: block; padding: 10px 12px; border-radius: 10px; }
.drop ul a:hover { background: var(--cream); }
.drop:hover ul, .drop:focus-within ul, .drop.is-open ul { opacity: 1; visibility: visible; transform: none; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 50%; width: 18px; height: 1.5px; background: var(--brown-d); transform: translateX(-50%); transition: .3s var(--ease); content: ''; }
.burger span { top: 50%; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav.is-open .burger span { background: transparent; }
.nav.is-open .burger span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav.is-open .burger span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Estructura de secciones ---------- */
.sec { padding: clamp(70px, 9vw, 120px) 0; }
.sec--tint { background: var(--cream-2); }
.sec--paper { background: var(--paper); }
.sec--dark { background: var(--brown-d); color: var(--cream); }
.sec--dark h2, .sec--dark h3 { color: var(--cream); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral-d); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: currentColor; }
.sec--dark .eyebrow { color: #ffb29f; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.sec--dark .lead { color: rgba(251, 236, 220, .75); }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.head .lead { margin-top: 16px; }
.head--center { text-align: center; margin-inline: auto; }
.head--center .lead { margin-inline: auto; }
.head--wide { max-width: none; }
.head--wide .lead { max-width: none; }

/* ---------- Portada ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 620px; height: 620px; right: -160px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(250, 85, 55, .16), transparent 65%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--brown-d); }
.hero h1 em { font-style: normal; color: var(--coral); display: block; }
.hero__lead { margin-top: 24px; font-size: 1.2rem; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; list-style: none; font-size: .95rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--coral-d); }
.trust a { color: inherit; }
.stars { color: #e8a317; letter-spacing: 1px; }
.hero__art { position: relative; justify-self: end; width: min(100%, 470px); }
.hero__art .photo { aspect-ratio: 4 / 5; border-radius: 240px 240px var(--r) var(--r); }

.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--sand); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- ¿Te suena? ---------- */
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.signs li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 24px 64px; position: relative; }
.signs li::before { content: ''; position: absolute; left: 24px; top: 28px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a70, var(--coral) 60%); box-shadow: 0 0 0 6px rgba(250, 85, 55, .12); }
.signs strong { display: block; font: 400 1.25rem/1.2 var(--f-title); color: var(--brown-d); margin-bottom: 6px; }
.signs span { font-size: .98rem; color: var(--muted); }
.signs__note { margin-top: 30px; text-align: center; font-size: 1.05rem; }
.signs__intro { margin-top: 26px; font-size: 1.05rem; color: var(--brown-d); }
.head--wide.head--center .lead { max-width: 64ch; }
.signs--simple { display: flex; flex-wrap: wrap; justify-content: center; }
.signs--simple li { flex: 1 1 300px; max-width: 380px; display: flex; align-items: center; padding-block: 22px; }
.signs--simple li::before { top: 50%; transform: translateY(-50%); }
.signs--simple strong { font-size: 1.12rem; line-height: 1.35; margin-bottom: 0; }
.signs a { color: inherit; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; }
.hero__sub { margin-top: 14px; font-size: 1.05rem; color: var(--coral-d); letter-spacing: .02em; }

/* ---------- Terapias ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .photo { border-radius: 0; aspect-ratio: 4 / 3; }
.card .photo img { transition: transform 1s var(--ease); }
.card:hover .photo img { transform: scale(1.05); }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 1.6rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card__meta { font-size: .88rem; letter-spacing: .04em; color: var(--brown); }
.card__more { margin-top: auto; padding-top: 8px; color: var(--coral-d); font-weight: 500; }

/* ---------- Enfoque / sobre mí ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--rev .split__media { order: 2; }
.split .photo { aspect-ratio: 4 / 5; }
.split__text .h2 { margin-bottom: 22px; }
.quote { margin: 28px 0 0; padding: 22px 26px; border-left: 3px solid var(--coral); background: rgba(250, 85, 55, .07); border-radius: 0 16px 16px 0; font: 400 1.3rem/1.4 var(--f-title); color: var(--brown-d); }
.facts { display: grid; gap: 14px; margin-top: 28px; list-style: none; }
.facts li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.facts svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--cream-2); color: var(--coral-d); }
.facts strong { display: block; color: var(--brown-d); font-weight: 500; }
.facts span { font-size: .96rem; color: var(--muted); }
.split__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 30px; border-radius: var(--r); border: 1px solid rgba(251, 236, 220, .18); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 400 2.6rem/1 var(--f-title); color: #ffb29f; margin-bottom: 16px; }
.steps h3 { font-size: 1.45rem; margin-bottom: 8px; }
.steps p { color: rgba(251, 236, 220, .75); font-size: 1rem; }
.steps__cta { margin-top: 40px; text-align: center; }

/* ---------- Opiniones ---------- */
.rating { display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--brown-d); margin-top: 22px; }
.rating strong { font: 400 1.6rem/1 var(--f-title); }
.rating small { color: var(--muted); font-size: .9rem; }
.rating svg { width: 22px; height: 22px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; }
.review { background: var(--paper); border-radius: var(--r); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--brown-d); }
.review blockquote::before { content: '“'; display: block; font: 400 3.4rem/.6 var(--f-title); color: var(--coral); margin-bottom: 10px; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.review__ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--coral-d); font: 400 1.1rem/1 var(--f-title); flex: none; }
.review__who { display: grid; line-height: 1.3; }
.review__who strong { font-weight: 500; color: var(--brown-d); }
.review__who small { color: var(--muted); }
.reviews__more { text-align: center; margin-top: 34px; }
.js .slider .review[hidden] { display: none; }
.js .slider .reviews.is-changing { animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.slider__nav[hidden] { display: none; }
.slider__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--brown); background: transparent; color: var(--brown-d); cursor: pointer; transition: background .25s, color .25s, opacity .25s; }
.slider__btn svg { width: 22px; height: 22px; }
.slider__btn[data-dir="-1"] svg { transform: rotate(180deg); }
.slider__btn:hover:not(:disabled) { background: var(--brown-d); color: var(--cream); }
.slider__btn:disabled { opacity: .3; cursor: default; }
.slider__count { min-width: 64px; text-align: center; font-size: .95rem; color: var(--muted); letter-spacing: .08em; }

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.qa summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative; font: 400 1.2rem/1.3 var(--f-title); color: var(--brown-d); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background-color: var(--cream-2); background-image: linear-gradient(var(--coral-d), var(--coral-d)), linear-gradient(var(--coral-d), var(--coral-d)); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa div { padding: 0 24px 22px; color: var(--brown); font-size: 1rem; }

/* ---------- Contacto / reservar ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.form { background: var(--paper); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.form > p { color: var(--muted); margin-top: 8px; font-size: 1rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .92rem; font-weight: 500; color: var(--brown-d); }
.field label small, .field legend small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--brown-d); background: #fff; border: 1.5px solid var(--sand); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral-d); box-shadow: 0 0 0 4px rgba(194, 57, 28, .14); }
.field ::placeholder { color: #b99484; }
.choice { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.choice__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.choice__opts label { position: relative; cursor: pointer; font-weight: 400; }
.choice__opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__opts span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--sand); background: #fff; font-size: .95rem; transition: .2s; }
.choice__opts input:checked + span { background: var(--coral-d); border-color: var(--coral-d); color: #fff; }
.choice__opts input:focus-visible + span { outline: 3px solid var(--coral-d); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--brown); grid-column: 1 / -1; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--coral-d); flex: none; }
.hp { position: absolute; left: -9999px; }
.form__send { margin-top: 22px; width: 100%; font-size: 1.05rem; padding: 1.05em; }
.form__small { margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }
.form__err { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: #fde2dc; color: #8b1e0c; font-size: .95rem; }
.form__err.is-on { display: block; }

.info { display: grid; gap: 16px; }
.info__card { background: var(--paper); border-radius: var(--r); padding: 26px; border: 1px solid var(--line); }
.info__card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.info__list { list-style: none; display: grid; gap: 14px; }
.info__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 1rem; }
.info__list svg { width: 22px; height: 22px; color: var(--coral-d); margin-top: 3px; }
.info__list a { color: var(--brown-d); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.quick .btn { padding: .8em 1em; font-size: .95rem; }

/* Mapa: solo se carga con permiso */
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--cream-2) url('assets/img/consulta-psicologia-donostia-700.webp') center / cover; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ask { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; padding: 24px; background: rgba(90, 35, 24, .72); color: var(--cream); }
.map__ask p { font-size: .95rem; max-width: 30ch; margin-inline: auto; }
.map__ask .btn { justify-self: center; }
.map__ask a { color: var(--cream); font-size: .9rem; }
.map.is-loaded .map__ask { display: none; }

/* ---------- Páginas interiores ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 60px); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-hero .lead { margin-top: 20px; color: var(--brown); }
.page-hero .hero__cta { margin-top: 28px; }
.page-hero .photo { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--r) var(--r); max-width: 420px; justify-self: end; width: 100%; }
.page-hero--story .page-hero__grid { align-items: start; }
@media (min-width: 901px) { .page-hero--story .photo { position: sticky; top: 110px; } }
.story { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.story h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.story p + p { margin-top: 12px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; margin: 1em 0; display: grid; gap: .45em; }
.prose li::marker { color: var(--coral); }
.prose ul.facts { padding-left: 0; margin: 28px 0 0; gap: 14px; }
.prose--legal { font-size: 1rem; }
.prose--legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6em; }
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 22px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.ticks li::before { content: ''; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--coral-d) 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 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.cta-band { background: var(--coral-d); color: #fff; border-radius: calc(var(--r) + 8px); padding: clamp(34px, 5vw, 60px); display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { color: rgba(255, 255, 255, .85); margin-top: 10px; }
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Pie ---------- */
.foot { background: var(--brown-d); color: rgba(251, 236, 220, .72); padding: 70px 0 120px; font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.foot .logo { color: var(--cream); }
.foot .logo span { color: #ffb29f; }
.foot h3 { font: 500 .8rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #ffb29f; margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a { color: var(--cream); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__about { margin-top: 16px; max-width: 34ch; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(251, 236, 220, .25); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }
.foot__legal { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(251, 236, 220, .14); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; }
.foot__legal a { color: rgba(251, 236, 220, .72); }

/* ---------- Botón de reserva que acompaña al hacer scroll ---------- */
.float { position: fixed; z-index: 60; right: 216px; bottom: 10px; display: flex; gap: 10px; align-items: center; transform: translateY(160%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; pointer-events: none; }
.float.is-on { transform: none; opacity: 1; pointer-events: auto; }
/* Botón fijo de reserva: va siempre en la esquina inferior derecha, encima de la etiqueta de Netlify (iframe #nl-badge-frame, z-index 2147483645) */
.float__book { position: fixed; z-index: 2147483647; right: 8px; bottom: 8px; width: 196px; height: 58px; justify-content: center; padding: 0 1em; border-radius: 14px; box-shadow: 0 18px 36px -12px rgba(194, 57, 28, .75); }
.float__round { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--coral-d); border: 1px solid var(--line); box-shadow: 0 14px 30px -14px rgba(90, 35, 24, .6); }
.float__round svg { width: 22px; height: 22px; }
.float__round--wa { background: #25d366; color: #fff; border-color: #25d366; }
.float__label { display: none; }
body:has(.ck.is-on) .float { transform: translateY(160%); opacity: 0; pointer-events: none; }

/* ---------- Aviso de cookies ---------- */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 80; width: min(450px, calc(100% - 32px)); transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .4s, visibility 0s .5s; }
.ck.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .4s; }
.ck__card { background: var(--paper); color: var(--brown); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 30px 60px -20px rgba(90, 35, 24, .55); max-height: calc(100svh - 32px); overflow-y: auto; }
.ck__title { font: 400 1.35rem/1.2 var(--f-title); color: var(--brown-d); margin-bottom: 8px; }
.ck__text { font-size: .9rem; line-height: 1.55; }
.ck__text + .ck__text { margin-top: 8px; }
.ck__text--lead { color: var(--coral-d); font-style: italic; }
.ck__tip { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; line-height: 1.45; color: var(--muted); }
.ck__tip strong { color: var(--brown-d); font-weight: 500; }
.ck__prefs { margin-top: 14px; display: grid; gap: 8px; }
.ck__prefs[hidden] { display: none; }
.ck__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.ck__row span { display: grid; gap: 2px; font-size: .92rem; color: var(--brown-d); }
.ck__row small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.ck__row--fixed { cursor: default; opacity: .75; }
.ck__row input { flex: none; appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--sand); position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.ck__row input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.ck__row input:checked { background: var(--coral-d); }
.ck__row input:checked::after { transform: translateX(18px); }
.ck__row input:disabled { cursor: default; }
.ck__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.ck__btn { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: .85em 1em; border-radius: 999px; font: 500 .92rem/1 var(--f-body); border: 1.5px solid var(--brown); color: var(--brown-d); transition: background .25s, color .25s; }
.ck__btn:hover { background: var(--cream); }
.ck__btn:focus-visible { outline: 3px solid var(--coral-d); outline-offset: 2px; }
.ck__btn[hidden] { display: none; }
.ck__btn[data-act="config"], .ck__btn--save { grid-column: 1 / -1; }
.ck__btn--main { background: var(--brown-d); color: var(--cream); border-color: var(--brown-d); } /* Aceptar y Rechazar con el mismo peso */
.ck__btn--main:hover { background: var(--brown); color: #fff; }
.ck__btn--save { background: var(--coral-d); border-color: var(--coral-d); color: #fff; }
.ck__btn--save:hover { background: var(--brown); }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .signs, .cards, .reviews { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .burger { display: block; }
  .menu { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 26px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(90, 35, 24, .5); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s var(--ease); max-height: calc(100svh - 76px); overflow-y: auto; }
  .nav.is-open .menu { transform: none; opacity: 1; visibility: visible; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > a, .drop > button { display: block; padding: 16px 4px; font-size: 1.1rem; }
  .drop > button { width: 100%; box-sizing: border-box; display: flex; justify-content: space-between; }
  .drop ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px 10px; display: none; }
  .drop.is-open ul { display: block; }
  .drop:hover ul { display: none; }
  .drop.is-open:hover ul { display: block; }
  .menu > li:last-child { border: 0; padding-top: 18px; }
  .menu .btn { width: 100%; padding: 1em; }
  .hero__grid, .split, .faq, .contact, .page-hero__grid { grid-template-columns: 1fr; }
  .hero__art { justify-self: center; order: -1; width: min(100%, 380px); }
  .split--rev .split__media { order: 0; }
  .split .photo { max-width: 460px; aspect-ratio: 1 / 1; }
  .page-hero .photo { justify-self: start; max-width: 340px; order: -1; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .float { left: 12px; right: auto; bottom: 10px; }
}
@media (max-width: 640px) {
  .signs, .cards, .reviews, .ticks, .others, .fields, .quick { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.55rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .ck { left: 8px; bottom: 8px; width: calc(100% - 16px); }
  .ck__card { padding: 18px; border-radius: 18px; }
  .ck__title { font-size: 1.2rem; }
  .ck__text { font-size: .84rem; }
}
.form__legal { font-size: .78rem; line-height: 1.5; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: var(--cream); }
.form__legal strong { color: var(--brown-d); font-weight: 500; }
