/* ===========================================================
   CONDUVIDAS — hoja de estilos
   Fundación Conduciendo Vidas
   Villavicencio, Meta · NIT 900.933.663-1
   =========================================================== */

:root {
  /* Colores del logotipo CONDUVIDAS */
  --rose:        #d4006e;   /* magenta del logo */
  --rose-dark:   #a80058;
  --rose-light:  #fce8f4;
  --blue:        #0060b0;   /* azul del logo */
  --blue-dark:   #004d8e;
  --blue-light:  #e0f0fb;
  --cyan:        #00a0dc;   /* celeste del logo */
  --cyan-dark:   #007eb0;
  --navy:        #0d1f3c;
  --ink:         #2d3748;
  --gray:        #6b7280;
  --line:        #e5e7eb;
  --cream:       #fffbfd;
  --white:       #ffffff;
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 36px rgba(0,0,0,.13);
  --head: "Raleway", system-ui, sans-serif;
  --body: "Lato", system-ui, sans-serif;
  --radius: 16px;
}

/* ----- 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(--head); font-weight: 700; font-size: .88rem;
  padding: .75rem 1.7rem; border-radius: 999px; border: 0;
  cursor: pointer; letter-spacing: .03em;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn-rose    { background: var(--rose);   color: #fff; }
.btn-rose:hover   { background: var(--rose-dark); }
.btn-blue    { background: var(--blue);   color: #fff; }
.btn-blue:hover   { background: var(--blue-dark); }
.btn-cyan    { background: var(--cyan);   color: #fff; }
.btn-cyan:hover   { background: var(--cyan-dark); }
.btn-outline-white { background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.75); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-outline-rose { background: transparent; color: var(--rose);
  border: 2px solid var(--rose); }
.btn-outline-rose:hover { background: var(--rose); color: #fff; }

/* ----- CABECERA ----- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 4px solid var(--cyan);   /* celeste del logo */
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.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: 800; font-size: 1.05rem;
  color: var(--rose); line-height: 1.15;
}
.logo-name span { display: block; 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(--head); font-weight: 700; font-size: .72rem;
  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(--rose); background: var(--rose-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, diferente al split de CORFUTURO) ----- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--rose-dark) 0%, var(--blue) 60%, var(--cyan-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 88vh; text-align: center; padding: 80px 0 60px;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; max-width: 780px; padding: 0 1.5rem;
}
.hero-eyebrow {
  font-family: var(--head); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-bottom: .9rem;
  padding: .3rem .9rem; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; display: inline-block;
}
.hero h1 {
  font-family: var(--head); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #fff; line-height: 1.15; margin-bottom: 1.2rem;
}
.hero h1 em { font-style: normal; color: #ffe0f4; }
.hero p {
  font-size: clamp(.95rem, 1.6vw, 1.12rem);
  color: rgba(255,255,255,.88); margin-bottom: 2.2rem; max-width: 56ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

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

/* ----- SECCIÓN GENÉRICA ----- */
.section { padding: 72px 0; }
.section-alt { background: var(--rose-light); }
.section-dark { background: var(--navy); color: #fff; }
.section-blue { background: var(--blue-light); }

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

/* ----- SOBRE NOSOTROS (compacto) ----- */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 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, #f4c8e4 0%, #dce8f8 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  color: var(--rose-dark);
}
.about-img-placeholder svg { opacity: .4; }
.about-img-placeholder p { font-family: var(--head); font-size: .82rem;
  font-weight: 700; opacity: .5; }
.about-badge {
  position: absolute; bottom: -1rem; left: -1rem;
  background: var(--cyan); color: #fff; 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: 800; 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; }

/* ----- LÍNEAS DE ACCIÓN (2 tarjetas) ----- */
.lineas-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 2.8rem;
}
.linea-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  border-top: 5px solid var(--rose);
}
.linea-card:nth-child(2) { border-top-color: var(--blue); }
.linea-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.linea-img { height: 210px; overflow: hidden; position: relative; }
.linea-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.linea-card:hover .linea-img img { transform: scale(1.05); }
.linea-img-placeholder {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .7rem; color: #fff;
}
.linea-img-placeholder svg { opacity: .6; }
.linea-img-placeholder p { font-family: var(--head); font-size: .8rem; font-weight: 700; opacity: .8; text-align: center; }
.lc-1 { background: linear-gradient(135deg, #d4006e, #f060a8); }
.lc-2 { background: linear-gradient(135deg, #0060b0, #3090e0); }
.linea-body { padding: 1.5rem 1.6rem 1.8rem; }
.linea-tag {
  font-family: var(--head); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--cyan); margin-bottom: .4rem;
}
.linea-body h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: .55rem; }
.linea-body p { font-size: .91rem; color: var(--gray); line-height: 1.65; }

/* ----- GALERÍA (2x2) ----- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem; margin-top: 2.4rem;
}
.gallery-item {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 4/3; position: relative; 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(--head);
  font-weight: 700; opacity: .5; text-align: center; }
.gal-1 { background: linear-gradient(135deg, #f4c8e4, #e898cc); color: var(--rose-dark); }
.gal-2 { background: linear-gradient(135deg, #c0daf8, #90c0f0); color: var(--blue-dark); }
.gal-3 { background: linear-gradient(135deg, #b8e8f8, #80ccea); color: var(--cyan-dark); }
.gal-4 { background: linear-gradient(135deg, #f4c8e4, #e898cc); color: var(--rose-dark); }

/* ----- CTA BANNER ----- */
.cta-banner {
  background: linear-gradient(135deg, var(--rose) 0%, var(--blue) 100%);
  padding: 56px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner h2 {
  font-family: var(--head); font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: #fff; margin-bottom: .6rem;
}
.cta-banner p { color: rgba(255,255,255,.88); margin-bottom: 1.8rem; font-size: 1rem; }

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

/* ----- PIE DE PÁGINA ----- */
.site-footer { background: var(--navy); 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;
  text-transform: uppercase; letter-spacing: .07em;
  color: #fff; margin-bottom: 1rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--cyan);
}
.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(--cyan); }
.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(--rose); }
.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 PÁGINA INTERNA ----- */
.page-head {
  background: linear-gradient(135deg, var(--rose-dark) 0%, var(--blue) 100%);
  padding: 52px 0 44px; color: #fff;
  position: relative; overflow: hidden;
}
.page-head h1 {
  font-family: var(--head); font-weight: 800;
  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(--rose);
}
.mv-card:nth-child(2) { border-top-color: var(--blue); }
.mv-card h3 {
  font-family: var(--head); font-weight: 800; font-size: 1.05rem;
  color: var(--navy); margin-bottom: .7rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.mv-card p { font-size: .95rem; color: var(--gray); line-height: 1.7; }

/* ----- VALORES (4 en 2x2) ----- */
.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.5rem; 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(--rose-light); display: grid; place-items: center;
}
.value-card:nth-child(2) .value-icon { background: var(--blue-light); }
.value-card:nth-child(3) .value-icon { background: #e0f8f0; }
.value-card:nth-child(4) .value-icon { background: #fff4e0; }
.value-icon svg { width: 22px; height: 22px; fill: var(--rose); }
.value-card:nth-child(2) .value-icon svg { fill: var(--blue); }
.value-card:nth-child(3) .value-icon svg { fill: #2a9e6e; }
.value-card:nth-child(4) .value-icon svg { fill: #d48000; }
.value-card h4 { font-family: var(--head); font-weight: 700;
  font-size: .95rem; color: var(--navy); 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(--rose-light); display: grid; place-items: center; flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; fill: var(--rose); }
.contact-item h4 {
  font-family: var(--head); font-weight: 700; font-size: .88rem;
  color: var(--navy); margin-bottom: .2rem;
}
.contact-item p, .contact-item a { font-size: .9rem; color: var(--gray); }
.contact-item a { color: var(--blue); font-weight: 700; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-form h3 { font-family: var(--head); font-weight: 800; color: var(--navy);
  margin-bottom: 1.4rem; font-size: 1.15rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-family: var(--head); font-size: .8rem;
  font-weight: 700; color: var(--navy); 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: #fafafa; transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--rose); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ----- DOCUMENTOS ----- */
.docs-wrap { background: var(--blue-light); padding: 56px 0; }
.year-block { margin-bottom: 2.8rem; }
.year-title {
  font-family: var(--head); font-weight: 800; font-size: 1.05rem;
  color: var(--rose); text-transform: uppercase; letter-spacing: .06em;
  text-align: center; padding-bottom: .55rem;
  border-bottom: 2px solid var(--cyan);
  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: 12px;
  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(--rose); flex-shrink: 0; }
.doc span { font-size: .72rem; font-family: var(--head); font-weight: 600;
  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 #e090c8; color: var(--rose-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: 999px;
  font-family: var(--head); 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); box-shadow: 0 8px 24px rgba(37,211,102,.5); }
.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; }
  .contact-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 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: #fff; 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; }
  .gallery-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
