/* Chan Negocio — marca */
:root {
  --bg: #070707;
  --bg-elevated: #111111;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #2dd4bf;
  --accent-dim: rgba(45, 212, 191, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 7, 7, 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-menu-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 767px) {
  body.menu-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .brand-mark {
    flex: 1 1 auto;
    min-width: 0;
  }

  .main-nav {
    flex: 1 0 100%;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    transition: max-height 0.35s ease, border-color 0.2s ease;
  }

  .site-header.is-menu-open .main-nav {
    max-height: min(70vh, 22rem);
    border-top-color: var(--border);
  }

  .nav-links {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }
}

@media (min-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .main-nav {
    max-height: none !important;
    overflow: visible !important;
    border-top: none !important;
    flex: 0 0 auto;
    width: auto;
    order: unset;
  }
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.hero {
  padding: 3rem 1.5rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 212, 191, 0.12), transparent),
    var(--bg);
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero-logo {
  width: min(100%, 380px);
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0 0 0.75rem;
  font-weight: 400;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 2rem;
}

.hero-lead {
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #042f2e;
  box-shadow: 0 8px 24px var(--accent-dim);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

section {
  padding: 4rem 1.5rem;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-contact {
  padding-bottom: 5rem;
}

.btn-row-start {
  justify-content: flex-start;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.03em;
  font-weight: 400;
  margin: 0 0 1.25rem;
  line-height: 1.1;
}

.section-intro {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 2.5rem;
  font-size: 1.08rem;
}

.highlight-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.highlight-box p {
  margin: 0;
  color: var(--text-muted);
}

.highlight-box strong {
  color: var(--text);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.pillar {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.pillar:hover {
  border-color: rgba(45, 212, 191, 0.35);
}

.pillar-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.products {
  background: linear-gradient(180deg, var(--bg) 0%, #0c0c0c 50%, var(--bg) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--bg-elevated);
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.product-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.product-card .emoji {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.personalize {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 80% at 100% 50%, var(--accent-dim), transparent 55%);
}

.personalize .section-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .personalize .section-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.cta-block p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.site-footer {
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-logo {
  width: min(220px, 70vw);
  margin: 0 auto 1rem;
  opacity: 0.92;
}

.footer-slogan {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.footer-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-weight: 600;
  font-size: 0.95rem;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.divider-pattern {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0.35;
}

.divider-pattern span {
  font-size: 1.25rem;
}

.divider-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-muted), transparent);
}

/* Galería de playeras */
.shirt-models {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(45, 212, 191, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #090909 45%, var(--bg) 100%);
}

.shirt-models .shirt-models__intro {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 2rem;
}

.shirt-models__count {
  color: var(--accent);
  font-weight: 700;
}

.shirt-models__hint {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

.shirt-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 118px), 1fr));
  gap: clamp(0.5rem, 2vw, 0.85rem);
}

@media (min-width: 480px) {
  .shirt-gallery {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 900px) {
  .shirt-gallery {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 1rem;
  }
}

.gallery-tile {
  margin: 0;
  aspect-ratio: 1;
  border-radius: clamp(10px, 2vw, 16px);
  overflow: hidden;
  background: #141414;
  box-shadow: 0 0 0 1px var(--border);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gallery-tile:hover {
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.gallery-tile__btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: #101010;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.gallery-tile__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.gallery-tile:hover .gallery-tile__btn::after,
.gallery-tile__btn:focus-visible::after {
  opacity: 1;
}

.gallery-tile__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gallery-tile__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.gallery-tile:hover .gallery-tile__btn img {
  transform: scale(1.06);
}

.shirt-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
  box-sizing: border-box;
  overflow: visible;
}

.shirt-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.shirt-lightbox__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.shirt-lightbox__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: calc(100% - 2rem);
  max-width: min(96vw, 920px);
  max-height: min(90vh, 900px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.shirt-lightbox__close {
  align-self: flex-end;
  margin: 0.75rem 0.75rem 0;
  position: relative;
  z-index: 2;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
}

.shirt-lightbox__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.shirt-lightbox__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.shirt-lightbox__img {
  width: 100%;
  max-height: min(58vh, 560px);
  object-fit: contain;
  background: #0d0d0d;
  flex-shrink: 0;
}

.shirt-lightbox__copy {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

.shirt-lightbox__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.shirt-lightbox__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 52ch;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-tile,
  .gallery-tile__btn img,
  .gallery-tile__btn::after {
    transition: none;
  }

  .gallery-tile:hover {
    transform: none;
  }

  .gallery-tile:hover .gallery-tile__btn img {
    transform: none;
  }
}
