:root {
  --vb-navy: #031427;
  --vb-navy-2: #061f3a;
  --vb-yellow: #ffc107;
  --vb-text: #f7f8fb;
}

html { scroll-behavior: smooth; }

.public-nav-vb {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 14, 28, .96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.public-nav-vb .container { min-height: 76px; }
.public-nav-vb .brand { color: #fff; }
.public-nav-vb .brand small { color: rgba(255,255,255,.66); }

.hero-vb {
  position: relative;
  overflow: hidden;
  background: #020d19;
  color: #fff;
  min-height: 560px;
}

.hero-vb-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/img/hero_portero.jpg');
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.01);
}

.hero-vb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1,10,20,.94) 0%, rgba(1,10,20,.80) 43%, rgba(1,10,20,.30) 72%, rgba(1,10,20,.18) 100%),
    linear-gradient(0deg, rgba(1,10,20,.38), rgba(1,10,20,0));
}

.min-vh-hero { min-height: 520px; }
.hero-vb h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); line-height: .88; letter-spacing: -3px; text-transform: uppercase; font-weight: 900; }
.hero-vb h1 span { color: var(--vb-yellow); }
.hero-copy { max-width: 720px; font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,.86); }

.uniforms-section {
  background: linear-gradient(180deg, var(--vb-navy), #041a30);
  color: #fff;
}

.uniforms-section .section-title h2 { color: #fff; }
.section-subtitle { color: rgba(255,255,255,.65); max-width: 650px; margin: 0 auto; }

.uniform-card {
  overflow: hidden;
  border: 1px solid rgba(255,193,7,.45);
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}

.uniform-image-wrap {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(circle at center, rgba(40,124,180,.22), rgba(2,14,28,.08) 65%);
}

.uniform-image {
  width: 100%;
  height: 430px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}

.uniform-card-body { padding: 22px 24px 26px; }
.uniform-card-body h3 { font-weight: 800; margin: 4px 0 8px; }
.uniform-card-body p { margin: 0; color: rgba(255,255,255,.68); }
.uniform-kicker { color: var(--vb-yellow); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }

.methodology-section { background: #fff; }
.coach-public-vb { background: #f4f6f8; }

.contact-vb {
  background: #06192d;
  color: #fff;
}

.contact-intro,
.contact-vb .contact-card {
  height: 100%;
  border-radius: 22px;
}

.contact-intro { padding: clamp(24px, 4vw, 42px); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); }
.contact-intro h2 { font-weight: 850; }
.contact-intro > p { color: rgba(255,255,255,.72); }

.contact-action {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  transition: transform .18s ease, filter .18s ease;
}
.contact-action:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }
.contact-action > i:first-child { font-size: 2rem; }
.contact-action span { display: flex; flex-direction: column; min-width: 0; }
.contact-action small { font-size: .72rem; letter-spacing: .04em; }
.contact-action b { font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-action.whatsapp { background: linear-gradient(135deg, #0d9f46, #087a37); }
.contact-action.email { background: linear-gradient(135deg, #1468b6, #0b4d8d); }

.contact-vb .contact-card { background: #fff; color: #17212b; padding: clamp(22px, 4vw, 36px); }
.contact-vb label { font-weight: 700; margin-bottom: 6px; }

.public-footer-vb {
  background: #020d19;
  color: rgba(255,255,255,.72);
  padding: 22px 0;
}

@media (max-width: 991.98px) {
  .hero-vb-bg { background-position: 30% center; }
  .hero-vb-overlay {
    background: linear-gradient(90deg, rgba(1,10,20,.94), rgba(1,10,20,.72)), linear-gradient(0deg, rgba(1,10,20,.35), rgba(1,10,20,0));
  }
  .hero-vb h1 { letter-spacing: -2px; }
  .uniform-image-wrap { min-height: 360px; }
  .uniform-image { height: 360px; }
}

@media (max-width: 575.98px) {
  .public-nav-vb .container { min-height: 66px; }
  .public-nav-vb .brand small { display: none; }
  .public-nav-vb .brand b { font-size: .9rem; }
  .hero-vb { min-height: 520px; }
  .min-vh-hero { min-height: 470px; }
  .hero-vb-bg { background-position: 35% center; }
  .hero-vb-overlay { background: rgba(1,10,20,.72); }
  .hero-vb h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-copy { font-size: 1rem; }
  .uniform-image-wrap { min-height: 315px; padding: 12px; }
  .uniform-image { height: 315px; }
}


/* =========================================================
   HERO - AJUSTE PARA CELULAR
   ========================================================= */

@media (max-width: 767.98px) {

    .hero-public {
        min-height: 520px;
        position: relative;

        /* Mantiene la foto cubriendo el hero,
           pero mueve el encuadre para mostrar mejor al portero */
        background-size: cover !important;
        background-position: 30% center !important;
        background-repeat: no-repeat !important;
    }

    .hero-public .container {
        position: relative;
        z-index: 2;
        padding-top: 55px !important;
        padding-bottom: 45px !important;
    }

    /* Oscurece principalmente el lado del texto */
    .hero-public::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            90deg,
            rgba(0, 15, 30, .92) 0%,
            rgba(0, 15, 30, .72) 45%,
            rgba(0, 15, 30, .25) 100%
        );
        z-index: 1;
    }

    .hero-public h1 {
        font-size: 42px !important;
        line-height: .92 !important;
        max-width: 330px;
    }

    .hero-public p {
        font-size: 15px !important;
        line-height: 1.45;
        max-width: 310px;
    }

    .hero-public .eyebrow {
        font-size: 9px;
        letter-spacing: 1px;
    }
}
