:root {
  --black-soft: #11100d;
  --black-footer: #0d0c0a;
  --black-card: #1d1812;
  --gold: #e8bd82;
  --gold-light: #f5d7a9;
  --brown: #6b4422;
  --cream: #fff4e4;
  --text: #f8ead8;
  --muted: #d8b991;
  --bg: #cfa06b;
  --bg-dark: #9a6a3d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 35%),
    linear-gradient(135deg, #e3c49f, #fadfc5);
  color: var(--text);
  overflow-x: hidden;
}

/* HEADER */

.header {
  width: 100%;
  background: rgba(17, 16, 13, 0.96);
  border-bottom: 1px solid rgba(232, 189, 130, 0.18);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar {
  width: min(1200px, 92%);
  margin: auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--cream);
}

.logo img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 18px;
}

.logo h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.logo span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  padding-left: 100px;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 0px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--gold);
  left: 0;
  bottom: 0;
  border-radius: 30px;
  transition: width 0.35s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-reservar {
  text-decoration: none;
  padding: 13px 23px;
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: 0.3s ease;
  box-shadow: 0 12px 25px rgba(214, 170, 118, 0.22);
  background: linear-gradient(
    270deg,
    #5ed088,
    #00cf4c,
    #25d366,
    #47d47a
  );
  background-size: 300% 300%;
  color: #f8f8f8;
  animation: moverColores 4s ease infinite;
}

.btn-reservar:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.162);
}

@keyframes moverColores {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  color: var(--cream);
  font-size: 28px;
  cursor: pointer;
}

/* REDES SOCIALES LATERALES */


.social-fixed {
  position: fixed;
  right: 0;
  top: 80%;
  transform: translateY(-70%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-fixed a {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 25px;
  border-radius: 34px 0 0 34px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);

  /* Aquí queda pegado a la derecha */
  transform: translateX(8px);

  /* Solo se anima este botón, no los demás */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-fixed a:hover,
.social-fixed a:focus,
.social-fixed a:active {
  transform: translateX(0);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.social-fixed i {
  pointer-events: none;
}

.facebook {
  background: #1877f2;
}

.instagram {
  background: linear-gradient(135deg, #feda75, #d62976, #962fbf, #4f5bd5);
}

.tiktok {
  background: #050505;
}

.whatsapp {
  background: #25d366;
}

/* HERO */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(214, 170, 118, 0.24), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(241, 208, 163, 0.11), transparent 30%),
    linear-gradient(135deg, #050505 0%, #101010 55%, #25180d 100%);
  overflow: hidden;
  margin-bottom: 50PX;
}

.hero-content {
  max-width: 1200px;
  margin: auto;
  padding: 70px 0px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  background: rgba(214, 170, 118, 0.12);
  border: 1px solid rgba(214, 170, 118, 0.35);
  border-radius: 999px;
  color: var(--dorado-claro);
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-text h2 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  font-weight: 900;
  color: #e5e5e3;
  margin-bottom: 24px;
}

.hero-text p {
  max-width: 590px;
  color: var(--texto-suave);
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  box-shadow: 0 15px 28px rgba(214, 170, 118, 0.23);
    background: linear-gradient(
    270deg,
    #5ed088,
    #00cf4c,
    #25d366,
    #47d47a
  );
  background-size: 300% 300%;
  color: #ffffff;
  animation: moverColores 4s ease infinite;
}

@keyframes moverColores {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


.btn-secondary {
  color: #feffff;
  border: 1px solid rgba(8, 107, 157, 0.35);
  background: rgb(6, 107, 180);
  text-decoration: none;
}

.btn-secondary:hover {
  transform: translateY(-4px);
}

.hero-image-card {
  background: #e7cca6;
  border: 1px solid rgba(214, 170, 118, 0.25);
  padding: 20px;
  border-radius: 38px;
  box-shadow: var(--sombra);
}

.hero-image {
  min-height: 480px;
  border-radius: 30px;
  background:
    linear-gradient(rgba(241, 241, 241, 0.12), rgba(5, 5, 5, 0.35)),
    url("logo-educando.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-info {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: 310px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(5, 5, 5, 0.78);
  border: 1px solid rgba(214, 170, 118, 0.25);
  backdrop-filter: blur(10px);
}

.hero-info h3 {
  color: var(--dorado-claro);
  font-size: 21px;
  font-weight: 900;
}

.hero-info p {
  color: var(--texto-suave);
  margin-top: 5px;
  line-height: 1.5;
}

/* SECCIONES GENERALES */

.section {
  width: min(1200px, 92%);
  margin: 0 auto 30px;
  padding: 40px 40px;
  margin-top: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 244, 228, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title span {
  color: #f29b18;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
}

.section-title h2 {
  font-family: "Montserrat", sans-serif;
  color: #033f8e;
  font-size: clamp(32px, 4vw, 48px);
  margin: 10px 0;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.section-title p {
  max-width: 1200px;
  margin: auto;
  color: #383838;
  font-size: 17px;
}



/* HISTORIA */

.historia-content {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 34px;
}

.historia-text,
.historia-box {
  background: #e7cca6;
  padding: 34px;
  border-radius: 20px;
  border: 1px solid rgba(232, 189, 130, 0.18);
}

.historia-text h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  margin-bottom: 18px;
  color: #00279b;
}

.historia-text p {
  color: #000000;
  line-height: 1.8;
  margin-bottom: 14px;
}

/*CARRUSEL*/

.carrusel-historia {
  position: relative;
  width: 350px;
  height: 600px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #1f1f1f;
  margin: 0 auto;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.carrusel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide.activo {
  display: block;
}

.slide img,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Botones Font Awesome */
.btn-carrusel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.btn-carrusel:hover {
  background: #d9a441;
  color: #1f1f1f;
}

.prev {
  left: 18px;
}

.next {
  right: 18px;
}

/* Indicadores */
.indicadores {
  position: absolute;
  bottom: 22px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 6;
}

.punto {
  width: 12px;
  height: 12px;
  background: #d9d9d9;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.punto.activo {
  background: #d9a441;
  transform: scale(1.15);
}

@media (max-width: 600px) {
  .carrusel-historia {
    width: 100%;
    height: auto;
    aspect-ratio: 480 / 848;
    border-radius: 18px;
  }

  .btn-carrusel {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .prev {
    left: 10px;
  }

  .next {
    right: 10px;
  }

  .indicadores {
    bottom: 16px;
  }

  .punto {
    width: 10px;
    height: 10px;
  }
}

/* FOOTER */

.footer {
  background: rgba(13, 12, 10, 0.98);
  border-top: 1px solid rgba(232, 189, 130, 0.16);
  padding: 70px 20px 28px;
}

.footer-content {
  width: min(1180px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 70px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(232, 189, 130, 0.16);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.footer-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 18px;
}

.footer-logo h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
}

.footer-logo span {
  color: var(--gold-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.footer-brand p {
  color: var(--cream);
  line-height: 1.8;
  max-width: 460px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.footer-social a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(232, 189, 130, 0.1);
  color: var(--gold-light);
  border: 1px solid rgba(232, 189, 130, 0.26);
  font-size: 21px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-5px);
  background: rgba(232, 189, 130, 0.2);
}

.footer-column h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  margin-bottom: 22px;
}

.footer-column a,
.footer-column p {
  display: block;
  color: var(--gold-light);
  text-decoration: none;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-column i {
  width: 28px;
  color: var(--gold);
}

.footer-column a:hover {
  color: var(--cream);
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  color: #b6c4d4;
  font-weight: 700;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .navbar {
    gap: 18px;
  }

  .nav-links {
    gap: 18px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 870px) {
  .menu-icon {
    display: block;
  }

  .navbar {
    min-height: 82px;
  }

  .logo img {
    width: 58px;
    height: 58px;
  }

  .logo h1 {
    font-size: 24px;
  }

  .logo span {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background: rgba(17, 16, 13, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 26px 20px;
    gap: 22px;
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-bottom: 1px solid rgba(232, 189, 130, 0.2);
  }

  #menu-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .gallery-grid,
  .quienes-grid {
    grid-template-columns: 1fr;
  }

}



@media (max-width: 600px) {
  .section {
    width: 92%;
    padding: 52px 22px;
    border-radius: 28px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 260px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo {
    align-items: flex-start;
  }

  .footer-logo span {
    font-size: 11px;
  }

  .footer-social {
    flex-wrap: wrap;
  }
}

@media (max-width: 992px) {
  .hero-content,
  .about-container,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }
}

  @media (max-width: 480px) {
  .logo-text span {
    display: none;
  }

  .hero-text h2 {
    font-size: 39px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  }

  @media (max-width: 950px) {
  .historia-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .historia-text {
    width: 100%;
  }

  .carrusel-historia {
    width: 100%;
    max-width: 480px;
    height: auto;
    aspect-ratio: 480 / 848;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .historia-content {
    width: 92%;
  }

  .historia-text {
    padding: 28px 22px;
    border-radius: 16px;
  }

  .historia-text h3 {
    font-size: 26px;
  }

  .historia-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .carrusel-historia {
    border-radius: 16px;
  }

  .btn-carrusel {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .prev {
    left: 10px;
  }

  .next {
    right: 10px;
  }
}