/* -----------------------------------------------------
   Variables, Reset y Base
   ----------------------------------------------------- */
:root {
  --bg: #F7F1EC; /* fondo muy claro */
  --primary: #847D8D; /* color de textos */
  --secondary: #625656; /* color secundario */
  --muted: #8f8590; /* color de los enlaces */
  --accent: #8f6bd6; /* morado suave para acento */
  --container-width: 90%; /* ancho máximo del contenido */
}

/* Reinicio mínimo */
* { 
  box-sizing: border-box;
}

html, body { 
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--primary);
}

.container { 
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* -----------------------------------------------------
   Layout: header / nav / hero
   ----------------------------------------------------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 3100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo img {
  height: 56px;
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}

.nav-toggle:focus {
  outline: 2px solid rgba(0,0,0,0.08);
}

.hamburger {
  display: block;
  position: relative;
  width: 28px;
  height: 2px;
  background: var(--muted);
  transition: all .25s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--muted);
  transition: all .25s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}
.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  display: inline-block;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #6f6470;
  outline: none;
}

.main-nav a:focus {
  box-shadow: inset 0 -3px 0 var(--accent);
}

.main-nav li {
  font-size: 16px;
}

.main-nav.open {
  transform: translateX(0);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
  z-index: 2400;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero */
.hero-section {
  min-height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-image: url('./images/image_01.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  text-align: right;
  position: relative;
}

.hero-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-text {
  text-align: left;
  margin-top: 24px;
  margin-left: 80px;
}

.hero-text h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 2.5rem;
  color: #58B0B8;
  margin-top: -10px;
  margin-bottom: -10px;
  font-weight: 500;
}

.hero-text p {
  font-family: 'Barlow', sans-serif;
  font-size: 1.25rem;
  color: #fff;
  max-width: 500px;
  line-height: 1.5;
}

/* -----------------------------------------------------
   Sections: section-2, section-3, section-4, section-5, testimonials, recursos
   ----------------------------------------------------- */
.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.align-left {
  text-align: left;
}

.section {
  width: 100%;
  /* min-height: 100vh; */
  height: auto;
  padding: 80px 20px;
}

.section__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-header .section-header-title {
  font-family: 'Caveat';
  color: #6b5f66;
  font-weight: 600;
  line-height: 0;
  font-size: 96px;
}

.section-header .section-header-description {
  font-size: 20px;
  width: 60%;
  margin: 0 auto;
  line-height: 1.7;
}

.section-2 {
  padding: 40px 100px;
  display: block;
}

.section-2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 100%;
}

.info-card {
  text-align: center;
}

.info-card img {
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

.info-card h3 {
  color: var(--primary);
  font-size: 40px;
  font-weight: 500;
  margin: 0 0 16px;
  font-family: 'Barlow', sans-serif;
}

.info-card p {
  color: var(--primary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.section-3 {
  padding: 40px 20px;
}

.section-3-row {
  display: flex;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
}

.section-3-row .col {
  flex: 1;
}

.section-3-row .col-center {
  flex: 0 0 50%;
  text-align: center;
}

.section-3-row .col-center img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 635px;
  margin: 0 auto;
}

.col-left {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  justify-content: center;
}

.stat-block {
  max-width: 280px;
}

.stat-icon {
  width: 64px;
  height: auto;
  margin: 0 auto 12px;
  opacity: 0.95;
}

.stat-block h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #5a4f56;
  line-height: 1.1;
}

.stat-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
}

.section-4 {
  padding: 60px 20px;
  text-align: center;
}

.section-4 h2 {
  color: #6b5f66;
  font-size: 2rem;
  margin-bottom: 40px;
}

.proposals-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 50px;
}

.proposal-card {
  flex: 1;
  max-width: 350px;
  text-align: center;
}

.proposal-icon {
  width: 200px;
  margin: 0 auto 20px;
  display: block;
}

.proposal-title {
  font-size: 32px;
  margin: 0 0 15px;
}

.proposal-desc {
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
}

.section-5 {
  background: #f7f1ec;
  padding: 80px 0 40px 0;
  background-image: url('./arts/art_08.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: inherit;
}
.micro-header { text-align:center; margin-bottom:56px }
.micro-title { font-family: 'Caveat', cursive; font-size:3rem; color:#6b5f66; margin-bottom:18px; font-weight:600 }
.micro-desc { color:#6b5f66; font-size:1.1rem; max-width:700px; margin:0 auto; line-height:1.7 }
.micro-block { display:flex; align-items:center; justify-content:center; gap:48px; margin:0 auto 10px auto; padding:0px 32px }
.micro-block--img-left { flex-direction: row }
.micro-block--img-right { flex-direction: row-reverse }
.micro-block-img { flex:0 0 320px; display:flex; align-items:center; justify-content:center }
.micro-block-img img { width:600px; object-fit:cover; display:block }
.micro-block-text { flex:1; padding:0 16px; max-width: 600px; }
.micro-block-title { font-family:'Barlow', sans-serif; font-size:1.5rem; color:#6b5f66; margin-bottom:16px; font-weight:500 }
.micro-block-desc { color:#6b5f66; font-size:1rem; line-height:1.6 }

/* Testimonials */
.section-testimonios { padding: 80px 20px }
.testimonials-title { font-family: 'Caveat', cursive; font-size:3rem; text-align:center; color:#6b5f66; margin:0 0 28px 0 }
.testimonials-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:20px; max-width:1200px; margin:0 auto }
.testimonial-card { background:#fff; border-radius:20px; padding:26px; box-shadow:0 6px 20px rgba(111,100,112,0.06); border:1px solid rgba(139,128,135,0.06); display:flex; align-items:stretch }
.testimonial-body { display:flex; flex-direction:column; gap:14px; color:#6b5f66 }
.testimonial-header { display:flex; align-items:center; justify-content:space-between; gap:12px }
.testimonial-name { font-family:'Barlow', sans-serif; margin:0; color:#6b5f66; font-size:1rem; font-weight:600 }
.testimonial-meta { margin:0; color:var(--accent); font-size:0.95rem }
.testimonial-text { margin:0; color:#6b5f66; line-height:1.6; font-size:0.95rem }
.avatar { width:48px; height:48px; border-radius:50%; background:linear-gradient(180deg,#e9e7ea,#f4f1f3); box-shadow:inset 0 2px 0 rgba(255,255,255,0.6); flex:0 0 48px }

/* Recursos */
.section-recursos { padding:80px 0;}
.resources-grid { display:flex; align-items:center; justify-content:space-between; gap:60px; max-width:1100px; margin:0 auto }
.resources-links { flex:1; display:flex; flex-direction:column; gap:24px }
.resources-link { display: flex; text-align:center; align-items: center; gap:12px; text-decoration:none; font-size: 20px; font-family:'Barlow', sans-serif; padding:20px 50px; border-radius:20px; border-color: var(--primary); border: solid; border-width: 1px; width: fit-content;}
.resources-link:hover { transform: translateX(8px) }
.resources-link .resource-icon { width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; }
.resources-image { flex:1; display:flex; justify-content:center }
.resources-image img { max-width:100%; height:auto }
.resources-title{ text-align: left; margin-bottom: 40px;}

/* Small utilities */
.content-image-1 { background-image: url('assets/preview.svg') }
.content-image-2 { background-image: url('contenido2.jpg') }
.content-image-3 { background-image: url('contenido3.jpg') }
.text { background:#fff; color:#111; padding:60px 20px; text-align:center }
.overlay { position:absolute; top:0; left:0; width:100%; height:100vh; display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center; color: white; z-index:1 }
.overlay h1 { font-size:3rem; margin:0 10px }
.overlay p { font-size:1.2rem; margin-top:10px; max-width:600px }

/* -----------------------------------------------------
   Footer
   ----------------------------------------------------- */
.site-footer { background: var(--bg); padding: 60px 0 80px; border-top: 2px solid var(--secondary); }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:40px; max-width:1200px; margin:0 auto; padding:0 20px }
.footer-left { flex:0 0 40%; display:flex; flex-direction:column; gap:22px }
.footer-logo img { width: 30%; display:block; margin-bottom: 20px; }
.socials { display:flex; gap:14px }
.social-btn { display:inline-flex; align-items:center; justify-content:center; text-decoration:none }
.social-btn img{ width:50px; height:50px; display:inline-flex; align-items:center; justify-content:center; border-radius:10px; background:#f1eceb; border:1px solid rgba(0,0,0,0.05); box-shadow:0 4px 12px rgba(111,100,112,0.06); text-decoration:none }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0 }
.footer-copy { font-size:18px; margin:0 }
.footer-right { flex:1; display:flex; flex-direction:column; text-align:left; gap:8px }
.footer-lead { margin:0; color:var(--primary); font-size:18px; line-height:1.4 }
.footer-lead strong { color:#4b3f45 }
.footer-headline { margin:0; font-size:36px; color:#6b5f66; letter-spacing:0.2px }

/* -----------------------------------------------------
   Media queries (kept at the end, grouped by breakpoint)
   ----------------------------------------------------- */

@media (max-width: 1280px) {
  .section__inner {
    max-width: 1000px;
  }
}

@media (max-width: 1024px) {
  .section__inner {
    max-width: 800px;
  }
  .section {
    padding: 60px 20px;
  }
  .hero-section {
    min-height: 70vh;
  }
}

@media (max-width: 968px) {
  .section-2-grid{grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 0 20px}
}

@media (max-width: 900px) {
  .micro-block{flex-direction: column !important; gap:24px; padding:32px 12px}
  .testimonials-grid{grid-template-columns:1fr; max-width:700px; padding:0 20px}
  .testimonial-card{border-radius:16px; padding:20px}
  .footer-inner { flex-direction:column; align-items:flex-start; padding:0 20px }
  .footer-left { width:100%; flex-direction:row; align-items:center; gap:16px }
  .footer-copy { margin-left:6px }
  .footer-right { width:100%; align-items:flex-start; text-align:left }
  .footer-headline { font-size:32px }
}

@media (max-width: 768px) {
  .nav-inner{padding:12px 0}
  .nav-toggle{display:inline-flex; align-items:center; justify-content:center}
  .main-nav{position:fixed; top:0; right:0; height:100vh; width:280px; background:var(--bg); box-shadow:-6px 0 24px rgba(0,0,0,0.08); transform:translateX(100%); transition:transform .28s ease-in-out; padding:30px 24px 24px; z-index:2500}
  .main-nav ul {
    display: block;
}
  .container{padding:0 16px}
  .section{min-height: 60vh; padding: 40px 16px}
  .section__inner {
    max-width: 100%;
  }
  .section-3-row{flex-direction: column}
  .proposals-grid{flex-direction: column; align-items: center}
  .proposal-card{max-width: 100%}
  .section-2{padding: 60px 0}
  .section-2-grid{grid-template-columns: 1fr;}
  .hero-section{padding: 60px 20px; min-height: auto}
  .section-recursos{padding: 60px 20px}
  .resources-grid{flex-direction: column-reverse; gap: 40px}
  .resources-title{font-size: 2.5rem; margin-bottom: 40px}
  .resources-image{width: 100%}
  .footer-logo img { width: 90%; display:block; margin-bottom: 20px; }
  .hero-content { padding-left: 80px;}
  .hero-image { width: 40%; }
  .hero-text {
    margin-top: 10px;
    margin-left: 40px;
  }
  .hero-text h2 {
    font-size: 30px;
  }
  .info-card img {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .main-nav{width:230px;}
  .section-5{padding: 40px 0 20px 0}
  .micro-title{font-size: 2.1rem}
  .micro-block{padding: 18px 4px}
  .micro-block-img img { width:100%; }
  .footer-logo img { width: 100%; display:block; margin-bottom: 20px; }
  .footer-left { flex-direction: column;}
  .hero-content { padding-left: 30px;}
  .hero-image { width: 60%; }
  .hero-text {
    margin-top: 10px;
    margin-left: 20px;
  }
  .hero-text h2 {
    font-size: 12px;
  }
  .hero-text p {
    font-size: 12px;
  }
  .section-header .section-header-title {
    font-weight: 600;
    line-height: 0;
    font-size: 60px;
  }
  .resources-title{ text-align: center;}
  .info-card img {
    width: 70%;
  }
  .section-2{padding: 0px;}
}

/* end of file */