:root{
  --bg: #ffffff;
  --paper: #f5f3ef;
  --text: #2c2c2c;
  --muted: #555;
  --muted2:#666;
  --line: #e0ddd7;
  --line2:#dcd8d2;
  --line3:#ddd;
  --radius: 14px;
}

.container{max-width:1200px;margin:auto;padding:0 20px}

/* =========================
   HEADER
========================= */
header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  height:70px;
}
.brand{font-family:Georgia,serif;font-size:20px;font-weight:500;color:var(--text)}
.menu{display:flex;gap:26px}
.menu a{
  text-decoration:none;color:var(--muted);
  font-size:15px;font-weight:500;
  padding:6px 8px;border-radius:8px;
  transition:.2s ease;
}
.menu a:hover{color:#000;background:var(--paper)}

.nav img{
  height:42px;
  width:auto;
  display:block;
}

/* =========================
   HERO (WIX)
========================= */
.hero{
  position:relative;
  width:100%;
  height:520px;
  overflow:hidden;
}

.hero-image{
  position:absolute;
  inset:0;
  background:url("../img/hero.png") center/cover no-repeat;
}

.hero-content{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  background:var(--paper);
  padding:60px 0;
}

.hero-content .container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

.hero-content h1{
  font-family:Georgia,serif;
  font-size:48px;
  font-weight:400;
  margin:0 0 10px;
  color:var(--text);
}

.hero-content p{
  font-size:18px;
  color:var(--muted);
  margin:0;
  max-width:700px;
}

/* =========================
   SECCIONES / CARDS / GRID
========================= */
.section{padding:80px 0}
.section h2{font-size:34px;font-weight:500;margin:0 0 30px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}

.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  transition:.25s ease;
}
.card:hover{transform:translateY(-4px);box-shadow:0 10px 25px rgba(0,0,0,.08)}
.card h3{margin:0 0 10px;font-size:20px;font-weight:600}
.card p{margin:0;color:var(--muted);line-height:1.6}

/* =========================
   QUIENES SOMOS
========================= */
#quienes{background:var(--bg)}
#quienes p{max-width:800px;color:var(--muted);line-height:1.7;font-size:16px}
.list{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.badge{
  border:1px solid var(--line2);
  padding:8px 14px;border-radius:20px;
  font-size:14px;color:#444;background:var(--paper);
}

/* =========================
   IMPACT (WIX)
========================= */
.impact{background:var(--paper);padding:100px 0}
.impact-wrapper{max-width:1200px;margin:auto;position:relative;padding:0 20px}
.impact-title{font-size:52px;margin:0 0 100px}

.impact-wrapper{
  max-width:1200px;
  margin:auto;
  position:relative;
  overflow:hidden;
  padding:0 20px;
}

.impact-grid{
  position:relative;
  height:600px;
  overflow:hidden;
}
.vline{position:absolute;top:0;bottom:0;width:1px;background:var(--line3)}
.l1{left:25%}.l2{left:50%}.l3{left:75%}

.item{position:absolute}
.item h3{font-size:60px;margin:0;color:var(--text);font-family:Georgia,serif}
.item span{
  display:inline-block;margin-top:12px;
  border:1px solid var(--line2);
  padding:6px 12px;border-radius:20px;
  font-size:14px;color:#444;background:transparent;
}

.i1{top:0;left:0}
.i2{top:150px;left:50%;transform:translateX(-50%)}
.i3{top:150px;left:75%}
.i4{bottom:0;left:25%}
.i4 h3{font-size:80px}
.impact{
  background:var(--paper);
  padding:100px 0;
  overflow:hidden;
}
/* =========================
   CONTACTO (form scoped)
========================= */
#contacto form{
  display:flex;flex-direction:column;gap:14px;margin-top:10px;
}
#contacto form label{
  display:flex;flex-direction:column;
  font-size:14px;color:var(--muted2);
}
#contacto form input,
#contacto form textarea{
  margin-top:6px;padding:14px;
  border-radius:10px;border:1px solid var(--line2);
  background:#fff;font-size:15px;font-family:inherit;
  transition:.2s ease;
}
#contacto form input:focus,
#contacto form textarea:focus{
  outline:none;border-color:var(--text);
  box-shadow:0 0 0 2px rgba(44,44,44,.08);
}
#contacto form textarea{min-height:140px;resize:vertical}
#contacto form button{
  margin-top:8px;padding:14px;border-radius:12px;border:0;
  background:var(--text);color:#fff;font-weight:600;font-size:15px;
  cursor:pointer;transition:.2s ease;
}
#contacto form button:hover{background:#000;transform:translateY(-1px)}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:900px){
  .grid{grid-template-columns:1fr}
  .nav{flex-direction:column;height:auto;padding:10px 0;gap:10px}
  .menu{flex-wrap:wrap;justify-content:center;gap:14px}
  .hero-content{padding:36px 20px}
  .hero-content h1{font-size:36px}
}


/* =========================
   TABS / PILLS (WIX STYLE)
========================= */
.tabs-section{
  background: #f5f3ef;
  border-top: 1px solid #e0ddd7;
  border-bottom: 1px solid #e0ddd7;
}

.tabs-grid{
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 640px;
}

/* Columna izquierda */
.tabs-left{
  background: #7b5a4a; /* marrón */
  padding: 90px 70px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.tabs-left h2{
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.08;
  color: #ffffff;
}

/* Columna derecha */
.tabs-right{
  background: #f5f3ef;
  padding: 70px 80px;
  border-left: 1px solid #e0ddd7;
}

/* Pills */
.tabs-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.pill{
  appearance: none;
  border: 1px solid #dcd8d2;
  background: transparent;
  color: #2c2c2c;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.pill:hover{
  transform: translateY(-1px);
  border-color: #bfb8b0;
}

.pill.is-active{
  background: #2c2c2c;
  color: #ffffff;
  border-color: #2c2c2c;
}

/* Texto principal */
.tabs-body{
  margin-top: 28px;
  max-width: 820px;
}

.tabs-text{
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.25;
  color: #2c2c2c;
}

/* Responsive */
@media (max-width: 1000px){
  .tabs-grid{
    grid-template-columns: 1fr;
  }
  .tabs-right{
    border-left: none;
    border-top: 1px solid #e0ddd7;
    padding: 40px 20px;
  }
  .tabs-left{
    padding: 50px 20px;
  }
  .tabs-left h2{
    font-size: 42px;
  }
  .tabs-text{
    font-size: 24px;
  }
  .pill{
    white-space: normal;
  }
}

/* =========================
   METODOLOGÍA (WIX STYLE)
========================= */
.method{
  background: #f5f3ef;
  border-top: 1px solid #e0ddd7;
  border-bottom: 1px solid #e0ddd7;
}

.method-grid{
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 720px;
}

/* Columna izquierda */
.method-left{
  padding: 90px 70px;
  border-right: 1px solid #e0ddd7;
}

.method-left h2{
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.08;
  color: #2c2c2c;
}

/* Columna derecha */
.method-right{
  display: flex;
  flex-direction: column;
}

/* Cada item */
.method-item{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 70px 80px;
  border-bottom: 1px solid #e0ddd7;
  background: #f5f3ef;
}

.method-item:last-child{
  border-bottom: none;
}

.method-icon{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}

.method-content{
  max-width: 850px;
}

.method-head{
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.method-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 52px;
  padding: 0 14px;
  border: 1px solid #dcd8d2;
  border-radius: 999px;
  font-size: 16px;
  color: #2c2c2c;
  background: transparent;
}

.method-content h3{
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  color: #2c2c2c;
}

.method-content p{
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: #2c2c2c;
  max-width: 760px;
}

/* Responsive */
@media (max-width: 1000px){
  .method-grid{
    grid-template-columns: 1fr;
  }
  .method-left{
    border-right: none;
    border-bottom: 1px solid #e0ddd7;
    padding: 50px 20px;
  }
  .method-left h2{
    font-size: 40px;
  }
  .method-item{
    grid-template-columns: 90px 1fr;
    padding: 40px 20px;
  }
  .method-content h3{
    font-size: 26px;
  }
  .method-content p{
    font-size: 16px;
  }
}


/* =========================
   QUIENES SOMOS + VALORES (WIX STYLE)
========================= */
.about-values{
  background: #f5f3ef;
  border-top: 1px solid #e0ddd7;
  border-bottom: 1px solid #e0ddd7;
}

.av-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}

/* IZQUIERDA */
.av-left{
  background: #f5f3ef;
  border-right: 1px solid #e0ddd7;
  padding: 90px 70px;
  display: flex;
  align-items: flex-start;
}

.av-left-inner{
  max-width: 520px;
}

.av-left h2{
  margin: 0 0 28px;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 1.05;
  color: #2c2c2c;
}

.av-left p{
  margin: 0 0 26px;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: #2c2c2c;
}

/* DERECHA */
.av-right{
  position: relative;
  overflow: hidden;
  background: #eee;
}

/* Imagen de fondo */
.av-bg{
  position:absolute;
  inset:0;
 background: url("../img/img3.png") center/cover no-repeat;
 
}

/* Overlay suave para que el texto se lea */
.av-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(245,243,239,0.25) 0%,
    rgba(245,243,239,0.10) 40%,
    rgba(245,243,239,0.10) 100%
  );
}

/* Contenido arriba de la imagen */
.av-content{
  position: relative;
  z-index: 2;
  padding: 80px 70px;
}

/* Pill */
.av-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(224,221,215,0.95);
  background: rgba(245,243,239,0.65);
  backdrop-filter: blur(6px);
  font-size: 18px;
  color: #2c2c2c;
}

/* Lista de valores grandes */
.av-values{
  margin-top: 26px;
  max-width: 520px;
}

.av-value{
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: #2c2c2c;
  margin: 18px 0;
}

/* Responsive */
@media (max-width: 1100px){
  .av-grid{
    grid-template-columns: 1fr;
  }
  .av-left{
    border-right: none;
    border-bottom: 1px solid #e0ddd7;
    padding: 50px 20px;
  }
  .av-content{
    padding: 50px 20px;
  }
  .av-left h2{
    font-size: 40px;
  }
  .av-left p{
    font-size: 20px;
  }
  .av-value{
    font-size: 44px;
  }
}
/* =========================
   FOOTER (WIX STYLE)
========================= */
.site-footer{
  background: #7b5a4a;           /* mismo marrón de tabs-left */
  color: #ffffff;
  padding: 70px 0 50px;
}

.site-footer__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-footer__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.site-footer h3{
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  color: #ffffff;
}

.site-footer p{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}

.site-footer a{
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.45);
}

.site-footer a:hover{
  border-bottom-color: rgba(255,255,255,0.9);
}

.site-footer__bottom{
  margin-top: 55px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

/* Responsive */
@media (max-width: 900px){
  .site-footer__grid{
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .site-footer{
    padding: 45px 0 35px;
  }
}

.item{
  position:absolute;
  opacity:1; /* 🔥 clave */
  will-change: transform;
}
.impact-static{
  position:relative;
  z-index:2;
  padding:80px 20px 0;
}

.impact-static h2{
  font-size:52px;
  max-width:600px;
}


.container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

