/* ======================
   VARIABLES
====================== */
:root {
  --color-bg: #f24820;
  --color-text: #fefefe;
  --color-muted: rgba(254,254,254,0.65);
  --color-accent: #6666ff;
  --font-main: "Chivo Mono", monospace;
}

/* ======================
   RESET
====================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.4;
}

/* ======================
   ACCESIBILIDAD
====================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ======================
   ANNOUNCEMENT BAR
====================== */
.announcement-bar {
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem 1rem;
  letter-spacing: 0.02em;
}

/* ======================
   HEADER / NAV
====================== */
.header {
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 40px;
}

.nav__menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav__menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav__menu a:hover::after,
.nav__menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ======================
   HERO / BENTO
====================== */
.hero {
  padding: 2rem 1rem 3rem;
}

.hero__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.bento {
  min-height: 180px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--color-text);
}

.bento__content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bento__content h2 {
  font-size: 1.55rem;
  margin: 0;
}

/* AGENDA */
.agenda {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

/* CTA */
.cta {
  align-self: flex-start;
  font-size: 0.7rem;
  padding: 0.4rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--color-text);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.bento:hover .cta {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* ======================
   BENTO CON IMAGEN
====================== */
.bento--with-image {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.bento__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.9;
}

/* ======================
   FOOTER
====================== */
.footer {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer__brand img {
  height: 160px;
  width: auto;
}

/* 🔒 BLINDAJE ANTI-TEXTO FANTASMA */
.footer__social {
  display: flex;
  gap: 1.25rem;
  font-size: 0; /* mata cualquier texto suelto */
}

.footer__social a {
  font-size: initial;
  padding: 4px;
  color: var(--color-text);
}

.footer__social a:hover {
  color: var(--color-muted);
}

.footer__social svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}




/* ======================
   RESPONSIVE
====================== */
@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    display: none;
  }

  .nav__menu.is-open {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .announcement-bar {
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) {
  .footer__top {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

}
