/* ═══════════════════════════════════════
   Web Tekove Mymba 2026 — style.css
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; color: #1a1a1a; background: #fff; line-height: 1.7; }

/* ── LANG ── */
[data-lang="en"] { display: none; }
body.en [data-lang="es"] { display: none; }
body.en [data-lang="en"] { display: revert; }

/* ══════════════════════════
   NAV
══════════════════════════ */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { height: 48px; width: auto; display: block; }
.nav-logo-text {
  font-size: .75rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #1a1a1a; text-decoration: none;
}
.nav-center { display: flex; align-items: center; list-style: none; gap: 0; }
.nav-center li { display: flex; align-items: center; }
.nav-center li + li::before {
  content: '·'; color: #bbb; font-size: .9rem; margin: 0 .85rem;
}
.nav-center a {
  text-decoration: none; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #1a1a1a; transition: color .2s;
}
.nav-center a:hover,
.nav-center a.active { color: #2e7d32; }
.lang-btn {
  background: none; border: 1px solid #d0d0d0; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: .6rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #666; padding: .25rem 1rem;
  transition: border-color .2s, color .2s;
}
.lang-btn:hover { border-color: #2e7d32; color: #2e7d32; }

/* ══════════════════════════
   PAGE LAYOUT
══════════════════════════ */
.page-wrap { max-width: 920px; margin: 0 auto; padding: 4.5rem 2rem 7rem; }
.page-wrap.wide { max-width: 1080px; }

/* ── PAGE HEADER ── */
.page-header { text-align: center; margin-bottom: 3.5rem; }
.page-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800;
  letter-spacing: -.01em; color: #111; margin-bottom: .5rem;
}
.green-line {
  display: block; width: 44px; height: 3px;
  background: #2e7d32; margin: .6rem auto 0;
}

/* ── SECTION ── */
.section { margin-bottom: 4rem; }
.section-title {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem); font-weight: 700;
  text-align: center; margin-bottom: .4rem; color: #111;
}
.section-line {
  display: block; width: 34px; height: 3px;
  background: #2e7d32; margin: .5rem auto 1.6rem;
}
/* Left variant */
.section.left .section-title { text-align: left; }
.section.left .section-line { margin-left: 0; margin-right: 0; }

/* ── PROSE ── */
.prose {
  font-size: 1rem; font-weight: 400; line-height: 1.85;
  color: #333; text-align: justify;
  max-width: 780px; margin: 0 auto;
}
.prose p { margin-bottom: 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: #111; font-weight: 700; }
.prose.left { text-align: left; margin: 0; }
.prose ul { text-align: left; padding-left: 1.4rem; }
.prose ul li { margin-bottom: .5rem; }
.prose ol { text-align: left; padding-left: 1.4rem; }
.prose ol li { margin-bottom: .5rem; }

/* ── HIGHLIGHT ── */
.highlight {
  background: #f2f8f2; border-left: 4px solid #2e7d32;
  padding: 1.4rem 1.8rem; margin: 2rem auto;
  max-width: 780px; font-size: .96rem; line-height: 1.8; color: #222;
  text-align: justify;
}

/* ── TWO COLUMN ── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: start; margin: 2rem 0;
}
.img-frame { border-radius: 3px; overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-frame.ratio-43 { aspect-ratio: 4/3; }
.img-frame.ratio-34 { aspect-ratio: 3/4; }

/* ══════════════════════════
   VALUES
══════════════════════════ */
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.8rem 4rem; max-width: 780px;
  margin: 2rem auto 0; text-align: left;
}
.value-item strong {
  display: block; color: #2e7d32; font-weight: 700;
  font-size: .9rem; margin-bottom: .3rem;
}
.value-item strong[data-lang="en"] { display: none; }
body.en .value-item strong[data-lang="en"] { display: block; }
body.en .value-item strong[data-lang="es"] { display: none; }
.value-item p { font-size: .88rem; color: #444; line-height: 1.65; text-align: justify; }

/* ══════════════════════════
   ANIMAL CARDS
══════════════════════════ */
.animal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 2.5rem;
}
.animal-card {
  border: 1px solid #e8e8e8; border-radius: 3px;
  overflow: hidden; transition: box-shadow .25s, transform .25s;
}
.animal-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,.1); transform: translateY(-2px); }
.animal-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  background: #ebebeb;
}
.card-body { padding: 1.5rem 1.5rem 1.7rem; }
.card-species { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #2e7d32; margin-bottom: .4rem; }
.animal-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: .6rem; }
.animal-card .card-desc { font-size: .9rem; color: #555; line-height: 1.7; margin-bottom: 1rem; text-align: justify; }
.card-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.card-tags span { font-size: .62rem; font-weight: 600; background: #f2f8f2; color: #2e7d32; padding: .2rem .65rem; border-radius: 2px; }

/* ══════════════════════════
   PROGRAMS
══════════════════════════ */
.prog-list { margin-top: 2rem; }
.prog-item {
  display: grid; grid-template-columns: 200px 56px 1fr;
  gap: 1.5rem; align-items: stretch;
  padding: 2.2rem 0; border-top: 1px solid #ececec;
}
.prog-img {
  width: 100%; height: 100%; min-height: 160px; object-fit: cover;
  display: block; border-radius: 2px; background: #e8e8e8;
}
.prog-item:last-child { border-bottom: 1px solid #ececec; }
.prog-num { font-size: 2.2rem; font-weight: 900; color: #2e7d32; line-height: 1; padding-top: .2rem; }
.prog-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; color: #111; }
.prog-item .prog-desc { font-size: .92rem; color: #444; line-height: 1.78; text-align: justify; }
.prog-item .prog-desc p { margin-bottom: .85rem; }
.prog-item .prog-desc ul { padding-left: 1.3rem; margin-bottom: .85rem; }
.prog-item .prog-desc ul li { margin-bottom: .4rem; }
.prog-badge {
  display: inline-block; margin-top: .7rem;
  font-size: .62rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #2e7d32;
  background: #f0f9f0; padding: .2rem .65rem; border-radius: 2px;
}

/* ══════════════════════════
   CONTACT
══════════════════════════ */
.social-icons {
  display: flex; gap: 1.8rem; justify-content: center; margin-top: 2rem;
}
.social-icon {
  display: block; width: 44px; height: 44px;
  color: #333; transition: color .2s, transform .2s;
}
.social-icon:hover { color: #2e7d32; transform: scale(1.12); }
.social-icon svg { width: 100%; height: 100%; }

/* ══════════════════════════
   HOME HERO
══════════════════════════ */
.hero-wrap {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('hero.jpg') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.38) 0%, rgba(0,0,0,.5) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 0 1.5rem; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 380px; margin-bottom: 1rem; filter: drop-shadow(0 4px 20px rgba(0,0,0,.5)); }
.hero-brand { font-size: .72rem; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1.6rem; }
.hero-tagline { font-size: clamp(.82rem, 2.2vw, 1.05rem); font-weight: 300; letter-spacing: .3em; text-transform: uppercase; color: #fff; line-height: 2.2; margin-bottom: 2.8rem; }
.hero-tagline strong { display: block; font-size: clamp(.72rem, 1.6vw, .9rem); font-weight: 300; letter-spacing: .26em; color: rgba(255,255,255,.78); }
.hero-cta {
  display: inline-block; border: 1px solid rgba(255,255,255,.65); color: #fff;
  background: transparent; font-family: 'Montserrat', sans-serif;
  font-size: .68rem; font-weight: 700; letter-spacing: .25em;
  text-transform: uppercase; text-decoration: none;
  padding: .82rem 2.5rem; transition: background .22s;
}
.hero-cta:hover { background: rgba(255,255,255,.12); }

/* HOME INTRO SECTION */
.home-intro { max-width: 920px; margin: 0 auto; padding: 5rem 2rem; }
.home-intro-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.4rem; margin-top: 3rem;
}
.home-card {
  border: 1px solid #e0e0e0; padding: 2rem 1.4rem; text-align: center;
  text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: block;
}
.home-card:hover { border-color: #2e7d32; box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.home-card .hc-num { font-size: 1.6rem; margin-bottom: .7rem; }
.home-card h3 { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #2e7d32; margin-bottom: .5rem; }
.home-card p { font-size: .83rem; color: #555; line-height: 1.6; }

/* Float help */
.btn-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 300;
  background: #2e7d32; color: #fff;
  font-family: 'Montserrat', sans-serif; font-size: .62rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding: .7rem 1.3rem;
  box-shadow: 0 4px 16px rgba(46,125,50,.35);
  transition: background .2s;
}
.btn-float:hover { background: #1b5e20; }

/* ══════════════════════════
   PAGE BANNER (parallax)
══════════════════════════ */
.page-banner {
  height: 260px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-banner-bg {
  position: absolute;
  inset: -80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}
.page-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.50);
}
.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
}
.banner-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.banner-line {
  display: block;
  width: 44px; height: 3px;
  background: #2e7d32;
  margin: .65rem auto 0;
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.site-footer {
  background: #1a2e1a; color: rgba(255,255,255,.5);
  text-align: center; padding: 3rem 2rem;
  font-size: .78rem; letter-spacing: .06em; line-height: 2;
}
.site-footer strong { color: rgba(255,255,255,.85); }
.site-footer a { color: #81c784; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ══════════════════════════
   SECTION BACKGROUNDS
══════════════════════════ */
.section-alt { background: #f7f7f5; }

#fundacion { padding-top: 5rem; }

.dossier-wrap {
  display: flex; gap: 1rem; justify-content: center;
  padding-top: 1rem; padding-bottom: 1rem;
}
.dossier-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid #2e7d32; color: #2e7d32;
  font-family: 'Montserrat', sans-serif; font-size: .68rem;
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding: .75rem 1.6rem;
  transition: background .2s, color .2s;
}
.dossier-btn:hover { background: #2e7d32; color: #fff; }
.dossier-btn[data-lang="en"] { display: none; }
body.en .dossier-btn[data-lang="en"] { display: inline-flex; }
body.en .dossier-btn[data-lang="es"] { display: none; }

/* ══════════════════════════
   CONTACT FORM
══════════════════════════ */
.contact-form { max-width: 640px; margin: 2.5rem auto 0; }
.form-group { margin-bottom: 1.4rem; }
.form-label {
  display: block; font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #333; margin-bottom: .5rem;
}
.form-input,
.form-textarea {
  width: 100%; border: 1px solid #d4d4d4; border-radius: 2px;
  padding: .78rem 1rem;
  font-family: 'Montserrat', sans-serif; font-size: .9rem; color: #1a1a1a;
  transition: border-color .2s, box-shadow .2s; background: #fff;
}
.form-input:focus,
.form-textarea:focus {
  outline: none; border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.form-textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; background: #2e7d32; color: #fff; border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; padding: .9rem 2rem;
  transition: background .2s; margin-top: .4rem;
}
.form-submit:hover { background: #1b5e20; }
.form-submit:disabled { background: #aaa; cursor: not-allowed; }
.form-success {
  display: none; text-align: center; padding: 2.5rem 2rem;
  background: #f1f8f1; border: 1px solid #a5d6a7; border-radius: 3px;
}
.form-success .ok-icon { font-size: 2.5rem; margin-bottom: .8rem; }
.form-success p { color: #2e7d32; font-weight: 600; font-size: .95rem; }
.form-error {
  display: none; background: #fef0f0; border: 1px solid #ffcdd2;
  padding: .75rem 1rem; margin-top: 1rem;
  font-size: .85rem; color: #c62828; border-radius: 2px;
}

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .contact-grid { grid-template-columns: 1fr; max-width: 360px; }
  .prog-item { grid-template-columns: 1fr; gap: .8rem; }
  .prog-img { aspect-ratio: 16/9; }
  .prog-num { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-nav { padding: 0 1rem; flex-wrap: wrap; height: auto; padding: .8rem 1rem; gap: .6rem; }
  .nav-center { flex-wrap: wrap; justify-content: center; }
  .nav-center li + li::before { margin: 0 .55rem; }
  .nav-center a { font-size: .62rem; }
  .nav-logo { height: 28px; }
  .hero-logo { width: 160px; }
  .hero-tagline { letter-spacing: .16em; }
  .page-wrap { padding: 3rem 1.2rem 5rem; }
  .animal-grid { grid-template-columns: 1fr; }
  .page-banner { height: 200px; }
}
