/* ==========================================================================
   Parchat — sistema visual v2 (claro, fotográfico, editorial)
   Verde caña + mango sobre crema cálido. Fraunces (títulos) + Manrope (texto).
   ========================================================================== */

:root {
  --bg: #F6F3EE;
  --cream: #F6F3EE;
  --paper: #FFFFFF;
  --sand: #EFE9DF;
  --sand-2: #E7DFD2;
  --line: #E9E2D6;
  --line-2: #D8CEBE;

  --ink: #16201B;
  --ink-2: #1E2B24;
  --ink-3: #2A3A31;
  --text: #16201B;
  --muted: #69716C;
  --muted-2: #9AA09B;

  --forest: #1F4A37;
  --forest-2: #2B6149;
  --forest-dark: #12271D;
  --forest-soft: #E3EEE7;
  --moss: #2B6149;

  --gold: #F0A13A;
  --gold-2: #F7C67A;
  --gold-deep: #B86E12;
  --gold-soft: #FCEBD2;

  --ok: #227A4B;  --ok-bg: #E2F2E8;
  --warn: #9A6412; --warn-bg: #FBF0DC;
  --danger: #B3372A; --danger-bg: #FBE7E4;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(22, 32, 27, .05), 0 1px 6px rgba(22, 32, 27, .04);
  --shadow: 0 12px 32px -14px rgba(22, 32, 27, .22);
  --shadow-lg: 0 30px 70px -28px rgba(22, 32, 27, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1280px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.accent { font-style: italic; color: var(--forest-2); }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 820px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 700; font-size: .95rem; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-primary, .btn-dark { --bg: var(--forest); --fg: #fff; }
.btn-primary:hover, .btn-dark:hover { --bg: var(--forest-2); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); }
.btn-gold:hover { --bg: #F4AE4F; box-shadow: 0 10px 24px -12px rgba(240,161,58,.8); }
.btn-ink { --bg: var(--ink); --fg: #fff; }
.btn-light { --bg: #fff; --fg: var(--ink); --bd: var(--line); }
.btn-light:hover { --bd: var(--line-2); }
.btn-ghost { --bg: transparent; --fg: currentColor; --bd: rgba(127,127,127,.35); }
.btn-ghost:hover { --bd: currentColor; }
.btn-glass { --bg: rgba(255,255,255,.16); --fg: #fff; --bd: rgba(255,255,255,.28); backdrop-filter: blur(10px); }
.btn-glass:hover { --bg: rgba(255,255,255,.26); }
.btn-danger { --bg: var(--danger-bg); --fg: var(--danger); }
.btn-ok { --bg: var(--ok); --fg: #fff; }
.btn-wa { --bg: #1FAF5A; --fg: #fff; }
.btn-wa:hover { --bg: #1a9c50; box-shadow: 0 12px 26px -14px rgba(31,175,90,.9); }
.btn-sm { height: 38px; padding: 0 16px; font-size: .86rem; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 48px; padding: 0; }
.btn-sm.btn-icon { width: 38px; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Chips y sellos ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--sand); color: var(--text); }
.chip .icon { width: 14px; height: 14px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.badge .icon { width: 13px; height: 13px; color: var(--gold-deep); }
.badge-gold { background: var(--gold); color: var(--ink); }
.badge-gold .icon { color: var(--ink); }
.badge-dark { background: rgba(22,32,27,.6); color: #fff; backdrop-filter: blur(8px); box-shadow: none; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.ok, .status.activo, .status.aprobado { background: var(--ok-bg); color: var(--ok); }
.status.warn, .status.pendiente { background: var(--warn-bg); color: var(--warn); }
.status.danger, .status.rechazado { background: var(--danger-bg); color: var(--danger); }
.status.muted, .status.inactivo { background: #ECEAE5; color: var(--muted); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(246, 243, 238, .85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .link-plain { font-weight: 600; padding: 8px 12px; color: var(--muted); }
.header-actions .link-plain:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .main-nav, .header-actions .hide-mobile { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg); padding: 24px; display: flex; flex-direction: column; gap: 4px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease); }
  .mobile-nav a:not(.btn) { font-family: var(--font-display); font-size: 1.9rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 20px; }
  body.nav-open .mobile-nav { opacity: 1; pointer-events: auto; transform: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Avisos ---------- */
.toasts { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 80; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 500; animation: toast-in .4s var(--ease) both; }
.toast .icon { margin-top: 1px; }
.toast.success .icon { color: #6FD39A; }
.toast.error .icon { color: #FF8A7A; }
.toast.info .icon { color: var(--gold-2); }
.toast button { margin-left: auto; background: none; border: 0; color: inherit; opacity: .6; cursor: pointer; padding: 0; }
.toast.is-leaving { animation: toast-out .3s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(20px); } }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); font-size: .93rem; border: 1px solid transparent; }
.alert .icon { margin-top: 2px; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: #F2CCC6; }
.alert-info { background: var(--forest-soft); color: var(--forest); border-color: #CFE0D5; }
.alert-warn { background: var(--warn-bg); color: var(--warn); border-color: #F0DDB8; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: #CDE5D5; }

/* ---------- Hero (inicio) ---------- */
.hero-wrap { padding: 8px 16px 0; }
.hero {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); color: #fff;
  min-height: min(82vh, 780px); display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 5vw, 64px); max-width: 1600px; margin: 0 auto;
  background: var(--forest-dark);
}
.hero .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); animation: hero-zoom 18s ease-out forwards; }
.hero .bg.fallback { background: radial-gradient(70% 90% at 80% 10%, #3E7A5C 0%, transparent 60%), radial-gradient(60% 70% at 10% 100%, #B86E12 0%, transparent 60%), linear-gradient(160deg, #1F4A37, #12271D); animation: none; transform: none; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,22,17,.72) 0%, rgba(12,22,17,.35) 45%, rgba(12,22,17,0) 75%), linear-gradient(0deg, rgba(12,22,17,.55) 0%, rgba(12,22,17,0) 45%); }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-content { max-width: 720px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); font-size: .85rem; font-weight: 700; margin-bottom: 22px; }
.hero-pill .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.hero-pill .dot .icon { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 20px; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--gold-2); font-weight: 400; }
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 520px; margin-bottom: 32px; }
.hero-aside { position: absolute; right: clamp(20px, 4vw, 56px); bottom: clamp(28px, 5vw, 64px); width: 300px; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hero-aside .label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 2px 4px 10px; }
.hero-aside a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; transition: background .2s; }
.hero-aside a:hover { background: rgba(255,255,255,.12); }
.hero-aside .th { width: 54px; height: 54px; border-radius: 12px; overflow: hidden; flex: none; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.hero-aside .th img { width: 100%; height: 100%; object-fit: cover; }
.hero-aside strong { display: block; font-size: .95rem; line-height: 1.25; }
.hero-aside span { font-size: .8rem; color: rgba(255,255,255,.72); }
@media (max-width: 1100px) { .hero-aside { display: none; } }

.search-bar { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 4px; padding: 7px; background: #fff; border-radius: 999px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); color: var(--text); max-width: 680px; }
.search-field { position: relative; display: flex; align-items: center; min-width: 0; }
.search-field .icon { position: absolute; left: 18px; color: var(--muted); pointer-events: none; }
.search-field input, .search-field select { width: 100%; height: 54px; border: 0; background: transparent; padding: 0 16px 0 48px; font-weight: 600; font-size: .98rem; border-radius: 999px; outline: none; appearance: none; -webkit-appearance: none; text-overflow: ellipsis; }
.search-field input::placeholder { color: var(--muted-2); font-weight: 500; }
.search-field select { cursor: pointer; }
.search-field + .search-field::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.search-field input:hover, .search-field select:hover { background: var(--bg); }
.search-bar .btn { height: 54px; padding: 0 28px; }
@media (max-width: 680px) {
  .search-bar { grid-template-columns: 1fr; border-radius: 24px; }
  .search-field + .search-field::before { left: 16px; right: 16px; top: 0; bottom: auto; width: auto; height: 1px; }
  .search-field input, .search-field select { border-radius: 16px; }
  .search-bar .btn { width: 100%; }
  .hero { min-height: 640px; padding: 26px 22px; }
}

.trust { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; padding: 34px 0 10px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.trust strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--ink); margin-right: 6px; letter-spacing: -.02em; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-paper { background: var(--paper); }
.section-green { background: var(--forest-dark); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 700px; text-wrap: balance; }
.section-head p { margin: 12px 0 0; color: var(--muted); max-width: 560px; font-size: 1.05rem; }
.section-green .section-head p { color: rgba(255,255,255,.7); }
.section-green .accent { color: var(--gold-2); }
.section-green .eyebrow { color: var(--gold-2); }

/* ---------- Pueblos ---------- */
.towns-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.town-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3.2; padding: 26px; border-radius: var(--r-xl); overflow: hidden; color: #fff; isolation: isolate; }
.town-card .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.town-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,22,17,0) 40%, rgba(12,22,17,.78) 100%); }
.town-card:hover .bg { transform: scale(1.05); }
.town-card .count { position: absolute; top: 20px; left: 20px; }
.town-card .go { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease); }
.town-card:hover .go { transform: rotate(-45deg); }
.town-card h3 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 4px; }
.town-card p { color: rgba(255,255,255,.85); margin: 0; }
.bg-fallback { background: radial-gradient(80% 80% at 80% 0%, #3E7A5C, transparent 60%), linear-gradient(160deg, #1F4A37, #12271D); }
.bg-fallback.alt { background: radial-gradient(80% 80% at 80% 0%, #E2A04B, transparent 60%), linear-gradient(160deg, #8A5223, #3B2414); }

/* ---------- Categorías ---------- */
.cat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 180px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-tile { position: relative; scroll-snap-align: start; aspect-ratio: 1 / 1.15; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; isolation: isolate; color: #fff; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,22,17,0) 45%, rgba(12,22,17,.72)); }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile strong { font-size: 1rem; line-height: 1.2; }
.cat-tile.no-img { color: inherit; justify-content: space-between; border: 1px solid transparent; }
.cat-tile.no-img::before { display: none; }
.cat-tile.no-img .ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.7); display: grid; place-items: center; }
.cat-tile.no-img .ic .icon { width: 26px; height: 26px; }
.cat-tile.no-img strong { color: var(--ink); }
.cat-tile.no-img:hover { transform: translateY(-3px); transition: transform .3s var(--ease); }

/* ---------- Tarjeta de negocio ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 34px 22px; }
.biz-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.biz-card .media { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--sand); }
.biz-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.biz-card:hover .media img { transform: scale(1.05); }
.biz-card .media .badge { position: absolute; top: 12px; left: 12px; }
.biz-card .logo { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 14px; border: 2px solid #fff; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.biz-card .logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-card .body { display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.biz-card .meta { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.biz-card .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.biz-card h3 { font-family: var(--font); font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; margin: 0; }
.biz-card p { font-size: .92rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.biz-card .stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.media-ph { width: 100%; height: 100%; display: grid; place-items: center; position: relative; }
.media-ph .icon { width: 40px; height: 40px; stroke-width: 1.4; }
.section-green .biz-card .meta, .section-green .biz-card p { color: rgba(255,255,255,.65); }

/* Destacados tipo revista */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.bento .feature { grid-row: span 2; }
.feature-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 520px; padding: 28px; border-radius: var(--r-xl); overflow: hidden; color: #fff; isolation: isolate; }
.feature-card .bgimg { position: absolute; inset: 0; z-index: -2; }
.feature-card .bgimg img, .feature-card .bgimg .media-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-card:hover .bgimg img { transform: scale(1.04); }
.feature-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,22,17,0) 35%, rgba(12,22,17,.85)); }
.feature-card .badge { position: absolute; top: 20px; left: 20px; }
.feature-card .meta { font-size: .85rem; font-weight: 700; color: var(--gold-2); margin-bottom: 8px; }
.feature-card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 8px; }
.feature-card p { color: rgba(255,255,255,.82); max-width: 420px; margin-bottom: 18px; }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } .bento .feature { grid-column: span 2; grid-row: auto; } .feature-card { min-height: 420px; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento .feature { grid-column: auto; } }

/* Carrusel */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 20px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 66px) / 4); } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.rail-nav button:hover { border-color: var(--ink); }

/* ---------- Pasos / CTA ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--forest-soft); color: var(--forest); font-weight: 800; display: grid; place-items: center; margin-bottom: 22px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.cta-split { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--forest); color: #fff; min-height: 480px; }
.cta-split .photo { position: relative; background: var(--forest-2); }
.cta-split .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-split .photo .media-ph { position: absolute; inset: 0; }
.cta-split .copy { padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.cta-split h2 { color: #fff; }
.cta-split .accent { color: var(--gold-2); }
.cta-split p { color: rgba(255,255,255,.78); font-size: 1.08rem; }
.cta-list { list-style: none; padding: 0; margin: 8px 0 30px; display: grid; gap: 12px; }
.cta-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.cta-list .icon { color: var(--gold-2); }
@media (max-width: 860px) { .cta-split { grid-template-columns: 1fr; } .cta-split .photo { min-height: 280px; } }

/* ---------- Precios ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.plan-card.is-recommended { background: var(--forest); color: #fff; border-color: var(--forest); box-shadow: var(--shadow-lg); }
.plan-card .tag { position: absolute; top: 24px; right: 24px; }
.plan-card h3 { font-family: var(--font); font-weight: 800; font-size: 1.15rem; letter-spacing: 0; margin-bottom: 4px; }
.plan-card .desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan-card.is-recommended .desc { color: rgba(255,255,255,.7); }
.plan-card .price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 24px; }
.plan-card .price strong { font-family: var(--font-display); font-size: 3rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.plan-card .price span { color: var(--muted); font-weight: 600; }
.plan-card.is-recommended .price span { color: rgba(255,255,255,.65); }
.plan-card ul { list-style: none; padding: 24px 0 0; margin: 0 0 30px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.plan-card.is-recommended ul { border-top-color: rgba(255,255,255,.15); }
.plan-card li { display: flex; gap: 10px; font-size: .95rem; }
.plan-card li .icon { width: 18px; height: 18px; color: var(--forest-2); margin-top: 3px; }
.plan-card.is-recommended li .icon { color: var(--gold-2); }
.plan-card .btn { margin-top: auto; }

/* ---------- Encabezado de página ---------- */
.page-hero { padding: 56px 0 34px; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.cover-hero { padding: 8px 16px 0; }
.cover-hero .inner { position: relative; max-width: 1600px; margin: 0 auto; min-height: 440px; border-radius: var(--r-xl); overflow: hidden; color: #fff; display: flex; align-items: flex-end; padding: clamp(28px, 5vw, 60px); isolation: isolate; }
.cover-hero .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.cover-hero .inner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,22,17,.75), rgba(12,22,17,.1) 70%); }
.cover-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: 8px; }
.cover-hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin: 0; max-width: 620px; }
.cover-hero .crumbs { color: rgba(255,255,255,.75); }
.cover-hero .crumbs a:hover { color: #fff; }

/* Filtros */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; transition: all .2s; }
.filters a:hover { border-color: var(--line-2); }
.filters a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters a .icon { width: 16px; height: 16px; }
.toolbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 30px 0 24px; }
.search-inline { display: flex; gap: 4px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 999px; width: 100%; box-shadow: var(--shadow-sm); }
.search-inline .search-field { flex: 1 1 200px; }
.search-inline .search-field input, .search-inline .search-field select { height: 48px; }
.search-inline .btn { height: 48px; }
@media (max-width: 680px) { .search-inline { border-radius: 22px; } .search-inline .btn { width: 100%; } }
.result-count { color: var(--muted); font-weight: 600; font-size: .92rem; }

.empty { text-align: center; padding: 64px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: rgba(255,255,255,.5); }
.empty .icon { width: 40px; height: 40px; color: var(--gold-deep); margin: 0 auto 16px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); margin: 0 auto 20px; max-width: 420px; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 50px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px; font-weight: 700; border: 1px solid var(--line); background: #fff; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Ficha de negocio ---------- */
.biz-top { padding: 28px 0 0; }
.biz-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; border-radius: var(--r-xl); overflow: hidden; }
.biz-gallery > * { position: relative; overflow: hidden; background: var(--sand); }
.biz-gallery > :first-child { grid-row: span 2; }
.biz-gallery img, .biz-gallery .media-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.biz-gallery a:hover img { transform: scale(1.04); }
.biz-gallery.count-1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.biz-gallery.count-2 { grid-template-columns: 2fr 1fr; }
.biz-gallery.count-2 > :nth-child(2) { grid-row: span 2; }
.biz-gallery.count-3 { grid-template-columns: 2fr 1fr; }
.biz-gallery.count-4 > :nth-child(4) { grid-column: span 2; }
.biz-gallery .more { position: absolute; right: 14px; bottom: 14px; }
@media (max-width: 760px) {
  .biz-gallery, .biz-gallery.count-2, .biz-gallery.count-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 120px; }
  .biz-gallery > :first-child { grid-column: span 2; grid-row: auto; }
  .biz-gallery > :nth-child(n+4) { display: none; }
  .biz-gallery.count-2 > :nth-child(2) { grid-column: span 2; grid-row: auto; }
}
.preview-bar { background: var(--gold); color: var(--ink); text-align: center; font-weight: 700; font-size: .9rem; padding: 10px 16px; }
.biz-header { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; padding: 34px 0 10px; }
.biz-header .who { display: flex; gap: 18px; align-items: center; min-width: 0; }
.biz-logo { width: 84px; height: 84px; border-radius: 22px; overflow: hidden; flex: none; background: #fff; box-shadow: var(--shadow); }
.biz-logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-logo .media-ph .icon { width: 30px; height: 30px; }
.biz-title .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.biz-title h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: 6px; }
.biz-title p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.biz-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.biz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; margin-top: 30px; align-items: start; }
.biz-layout .panel + .panel { margin-top: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.panel h2 { font-size: 1.5rem; margin-bottom: 16px; }
.prose { font-size: 1.04rem; color: #2E3832; white-space: pre-line; }
.biz-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.contact-card .btn { width: 100%; }
.contact-card .btn + .btn { margin-top: 10px; }
.info-list { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; flex: none; color: var(--forest); }
.info-list small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted-2); }
.info-list strong, .info-list a { font-weight: 600; word-break: break-word; }
.info-list a:hover { color: var(--forest-2); }
.hours { white-space: pre-line; font-weight: 600; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; transition: all .2s; }
.socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); background: var(--sand); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery a { aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: block; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,14,12,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

.mobile-cta { display: none; }
@media (max-width: 960px) {
  .biz-layout { grid-template-columns: 1fr; gap: 24px; }
  .biz-aside { position: static; }
  .mobile-cta { display: flex; gap: 10px; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; padding: 8px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
  .mobile-cta .btn { flex: 1; }
  .has-mobile-cta { padding-bottom: 90px; }
  .biz-actions .btn-wa { display: none; }
}
@media (max-width: 640px) { .panel { padding: 22px; } .lightbox { padding: 60px 10px; } .biz-logo { width: 64px; height: 64px; border-radius: 18px; } }

/* ---------- Formularios ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .label { font-weight: 700; font-size: .9rem; }
.field .opt { font-weight: 500; color: var(--muted-2); }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field input[type=url], .field input[type=date], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; outline: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2369716C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest-2); box-shadow: 0 0 0 4px rgba(43,97,73,.14); }
.field .help { font-size: .82rem; color: var(--muted); }
.field .err { font-size: .84rem; color: var(--danger); font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.check { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--forest); }
.hp { position: absolute; left: -9999px; }
.form-section { padding: 28px 0; border-top: 1px solid var(--line); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-section > h3 { font-size: 1.25rem; margin-bottom: 4px; }
.form-section > p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 8px; flex-wrap: wrap; }
.upload-box { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px; border: 1.5px dashed var(--line-2); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.upload-box:hover { border-color: var(--forest-2); background: #FBFDFB; }
.upload-box input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-box .thumb { width: 84px; height: 64px; border-radius: 10px; background: var(--sand) center / cover no-repeat; flex: none; display: grid; place-items: center; color: var(--muted); }
.upload-box .thumb.square { width: 64px; }
.upload-box strong { display: block; font-size: .95rem; }
.upload-box span { font-size: .82rem; color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs .t { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--sand); }
.thumbs .t img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .t form { position: absolute; top: 6px; right: 6px; }
.thumbs .t button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(22,32,27,.8); color: #fff; display: grid; place-items: center; cursor: pointer; }
.thumbs .t button .icon { width: 15px; height: 15px; }

.plan-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.plan-option { position: relative; display: block; cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; }
.plan-option .box { height: 100%; padding: 22px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: #fff; transition: all .2s; }
.plan-option .box h4 { font-family: var(--font); font-weight: 800; font-size: 1.05rem; letter-spacing: 0; margin: 0 0 4px; }
.plan-option .box .p { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; }
.plan-option .box .p span { font-family: var(--font); font-size: .85rem; color: var(--muted); font-weight: 600; }
.plan-option .box ul { list-style: none; margin: 12px 0 0; padding: 0; font-size: .85rem; color: var(--muted); display: grid; gap: 4px; }
.plan-option .box ul li::before { content: '✓  '; color: var(--ok); font-weight: 800; }
.plan-option input:checked + .box { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31,74,55,.12), var(--shadow); }
.plan-option input:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 2px; }
.plan-option .tick { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: #fff; }
.plan-option input:checked ~ .tick { background: var(--forest); border-color: var(--forest); color: #fff; }
.plan-option .tick .icon { width: 14px; height: 14px; opacity: 0; }
.plan-option input:checked ~ .tick .icon { opacity: 1; }
.pay-box { background: var(--forest); color: #fff; border-radius: var(--r-lg); padding: 26px; }
.pay-box pre { font-family: var(--font); white-space: pre-wrap; margin: 0; font-size: 1rem; line-height: 1.7; }
.pay-box .amount { font-family: var(--font-display); font-size: 2.3rem; color: var(--gold-2); }

/* ---------- Autenticación ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 8px 16px 16px; }
.auth-side { position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; background: var(--forest-dark); }
.auth-side .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.auth-side::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,22,17,.82), rgba(12,22,17,.15) 70%); }
.auth-side h2 { font-size: clamp(2rem, 3.4vw, 3rem); color: #fff; }
.auth-side .accent { color: var(--gold-2); }
.auth-side .eyebrow { color: var(--gold-2); }
.auth-side p { color: rgba(255,255,255,.8); max-width: 440px; }
.auth-main { display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 2.4rem; }
.auth-card .sub { color: var(--muted); margin-bottom: 28px; }
.auth-card form { display: grid; gap: 16px; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ---------- Panel del negocio ---------- */
.account-head { display: flex; align-items: center; gap: 18px; justify-content: space-between; flex-wrap: wrap; padding: 44px 0 26px; }
.account-head h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0; }
.account-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; }
.account-tabs a { padding: 12px 16px; font-weight: 700; font-size: .92rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.account-tabs a.active { color: var(--ink); border-color: var(--forest); }
.own-list { display: grid; gap: 14px; }
.own-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.own-item .media { width: 120px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--sand); }
.own-item .media img { width: 100%; height: 100%; object-fit: cover; }
.own-item h3 { margin: 0 0 6px; font-size: 1.25rem; }
.own-item .row { gap: 8px; }
.own-item .stats { display: flex; gap: 16px; color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: 8px; flex-wrap: wrap; }
.own-item .stats span { display: inline-flex; gap: 5px; align-items: center; }
.own-item .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .own-item { grid-template-columns: 88px 1fr; } .own-item .media { width: 88px; } .own-item .actions { grid-column: 1 / -1; justify-content: flex-start; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FBF9F5; white-space: nowrap; }
.table td { padding: 14px 18px; border-bottom: 1px solid #F1ECE4; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #FDFCF9; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table a.strong { font-weight: 700; }
.table a.strong:hover { color: var(--forest-2); }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--forest-dark); color: rgba(255,255,255,.7); padding: 80px 0 32px; margin: 96px 16px 16px; border-radius: var(--r-xl); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; font-weight: 800; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; }
.site-footer .socials a { background: transparent; border-color: rgba(255,255,255,.18); color: #fff; }
.site-footer .socials a:hover { background: #fff; color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-big { font-family: var(--font-display); font-style: italic; font-size: clamp(3rem, 13vw, 11rem); line-height: .9; color: rgba(255,255,255,.06); letter-spacing: -.04em; margin-top: 40px; white-space: nowrap; user-select: none; overflow: hidden; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .site-footer { margin: 64px 10px 10px; } }
.is-auth .site-footer, .admin .site-footer { display: none; }

/* ---------- Animación de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.error-page .code { font-family: var(--font-display); font-style: italic; font-size: 7rem; color: var(--gold); line-height: 1; }
