/* Baez Grupo Comercial — línea gráfica: negro + degradado amarillo del logo, Montserrat */
:root {
  --negro: #000;
  --gris: #1d1d1f;
  --gris-texto: #86868b;
  --texto: #f5f5f7;
  --amarillo: #ffcc00;
  --amarillo-2: #fff200;
  --degradado: linear-gradient(90deg, var(--amarillo) 0%, var(--amarillo-2) 100%);
  --fuente: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--negro);
  color: var(--texto);
  font-family: var(--fuente);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* Barra superior, estilo apple.com */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 max(16px, env(safe-area-inset-left));
  background: rgba(0, 0, 0, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
}
.nav__marca {
  font-weight: 900;
  letter-spacing: .02em;
  background: var(--degradado);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 18px;
}
.nav__enlaces { display: flex; gap: 28px; color: var(--gris-texto); }
.nav__enlaces span { cursor: default; }

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 16px 48px;
  position: relative;
  isolation: isolate;
}
/* Brillo amarillo suave detrás del logo */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  transform: translate(-50%, -58%);
  background: radial-gradient(closest-side, rgba(255, 204, 0, .16), transparent 70%);
  pointer-events: none;
}

.hero__etiqueta {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--degradado);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 28px;
  animation: aparecer .9s ease both;
}

.hero__logo {
  width: min(760px, 92vw);
  height: auto;
  animation: aparecer 1.2s .15s cubic-bezier(.2, .7, .2, 1) both;
}

.hero__titulo {
  margin-top: 48px;
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
  animation: aparecer 1s .45s ease both;
}

.hero__texto {
  margin-top: 16px;
  max-width: 34ch;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--gris-texto);
  animation: aparecer 1s .6s ease both;
}

.hero__acciones {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: center;
  animation: aparecer 1s .75s ease both;
}

.boton {
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}
.boton--primario {
  padding: 13px 26px;
  border-radius: 980px;
  background: var(--degradado);
  color: #000;
}
.boton--primario:hover { filter: brightness(1.06); transform: scale(1.03); }
.boton--enlace { color: var(--amarillo); }
.boton--enlace:hover { text-decoration: underline; }
.boton:focus-visible { outline: 2px solid var(--amarillo-2); outline-offset: 4px; }

/* Pie */
.pie {
  padding: 20px 16px 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: var(--gris);
  color: var(--gris-texto);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}
.pie a { color: var(--texto); text-decoration: none; }
.pie a:hover { text-decoration: underline; }

@keyframes aparecer {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .nav__enlaces { gap: 16px; font-size: 12px; }
  .hero { padding-top: 40px; }
  .hero__titulo { margin-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}
