/* =========================
   RESET + BASE
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #111111;
  background-color: #F7F3EE;
  position: relative;
}

/* =========================
   TEXTURA DE FONDO
========================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image: url("../media/texturas/fondo.jpg");
  background-repeat: repeat;
  background-size: 220px;

  opacity: 0.18; /* intensidad de la textura */
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}


/* =========================
   BRAND BAR (FRANJA ROJA)
========================= */
.brand-bar {
  background: linear-gradient(
    90deg,
    #0f0f0f 0%,
    #2b0d0d 30%,
    #4a0f14 60%,
    #7a0b12 85%,
    #caa437 100%
  );

  height: 75px; /* aumentamos altura */
  display: flex;
  flex-direction: column; /* ahora es vertical */
  justify-content: center;
  padding-bottom: 0px;
  position: relative;

  box-shadow: inset 0 -4px 12px rgba(0,0,0,0.6);
}

.brand-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 0 40px;
  height: 100%;
  width: 100%;
}

/* ESTO MUEVE SOLO EL LOGO DE POSICION */
.brand-logo {
  position: relative;
  left: 0;
  top: 0;
  transform: none;
}

.brand-center-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

/*ESTO CAMBIA EL TAMAÑO DEL LOGO */
.brand-logo img {
  height: 30px;
  width: auto;
}

.brand-slogan {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.year {
  color: #E5C46A;
  font-weight: bold;
  font-size: 22px;
}

/* =========================
   HERO VIDEO SOLO IZQUIERDA
========================= */

.hero-banner {
  display: flex;
  width: 100%;
  height: 220px;
  position: relative; /* 🔥 ESTO SOLUCIONA EL PROBLEMA */
}

/* Video ocupa solo la mitad izquierda */
.hero-video {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.1));
}

.video-content {
  position: absolute;
  bottom: 40px;
  right: 60px;
  color: #fff;
  font-size: 16px;
}

/* =========================
   SECCIONES
========================= */
.section {
  padding: 40px 0;
  text-align: center;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -1px;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #F7E27E);
  margin: 16px auto 0;
  border-radius: 3px;
}

.section-subtitle {
  margin-bottom: 40px;
  color: #444;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}
