/* ===========================================================
   ASOJEDC — hoja de estilos
   Asociación Jóvenes y Mujeres del Campo
   San José del Guaviare · NIT 901.498.349-0
   =========================================================== */

:root {
  /* Colores del logo + paleta campo colombiano */
  --brown:       #96480e;   /* marrón cálido del logo */
  --brown-dark:  #6a3008;
  --brown-light: #fdf0e0;
  --amber:       #e09410;   /* dorado ámbar del logo */
  --amber-dark:  #b07208;
  --amber-light: #fef8e0;
  --green:       #3a7d44;   /* verde selva / campo */
  --green-dark:  #2a5e32;
  --green-light: #e8f5eb;
  --earth:       #2d1500;   /* tierra oscura del logo */
  --ink:         #2d2418;
  --gray:        #6b6358;
  --line:        #e8ddd0;
  --cream:       #fdf8f0;
  --white:       #ffffff;
  --shadow:      0 4px 20px rgba(45,21,0,.09);
  --shadow-lg:   0 12px 36px rgba(45,21,0,.14);
  --head: "Playfair Display", Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --radius: 12px;
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--body); color: var(--ink); line-height: 1.7;
       background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--head); line-height: 1.25; }
ul { list-style: none; }
.wrap { width: min(1160px, 92%); margin-inline: auto; }

/* ----- BOTONES ----- */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--body); font-weight: 700; font-size: .9rem;
  padding: .78rem 1.8rem; border-radius: 8px; border: 0;
  cursor: pointer; letter-spacing: .02em;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn-green    { background: var(--green);  color: #fff; }
.btn-green:hover   { background: var(--green-dark); }
.btn-brown    { background: var(--brown);  color: #fff; }
.btn-brown:hover   { background: var(--brown-dark); }
.btn-amber    { background: var(--amber);  color: var(--earth); }
.btn-amber:hover   { background: var(--amber-dark); color: #fff; }
.btn-outline-white { background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.75); border-radius: 8px; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* ----- CABECERA ----- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--cream);
  border-bottom: 4px solid var(--amber);   /* dorado del logo */
  box-shadow: 0 2px 12px rgba(45,21,0,.1);
}
.topbar {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.2rem;
  min-height: 74px;
}
.logo { display: flex; align-items: center; gap: .7rem; padding: 5px 0; }
.logo img { height: 56px; width: auto; }
.logo-name {
  font-family: var(--head); font-weight: 700; font-size: 1.05rem;
  color: var(--green-dark); line-height: 1.15;
}
.logo-name span { display: block; font-family: var(--body); font-weight: 400;
  font-size: .72rem; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; }

.nav {
  display: flex; align-items: center; gap: .3rem;
  list-style: none; flex-wrap: nowrap;
}
.nav > li > a {
  font-family: var(--body); font-weight: 700; font-size: .74rem;
  color: var(--ink); text-transform: uppercase; letter-spacing: .04em;
  padding: 6px 9px; border-radius: 6px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav > li > a:hover,
.nav > li.active > a { color: var(--green-dark); background: var(--green-light); }

.head-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.burger { display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: .3s; }

/* ----- HERO (centrado, gradiente campo) ----- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1a3d22 0%, #2a5e32 45%, #3d2200 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 86vh; text-align: center; padding: 80px 0 60px;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; max-width: 760px; padding: 0 1.5rem;
}
.hero-eyebrow {
  font-family: var(--body); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin-bottom: .9rem;
  padding: .3rem .9rem; border: 1px solid rgba(255,255,255,.35);
  border-radius: 4px; display: inline-block;
}
.hero h1 {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #fff; line-height: 1.2; margin-bottom: 1.2rem;
}
.hero h1 em { font-style: italic; color: #ffe9a0; }
.hero p {
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,.88); margin-bottom: 2.2rem; max-width: 54ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Decoraciones del campo */
.deco-icon {
  position: absolute; pointer-events: none; user-select: none; line-height: 0;
}
.deco-icon svg { display: block; }

/* ----- SECCIÓN GENÉRICA ----- */
.section { padding: 68px 0; }
.section-alt   { background: var(--green-light); }
.section-cream { background: var(--cream); }
.section-brown { background: var(--brown-light); }

.sec-label {
  font-family: var(--body); font-size: .75rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--brown); margin-bottom: .5rem;
  display: inline-flex; align-items: center; gap: .4rem;
}
.sec-title {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--earth); margin-bottom: 1rem;
}
.sec-sub { font-size: 1rem; color: var(--gray); max-width: 54ch; }

/* ----- SOBRE NOSOTROS (compacto) ----- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 3rem; align-items: center;
}
.about-img-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 380px; object-fit: cover; }
.about-img-placeholder {
  height: 380px;
  background: linear-gradient(135deg, #c8e8d0 0%, #e8d8a0 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  color: var(--green-dark);
}
.about-img-placeholder svg { opacity: .4; }
.about-img-placeholder p { font-family: var(--head); font-size: .85rem;
  font-weight: 700; opacity: .55; font-style: italic; }
.about-badge {
  position: absolute; bottom: -1rem; right: -1rem;
  background: var(--amber); color: var(--earth); border-radius: var(--radius);
  padding: .9rem 1.3rem; text-align: center; box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-family: var(--head);
  font-size: 1.7rem; font-weight: 700; line-height: 1; }
.about-badge span { font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; }
.about-content p { color: var(--gray); margin-bottom: 1rem; font-size: .97rem; }

/* ----- PRODUCTOS / APUESTAS PRODUCTIVAS ----- */
.productos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; margin-top: 2.4rem;
}
.producto-card {
  background: #fff; border-radius: var(--radius);
  padding: 1.4rem 1rem; text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--amber);
  transition: transform .22s, box-shadow .22s;
}
.producto-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.producto-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--green-light); display: grid; place-items: center;
  margin: 0 auto .8rem;
}
.producto-icon svg { width: 28px; height: 28px; fill: var(--green); }
.producto-card:nth-child(2n) .producto-icon { background: var(--amber-light); }
.producto-card:nth-child(2n) .producto-icon svg { fill: var(--brown); }
.producto-card h4 { font-family: var(--head); font-weight: 700;
  font-size: .98rem; color: var(--earth); margin-bottom: .3rem; }
.producto-card p { font-size: .84rem; color: var(--gray); line-height: 1.5; }

/* ----- LÍNEAS DE ACCIÓN (2) ----- */
.lineas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.6rem; }
.linea-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  border-left: 5px solid var(--green);
}
.linea-card:nth-child(2) { border-left-color: var(--brown); }
.linea-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.linea-body { padding: 1.6rem 1.8rem; }
.linea-body h3 { font-family: var(--head); font-size: 1.15rem; color: var(--earth);
  margin-bottom: .55rem; font-weight: 700; }
.linea-body p { font-size: .91rem; color: var(--gray); line-height: 1.65; }
.linea-tag { font-family: var(--body); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--green); margin-bottom: .4rem; display: block; }
.linea-card:nth-child(2) .linea-tag { color: var(--brown); }

/* ----- GALERÍA (2x2) ----- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem; margin-top: 2.4rem;
}
.gallery-item { border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
}
.gallery-placeholder svg { opacity: .35; }
.gallery-placeholder p { font-size: .72rem; font-family: var(--body);
  font-weight: 700; opacity: .5; text-align: center; }
.gal-1 { background: linear-gradient(135deg, #c8e4c8, #a0cc98); color: var(--green-dark); }
.gal-2 { background: linear-gradient(135deg, #f0dca0, #e0c060); color: var(--brown-dark); }
.gal-3 { background: linear-gradient(135deg, #f0c8a0, #d8a070); color: var(--brown-dark); }
.gal-4 { background: linear-gradient(135deg, #c8e4c8, #a0cc98); color: var(--green-dark); }

/* ----- CTA BANNER ----- */
.cta-banner {
  background: var(--green);
  padding: 52px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner h2 { font-family: var(--head); font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2rem); color: #fff; margin-bottom: .6rem; }
.cta-banner p { color: rgba(255,255,255,.9); margin-bottom: 1.8rem; font-size: 1rem; }

/* ----- STRIP ----- */
.objeto-strip { background: var(--earth); padding: 26px 0; }
.objeto-strip p { color: rgba(255,255,255,.85); font-size: .9rem;
  text-align: center; max-width: 860px; margin: 0 auto; font-style: italic; }

/* ----- PIE DE PÁGINA ----- */
.site-footer { background: #1a2e1c; color: rgba(255,255,255,.8); }
.foot-top { padding: 52px 0 38px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot-brand { display: flex; flex-direction: column; gap: .8rem; }
.foot-brand img { height: auto; width: 110px;
  background: #fff; border-radius: 10px; padding: 6px; object-fit: contain; }
.foot-brand p { font-size: .88rem; line-height: 1.6; }
.foot-col h4 {
  font-family: var(--head); font-weight: 700; font-size: .85rem;
  color: #fff; margin-bottom: 1rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--amber);
}
.foot-col p, .foot-col a { font-size: .88rem; color: rgba(255,255,255,.75); line-height: 1.8; display: block; }
.foot-col a:hover { color: var(--amber); }
.foot-social { display: flex; gap: .7rem; margin-top: 1rem; }
.foot-social a { width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .2s; }
.foot-social a:hover { background: var(--green); }
.foot-social svg { width: 16px; height: 16px; fill: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0; text-align: center;
  font-size: .8rem; color: rgba(255,255,255,.4); }

/* ----- CABECERA DE PÁGINA INTERNA ----- */
.page-head {
  background: linear-gradient(160deg, #1a3d22 0%, #3d2200 100%);
  padding: 52px 0 44px; color: #fff;
  position: relative; overflow: hidden;
}
.page-head h1 { font-family: var(--head); font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: .4rem; }
.page-head p { color: rgba(255,255,255,.82); font-size: 1rem; }

/* ----- MISIÓN / VISIÓN ----- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mv-card { background: #fff; border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.mv-card:nth-child(2) { border-top-color: var(--amber); }
.mv-card h3 { font-family: var(--head); font-weight: 700; font-size: 1.05rem;
  color: var(--earth); margin-bottom: .7rem; text-transform: uppercase; letter-spacing: .04em; }
.mv-card p { font-size: .95rem; color: var(--gray); line-height: 1.7; }

/* ----- VALORES (2x2, horizontal) ----- */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.2rem; }
.value-card { background: #fff; border-radius: var(--radius);
  padding: 1.4rem; display: flex; gap: 1rem; align-items: flex-start;
  box-shadow: var(--shadow); }
.value-icon { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--green-light); display: grid; place-items: center; }
.value-card:nth-child(2) .value-icon { background: var(--amber-light); }
.value-card:nth-child(3) .value-icon { background: var(--brown-light); }
.value-card:nth-child(4) .value-icon { background: var(--green-light); }
.value-icon svg { width: 22px; height: 22px; fill: var(--green); }
.value-card:nth-child(2) .value-icon svg { fill: var(--amber-dark); }
.value-card:nth-child(3) .value-icon svg { fill: var(--brown); }
.value-card:nth-child(4) .value-icon svg { fill: var(--green); }
.value-card h4 { font-family: var(--head); font-weight: 700;
  font-size: .95rem; color: var(--earth); margin-bottom: .25rem; }
.value-card p { font-size: .87rem; color: var(--gray); line-height: 1.55; }

/* ----- CONTACTO ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; border-radius: 10px;
  background: var(--green-light); display: grid; place-items: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; fill: var(--green); }
.contact-item h4 { font-family: var(--head); font-weight: 700; font-size: .88rem;
  color: var(--earth); margin-bottom: .2rem; }
.contact-item p, .contact-item a { font-size: .9rem; color: var(--gray); }
.contact-item a { color: var(--green-dark); font-weight: 700; }
.contact-form { background: var(--cream); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); }
.contact-form h3 { font-family: var(--head); font-weight: 700; color: var(--earth);
  margin-bottom: 1.4rem; font-size: 1.15rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-family: var(--body); font-size: .8rem;
  font-weight: 700; color: var(--earth); margin-bottom: .4rem;
  text-transform: uppercase; letter-spacing: .04em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .75rem 1rem; border-radius: 8px;
  border: 2px solid var(--line); font-family: var(--body);
  font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ----- DOCUMENTOS ----- */
.docs-wrap { background: var(--green-light); padding: 52px 0; }
.year-block { margin-bottom: 2.6rem; }
.year-title { font-family: var(--head); font-weight: 700; font-size: 1.05rem;
  color: var(--green-dark); text-transform: uppercase; letter-spacing: .05em;
  text-align: center; padding-bottom: .55rem;
  border-bottom: 2px solid var(--amber);
  max-width: 340px; margin: 0 auto 1.6rem; }
.doc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.doc { background: #fff; border-radius: var(--radius);
  padding: 1.1rem .8rem; text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
  align-items: center; gap: .5rem; color: var(--ink); }
.doc:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.doc svg { width: 36px; height: 36px; fill: var(--green); flex-shrink: 0; }
.doc span { font-size: .72rem; font-family: var(--body); font-weight: 700;
  line-height: 1.3; color: var(--ink); }
.esal-pending { display: flex; flex-direction: column; align-items: center;
  gap: .9rem; padding: 2.2rem 1.5rem;
  background: #fff; border-radius: 14px;
  border: 2px dashed #90c898; color: var(--green-dark);
  text-align: center; max-width: 520px; margin: 0 auto; }
.esal-pending svg { opacity: .65; }
.esal-pending p { font-size: .98rem; line-height: 1.5; margin: 0; }

/* ----- WHATSAPP FLOAT ----- */
.float-wa { position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: #25d366; color: #fff;
  display: flex; align-items: center; gap: .55rem;
  padding: .7rem 1.2rem; border-radius: 8px;
  font-family: var(--body); font-weight: 700; font-size: .82rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s; }
.float-wa:hover { transform: translateY(-3px); }
.float-wa svg { width: 20px; height: 20px; fill: #fff; }

/* ----- REVEAL ----- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s, transform .5s; }
.reveal.in { opacity: 1; transform: none; }

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .lineas-grid { grid-template-columns: 1fr; }
  .productos-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nav { display: none; flex-direction: column; position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--cream); padding: 1rem; border-top: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .nav.open { display: flex; }
  .nav > li { width: 100%; }
  .nav > li > a { display: block; padding: .7rem 1rem; }
  .burger { display: flex; }
  .head-actions .btn { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .productos-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}
