/* viajeagrecia.online — hoja de estilos principal (sin dependencias). Móvil primero. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/fraunces-latin.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: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.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: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

:root {
  --c-ink: #10202e;
  --c-ink-2: #34495a;
  --c-muted: #5f6e7b;
  --c-line: #e4ded3;
  --c-line-2: #d3cbbd;
  --c-bg: #fbfaf7;
  --c-paper: #ffffff;
  --c-sand: #f4eee3;
  --c-aegean: #0d4a7a;
  --c-aegean-dark: #082f4f;
  --c-sea: #2b7bb9;
  --c-sky: #e7f0f7;
  --c-terra: #b4462a;
  --c-terra-dark: #933720;
  --c-olive: #56662c;
  --c-gold: #c18f2b;
  --c-gold-soft: #fbf3e1;
  --c-focus: #f2b134;

  --f-head: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + .35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + .7vw, 1.8rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 32, 46, .06), 0 8px 24px rgba(16, 32, 46, .06);
  --shadow-lg: 0 2px 6px rgba(16, 32, 46, .08), 0 24px 48px rgba(16, 32, 46, .12);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 11h10V3H4v4h2V5h2v4H2V1h12v10h10' fill='none' stroke='%230d4a7a' stroke-width='1.6'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; overflow-x: clip; background: var(--c-bg); color: var(--c-ink); font: 400 var(--step-0)/1.65 var(--f-body); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-aegean); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--c-terra); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--c-ink); margin: 0 0 .5em; text-wrap: balance; font-variation-settings: "opsz" 72; }
h1 { font-size: var(--step-4); font-weight: 650; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }
hr { border: 0; height: 12px; background: var(--meander) repeat-x center; opacity: .35; margin: 2.5rem 0; }
small { font-size: var(--step--1); }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 600 .78rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-aegean); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--c-ink-2); }
.muted { color: var(--c-muted); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent; background: var(--c-aegean); color: #fff; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--c-aegean-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--c-terra); }
.btn--accent:hover { background: var(--c-terra-dark); }
.btn--ghost { background: transparent; color: var(--c-aegean); border-color: var(--c-line-2); }
.btn--ghost:hover { background: var(--c-paper); color: var(--c-aegean-dark); border-color: var(--c-aegean); }
.btn--light { background: #fff; color: var(--c-aegean-dark); }
.btn--light:hover { background: var(--c-sky); color: var(--c-aegean-dark); }
.btn--sm { min-height: 38px; padding: .45rem .95rem; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--c-line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 6px; background: var(--meander) repeat-x; background-size: 16px 8px; opacity: .18; pointer-events: none; }
.site-header__inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand img { height: 28px; width: auto; }
@media (min-width: 640px) { .brand img { height: 32px; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav__list { display: none; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.nav__item { position: static; margin: 0; }
.nav__trigger { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: 999px; background: none; border: 0; font-weight: 600; font-size: .95rem; color: var(--c-ink); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.nav__trigger:hover, .nav__item.is-open > .nav__trigger, .nav__trigger[aria-current="true"] { background: var(--c-sky); color: var(--c-aegean-dark); }
.nav__trigger svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }
/* Megamenú: panel a todo el ancho bajo la cabecera */
.mega { position: absolute; top: 100%; left: 0; right: 0; background: var(--c-paper); border-top: 1px solid var(--c-line); box-shadow: 0 24px 48px -12px rgba(8, 47, 79, .22); display: none; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c-aegean), var(--c-sea) 55%, var(--c-terra)); }
.nav__item.is-open .mega { display: block; animation: mega-in .18s ease both; }
body.mega-open::after { content: ""; position: fixed; inset: var(--header-h) 0 0; z-index: 40; background: rgba(8, 47, 79, .22); animation: fade-in .2s ease both; pointer-events: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.mega__inner { display: grid; grid-template-columns: 230px minmax(0, 1fr) 270px; gap: 2.25rem; padding-block: 1.75rem 2rem; align-items: start; }
.mega__intro { padding-right: 1.5rem; border-right: 1px solid var(--c-line); align-self: stretch; }
.mega__eyebrow { font: 650 1.6rem/1.15 var(--f-head); color: var(--c-ink); margin: 0 0 .6rem; }
.mega__lead { margin: 0 0 1.1rem; color: var(--c-ink-2); font-size: .93rem; line-height: 1.55; }
.mega__cols { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.mega__cols--1 { --cols: 1; } .mega__cols--2 { --cols: 2; } .mega__cols--3 { --cols: 3; }
.mega__title { font: 700 .72rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--c-aegean); margin: 0 0 .7rem; padding-bottom: .55rem; border-bottom: 1px solid var(--c-line); }
.mega ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.mega li { margin: 0; }
.mega__link { display: flex; align-items: center; gap: .75rem; padding: .4rem .5rem; margin-inline: -.5rem; border-radius: 12px; color: var(--c-ink); text-decoration: none; transition: background .15s; }
.mega__link:hover, .mega__link:focus-visible, .mega__link[aria-current="page"] { background: var(--c-bg); color: var(--c-aegean-dark); }
.mega__thumb { flex: none; width: 46px; height: 46px; border-radius: 10px; overflow: hidden; background: var(--c-sky); display: grid; place-items: center; color: var(--c-aegean); }
.mega__thumb picture, .mega__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega__thumb svg { width: 22px; height: 22px; }
.mega__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mega__text strong { font-weight: 600; font-size: .95rem; }
.mega__text small { font-size: .76rem; color: var(--c-muted); margin-top: .1rem; }
.mega__link:hover .mega__text strong { color: var(--c-terra); }
.mega__feature { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-aegean-dark); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .18s; }
.mega__feature:hover { transform: translateY(-2px); color: #fff; }
.mega__feature-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-sky); }
.mega__feature-media picture, .mega__feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.mega__feature:hover .mega__feature-media img { transform: scale(1.05); }
.mega__feature-body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.1rem 1.15rem; }
.mega__feature-body strong { font: 600 1.12rem/1.25 var(--f-head); }
.mega__feature-body .badge { align-self: flex-start; }
.mega__feature-body .link-arrow { color: #a9c4da; font-size: .88rem; }
@media (max-width: 1240px) { .mega__inner { grid-template-columns: minmax(0, 1fr) 250px; } .mega__intro { display: none; } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: none; color: var(--c-ink); cursor: pointer; }
.icon-btn:hover { background: var(--c-sky); color: var(--c-aegean-dark); }
.icon-btn svg { width: 22px; height: 22px; }
@media (min-width: 1080px) {
  .nav__list { display: flex; }
  .nav__menu-btn { display: none; }
}

/* Menú móvil */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 47, 79, .45); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 420px); background: var(--c-bg); overflow-y: auto; padding: 1rem var(--gutter) 2rem; box-shadow: var(--shadow-lg); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.drawer__group { border-bottom: 1px solid var(--c-line); }
.drawer__group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font: 600 1.15rem/1.2 var(--f-head); cursor: pointer; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary::after { content: "+"; font: 400 1.4rem/1 var(--f-body); color: var(--c-aegean); }
.drawer__group[open] summary::after { content: "–"; }
.drawer__group ul { list-style: none; padding: 0 0 1rem; margin: 0; columns: 2; column-gap: 1rem; }
.drawer__group a { display: block; padding: .4rem 0; text-decoration: none; color: var(--c-ink); }
.drawer__links { list-style: none; padding: 1rem 0 0; margin: 0; }
.drawer__links a { display: block; padding: .5rem 0; font-weight: 600; text-decoration: none; }

/* Buscador */
.search-panel { display: none; border-bottom: 1px solid var(--c-line); background: var(--c-paper); }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: .5rem; padding-block: .9rem; }
.search-form input { flex: 1; min-width: 0; min-height: 48px; padding: .6rem 1rem; border: 1.5px solid var(--c-line-2); border-radius: 999px; background: var(--c-bg); }
.search-form input:focus { border-color: var(--c-aegean); outline: none; box-shadow: 0 0 0 3px var(--c-sky); }

/* ---------- Migas ---------- */
.crumbs { font-size: var(--step--1); color: var(--c-muted); padding-top: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .5rem; padding: 0; margin: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.crumbs li + li::before { content: "›"; color: var(--c-line-2); }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-aegean); text-decoration: underline; }
.crumbs [aria-current] { color: var(--c-ink-2); }

/* ---------- Héroes ---------- */
.hero { padding-block: 1.25rem 2rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .9rem; }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .7rem; border-radius: 999px; background: var(--c-sky); color: var(--c-aegean-dark); font-weight: 600; font-size: .8rem; letter-spacing: .02em; }
.badge--sand { background: var(--c-sand); color: var(--c-ink-2); }
.badge--gold { background: var(--c-gold-soft); color: #7a5713; }
.hero h1 { margin-bottom: .35em; }
.hero__lead { font-size: var(--step-1); line-height: 1.55; color: var(--c-ink-2); max-width: 46ch; }
.hero__media { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-sand); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.hero__media picture, .mosaic__item picture, .card__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .6rem; font-size: .78rem; color: #fff; background: linear-gradient(transparent, rgba(8, 25, 40, .65)); }
.byline { display: flex; align-items: center; gap: .7rem; margin-top: 1.25rem; font-size: .9rem; color: var(--c-muted); }
.byline img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; }
.byline a { color: var(--c-ink); font-weight: 600; text-decoration: none; }
.byline a:hover { color: var(--c-aegean); text-decoration: underline; }
@media (min-width: 900px) {
  .hero { padding-block: 1.75rem 3rem; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
  .hero__media { aspect-ratio: 5 / 4; }
  .hero--wide .hero__grid { grid-template-columns: 1fr 1.15fr; }
}
.hero--plain { padding-bottom: 1.5rem; }
.hero--plain .hero__lead { max-width: 62ch; }
.hero--band { background: linear-gradient(180deg, var(--c-sky), rgba(231, 240, 247, 0)); }

/* Portada */
.home-hero { position: relative; padding-block: 1.5rem 2.5rem; overflow: hidden; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
.home-hero h1 { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4.2rem); line-height: 1.04; margin-bottom: .4em; }
.home-hero h1 em { font-style: italic; color: var(--c-aegean); font-weight: 600; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .6rem; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .mosaic { aspect-ratio: 1 / 1; gap: .75rem; } }
.mosaic__item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-sand); box-shadow: var(--shadow); }
.mosaic__item:first-child { grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.mosaic__item a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: .9rem 1rem; color: #fff; font: 600 1.05rem/1.2 var(--f-head); text-decoration: none; background: linear-gradient(transparent 50%, rgba(8, 25, 40, .7)); }
.mosaic__item a span { display: block; font: 500 .74rem/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: .2rem; }
@media (min-width: 900px) {
  .home-hero { padding-block: 2.5rem 4rem; }
  .home-hero__grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}
.quick-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: 2rem; }
.quick-links a { display: flex; align-items: center; gap: .6rem; padding: .8rem .9rem; border-radius: var(--radius); background: var(--c-paper); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); font-weight: 600; font-size: .95rem; transition: border-color .15s, transform .15s; }
.quick-links a:hover { border-color: var(--c-aegean); transform: translateY(-2px); color: var(--c-aegean-dark); }
.quick-links svg { width: 22px; height: 22px; color: var(--c-aegean); flex: none; }
@media (min-width: 640px) { .quick-links { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--sand { background: var(--c-sand); }
.section--sky { background: var(--c-sky); }
.section--ink { background: var(--c-aegean-dark); color: #e9f1f7; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.75rem; }
.section__head h2 { margin: .35rem 0 0; }
.section__head p { margin: .5rem 0 0; color: var(--c-ink-2); max-width: 60ch; }

/* ---------- Tarjetas ---------- */
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { aspect-ratio: 16 / 10; background: var(--c-sand); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media--empty { display: grid; place-items: center; background: var(--c-sky) var(--meander) repeat; background-size: 24px 12px; }
.card__media--empty img { width: 56px; height: 56px; object-fit: contain; opacity: .5; }
.card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__kind { font: 600 .72rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c-aegean); }
.card__title { font: 600 1.2rem/1.25 var(--f-head); margin: 0; }
.card__title a { color: var(--c-ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__text { margin: 0; color: var(--c-ink-2); font-size: .94rem; line-height: 1.5; }
.card__meta { margin-top: auto; padding-top: .5rem; font-size: .82rem; color: var(--c-muted); }
.card--compact { flex-direction: row; align-items: center; }
.card--compact .card__media { width: 96px; flex: none; aspect-ratio: 1; }
.card--compact .card__title { font-size: 1.02rem; }
.card--compact .card__body { padding: .75rem 1rem; }

.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tile { position: relative; padding: 1.25rem 1.25rem 1.35rem; border-radius: var(--radius-lg); background: var(--c-paper); border: 1px solid var(--c-line); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--c-aegean); transform: translateY(-2px); }
.tile__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--c-sky); color: var(--c-aegean); margin-bottom: .8rem; }
.tile__icon svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.15rem; margin: 0 0 .35rem; }
.tile h3 a { color: var(--c-ink); text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile p { margin: 0; font-size: .94rem; color: var(--c-ink-2); line-height: 1.5; }

.route-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.route-card { position: relative; padding: 1.4rem; border-radius: var(--radius-lg); background: var(--c-aegean-dark); color: #dfeaf3; overflow: hidden; }
.route-card::before { content: ""; position: absolute; inset: auto -20px -30px auto; width: 160px; height: 80px; background: var(--meander) repeat; background-size: 24px 12px; opacity: .12; filter: invert(1); }
.route-card__days { font: 650 3rem/1 var(--f-head); color: #fff; }
.route-card__days small { font: 500 1rem/1 var(--f-body); margin-left: .25rem; color: #a9c4da; }
.route-card h3 { color: #fff; font-size: 1.2rem; margin: .6rem 0 .4rem; }
.route-card h3 a { color: inherit; text-decoration: none; }
.route-card h3 a::after { content: ""; position: absolute; inset: 0; }
.route-card p { margin: 0; font-size: .94rem; }

/* ---------- Ficha rápida ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; margin: 0; }
.facts > div { padding: .9rem 1rem; box-shadow: 1px 0 0 var(--c-line), 0 1px 0 var(--c-line); }
.facts dt { font: 600 .72rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .3rem; }
.facts dd { margin: 0; font-weight: 600; font-size: .98rem; line-height: 1.35; }
.facts dd small { display: block; font-weight: 400; color: var(--c-muted); margin-top: .2rem; }

/* ---------- Artículo con índice ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 1.5rem 3rem; }
@media (min-width: 1080px) {
  .article-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 3.5rem; }
  .article-layout--no-toc { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin-inline: auto; }
}
.toc { font-size: .92rem; }
.toc details { border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-paper); }
.toc summary { cursor: pointer; padding: .85rem 1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; color: var(--c-aegean); font-size: 1.2rem; line-height: 1; }
.toc details[open] summary::after { content: "–"; }
.toc ol { list-style: none; margin: 0; padding: 0 1rem 1rem; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .38rem 0; color: var(--c-ink-2); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 600 .75rem/1.6 var(--f-body); color: var(--c-aegean); opacity: .7; }
.toc a:hover, .toc a.is-active { color: var(--c-aegean-dark); }
.toc a.is-active { font-weight: 600; }
@media (min-width: 1080px) {
  .toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
  .toc details { border: 0; background: none; }
  .toc summary { padding: 0 0 .7rem; pointer-events: none; font: 600 .74rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
  .toc summary::after { display: none; }
  .toc ol { padding: 0; border-left: 1px solid var(--c-line); }
  .toc a { padding: .35rem 0 .35rem 1rem; margin-left: -1px; border-left: 2px solid transparent; }
  .toc a.is-active { border-left-color: var(--c-aegean); }
}

/* ---------- Texto largo ---------- */
.prose { max-width: 72ch; font-size: 1.06rem; line-height: 1.75; }
.prose > * + h2 { margin-top: 2.6rem; }
.prose h2 { font-size: var(--step-3); padding-top: .2rem; }
.prose h2::before { content: ""; display: block; width: 48px; height: 10px; margin-bottom: .9rem; background: var(--meander) repeat-x; background-size: 20px 10px; opacity: .55; }
.prose h3 { font-size: var(--step-1); font-family: var(--f-body); font-weight: 700; letter-spacing: 0; margin-top: 1.9rem; }
.prose h4 { font-size: 1.05rem; font-family: var(--f-body); font-weight: 700; margin-top: 1.5rem; }
.prose ul li::marker { color: var(--c-aegean); }
.prose ol li::marker { color: var(--c-aegean); font-weight: 700; }
.prose strong { font-weight: 650; color: var(--c-ink); }
.prose blockquote { margin: 1.5rem 0; padding: .6rem 0 .6rem 1.25rem; border-left: 3px solid var(--c-gold); font-family: var(--f-head); font-size: 1.2rem; color: var(--c-ink-2); }
.prose a.ext::after { content: "↗"; font-size: .75em; margin-left: .15em; vertical-align: .15em; text-decoration: none; display: inline-block; }
.prose code { background: var(--c-sand); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-paper); -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 520px; font-size: .94rem; line-height: 1.45; }
.table-wrap th, .table-wrap td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.table-wrap th { background: var(--c-sky); color: var(--c-aegean-dark); font-weight: 650; font-size: .86rem; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) td { background: #fcfbf8; }
.figure { margin: 2rem 0; }
.figure picture, .figure > img { border-radius: var(--radius); overflow: hidden; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure figcaption { margin-top: .55rem; font-size: .86rem; color: var(--c-muted); }

/* Avisos */
.callout { margin: 1.75rem 0; padding: 1rem 1.15rem 1rem 1.15rem; border-radius: var(--radius); border: 1px solid; position: relative; }
.callout p:last-child { margin-bottom: 0; }
.callout__label { font: 700 .74rem/1.2 var(--f-body) !important; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .4rem !important; }
.callout--tip { background: #eef6ee; border-color: #cfe3cf; }
.callout--tip .callout__label { color: var(--c-olive); }
.callout--warning { background: var(--c-gold-soft); border-color: #efdcae; }
.callout--warning .callout__label { color: #8a5d0a; }

/* Resumen */
.summary { margin: 0 0 2.25rem; padding: 1.35rem 1.4rem; border-radius: var(--radius-lg); background: var(--c-paper); border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.summary h2 { font: 700 .8rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-aegean); margin: 0 0 .85rem; }
.summary h2::before { display: none; }
.summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.summary li { position: relative; padding-left: 1.4rem; margin: 0; line-height: 1.55; }
.summary li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--c-terra); transform: rotate(45deg); }

/* Información práctica (yacimientos y museos) */
.practical { margin: 0 0 2.25rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #cfe0ee; background: var(--c-paper); }
.practical__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; padding: .9rem 1.2rem; background: var(--c-sky); }
.practical__head h2 { font: 700 .82rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-aegean-dark); margin: 0; }
.practical__head h2::before { display: none; }
.practical__verified { font-size: .8rem; color: var(--c-aegean-dark); }
.practical dl { margin: 0; display: grid; }
.practical dl > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 1rem; padding: .8rem 1.2rem; border-top: 1px solid var(--c-line); }
.practical dt { font-weight: 650; color: var(--c-ink-2); font-size: .93rem; }
.practical dd { margin: 0; font-size: .95rem; line-height: 1.5; }
.practical__source { padding: .75rem 1.2rem; border-top: 1px solid var(--c-line); font-size: .85rem; color: var(--c-muted); background: #fcfbf8; }

/* Preguntas frecuentes */
.faq { margin-top: 3rem; }
.faq h2::before { display: none; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item:first-of-type { border-top: 1px solid var(--c-line); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; font-weight: 650; font-size: 1.05rem; line-height: 1.4; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--c-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%230d4a7a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 1.1rem; color: var(--c-ink-2); }
.faq__answer p:last-child { margin: 0; }

/* Fuentes y autoría */
.sources { margin-top: 2.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--c-sand); font-size: .9rem; }
.sources h2 { font: 700 .76rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 .6rem; }
.sources h2::before { display: none; }
.sources ul { margin: 0; padding-left: 1.1rem; }
.sources li { margin-bottom: .25rem; }
.sources a { word-break: break-word; }
.updated-note { margin-top: 1rem; font-size: .86rem; color: var(--c-muted); }
.author-box { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--c-aegean-dark); color: #d5e3ee; position: relative; overflow: hidden; }
.author-box::after { content: ""; position: absolute; right: -10px; top: 0; bottom: 0; width: 90px; background: var(--meander) repeat; background-size: 24px 12px; opacity: .1; filter: invert(1); }
.author-box img { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; flex: none; background: rgba(255, 255, 255, .1); }
.author-box__label { font: 700 .72rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #9fc0db; margin: 0; }
.author-box__name { font: 600 1.35rem/1.2 var(--f-head); color: #fff; margin: .3rem 0 .1rem; }
.author-box__name a { color: inherit; text-decoration: none; }
.author-box__role { margin: 0; font-size: .9rem; color: #a9c4da; }
.author-box__bio { margin: .7rem 0 0; font-size: .95rem; line-height: 1.6; }
.author-box__links { margin-top: .7rem; display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.author-box__links a { color: #fff; font-weight: 600; }
@media (min-width: 640px) { .author-box { flex-direction: row; align-items: center; padding: 1.75rem; } }

/* Afiliación y publicidad */
.affiliate { margin: 2rem 0; display: grid; gap: .9rem; padding: 1.2rem 1.25rem; border-radius: var(--radius-lg); border: 1px solid #ecd2c8; background: #fdf6f3; }
.affiliate__title { font: 600 1.15rem/1.25 var(--f-head); margin: 0; }
.affiliate__text { margin: .25rem 0 0; color: var(--c-ink-2); font-size: .95rem; }
.affiliate .btn { justify-self: start; }
.affiliate__disclosure { margin: 0; font-size: .78rem; color: var(--c-muted); }
@media (min-width: 640px) { .affiliate { grid-template-columns: 1fr auto; align-items: center; } .affiliate__disclosure { grid-column: 1 / -1; } }
.ad-slot { margin: 2.25rem auto; min-height: var(--ad-min, 280px); display: flex; flex-direction: column; align-items: stretch; justify-content: center; background: #f6f3ed; border-radius: var(--radius); padding: .4rem; contain: layout; }
.ad-slot__label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #8f9aa4; text-align: center; margin-bottom: .3rem; }
.ad-slot ins { flex: 1; width: 100%; }
.ad-slot.is-hidden, .ad-slot:has(ins[data-ad-status="unfilled"]) { display: none; }
html:not(.ads-on) .ad-slot { display: none; }

/* ---------- Galería ---------- */
.gallery { margin-top: 3rem; }
.gallery__title { font-size: var(--step-2); margin-bottom: 1.1rem; }
.gallery__grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery__grid--1 { grid-template-columns: minmax(0, 1fr); }
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--c-sand); aspect-ratio: 4 / 3; }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__grid--1 .gallery__item { aspect-ratio: 16 / 9; }
.gallery__item picture, .gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .75rem .55rem; font-size: .78rem; line-height: 1.35; color: #fff; background: linear-gradient(transparent, rgba(8, 25, 40, .78)); }

/* ---------- Plantilla de destino: lugares ---------- */
.places { margin-top: 3rem; }
.related { padding-block: 3rem 3.5rem; border-top: 1px solid var(--c-line); background: var(--c-sand); }

/* ---------- Rutas ---------- */
.route-summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); background: var(--c-paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); margin-bottom: 2.25rem; }
.route-summary > div { background: var(--c-paper); padding: .9rem 1rem; }
.timeline { list-style: none; margin: 0 0 2.5rem; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(var(--c-line-2) 0 6px, transparent 6px 12px); }
.timeline__day { position: relative; padding: 0 0 1.6rem 64px; margin: 0; }
.timeline__num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--c-aegean); color: #fff; font: 650 1rem/1 var(--f-head); box-shadow: 0 0 0 5px var(--c-bg); }
.timeline__day h3 { font-size: 1.2rem; margin: .5rem 0 .4rem; font-family: var(--f-head); }
.timeline__day p { margin: 0 0 .5rem; color: var(--c-ink-2); }
.timeline__links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.timeline__links a { font-size: .84rem; padding: .25rem .65rem; border-radius: 999px; background: var(--c-sky); text-decoration: none; color: var(--c-aegean-dark); font-weight: 600; }
.timeline__links a:hover { background: var(--c-aegean); color: #fff; }

/* ---------- Herramientas ---------- */
.tool { margin: 2rem 0; padding: clamp(1.1rem, 3vw, 1.75rem); border-radius: var(--radius-lg); background: var(--c-paper); border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.tool__title { font: 600 var(--step-2)/1.2 var(--f-head); margin: 0 0 .35rem; }
.tool__intro { color: var(--c-ink-2); margin: 0 0 1.25rem; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: grid; gap: .35rem; }
.field > label, .field legend { font-weight: 650; font-size: .93rem; }
.field__hint { font-size: .82rem; color: var(--c-muted); margin: 0; }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: .6rem .85rem; border: 1.5px solid var(--c-line-2); border-radius: 10px; background: #fff; }
textarea.input { min-height: 150px; resize: vertical; }
.input:focus { outline: none; border-color: var(--c-aegean); box-shadow: 0 0 0 3px var(--c-sky); }
.field--error .input { border-color: var(--c-terra); }
.field__error { color: var(--c-terra-dark); font-size: .86rem; margin: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .9rem; border-radius: 999px; border: 1.5px solid var(--c-line-2); background: #fff; font-size: .92rem; font-weight: 500; }
.chip input:checked + span { background: var(--c-aegean); border-color: var(--c-aegean); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.range-row { display: flex; align-items: center; gap: 1rem; }
.range-row input[type="range"] { flex: 1; accent-color: var(--c-aegean); }
.range-row output { min-width: 4.5ch; font: 650 1.4rem/1 var(--f-head); color: var(--c-aegean-dark); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--c-aegean); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.15rem; border-radius: var(--radius); margin-bottom: 1.25rem; }
.notice--ok { background: #eef6ee; border: 1px solid #cfe3cf; }
.notice--error { background: #fbeeea; border: 1px solid #efcabd; }

.result { margin-top: 1.75rem; }
.result[hidden] { display: none; }
.result__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.result__head h3 { margin: 0; }
.plan-day { display: grid; grid-template-columns: 56px 1fr; gap: .9rem; padding: .95rem 0; border-top: 1px solid var(--c-line); }
.plan-day__n { font: 650 .8rem/1.1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); text-align: center; }
.plan-day__n b { display: block; font: 650 1.6rem/1 var(--f-head); color: var(--c-aegean); letter-spacing: 0; }
.plan-day h4 { margin: 0 0 .2rem; font-size: 1.05rem; }
.plan-day p { margin: 0; color: var(--c-ink-2); font-size: .95rem; }
.plan-day--travel h4::before { content: "⇄ "; color: var(--c-terra); }
.plan-notes { margin-top: 1rem; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--c-gold-soft); font-size: .92rem; }
.plan-notes ul { margin: .4rem 0 0; }

.budget-table { width: 100%; font-size: .95rem; }
.budget-table th, .budget-table td { padding: .6rem .5rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; }
.budget-table td:last-child, .budget-table th:last-child { text-align: right; white-space: nowrap; }
.budget-table input { width: 6.5rem; min-height: 40px; padding: .35rem .5rem; text-align: right; border: 1.5px solid var(--c-line-2); border-radius: 8px; }
.budget-note { margin-top: .25rem; font-weight: 400; }
.budget-note summary { cursor: pointer; font-size: .8rem; color: var(--c-aegean); }
.budget-note small { display: block; margin-top: .3rem; color: var(--c-muted); line-height: 1.45; max-width: 52ch; }
.budget-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem; margin-top: 1rem; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--c-aegean-dark); color: #fff; }
.budget-total strong { font: 650 2rem/1 var(--f-head); color: #fff !important; }

.checklist__progress { height: 8px; border-radius: 99px; background: var(--c-line); overflow: hidden; margin: .4rem 0 1.25rem; }
.checklist__progress span { display: block; height: 100%; width: 0; background: var(--c-olive); transition: width .25s; }
.checklist__group { margin-bottom: 1.25rem; }
.checklist__group h3 { font: 700 .82rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c-aegean); margin: 0 0 .5rem; }
.checklist__group ul { list-style: none; padding: 0; margin: 0; columns: 1; }
@media (min-width: 720px) { .checklist__group ul { columns: 2; column-gap: 2rem; } }
.checklist__group li { break-inside: avoid; margin: 0; padding: .3rem 0; }
.checklist__group li.is-done label { color: var(--c-muted); text-decoration: line-through; }
.checklist__add { display: flex; gap: .5rem; margin-top: 1rem; }
.checklist__add .input { flex: 1; }

/* ---------- Pie ---------- */
.site-footer { margin-top: 0; background: var(--c-aegean-dark); color: #c8d9e7; font-size: .94rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--meander) repeat-x; background-size: 24px 12px; filter: invert(1); opacity: .16; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer__grid { display: grid; gap: 2rem; padding-block: 3.5rem 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__brand img { height: 30px; width: auto; margin-bottom: 1rem; }
.footer__brand p { max-width: 36ch; }
.footer__title { font: 700 .74rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #8fb3d0; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; color: #9fb9cf; }
.footer__bottom a { text-decoration: underline; }
.footer__bottom button { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- Consentimiento ---------- */
.consent { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin-inline: auto; padding: 1.2rem 1.25rem; border-radius: var(--radius-lg); background: var(--c-paper); border: 1px solid var(--c-line); box-shadow: var(--shadow-lg); font-size: .92rem; }
.consent[hidden] { display: none; }
.consent h2 { font: 600 1.15rem/1.2 var(--f-head); margin: 0 0 .4rem; }
.consent p { margin: 0 0 .9rem; color: var(--c-ink-2); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent__actions .btn { flex: 1 1 auto; }
.consent__prefs { margin: .5rem 0 1rem; display: grid; gap: .7rem; }
.consent__prefs[hidden] { display: none; }
@media (min-width: 900px) { .consent { left: 24px; right: auto; bottom: 24px; } }

/* ---------- Varios ---------- */
.empty-state { text-align: center; padding: 3rem 1rem 4rem; }
.empty-state img { margin: 0 auto 1.25rem; width: 96px; opacity: .8; }
.results-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.legal-meta { font-size: .88rem; color: var(--c-muted); }
.legacy-note { padding: .8rem 1rem; border-radius: var(--radius); background: var(--c-sand); font-size: .88rem; color: var(--c-ink-2); margin-bottom: 1.5rem; }

@media print {
  .site-header, .site-footer, .toc, .ad-slot, .affiliate, .consent, .related, .no-print, .crumbs { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .tool { box-shadow: none; border: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
