/* Base styles */
body {
  font-family: 'Montserrat', sans-serif;
  color: #5a4a57;
  background-color: #fff;
  margin: 0;
  padding-top: 56px;
  font-size: 33px; /* Text size (Canva 33) */
}

html {
  scroll-behavior: smooth;
}

/* Títulos principales y destacados */
h1, h2, h3, h4, h5, h6,
.luen-title,
.mision-title,
.vision-title,
.valores-title,
.valores-subtitle {
  font-family: 'Parisienne', cursive;
}

/* Textos generales y párrafos */
body,
p,
.mision-text,
.vision-text,
.valores-text,
.lead {
  font-family: 'Montserrat', sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Dancing Script', cursive;
  font-size: 60px;
  color: #d67ca0;
}

/* Card styling for rounded images */


/* --- NAVBAR STYLES --- */

.navbar {
  background: #fff;
  box-shadow: 0 2px 12px #0001;
  min-height: 72px;
  padding-top: 0;
  padding-bottom: 0;
}


.navbar .navbar-brand img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.navbar .navbar-brand {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-right: 2rem;
  display: flex;
  align-items: center;
}

.navbar-nav {
  align-items: center;
}

.navbar .nav-link {
  color: #d76d77 !important;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  padding: 0.5rem 1.2rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #d76d77 !important;
}

.navbar-toggler {
  border: none;
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffd6e0' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

.luen-section {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f6f0eb;
  position: relative;
  padding-top: 90px;
  padding-bottom: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.luen-title {
  font-family: 'Parisienne', cursive;
  font-size: clamp(2.3rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

/* Decorative pastel circles */
.decor-circle {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 30vw;
  height: 30vw;
  background: #f8d5e0;
  z-index: 0;
  filter: blur(2px);
}

.decor-circle-left {
  top: -10vw;
  left: -10vw;
}

.decor-circle-right {
  bottom: -10vw;
  right: -10vw;
}

/* Square photo frames */
.photo-frame {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 6px solid #f8d5e0;
  border-radius: 12px;
  transition: transform 0.3s;
  z-index: 1;
}

.photo-frame img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  /* ✅ Borde removido para evitar duplicado */
}

/* Centrado en desktop */
@media (min-width: 992px) {
  .navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .navbar .navbar-brand {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
  }
  .navbar-collapse {
    justify-content: center !important;
  }
}

/* Mobile: logo y botón arriba, menú colapsa debajo */
@media (max-width: 991.98px) {
  .navbar {
    min-height: 56px;
    align-items: center;
  }
  .navbar .container {
    min-height: 56px;
    align-items: center !important;
  }
  .navbar .navbar-brand {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .navbar .navbar-brand img {
    height: 48px;
    max-width: 120px;
    display: block;
  }
  .navbar-collapse {
    margin-top: 0.5rem;
  }
  .navbar-nav {
    width: 100%;
    align-items: flex-start;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.mision-vision-section {
  height: 100vh;
  background-color: #fffafc;
  overflow: hidden;
}

.mision-title {
  color: #d67ca0;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.3;
}

/* Aquí modifico para que visión tenga el mismo tamaño y peso que misión */
.vision-title {
  color: #d67ca0;
  font-weight: 700;  /* Igual peso */
  font-size: 3rem;    /* Igual tamaño */
  line-height: 1.3;
}

.mision-text,
.vision-text {
  color: #5a4a57;
  font-size: 1.35rem;
  line-height: 2.1;
  max-width: 800px;
}

@media (max-width: 768px) {
  .mision-vision-section {
    height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .mision-title {
    font-size: 2.2rem;
  }

  /* Igualar visión a misión en mobile también */
  .vision-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .mision-text,
  .vision-text {
    font-size: 1.15rem;
    line-height: 1.9;
  }
}

.valores-section {
  height: 100vh;
  background-color: #fffafc;
  overflow: hidden;
}

.valores-img {
  height: 520px;
  width: 520px;
  object-fit: cover;
  border: 6px solid #f8d5e0;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.valores-title {
  color: #d67ca0;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.3;
}

/* Aquí agrego clase para "formacion integral" que iguala a valores-subtitle */
.formacion-integral,
.valores-subtitle {
  color: #d67ca0;
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.4;
}

.valores-text {
  color: #5a4a57;
  font-size: 1.35rem;
  line-height: 2.1;
  max-width: 800px;
}

@media (max-width: 768px) {
  .valores-section {
    height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .valores-img {
    height: 350px;
    width: 350px;
    margin-bottom: 1.5rem;
  }

  .valores-title {
    font-size: 2.2rem;
  }

  /* Igualar formación integral a valores-subtitle en mobile */
  .formacion-integral,
  .valores-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
  }

  .valores-text {
    font-size: 1.15rem;
    line-height: 1.9;
  }
}

body,
.mision-vision-section,
.valores-section {
  background-color: #f6f0eb !important;
}

/* Clean Footer Style */
.footer-clean {
  background-color: #fff8f3;
  color: #5a4a57;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  border-top: 1px solid #f3d9df;
  position: relative;
}

.footer-clean .social-icons a,
.footer-clean .scroll-top-btn {
  transition: transform 0.2s, color 0.2s;
  color: #d76d77;
  display: inline-block;
  font-size: 1.7rem;
  margin: 0 0.5rem;
}

.footer-clean .social-icons a:hover,
.footer-clean .scroll-top-btn:hover {
  transform: translateY(-6px) scale(1.15);
  color: #3a1c71;
}

.footer-clean .scroll-top-btn {
  position: fixed;
  right: 32px;
  bottom: 32px;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  z-index: 1000;
  font-size: 2rem;
  text-decoration: none;
  border: none;
  outline: none;
}

@media (max-width: 991.98px) {
  .footer-clean .scroll-top-btn {
    right: 16px;
    bottom: 16px;
    font-size: 1.5rem;
    padding: 0.5em 0.7em;
  }
}

.footer-clean .tanweb-link {
  display: inline-block;
  font-family: 'Fira Mono', monospace;
  font-size: 1.08rem;
  color: #1b5e20;
  letter-spacing: 1px;
  opacity: 0.92;
  transition: color 0.2s, opacity 0.2s, transform 0.2s, text-shadow 0.2s;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  cursor: pointer;
  text-decoration: none;
}

.footer-clean .tanweb-link:hover {
  color: #1565c0;
  opacity: 1;
  transform: translateY(-2px) scale(1.07) skewX(2deg);
  text-shadow: 0 2px 8px #1565c055;
}

.btn-pink {
  background-color: #d76d77;
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.75rem 2rem;
  transition: background 0.2s, transform 0.2s;
}

.btn-pink:hover,
.btn-pink:focus {
  background-color: #c0557b;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

.vision-img {
  width: 40rem;
  height: 40rem;
  border-radius: 6px;
  display: block;
  border: 6px solid #f8d5e0;
}

@media (max-width: 768px) {
  .vision-img {
    width: 21rem;
    height: 21rem;
    border-radius: 6px;
    border: 6px solid #f8d5e0;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 49px; /* o la altura de tu navbar */
    left: 0;
    right: 0;
    height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    transition: height 0.4s ease, padding 0.4s ease;
    z-index: 1050;
  }

  .navbar-collapse.show {
    height: calc(100vh - 56px); /* pantalla completa menos navbar */
    padding: 1rem 0;
    overflow-y: auto;
  }

  .navbar-collapse .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar-collapse .nav-link {
    padding: 1rem 0;
    font-size: 1.25rem;
    transition: color 0.3s;
  }
}
