/*
 * GOCHI TRAVELS — links/links.css
 * Estilos de gochitravels.com/links. Mismos tokens de marca que styles.css
 * del sitio principal (ámbar, terracota, crema, Sora + Inter), pero
 * autocontenido para no tocar ni depender de ese archivo.
 *
 * Secciones: TOKENS · BASE · HERO · IDIOMA · PANEL · TARJETAS · SERVICIOS ·
 *            REDES · RESPONSIVE · MOVIMIENTO
 */

/* ===== TOKENS ===== */
:root {
  --amber: #EF9F27;
  --amber-dark: #BA7517;
  --amber-deep: #854F0B;
  --terra: #D85A30;
  --terra-dark: #993C1D;
  --ink: #221C15;
  --ink-soft: #55493A;
  --cream: #FAF6EE;
  --bg-image: url(/links/assets/bg-road.webp);
  --sans: Inter, -apple-system, "Segoe UI", sans-serif;
  --display: Sora, var(--sans);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }

a,
button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #2a1c10 var(--bg-image) center / cover fixed;
  min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(34, 20, 8, .55), rgba(34, 20, 8, .72));
}
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { display: block; }

.page { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; background: var(--cream); min-height: 100vh; overflow: hidden; }
@media (min-width: 600px) {
  .page { margin: 32px auto; min-height: 0; border-radius: 36px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
}
.nojs { padding: 32px 20px; text-align: center; line-height: 1.6; }
.nojs a { font-weight: 600; text-decoration: underline; }

/* ===== HERO ===== */
.hero { position: relative; height: 392px; background: #2a1c10 var(--bg-image) 42% 55% / cover; color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24, 14, 6, .62) 0%, rgba(24, 14, 6, .22) 48%, rgba(24, 14, 6, .58) 100%);
}
.hero__in { position: relative; height: 100%; padding: 22px 18px 0; }
.hero h1 {
  margin-top: 6px; font-family: var(--display); font-weight: 800;
  font-size: clamp(26px, 8vw, 32px); line-height: 1.05; letter-spacing: -.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45); max-width: 58%;
}
.hero__tag {
  margin-top: 6px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #FFD9A0; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); max-width: 58%;
}
.hero__sub { margin-top: 6px; font-size: 12.5px; line-height: 1.4; opacity: .95; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); max-width: 60%; }
.hero__mascot { position: absolute; right: 10px; bottom: 146px; height: 190px; width: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }

.tiles { position: absolute; left: 16px; right: 16px; bottom: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  min-height: 88px; padding: 12px 8px; border-radius: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, rgba(255, 252, 246, .94), rgba(255, 248, 236, .78));
  border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .7);
  font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink);
  transition: transform .2s;
}
.tile svg { color: var(--terra-dark); }
.tile:hover { transform: translateY(-2px); }

/* ===== IDIOMA ===== */
.lang {
  position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(255, 252, 246, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.lang button {
  font: 700 12px var(--display); letter-spacing: .04em; min-width: 38px; min-height: 30px;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--terra-dark); color: #fff; }

/* ===== PANEL ===== */
.panel {
  position: relative; margin-top: -26px; padding: 24px 16px 28px;
  background: linear-gradient(180deg, #FFFBF3, var(--cream)); border-radius: 30px 30px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.big {
  display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 14px 20px; border-radius: 999px;
  width: 100%; list-style: none; cursor: pointer; transition: transform .2s;
}
.big:hover { transform: translateY(-2px); }
.big__txt { display: flex; flex-direction: column; flex-grow: 1; line-height: 1.25; min-width: 0; }
.big__txt strong { font-family: var(--display); font-weight: 700; font-size: 18px; }
.big__txt span { font-size: 13px; font-weight: 500; }
.big--terra {
  background: linear-gradient(135deg, #C04E24, var(--terra-dark)); color: #fff;
  box-shadow: 0 10px 26px rgba(153, 60, 29, .30), inset 0 1px 0 rgba(255, 255, 255, .25);
}
details.asesores > summary::-webkit-details-marker { display: none; }
details.asesores > summary .chev { transition: transform .25s; }
details.asesores[open] > summary .chev { transform: rotate(180deg); }
.advs { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; }

/* ===== TARJETAS (principal y asesores) ===== */
.adv {
  --tint: rgba(216, 90, 48, .5); --tint2: rgba(216, 90, 48, .16); --mtn: #993C1D; --role: #993C1D; --btn: #993C1D;
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 84px;
  padding: 10px 12px 10px 10px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(100deg, var(--tint) 0%, var(--tint2) 34%, #FFF9EE 64%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 8px 20px rgba(34, 28, 20, .12), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: transform .2s;
}
.adv:hover { transform: translateY(-2px); }
.adv--gold { --tint: rgba(239, 159, 39, .62); --tint2: rgba(239, 159, 39, .2); --mtn: #BA7517; --role: #854F0B; --btn: #BA7517; min-height: 92px; }
.adv--main { min-height: 112px; padding: 12px 16px 12px 12px; box-shadow: 0 12px 28px rgba(186, 117, 23, .30), inset 0 1px 0 rgba(255, 255, 255, .8); }
.adv__art {
  position: absolute; left: 0; top: 0; bottom: 0; width: 52%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%); mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
}
.adv__photo {
  position: relative; z-index: 1; width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; box-shadow: 0 4px 10px rgba(34, 28, 20, .25);
}
.adv--main .adv__photo { width: 88px; height: 88px; }
.adv__txt { position: relative; z-index: 1; display: flex; flex-direction: column; flex-grow: 1; min-width: 0; line-height: 1.25; }
.adv__txt strong { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.adv--main .adv__txt strong { font-size: 19px; }
.adv__who { font-size: 14px; font-weight: 600; margin-top: 2px; color: var(--ink); }
.adv__txt em { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--role); margin-top: 2px; }
.adv__go {
  position: relative; z-index: 1; width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--btn); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(34, 28, 20, .25);
}
.adv--main .adv__go { width: 48px; height: 48px; }

/* ===== SERVICIOS ===== */
.lbl { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 10px; }
.svcs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svc {
  display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 14px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.2; color: var(--ink);
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .7));
  border: 1px solid rgba(34, 28, 20, .1); box-shadow: 0 6px 16px rgba(34, 28, 20, .10); transition: transform .2s;
}
.svc svg { flex: none; color: var(--terra-dark); }
.svc:hover { transform: translateY(-2px); }

/* ===== REDES ===== */
.social { display: flex; justify-content: center; gap: 16px; margin-top: 6px; }
.social a {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink);
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .6));
  border: 1px solid rgba(34, 28, 20, .1); box-shadow: 0 6px 16px rgba(34, 28, 20, .12); transition: transform .2s;
}
.social a:hover { transform: translateY(-2px); }
.foot { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 380px) {
  .big { padding: 12px 16px; gap: 10px; }
  .big__txt strong { font-size: 15.5px; }
  summary.big > svg:first-child { width: 28px; height: 28px; }
  .adv__txt strong { font-size: 15px; }
  .adv--main .adv__txt strong { font-size: 17px; }
  .adv--main .adv__photo { width: 76px; height: 76px; }
  .adv--main { min-height: 100px; padding-right: 12px; }
}

/* ===== MOVIMIENTO ===== */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
