: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: 20px;
  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: 20px;
  box-shadow: var(--sombra);
}

.hero-image {
  min-height: 480px;
  border-radius: 20px;
  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: 20px;
  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);
  scroll-margin-top: 100px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.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;
}

/* SERVICIOS */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, rgba(35, 28, 20, 0.96), rgba(18, 15, 12, 0.96));
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid rgba(232, 189, 130, 0.16);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(232, 189, 130, 0.48);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.22);
}

.card i {
  font-size: 38px;
  color: var(--gold);
  margin-bottom: 22px;
}

.card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  margin-bottom: 12px;
}

.card p {
  color: #f0d3aa;
  line-height: 1.7;
}

/* GALERÍA */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-grid img:hover {
  transform: scale(1.035);
  filter: brightness(1.08);
}

/* QUIÉNES SOMOS */

.quienes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-item {
  text-align: center;
  background: rgba(29, 24, 18, 0.92);
  padding: 34px 24px;
  border-radius: 20px;
  border: 1px solid rgba(232, 189, 130, 0.18);
}

.info-item i {
  font-size: 38px;
  color: var(--gold);
  margin-bottom: 18px;
}

.info-item h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 27px;
  margin-bottom: 10px;
  color: #ffffff;
}

.info-item p {
  color: #f0d3aa;
}

/* RESERVA */

.reserva {
  width: min(1200px, 92%);
  margin: 0 auto 90px;
  padding: 48px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(35, 28, 20, 0.96), rgba(94, 60, 27, 0.92));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border: 1px solid rgba(232, 189, 130, 0.2);
}

.reserva-card h2 {
  max-width: 1000px;
  margin: 28px auto 18px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  color: var(--cream);
}

.reserva-card p {
  color: var(--gold-light);
  font-size: 19px;
  margin-bottom: 34px;
}

.reserva-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #14100b;
  padding: 17px 34px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reserva-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

/* HERO */

.hero {
  min-height: 720px;
  padding: 20px 20px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  width: min(1120px, 100%);
  min-height: 430px;
  background:
    linear-gradient(180deg, rgba(47, 37, 26, 0.96), rgba(20, 18, 15, 0.98)),
    radial-gradient(circle at top, rgba(232, 189, 130, 0.22), transparent 45%);
  border-radius: 20px;
  padding: 70px 36px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(232, 189, 130, 0.18);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold-light);
  padding: 10px 28px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
  font-weight: 800;
}

.tag i {
  color: var(--brown);
}

/* 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;
  }

  .btn-reservar {
    display: none;
  }

  .reserva {
    min-height: auto;
    padding: 80px 16px 60px;
  }

  .reserva-card {
    border-radius: 20px;
    padding: 54px 24px;
  }

  .reserva-card p {
    font-size: 17px;
  }

  .gallery-grid,
  .quienes-grid {
    grid-template-columns: 1fr;
  }

  .reserva {
    flex-direction: column;
    text-align: center;
    padding: 38px 24px;
  }
}



@media (max-width: 600px) {
  .section {
    width: 92%;
    padding: 52px 22px;
    border-radius: 20px;
  }

  .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%;
  }
  .info-item {
  text-align: center;
  background: rgba(20, 42, 31, 0.92);
  padding: 34px 24px;
  border-radius: 20px;
  border: 1px solid rgba(232, 189, 130, 0.18);
}
  }

@media (max-width: 768px) {

  .hero-content {
    padding: 10px 10px;
    gap: 35px;
  }

  .hero-text h2 {
    font-size: 38px;
    line-height: 1.05;
  }

  .hero-text p {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-buttons {
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-image-card {
    padding: 14px;
    border-radius: 20px;
  }

  .hero-image {
    min-height: 330px;
    border-radius: 20px;
  }

  .hero-info {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

}

@media (max-width: 1300px) {

  .hero-content {
    padding: 10px 50px;
  }
}