/* ===== BASE & VARIABLES ===== */
:root {
  --pink: #E91E8C;
  --pink-dark: #C4167A;
  --pink-light: #F5A3D0;
  --cream: #FAF6F0;
  --lavender: #E8E0F0;
  --dark: #2D2235;
  --gray: #6B6272;
  --white: #FFFFFF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.3s;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.nav__logo img {
  height: 64px;
  width: auto;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.3s;
}

.nav__links a:hover {
  color: var(--pink);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/IMG1458.JPG');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.45);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 800px;
}

.hero__logo {
  width: 220px;
  margin: 0 auto 2rem;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero__cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--pink);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
}

.hero__cta:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

/* ===== SECTIONS (shared) ===== */
section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.section-text {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.8;
}

/* ===== NOSOTRES (ABOUT) ===== */
.nosotres {
  background: var(--cream);
}

.nosotres__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.nosotres__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.nosotres__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ===== MISIÓN & VISIÓN ===== */
.mision-vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.mv-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--pink);
  transition: transform 0.3s, box-shadow 0.3s;
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.mv-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.mv-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* ===== VALORES ===== */
.valores {
  background: var(--lavender);
}

.valores__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.valor-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.valor-card:hover {
  transform: translateY(-4px);
}

.valor-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.valor-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.valor-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ===== SOBRE EL GAAT ===== */
.sobre {
  background: var(--cream);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sobre__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.sobre__img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ===== IMAGE BANNER ===== */
.img-banner {
  position: relative;
  height: 50vh;
  min-height: 320px;
  overflow: hidden;
}

.img-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.img-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.img-banner__content blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  max-width: 700px;
  line-height: 1.5;
  font-style: italic;
}

/* ===== GALERÍA ===== */
.galeria {
  padding: 5rem 0;
}

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.galeria__item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.galeria__item:hover img {
  transform: scale(1.05);
}

/* ===== CONTACTO / FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo img {
  height: 56px;
  margin-bottom: 1rem;
}

.footer__logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--pink-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__contact p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer__contact a {
  color: var(--pink-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__nav ul {
  list-style: none;
}

.footer__nav li {
  margin-bottom: 0.5rem;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nosotres__grid,
  .sobre__grid,
  .mision-vision__grid {
    grid-template-columns: 1fr;
  }

  .nosotres__img,
  .sobre__img {
    order: -1;
  }

  .valores__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .galeria__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .nav__links.active {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .hero__logo {
    width: 160px;
  }

  section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 540px) {
  .valores__grid {
    grid-template-columns: 1fr;
  }

  .galeria__grid {
    grid-template-columns: 1fr;
  }
}
