/* Ajustes solicitados para la navegación */
.main-nav {
  text-transform: uppercase;
}

.brand img {
  width: 150px;
  height: 56px;
}

.button-whatsapp {
  background: #25d366;
  color: #082b1a;
}

.button-whatsapp:hover {
  background: #42e37d;
}

.why-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.why-heading .eyebrow {
  margin-bottom: 1rem;
}

.why-heading h2 {
  margin-bottom: 0;
}

.why-heading h2 i {
  font-style: normal;
  color: var(--petrol);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.why-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 2.2rem 1.7rem 1.9rem;
  background: #f3e1c1;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px #0f3d4a1a;
}

.why-index {
  position: absolute;
  top: -.4rem;
  right: .6rem;
  font: 700 4.4rem/1 'Space Grotesk';
  color: var(--petrol);
  opacity: .07;
  pointer-events: none;
}

.why-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 1.6rem;
  color: var(--petrol);
}

.why-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--petrol);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  margin-bottom: .3rem;
}

.why-card h3::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  margin: .7rem 0 .9rem;
  background: var(--sand);
  transition: width .3s ease;
}

.why-card:hover h3::after {
  width: 44px;
}

.why-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #000000;
  font-size: .85rem;
}

@media(max-width:900px){
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:700px){
  .why-grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; padding: 1.8rem 1.5rem; }
  .why-index { font-size: 3.6rem; }
}

/* Equipos: jugadores a la izquierda e información a la derecha */
.split-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
}

.split-media { order: 1; }
.split-copy { order: 2; }

@media(max-width:700px){
  .split-grid { grid-template-columns: 1fr; }
  .split-media, .split-copy { order: initial; }
}

.map-card {
  padding: 0;
  overflow: hidden;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
}

.map-card > div {
  margin-left: 2rem;
  margin-right: 2rem;
}

.map-card > div:first-of-type {
  margin-top: .8rem;
}

.map-card > div {
  padding: .85rem 0;
}

.map-title {
  margin: .9rem 2rem 0;
  font: 700 .95rem 'Space Grotesk';
  color: var(--petrol);
}

.map-card .map-link {
  display: inline-flex;
  margin: 1rem 2rem 1.4rem;
}

@media(max-width:700px){.map-card iframe{height:220px}}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: center;
}

.contact-details {
  padding: 1.5rem;
}

.contact-details > div {
  margin-left: 0;
  margin-right: 0;
}

@media(max-width:900px){.contact-grid{grid-template-columns:1fr 1fr}.contact-grid > div:first-child{grid-column:1/-1}}
@media(max-width:700px){.contact-grid{grid-template-columns:1fr}.contact-grid > div:first-child{grid-column:auto}}

.team-visual {
  background: transparent;
  min-height: 750px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.team-visual img {
  width: 125%;
  height: 750px;
  object-fit: contain;
  object-position: center bottom;
}

.team-price {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1rem;
  align-items: end;
  background: var(--petrol);
  color: var(--off);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}

.team-price span { grid-column: 1 / -1; color: var(--sand); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.team-price strong { font: 700 3.6rem/1 'Space Grotesk'; color: var(--sand); }
.team-price small { max-width: 9rem; text-align: right; font-size: .75rem; line-height: 1.25; }

@media(max-width:700px){.team-visual{min-height:540px}.team-visual img{width:118%;height:540px}.team-price strong{font-size:3rem}}

.section-subtitle {
  margin: -.4rem 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}

@media(min-width:901px) {
  .service-grid { grid-template-columns: repeat(5, 1fr); }
  .academy-container { width: min(1440px, calc(100% - 80px)); }
}

.price-list b {
  font-size: 1.55rem;
  line-height: 1;
}

.price-list small {
  font-size: .72rem;
}

.service-cta {
  align-self: flex-start;
  margin-top: auto;
}

.training-price {
  display: inline-block;
  color: var(--petrol);
  font: 700 1.55rem/1 'Space Grotesk';
  white-space: nowrap;
}

.service-card {
  min-height: 380px;
}

.service-card .card-number {
  margin-bottom: 1.5rem;
}

.service-card .card-link {
  margin-top: auto;
}

.bonus-list {
  border-top: 1px solid #ffffff30;
  margin: 1.2rem 0;
}

.bonus-list span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  border-bottom: 1px solid #ffffff30;
  font-size: .8rem;
}

.bonus-list b {
  color: var(--sand);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.availability {
  color: #d2dfe0;
  font-size: .7rem;
  line-height: 1.35;
}

/* Sección "¿Quién es Xiver?": todo centrado, foto arriba, 01-04 debajo a todo lo ancho */
.xiver-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.founder-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
}

.founder-photo {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sand);
}

.founder-caption {
  display: block;
  max-width: 140px;
  font-size: .65rem;
  line-height: 1.25;
  color: var(--muted);
  text-align: center;
}

.founder-caption strong {
  display: block;
  font: 600 .75rem 'Space Grotesk';
  color: var(--ink);
  margin-bottom: .1rem;
}

.xiver-intro h2 {
  margin-bottom: .5rem;
}

.xiver-subtitle {
  font: 600 1.1rem 'Space Grotesk';
  color: var(--sand);
  margin-bottom: 1.5rem;
}

.xiver-intro .body-copy {
  max-width: 30rem;
  margin: 0 auto;
}

#xiver .values {
  text-align: center;
}

@media(min-width:701px){
  #xiver .values {
    grid-template-columns: repeat(4, 1fr);
  }
  #xiver .values > div {
    border-bottom: 0;
    border-left: 1px solid #0f3d4a35;
    padding: 1.2rem 1.2rem 0;
  }
  #xiver .values > div:first-child {
    border-left: 0;
    padding-left: 0;
  }
  #xiver .values > div:last-child {
    padding-right: 0;
  }
}

@media(max-width:700px){
  .founder-photo { width: 110px; height: 110px; }
}

/* Foto decorativa del jugador en la sección CONTACTO */
#contacto .container {
  width: calc(100% - 40px);
}

.contact-grid {
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1fr) minmax(220px, .72fr) minmax(280px, 1fr);
  align-items: stretch;
}

.contact-decor {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.contact-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media(max-width:900px){
  .contact-decor { display: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .contact-grid > .contact-lead { grid-column: 1 / -1; }
}

@media(max-width:700px){
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > .contact-lead { grid-column: auto; }
}

/* Sección Patrocinadores/Colaboradores */
.sponsors {
  padding: 4.5rem 0;
  background: #cecece;
}

.sponsors-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.sponsors-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}

.sponsor-card {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 92px;
  padding: 1rem 1.5rem;
}

.sponsor-card img {
  display: block;
  max-width: 140px;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0);
  transition: opacity .25s ease;
}

.sponsor-card:hover img {
  filter: none;
}

@media(max-width:700px){
  .sponsors { padding: 3.5rem 0; }
  .sponsor-card { min-width: 140px; height: 76px; padding: .8rem 1.4rem; }
  .sponsor-card img { max-width: 100px; max-height: 32px; }
}

/* "¿Tienes una idea?", dentro de la sección Eventos */
.cta-idea-inner {
  text-align: center;
  max-width: 700px;
  margin: 4rem auto 0;
  padding-top: 3.5rem;
  border-top: 1px solid #ffffff35;
}

.cta-idea-inner h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin-bottom: 2rem;
}

.cta-idea-inner h2 span {
  color: var(--sand);
}

@media(max-width:700px){
  .cta-idea-inner { margin-top: 3rem; padding-top: 2.5rem; }
}
