@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --rojo: #D81A1A;
  --rojo-oscuro: #b01414;
  --negro: #111111;
  --blanco: #ffffff;
  --gris-claro: #f5f5f5;
  --gris-medio: #e0e0e0;
  --texto: #222222;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  background: var(--blanco);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  overflow: hidden;
}

nav::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background-image: url('patron.png');
  background-size: 160px;
  background-repeat: repeat;
  opacity: 0.06;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 30%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 30%, black 100%);
}

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  position: relative;
  z-index: 2;
}

.nav-links a {
  text-decoration: none;
  color: var(--negro);
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--rojo);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--rojo); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--rojo); }
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 3;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--negro);
  transition: all 0.3s;
}

/* ── PAGE HERO (páginas interiores) ── */
.page-hero {
  padding-top: 70px;
  background: var(--negro);
  text-align: center;
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('patron.png');
  background-size: 200px;
  background-repeat: repeat;
  opacity: 0.04;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 48px;
}
.page-hero .section-label { color: var(--rojo); }
.page-hero .section-title { color: var(--blanco); }

/* ── SECCIONES GENERALES ── */
section { padding: 80px 40px; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--negro);
  letter-spacing: 0.04em;
  line-height: 1;
}

.section-divider {
  width: 48px; height: 3px;
  background: var(--rojo);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ── BOTONES ── */
.btn-primary {
  background: var(--rojo);
  color: var(--blanco);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.btn-primary:hover { background: var(--rojo-oscuro); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--blanco);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.btn-secondary:hover { border-color: var(--blanco); transform: translateY(-2px); }

/* ── VIDEO WRAPPER ── */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(216,26,26,0.25), 0 8px 24px rgba(0,0,0,0.5);
  border: 1px solid rgba(216,26,26,0.3);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── REDES SOCIALES - Footer (pequeñas) ── */
.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--rojo);
  border-color: var(--rojo);
  color: var(--blanco);
  transform: translateY(-2px);
}
.social-link svg { width: 17px; height: 17px; fill: currentColor; }

/* ── REDES SOCIALES - Sobre mí (grandes) ── */
.social-links-big {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.social-link-big {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 100px;
  background: transparent;
  border: 2px solid var(--gris-medio);
  color: var(--texto);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.social-link-big svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }
.social-link-big:hover {
  background: var(--rojo);
  border-color: var(--rojo);
  color: var(--blanco);
  transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
  background: var(--negro);
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 28px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
footer span { color: var(--rojo); }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ── ANIMACIONES ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--blanco);
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  section { padding: 60px 20px; }
}
