/* ── Variables ── */
:root {
  --navy:   #18354A;
  --white:  #ffffff;
  --sage:   #A6B1A3;
  --gray:   #6E727B;
  --gold:   #B6A883;
  --light:  #f5f4f0;
  --font-heading: 'Frank Ruhl Libre', Georgia, serif;
  --font-body:    'Raleway', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--navy); background: var(--white); }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.8; }
.btn--dark    { background: var(--navy); color: var(--white); }
.btn--outline { background: transparent; border: 1px solid var(--white); color: var(--white); }
.btn--text    { background: transparent; color: var(--navy); padding: 0; font-size: 0.75rem; }
.btn--primary { background: var(--navy); color: var(--white); width: 100%; text-align: center; padding: 14px; }
.btn--white   { background: var(--white); color: var(--navy); }

/* ── Section helpers ── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 48px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav--scrolled {
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__list {
  list-style: none;
  display: flex;
  gap: 36px;
}
.nav__list--right { justify-content: flex-end; }
.nav__link {
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav__link:hover { opacity: 1; }
.nav__logo { display: flex; justify-content: center; }
.nav__logo img { filter: brightness(0) invert(1); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('../img/hero-bg.webp') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 35, 55, 0.78);
}
.hero__content {
  position: relative;
  text-align: center;
  color: var(--white);
}
.hero__pipe {
  display: block;
  font-family: var(--font-body);
  font-size: 3.5rem;
  font-weight: 100;
  line-height: 1;
  opacity: 0.7;
  margin: 8px 0;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--white);
}

/* ── STATS ── */
.stats {
  background: var(--navy);
  padding: 48px 40px;
}
.stats__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats__number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}
.stats__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--sage);
}

/* ── WHO WE ARE ── */
.who { background: var(--white); padding: 100px 40px; }
.who__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.who__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}
.who__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 28px;
}
.who__body {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 36px;
}
.who__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* ── EXPAND TO MEXICO ── */
.expand {
  position: relative;
  background: url('../img/mexico-bg.webp') center center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 100px 40px;
}
.expand__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(220,170,0,0.75) 0%, rgba(180,130,0,0.50) 100%);
}
.expand__card {
  position: relative;
  max-width: 520px;
  margin-left: 10%;
  padding: 60px 52px;
  background: rgba(255,255,255,0.93);
}
.expand__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}
.expand__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 24px;
}
.expand__body {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 16px;
}
.expand .btn--outline {
  border-color: var(--navy);
  color: var(--navy);
  margin-top: 12px;
}

/* ── SOLVED CASES ── */
.cases {
  padding: 100px 40px;
  background: var(--light);
}
.cases__header { text-align: center; }
.cases__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.case-card { background: var(--white); }
.case-card__img {
  height: 260px;
  background-size: cover;
  background-position: center;
}
.case-card__body { padding: 32px; }
.case-card__title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 16px;
}
.case-card__text {
  font-size: 0.88rem;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 24px;
}

/* ── LATEST ARTICLES ── */
.articles {
  padding: 100px 40px;
  background: var(--white);
}
.articles__header { text-align: center; }
.articles__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.article-card__bg {
  position: absolute;
  inset: 0;
  background-color: #9aa0a8;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card__bg { transform: scale(1.04); }
.article-card__bg--1 { background-color: #8a9198; }
.article-card__bg--2 { background-color: #7e888f; }
.article-card__bg--3 { background-color: #929ba2; }
.article-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,35,0.85) 40%, rgba(10,20,35,0.15) 100%);
}
.article-card__date {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  background: rgba(18,35,55,0.82);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  z-index: 1;
}
.article-card__bottom {
  position: relative;
  z-index: 1;
  padding: 28px 28px 32px;
}
.article-card__title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.article-card__rule {
  display: block;
  width: 36px;
  height: 3px;
  background: #c0392b;
  margin-bottom: 14px;
}
.article-card__excerpt {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
}

/* ── SUPPORT ── */
.support { padding: 100px 40px; background: var(--navy); }
.support__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.support__text .section-eyebrow { color: var(--gold); }
.support__text .section-heading { color: var(--white); margin-bottom: 20px; }
.support__body { color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.7; }
.support__widget {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── CONTACT ── */
.contact { padding: 100px 40px; background: var(--light); }
.contact__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.contact__sub {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d0d0d0;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--navy); }
.form-input--textarea { resize: vertical; min-height: 130px; }
.contact__image {
  background: url('../img/mexico-bg.webp') center / cover no-repeat;
  min-height: 480px;
}
.form-success {
  font-size: 0.85rem;
  color: #2e7d32;
  padding: 12px 0;
}
.form-success--light { color: var(--sage); }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--navy);
  padding: 80px 40px;
  text-align: center;
}
.newsletter__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.newsletter__sub {
  font-size: 1rem;
  color: var(--sage);
  margin-bottom: 36px;
}
.newsletter__form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}
.newsletter__input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.newsletter__input::placeholder { color: rgba(255,255,255,0.5); }

/* ── FOOTER ── */
.footer {
  background: #0f2233;
  padding: 60px 40px 32px;
  color: var(--white);
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.footer__logo img { filter: brightness(0) invert(1); }
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  align-items: center;
}
.footer__link {
  color: var(--sage);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.footer__link:hover { color: var(--white); }
.footer__cols { display: flex; gap: 48px; justify-content: flex-end; }
.footer__col-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.footer__col-text {
  font-size: 0.82rem;
  color: var(--sage);
  line-height: 1.7;
}
.footer__copy {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav__inner { grid-template-columns: 1fr auto 1fr; padding: 0 24px; }
  .nav__list { gap: 20px; }
  .who__inner, .contact__inner, .support__inner { grid-template-columns: 1fr; gap: 40px; }
  .who__image img { height: 300px; }
  .contact__image { min-height: 280px; }
  .cases__grid, .articles__grid { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .expand__card { margin-left: 5%; margin-right: 5%; max-width: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { align-items: flex-start; }
  .footer__cols { flex-direction: column; gap: 24px; }
}
@media (max-width: 600px) {
  .nav__list--left { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero__title { font-size: 2rem; }
  .who, .cases, .articles, .contact, .newsletter { padding: 64px 24px; }
  .expand__card { padding: 40px 28px; }
}
