/* ===== VARIABLES ===== */
:root {
  --dark-1:  #111111;
  --dark-2:  #1e1e1e;
  --dark-3:  #2a2a2a;
  --olive:   #6b7c2e;
  --olive-h: #7d9136;
  --white:   #ffffff;
  --light-bg:#f5f5f5;
  --text:    #1e1e1e;
  --text-m:  #555555;
  --border:  #e0e0e0;
  --overlay: rgba(0,0,0,.65);
  --card-bg: rgba(10,10,10,.80);
  --heading: 'Oswald', Impact, Arial, sans-serif;
  --body:    'Open Sans', Arial, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
ul { list-style: none; }

/* ===== BARRA SUPERIOR ===== */
.topbar {
  background: var(--dark-1);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .6rem 1.5rem;
}
.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: #aaa;
  letter-spacing: .02em;
}
.topbar__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #888;
}
.topbar__sep { color: #3a3a3a; font-size: .7rem; }

/* ===== HEADER / NAV ===== */
.header {
  background: var(--dark-2);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(255,255,255,.04);
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.nav__item {
  display: block;
  padding: 1.15rem 2.2rem;
  font-family: var(--heading);
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .13em;
  color: #c0c0c0;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav__item:hover { color: var(--white); background: rgba(255,255,255,.05); }
.nav__item--active {
  background: var(--olive);
  color: var(--white);
}
.nav__item--active:hover { background: var(--olive-h); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 900px;
  width: 100%;
}
.hero__title {
  font-family: var(--heading);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  text-shadow: 0 4px 28px rgba(0,0,0,.55);
  margin-bottom: 2rem;
  letter-spacing: .01em;
}
.hero__box {
  background: var(--card-bg);
  border-radius: .4rem;
  padding: 1.75rem 2.5rem;
  margin: 0 auto 2.5rem;
  max-width: 700px;
}
.hero__box p {
  color: rgba(255,255,255,.90);
  font-family: var(--body);
  font-size: 1.08rem;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero__btn {
  display: inline-block;
  font-family: var(--heading);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .16em;
  padding: .9rem 2.6rem;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: .15rem;
  transition: background .2s, color .2s;
}
.hero__btn:hover { background: var(--white); color: var(--dark-2); }
.hero__btn--solid {
  background: var(--olive);
  border-color: var(--olive);
}
.hero__btn--solid:hover { background: var(--olive-h); border-color: var(--olive-h); color: var(--white); }

/* ===== SECCIONES ===== */
.section { padding: 5.5rem 0; background: var(--light-bg); }
.section--white { background: var(--white); }
.section--dark { background: var(--dark-3); }
.section__inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.section__title {
  font-family: var(--heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: .07em;
  color: var(--text);
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
}
.section__title--left { text-align: left; }
.section__title--light { color: var(--white); }

/* ===== QUIÉNES SOMOS ===== */
.quienes__text p {
  color: var(--text-m);
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.quienes__text strong { color: var(--text); }
.quienes__cta {
  display: inline-block;
  margin-top: .5rem;
  font-family: var(--heading);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .14em;
  padding: .8rem 2.2rem;
  background: var(--olive);
  color: var(--white);
  border-radius: .15rem;
  transition: background .2s;
}
.quienes__cta:hover { background: var(--olive-h); }
.quienes__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat {
  background: var(--light-bg);
  border-left: 4px solid var(--olive);
  padding: 1.5rem 1.75rem;
  border-radius: 0 .35rem .35rem 0;
}
.stat__num {
  display: block;
  font-family: var(--heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--olive);
  letter-spacing: -.01em;
}
.stat__label {
  display: block;
  font-size: .82rem;
  color: var(--text-m);
  margin-top: .3rem;
  letter-spacing: .03em;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--olive);
  border-radius: .25rem;
  padding: 2rem;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-2px); }
.card__icon {
  width: 38px;
  height: 38px;
  color: var(--olive);
  margin-bottom: 1rem;
}
.card__icon svg { width: 100%; height: 100%; }
.card h3 {
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .07em;
  color: var(--text);
  margin-bottom: .7rem;
  text-transform: uppercase;
}
.card p { font-size: .9rem; line-height: 1.7; color: var(--text-m); }

/* ===== FORMULARIO ===== */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 780px;
  margin: 0 auto;
}
.field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-family: var(--body);
  font-size: .85rem;
  color: #999;
  letter-spacing: .02em;
}
.field--full { grid-column: 1 / -1; }
.field input,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: .2rem;
  padding: .7rem .9rem;
  color: var(--white);
  font-family: var(--body);
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.28); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--olive); background: rgba(255,255,255,.09); }
.field textarea { resize: vertical; }
.form__footer { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.form__submit {
  font-family: var(--heading);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .9rem 2.8rem;
  background: var(--olive);
  color: var(--white);
  border: none;
  border-radius: .2rem;
  cursor: pointer;
  transition: background .2s;
}
.form__submit:hover { background: var(--olive-h); }
.form__note { font-size: .84rem; color: #666; }
.form__note a { color: #aaa; text-decoration: underline; }
.form__note a:hover { color: var(--white); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-1);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.footer__brand strong {
  font-family: var(--heading);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: .06em;
}
.footer__brand span { font-size: .78rem; color: #555; }
.footer__nav {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer__nav a {
  font-size: .82rem;
  color: #666;
  letter-spacing: .04em;
  transition: color .2s;
}
.footer__nav a:hover { color: #aaa; }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  text-align: right;
}
.footer__contact span { font-size: .82rem; color: #555; }
.footer__copy {
  border-top: 1px solid rgba(255,255,255,.05);
  text-align: center;
  padding: 1rem 1.5rem;
  color: #3a3a3a;
  font-size: .78rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .section__inner--split { grid-template-columns: 1fr; gap: 2.5rem; }
  .quienes__stats { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__contact { text-align: left; }
}
@media (max-width: 680px) {
  .topbar__inner { gap: .8rem; }
  .topbar__item { font-size: .76rem; }
  .nav { overflow-x: auto; justify-content: flex-start; }
  .nav__item { padding: .9rem 1.1rem; font-size: .8rem; }
  .hero { min-height: auto; padding: 5rem 0; }
  .hero__box { padding: 1.25rem 1.5rem; }
  .form { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .form__footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .quienes__stats { grid-template-columns: 1fr; }
  .footer__nav { gap: 1rem; }
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
ul { list-style: none; }

/* ===== BARRA SUPERIOR ===== */
.topbar {
  background: var(--dark-1);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: .55rem 1.5rem;
}
.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.topbar__item {
  font-size: .8rem;
  color: #999;
  letter-spacing: .02em;
}
.topbar__item--link { transition: color .2s; }
.topbar__item--link:hover { color: #ccc; }
.topbar__sep { color: #444; font-size: .7rem; }

/* ===== HEADER / NAV ===== */
.header {
  background: var(--dark-2);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.nav__item {
  display: block;
  padding: 1.1rem 2rem;
  font-family: var(--heading);
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .12em;
  color: #bbb;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav__item:hover { color: var(--white); background: rgba(255,255,255,.05); }
.nav__item--active {
  background: var(--olive);
  color: var(--white);
}
.nav__item--active:hover { background: var(--olive-h); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 860px;
  width: 100%;
}
.hero__title {
  font-family: var(--heading);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  text-shadow: 0 3px 24px rgba(0,0,0,.45);
  margin-bottom: 2rem;
  letter-spacing: .01em;
}
.hero__box {
  background: var(--card-bg);
  border-radius: .6rem;
  padding: 1.75rem 2.5rem;
  margin: 0 auto 2.5rem;
  max-width: 680px;
}
.hero__box p {
  color: rgba(255,255,255,.88);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero__btn {
  display: inline-block;
  font-family: var(--heading);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .14em;
  padding: .85rem 2.4rem;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: .2rem;
  transition: background .2s, color .2s;
}
.hero__btn:hover { background: var(--white); color: var(--dark-2); }
.hero__btn--solid {
  background: var(--olive);
  border-color: var(--olive);
}
.hero__btn--solid:hover { background: var(--olive-h); border-color: var(--olive-h); color: var(--white); }

/* ===== SECCIONES ===== */
.section { padding: 5rem 0; background: var(--light-bg); }
.section--dark { background: var(--dark-2); }
.section__inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section__title {
  font-family: var(--heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
}
.section__title--light { color: var(--white); }

/* ===== CARDS ===== */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--olive);
  border-radius: .35rem;
  padding: 2rem;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 6px 22px rgba(0,0,0,.1); }
.card h3 {
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: .7rem;
  text-transform: uppercase;
}
.card p { font-size: .9rem; line-height: 1.65; color: var(--text-m); }

/* ===== FORMULARIO ===== */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
}
.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-family: var(--body);
  font-size: .88rem;
  color: #aaa;
}
.field--full { grid-column: 1 / -1; }
.field input,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: .25rem;
  padding: .65rem .85rem;
  color: var(--white);
  font-family: var(--body);
  font-size: .95rem;
  transition: border-color .2s;
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--olive); background: rgba(255,255,255,.1); }
.field textarea { resize: vertical; }
.form__submit {
  font-family: var(--heading);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .85rem 2.5rem;
  background: var(--olive);
  color: var(--white);
  border: none;
  border-radius: .25rem;
  cursor: pointer;
  transition: background .2s;
}
.form__submit:hover { background: var(--olive-h); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-1);
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
  padding: 1.5rem;
  color: #555;
  font-size: .8rem;
  font-family: var(--body);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 680px) {
  .nav { overflow-x: auto; justify-content: flex-start; }
  .nav__item { padding: .85rem 1.1rem; font-size: .78rem; }
  .hero { min-height: auto; padding: 5rem 0; }
  .hero__box { padding: 1.25rem 1.5rem; }
  .form { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
}
