/* ============================================================
   Tricios — tienda / retail premium
   Paleta:  white #FFFFFF · ink #0C1B38 · azul #2563EB · neutro
   Tipos:   Plus Jakarta Sans (display/UI) · Inter (texto)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --ink: #0c1b38;
  --ink-2: #1c2c4d;
  --muted: #5e6b85;
  --line: #e6eaf1;
  --blue: #2563eb;
  --blue-deep: #0e2a6b;
  --navy: #0c1b38;

  --shadow-sm: 0 1px 2px rgba(12, 27, 56, 0.06), 0 8px 24px -16px rgba(12, 27, 56, 0.25);
  --shadow-md: 0 24px 60px -34px rgba(12, 27, 56, 0.45);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 56px);

  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
}

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.section-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 56ch;
}

/* Botones ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 26px -12px rgba(37, 99, 235, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 32px -14px rgba(37, 99, 235, 0.8); }
.btn--ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* Barra de anuncio -------------------------------------------------------- */
.announce {
  background: var(--navy);
  color: #dbe6ff;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 9px 16px;
}

/* Navegación -------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; }
.nav__wordmark { height: 20px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-2);
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.18s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: none; background: transparent; color: var(--ink);
  border-radius: 10px; cursor: pointer;
  transition: background 0.16s ease;
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 21px; height: 21px; }

/* Hero -------------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%); }
.hero__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 80px) var(--pad) clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.86;
  background: radial-gradient(120% 120% at 30% 20%, #1c3b86 0%, var(--navy) 60%, #081024 100%);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero__stage::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 42%);
}
.hero__halo {
  position: absolute;
  width: 76%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,156,255,0.55) 0%, rgba(99,156,255,0) 68%);
  filter: blur(4px);
}
.hero__product {
  position: relative;
  width: 56%; height: auto;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hero__copy { max-width: 38ch; }
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  line-height: 0.99;
  letter-spacing: -0.038em;
  margin: 20px 0 0;
}
.hero__sub {
  margin-top: 22px;
  font-size: 1.14rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: 44ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Beneficios -------------------------------------------------------------- */
.benefits {
  border-block: 1px solid var(--line);
  background: var(--bg);
}
.benefits__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 44px) var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.benefit { display: flex; align-items: flex-start; gap: 15px; }
.benefit__icon {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.09);
}
.benefit__icon svg { width: 23px; height: 23px; }
.benefit__title { font-family: var(--display); font-weight: 700; font-size: 1.06rem; }
.benefit__text { color: var(--muted); font-size: 0.96rem; margin-top: 3px; }

/* Propuesta destacada ----------------------------------------------------- */
.featured {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(56px, 8vw, 104px) var(--pad);
}
.featured__head { max-width: 60ch; }
.featured__head .eyebrow { margin-bottom: 14px; }
.featured__grid {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
}

.card {
  position: relative;
  min-height: 290px;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,15,35,0) 30%, rgba(7,15,35,0.66) 100%);
}
.card--a::before { background: radial-gradient(130% 130% at 20% 15%, #2f5cc0 0%, #11225a 55%, #0a1740 100%); }
.card--b::before { background: radial-gradient(130% 130% at 80% 10%, #3a78d6 0%, #163a86 55%, #0c1e54 100%); }
.card--c::before { background: radial-gradient(130% 130% at 30% 85%, #4a8bf0 0%, #1f4aa0 55%, #0e2256 100%); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scale(1.1); }

.card__body { padding: 28px; }
.card__kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(219, 230, 255, 0.9);
}
.card__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 8px 0 8px;
}
.card__text { color: rgba(231, 238, 251, 0.86); font-size: 0.98rem; max-width: 26ch; }
.card__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-family: var(--display); font-weight: 700; font-size: 0.92rem;
  color: #fff;
}
.card__more span { transition: transform 0.2s ease; }
.card:hover .card__more span { transform: translateX(5px); }

/* Cierre de marca --------------------------------------------------------- */
.closer { background: var(--bg-soft); border-top: 1px solid var(--line); }
.closer__inner {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(64px, 9vw, 112px) var(--pad);
  text-align: center;
}
.closer__logo {
  width: clamp(180px, 28vw, 240px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(12, 27, 56, 0.16));
}
.closer__text {
  margin-top: 28px;
  color: var(--ink-2);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.5;
  font-weight: 500;
}

/* Pie --------------------------------------------------------------------- */
.footer { background: var(--navy); color: #c7d2e8; }
.footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 72px) var(--pad) 40px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.footer__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.footer__tagline { margin-top: 10px; max-width: 30ch; color: #9fb1d4; font-size: 0.95rem; }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.icon-btn--ghost {
  color: #c7d2e8;
  border: 1px solid rgba(199, 210, 232, 0.22);
}
.icon-btn--ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.icon-btn--ghost svg { width: 19px; height: 19px; }

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}
.footer__col a { color: #a9b8d8; font-size: 0.95rem; transition: color 0.15s ease; }
.footer__col a:hover { color: #fff; }

.footer__bar {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 30px var(--pad);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 0.86rem;
  color: #8395ba;
}
.footer__tag { color: #c7d2e8; font-weight: 500; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__media { order: 1; }
  .hero__copy { order: 2; max-width: none; }
  .hero__stage { aspect-ratio: 16 / 11; max-width: 540px; margin-inline: auto; }
  .benefits__inner { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
}
@media (max-width: 760px) {
  .featured__grid { grid-template-columns: 1fr; }
  .card { min-height: 230px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bar { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__product { animation: none; }
  html { scroll-behavior: auto; }
}
