/* ============================================
   ILBD — styles.css (MEJORADO)
   ============================================ */
/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #e0e0e0;
  --gray-dark: #d0d0d0;
  --gray-text: #555555;
  --gold: #f9dc5caa;
  --gold-light: #fef4d4;
  --accent: #efb710;
  --font-h: "Wix Madefor Display", sans-serif;
  --font-b: "Wix Madefor Text", sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-gl: 0 1px 20px 0px #efb7105a;
}
html {
  scroll-behavior: smooth;
  width: calc(100% - 20px);
  max-width: 1216px;
  margin: 0 auto;
  font-family: var(--font-b);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}
body {
  padding: 10px;
  padding-top: 120px;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}

/* ── HEADER & NAV (MEJORADO) ── */
header {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 1216px;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--gray-mid);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  height: 90px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

nav:hover {
  box-shadow: var(--shadow-gl);
  border-color: var(--gold);
  transform: translateY(-2px);
}

header.scrolled nav {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  border-radius: 12px;
}

.nav-logo {
  height: 50px;
  margin-left: 30px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  justify-self: start;
}

.nav-logo:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

nav h1 {
  font-family: var(--font-h);
  font-size: 24px;
  text-align: center;
  justify-self: center;
  line-height: 1;
  transition: opacity 0.3s ease;
}

nav h1:hover {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.nav-links.open {
  display: flex;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: inherit;
  padding: 4px 8px;
  line-height: 1;
}

.nav-item {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: all 0.3s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.nav-item:hover::after {
  transform: scaleX(1);
}

.nav-item .arr {
  font-size: 9px;
  margin-left: 2px;
  opacity: 0.5;
  transition: transform 0.3s ease;
}

.nav-item:hover .arr {
  transform: translateY(2px);
}

.nav-lang {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* ── HERO (MEJORADO) ── */
.hero {
  position: relative;
  width: 100%;
  max-width: 1216px;
  margin-top: 20px;
  min-height: 460px;
  overflow: hidden;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.hero:hover {
  box-shadow: var(--shadow-gl);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.slide-1 {
  background-image: url("./images/stile2.jpg");
}
.slide-2 {
  background-image: url("./images/stile3.jpg");
}
.slide-3 {
  background-image: url("./images/stile4.jpg");
}
.slide-4 {
  background-image: url("./images/stile5.jpg");
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  color: var(--black);
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.hero-arrow:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-arrow.left {
  left: 20px;
}

.hero-arrow.right {
  right: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 20px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.hero-dot.active {
  background: rgba(255, 255, 255, 0.95);
  width: 24px;
  border-radius: 10px;
}

/* ── AVISOS DE LOS RETIROS (MEJORADO) ── */
#retiro {
  background: linear-gradient(
    135deg,
    var(--gray-mid) 0%,
    var(--gray-light) 100%
  );
  border-radius: 24px;
  padding: 40px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-dark);
  transition: all 0.3s ease;
}

#retiro:hover {
  box-shadow: var(--shadow-md);
}

.tbu,
.cf {
  display: flex;
  gap: 32px;
  align-items: center;
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.tbu:hover,
.cf:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.tbu {
  margin-bottom: 24px;
}

#retiro img {
  flex: 1;
  border-radius: 16px;
  height: auto;
  width: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

#retiro img:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.info-ret {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-ret h3 {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.info-ret h3::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.info-ret h4 {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-text);
  line-height: 1.6;
}

.info-ret button,
.btn-abonos {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: inline-block;
}

.info-ret button:hover,
.btn-abonos:hover {
  background: var(--accent);
  color: var(--black);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-ret button:active,
.btn-abonos:active {
  transform: translateY(0);
}

.info-ret iframe {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid var(--gray-mid);
  margin-top: 8px;
}

.info-ret iframe:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

/* ── VISIÓN Y MISIÓN (MEJORADO) ── */
.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  margin-top: 32px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-mid);
  transition: box-shadow 0.3s ease;
}

.vm:hover {
  box-shadow: var(--shadow-md);
}

.vm-col {
  padding: 52px 60px;
  transition: background 0.3s ease;
}

.vm-col:hover {
  background: var(--gray-light);
}

.vm-col:first-child {
  border-right: 1px solid var(--gray-mid);
}

.vm-heading {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.vm-col:hover .vm-heading {
  transform: translateX(4px);
}

.vm-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-text);
  transition: color 0.3s ease;
}

.vm-col:hover .vm-text {
  color: var(--black);
}

/* ── CONTACTO (MEJORADO) ── */
.contacto {
  background: var(--white);
  padding: 60px 40px;
  margin-top: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-mid);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition: box-shadow 0.3s ease;
}

.contacto:hover {
  box-shadow: var(--shadow-gl);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contacto-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
  margin-bottom: 36px;
  text-align: center;
  position: relative;
  display: inline-block;
}

.contacto-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

.contacto-inner {
  max-width: 400px;
  margin: 10px;
  padding: 32px;
  background: var(--gray-light);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contacto-inner:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.contacto-inner p {
  transition: transform 0.3s ease;
}

.contacto-inner:hover p {
  transform: translateX(4px);
}

.contacto-inner a {
  position: relative;
  font-weight: 500;
}

.contacto-inner a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contacto-inner a:hover::after {
  transform: scaleX(1);
}

.contacto iframe {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.contacto iframe:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

/* ── INFO RETIROS (MEJORADO) ── */
#RetiroTBUInfo {
  background: var(--white);
  padding: 40px;
  margin-top: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: box-shadow 0.3s ease;
}

#RetiroTBUInfo:hover {
  box-shadow: var(--shadow-md);
}

#RetiroTBUInfo h2 {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

#RetiroTBUInfo h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

#planPagos {
  background: var(--gray-light);
  padding: 24px;
  border-radius: 16px;
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#planPagos:hover {
  box-shadow: var(--shadow-md);
}

#planPagos img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

#planPagos img:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.01);
}

#planPagos p,
#planPagos h3,
#planPagos h4 {
  text-align: center;
  width: 100%;
}

#planPagos h3 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-top: 8px;
}

#planPagos h4 {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ── FOOTER (MEJORADO) ── */
footer {
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
  text-align: center;
  padding: 24px 40px;
  font-family: var(--font-h);
  font-size: 12px;
  color: var(--gray-text);
  letter-spacing: 0.5px;
  margin-top: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

footer a {
  color: var(--black);
  position: relative;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

footer a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

footer a:hover::after {
  transform: scaleX(1);
}

.hidden {
  display: none !important;
}

/* ── RESPONSIVE: 768px ── */
@media (max-width: 768px) {
  body {
    padding-top: 90px;
  }

  header {
    top: 10px;
  }

  nav {
    grid-template-columns: auto 1fr;
    height: 60px;
    padding: 0 20px;
  }

  nav h1 {
    font-size: 18px;
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .nav-logo {
    margin-left: 10px;
    height: 40px;
  }

  .vm {
    grid-template-columns: 1fr;
  }

  .vm-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--gray-mid);
  }

  .contacto {
    flex-direction: column;
  }

  /* Retiros responsive tablet */
  #retiro {
    padding: 32px 24px;
  }

  .tbu,
  .cf {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }

  #retiro img {
    width: 100%;
    max-height: 300px;
  }

  .info-ret {
    width: 100%;
  }

  .info-ret iframe {
    width: 100%;
    height: 280px;
  }

  .contacto iframe {
    width: 100%;
    height: 320px;
  }

  /* Info Retiros responsive tablet */
  #RetiroTBUInfo {
    padding: 32px 24px;
  }

  #planPagos {
    padding: 20px;
    max-width: 100%;
  }
}

/* ── RESPONSIVE: 480px ── */
@media (max-width: 480px) {
  body {
    padding: 5px;
    padding-top: 85px;
  }

  header {
    top: 5px;
    width: calc(100% - 10px);
  }

  nav {
    height: auto;
    min-height: 56px;
    padding: 10px 16px;
    border-radius: 12px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nav-logo {
    height: 35px;
    justify-self: center;
    margin-left: 0;
  }

  nav h1 {
    font-size: 16px;
    margin-top: 0;
  }

  .hero {
    min-height: 260px;
    height: auto;
    margin-top: 12px;
    border-radius: 16px;
  }

  .hero-slide {
    background-position: 50% 35%;
    background-size: cover;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .hero-arrow.left {
    left: 12px;
  }

  .hero-arrow.right {
    right: 12px;
  }

  .hero-dots {
    bottom: 12px;
  }

  /* Retiros responsive móvil */
  #retiro {
    padding: 20px 16px;
    margin-top: 20px;
  }

  .tbu,
  .cf {
    flex-direction: column;
    padding: 20px 16px;
    gap: 20px;
  }

  #retiro img {
    width: 100%;
    max-height: 220px;
    border-radius: 12px;
  }

  .info-ret h3 {
    font-size: 18px;
  }

  .info-ret h4 {
    font-size: 14px;
  }

  .info-ret button,
  .btn-abonos {
    font-size: 13px;
    padding: 10px 20px;
    width: 100%;
  }

  .info-ret iframe {
    width: 100%;
    height: 240px;
    border-radius: 12px;
  }

  .vm-col {
    padding: 24px 20px;
  }

  .contacto {
    padding: 32px 16px;
  }

  .contacto-inner {
    padding: 24px;
  }

  .contacto iframe {
    width: 100%;
    height: 280px;
  }

  footer {
    padding: 16px 20px;
    font-size: 11px;
  }

  /* Info Retiros responsive móvil */
  #RetiroTBUInfo {
    padding: 24px 16px;
    margin-top: 20px;
  }

  #RetiroTBUInfo h2 {
    font-size: 20px;
  }

  #planPagos {
    padding: 16px;
    border-radius: 12px;
  }

  #planPagos h3 {
    font-size: 16px;
  }

  #planPagos h4 {
    font-size: 14px;
  }
}

/* ── RESPONSIVE: 360px (extra pequeño) ── */
@media (max-width: 360px) {
  nav h1 {
    font-size: 14px;
  }

  #retiro {
    padding: 16px 12px;
  }

  .tbu,
  .cf {
    padding: 16px 12px;
  }

  .info-ret h3 {
    font-size: 16px;
  }

  .info-ret h4 {
    font-size: 13px;
  }

  .info-ret iframe {
    height: 200px;
  }

  /* Info Retiros responsive extra pequeño */
  #RetiroTBUInfo {
    padding: 20px 12px;
  }

  #planPagos {
    padding: 12px;
  }

  #planPagos h3 {
    font-size: 15px;
  }

  #planPagos h4 {
    font-size: 13px;
  }
}
