: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;
}

.hero-content {
  max-width: 1200px;
  margin: auto;
  padding: 50px 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;
  background: linear-gradient(
    270deg,
    #1f1fc1,
    #272492,
    #3d48c0,
    #0a53a6
  );
  background-size: 300% 300%;
  color: #ffffff;
  animation: moverColores 4s ease infinite;
}

.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: 35px;
}

.section-title span {
  color: #de8e17;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
}

.section-title h2 {
  font-family: "Montserrat", sans-serif;
  color: #1d314b;
  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;
}

/* SERVICIOS */

.servicios-perrunos {
  padding: 50px 10.5%;
  background: #f5f5f5;
}

.servicios-contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* Imagen izquierda */
.servicios-imagen {
  position: relative;
  flex: 1 1 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.circulo-fondo {
  width: 420px;
  height: 420px;
  background: #f2c400;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
}

.servicios-imagen img {
  position: relative;
  z-index: 2;
  max-width: 440px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Texto derecha */
.servicios-info {
  flex: 1 1 520px;
}

.section-title span {
  display: inline-block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0b7a6d;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 38px;
  color: #0b6b7a;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 700px;
}

/* Grid de servicios */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.servicio-card {
  background: #fff;
  padding: 28px 22px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.servicio-card i {
  font-size: 40px;
  color: #0b7a71;
  margin-bottom: 18px;
}

.servicio-card h3 {
  font-size: 24px;
  color: #0b7a71;
  margin-bottom: 12px;
}

.servicio-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 992px) {
  .servicios-contenedor {
    flex-direction: column;
    text-align: center;
  }

  .servicios-info {
    width: 100%;
  }

  .section-title p {
    margin-left: auto;
    margin-right: auto;
  }

  .circulo-fondo {
    width: 340px;
    height: 340px;
  }

  .servicios-imagen img {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .servicio-card h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .servicios-perrunos {
    padding: 60px 5%;
  }

  .circulo-fondo {
    width: 260px;
    height: 260px;
  }

  .servicios-imagen img {
    max-width: 270px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .section-title p,
  .servicio-card p {
    font-size: 15px;
  }
}

/* QUIÉNES SOMOS */

.quienes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.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);
}

.info-item i {
  font-size: 38px;
  color: #71faa3;
  margin-bottom: 18px;
}

.info-item h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 27px;
  margin-bottom: 10px;
  color: #ffffff;
}

.info-item p {
  color: #dad2c5;
}

/*INSTAGRAM*/

.instagram-section {
  background: #efefef;
  padding:50px 20px;
}

.instagram-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #000000;
}

/* ENCABEZADO */
.instagram-header {
  padding: 20px 30px;
  border-bottom: 1px solid #0c0c0c;
}

.instagram-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.profile-img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e1306c;
  padding: 0px;
  background: #fff;
}

.profile-info {
  flex: 1;
}

.profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.profile-top h2 {
  font-size: 20px;
  color: #ffffff;
  margin: 0;
}

.profile-user {
  color: #c5c5c5;
  margin: auto;
  font-size: 16px;
  margin-bottom: 10px;
}

.profile-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  color: #c5c5c5;
  font-size: 16px;
}

.profile-stats strong {
  color: #c5c5c5;
}

.follow-btn {
  background: #0095f6;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease;
}

.follow-btn:hover {
  background: #007ed6;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .instagram-feed {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .instagram-header {
    padding: 20px;
  }

  .profile-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-stats {
    gap: 15px;
    font-size: 15px;
  }

  .instagram-feed {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .instagram-feed {
    grid-template-columns: 1fr;
  }

  .profile-img {
    width: 65px;
    height: 65px;
  }

  .profile-top h2 {
    font-size: 18px;
  }

  .profile-user,
  .profile-stats {
    font-size: 14px;
  }

  .follow-btn {
    padding: 9px 14px;
    font-size: 14px;
  }
}

/* RESERVA */

.reserva {
  width: min(1200px, 92%);
  margin: 0 auto 30px;
  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: #e8dac7;
  font-size: 19px;
  margin-bottom: 34px;
}

.reserva-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 13px 23px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(
    270deg,
    #e6bb8b,
    #f1d0a3,
    #d2a06d,
    #d6aa76
  );
  background-size: 300% 300%;
  color: #000000;
  animation: moverColores 4s ease infinite;
}

.reserva-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgb(234, 224, 208);
  color: #644615;
  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;
  color: #ffffff;
}

.footer-logo span {
  color: var(--gold-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.footer-brand p {
  color: #ffffff;
  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: var(--gold);
  color: #000000;
  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: var(--gold-light);
}

.footer-column h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  margin-bottom: 22px;
  color: #ffffff;
}

.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: #ffffff;
}

.footer-column a:hover {
  color: var(--cream);
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  color: #ffffff;
  font-weight: 700;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .navbar {
    gap: 18px;
  }

  .nav-links {
    gap: 18px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 0px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section-title {
  text-align: center;
  margin-bottom: 25px;
}

}
@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: 0px 0px;
    border-radius: 20px;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 0px 20px;
  }

  .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;
  }

  .section, .hero
  {
    padding: 20px 0px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section .quienes-grid {
  padding: 0px 20px;

  }
}

  @media (max-width: 480px) {
  .logo-text span {
    display: none;
  }

  .hero-text h2 {
    font-size: 39px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  }

@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: 250px;
    border-radius: 20px;
    width: auto;
    height: auto;
    max-width: none;
    flex-shrink: 0;
  }

  .hero-info {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

}

@media (max-width: 1300px) {

  .hero-content {
    padding: 10px 50px;
  }
}

@media (max-width: 768px) {
  .social-fixed a{
    top: auto;
    right: auto;
    left: 50%;
    bottom: 16px;
    transform: translateX(30%);

    flex-direction: row;
    gap: 7px;
  }

  .social-fixed .social-link {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    font-size: 10px;
    border-radius: 999% !important;
  }

  .social-fixed .social-link:hover {
    transform: translateY(-5px) scale(1.06) !important;
  }
}