/* Ashenoff & Associates — site stylesheet (2026 redesign)
   Editorial, high-contrast, alternating ink / paper sections. */

:root {
  --ink: #080808;
  --ink-2: #141412;
  --paper: #f7f7f5;
  --paper-2: #efeeea;
  --white: #ffffff;
  --text: #1b1a18;
  --muted: #8a867f;
  --muted-ink: #a3a099;
  --line: rgba(0, 0, 0, 0.12);
  --line-ink: rgba(255, 255, 255, 0.14);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --script: 'english157_btregular', 'Newsreader', Georgia, serif;
  --wrap: 1240px;
  --gutter: 40px;
  --radius: 4px;
}

@font-face {
  font-family: 'english157_btregular';
  src: url('../fonts/english_157_bt-webfont.woff') format('woff'),
       url('../fonts/english_157_bt-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
address { font-style: normal; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.h-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: inherit;
}
.h-display > span { display: block; }
.h-display .muted { color: var(--muted); }
.h-xl { font-size: clamp(42px, 6.4vw, 88px); letter-spacing: -0.04em; line-height: 1.02; }
.h-sm { font-size: clamp(30px, 3.2vw, 44px); }
.ink .h-display .muted, .cta .h-display .muted, .page-head .h-display .muted, .hero .h-display .muted { color: var(--muted-ink); }

.label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}
.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; max-width: 62ch; }
.body-lg { font-size: 16px; line-height: 1.7; color: #4a4742; max-width: 56ch; margin-bottom: 28px; }
.muted { color: var(--muted); }
.arw { display: inline-block; font-size: 0.85em; margin-left: 4px; transition: transform 0.2s ease; }
a:hover .arw { transform: translate(2px, -2px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 13px 16px 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2a2925; }
.btn-outline { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-ink); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: var(--paper);
  background: rgba(8, 8, 8, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.nav.scrolled, .nav:not(.nav-home) { background: rgba(8, 8, 8, 0.92); backdrop-filter: blur(10px); border-bottom-color: var(--line-ink); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand {
  font-family: var(--script);
  font-size: 30px;
  line-height: 1;
  color: inherit;
  white-space: nowrap;
  padding-top: 4px;
}
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; }
.nav-links a { color: rgba(255,255,255,0.82); }
.nav-links a:hover { color: #fff; }
.nav-links .lang { padding: 5px 9px; border: 1px solid var(--line-ink); border-radius: var(--radius); font-size: 12px; letter-spacing: 0.06em; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--paper); transition: transform 0.2s ease; }
.nav.open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.45) 45%, rgba(8,8,8,0.15) 100%),
    linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.2) 40%, rgba(8,8,8,0.35) 100%);
}
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 56px; }
.hero-top { max-width: 520px; margin-bottom: clamp(60px, 12vh, 140px); }
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 18px;
}
.hero-lede { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 22px; }
.hero .h-display { max-width: 34ch; }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.paper { background: var(--paper); color: var(--text); }
.paper-2 { background: var(--paper-2); color: var(--text); }
.white { background: var(--white); color: var(--text); }
.ink { background: var(--ink); color: var(--paper); }
.ink .body-lg { color: rgba(255,255,255,0.72); }
.ink .label { color: var(--muted-ink); }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 40px; align-items: start; }
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.ink .sec-head { border-bottom-color: var(--line-ink); }
.sec-head-side .body-lg { margin-bottom: 22px; }
.center { text-align: center; }
.center .h-display { margin: 0 auto 56px; max-width: 24ch; }

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 88px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-n { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -0.03em; }
.stat-l { font-size: 13px; color: var(--muted); }

/* cards */
.cards { display: grid; gap: 16px; }
.cards-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards-5 .card:nth-child(-n+2) { grid-column: span 3; }
.cards-5 .card:nth-child(n+3) { grid-column: span 2; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: rgba(0,0,0,0.35); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.card-big { min-height: 220px; padding-top: 30px; }
.card-num { font-family: var(--serif); font-size: 15px; color: var(--muted); letter-spacing: 0.02em; margin-bottom: auto; }
.card-title { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; }
.card-big .card-title { font-size: 26px; }
.card-desc { font-size: 14px; line-height: 1.55; color: var(--muted); }
.more { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 40px; align-items: start; }
.more-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.more-list li { border-top: 1px solid var(--line); }
.more-list a { display: flex; justify-content: space-between; padding: 14px 0; font-size: 15px; font-weight: 500; }
.more-list a:hover { color: var(--muted); }

/* latam */
.latam-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: stretch; }
.points li { padding: 26px 0; border-top: 1px solid var(--line-ink); }
.points li:last-child { border-bottom: 1px solid var(--line-ink); }
.points h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 8px; }
.points p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.7); max-width: 48ch; }
.figure { position: relative; margin: 0; border-radius: 6px; overflow: hidden; min-height: 380px; }
.figure img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; filter: saturate(0.85) brightness(0.9); }
.figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(8,8,8,0.9), rgba(8,8,8,0));
  display: flex; flex-direction: column; gap: 6px;
}
.figure .stat-n { font-size: clamp(44px, 5vw, 64px); }
.figure .stat-l { color: rgba(255,255,255,0.75); }

/* proof */
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; text-align: left; border-top: 1px solid var(--line); }
.proof { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); }
.proof:last-child { border-right: 0; }
.proof + .proof { padding-left: 28px; }
.proof .label { margin-bottom: 22px; }
.proof h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; margin-bottom: 10px; }
.proof p { font-size: 15px; line-height: 1.65; color: #4a4742; }

/* CTA */
.cta { background: var(--ink); color: var(--paper); padding: clamp(64px, 7vw, 96px) 0; border-top: 1px solid var(--line-ink); }
.cta-wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta .lede { margin-top: 14px; color: rgba(255,255,255,0.7); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--ink); color: var(--paper); padding: 150px 0 72px; }
.page-head .lede { color: rgba(255,255,255,0.78); margin: 24px 0 30px; }
.page-head .label { color: var(--muted-ink); padding-top: 12px; }

.article-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 64px; }
.side { position: sticky; top: 92px; }
.toc li { border-top: 1px solid var(--line); }
.toc li:last-child { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 11px 0; font-size: 14px; font-weight: 500; color: #4a4742; }
.toc a:hover { color: var(--ink); }
.side-card { margin-top: 32px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; font-size: 15px; line-height: 1.7; }
.side-card-h { font-family: var(--serif); font-size: 20px; margin-bottom: 4px; }
.side-card .muted { font-size: 13px; margin-bottom: 12px; }
.side-card a { font-weight: 500; }
.side-card a:hover { color: var(--muted); }

.article { max-width: 72ch; }
.article h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  padding-top: 8px;
}
.article h2 + p, .article h2 + ul { margin-top: 0; }
.article > h2:not(:first-child) { margin-top: 56px; }
.article p { margin-bottom: 18px; color: #2c2a26; font-size: 16.5px; line-height: 1.7; }
.article ul { margin: 0 0 24px; padding: 0; }
.article li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.6; color: #2c2a26; }
.article li:last-child { border-bottom: 1px solid var(--line); }
.article li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 8px; height: 1px; background: var(--ink); }
.article .link-list li { padding-left: 0; }
.article .link-list li::before { display: none; }
.article .link-list a { font-weight: 500; }
.faqs { margin-top: 8px; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-family: var(--serif); font-size: 19px; font-weight: 400; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--muted); font-family: var(--sans); font-weight: 300; }
.faq[open] summary::after { content: '\2013'; }
.faq p { padding: 0 0 18px; margin: 0; color: #4a4742; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 72px 0 32px; border-top: 1px solid var(--line-ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { font-size: 34px; }
.footer-tag { margin-top: 12px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-ink); }
.footer-lic { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer .label { color: var(--muted-ink); }
.footer ul li { margin-bottom: 9px; font-size: 14px; }
.footer ul a, .footer address a { color: rgba(255,255,255,0.78); }
.footer ul a:hover, .footer address a:hover { color: #fff; }
.footer address { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.78); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-ink); font-size: 12px; color: var(--muted-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-5 .card, .cards-5 .card:nth-child(n) { grid-column: auto; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --gutter: 22px; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(8,8,8,0.98);
    border-bottom: 1px solid var(--line-ink);
    padding: 8px 22px 18px;
  }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line-ink); }
  .nav-links .lang { border: 0; padding: 12px 0; }
  .nav.open .nav-links { display: flex; }
  .nav-toggle { display: flex; }
  .nav-right .btn { display: none; }
  .nav.scrolled { background: rgba(8,8,8,0.96); }
  .nav-home:not(.scrolled) { background: rgba(8,8,8,0.35); }
  .hero { min-height: 84svh; }
  .hero-inner { padding-top: 100px; }
  .hero-top { margin-bottom: 44px; }
  .grid-2, .sec-head, .more, .latam-grid, .article-grid { grid-template-columns: 1fr; gap: 24px; }
  .sec-head { align-items: start; margin-bottom: 36px; }
  .more-list { grid-template-columns: 1fr; }
  .proofs { grid-template-columns: 1fr; }
  .proof { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .proof + .proof { padding-left: 0; }
  .proof:last-child { border-bottom: 0; }
  .cta-wrap { flex-direction: column; align-items: flex-start; }
  .cta-actions { justify-content: flex-start; }
  .side { position: static; }
  .toc { display: none; }
  .side .label { display: none; }
  .side-card { margin-top: 0; }
  .figure { min-height: 300px; }
  .page-head { padding: 120px 0 56px; }
}
@media (max-width: 560px) {
  .cards-5, .cards-4, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .brand { font-size: 26px; }
  .card-big { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media { display: none; }
  .hero { background: var(--ink) url('../images/earf-static.jpg') center/cover no-repeat; }
}

/* nav simplification: text Contact link only inside the mobile menu */
.nav-contact-link { display: none; }
.nav-links .lang { text-transform: none; letter-spacing: 0; font-size: 13px; }
@media (max-width: 860px) { .nav-contact-link { display: block; } }

/* ---------- Brand blue accent ---------- */
:root { --blue: #133c7a; --blue-2: #1b4c99; --blue-tint: rgba(19, 60, 122, 0.08); --blue-ink: #6f9be0; }

.label { color: var(--blue); }
.ink .label, .footer .label, .page-head .label, .cta .label { color: var(--blue-ink); }

.btn-dark { background: var(--blue); color: #fff; }
.btn-dark:hover { background: var(--blue-2); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--paper); }
.btn-outline:hover { background: #fff; color: var(--blue); border-color: #fff; }

.pill { background: rgba(19, 60, 122, 0.55); border-color: rgba(111, 155, 224, 0.45); }
.arw { color: var(--blue); }
.ink .arw, .hero .arw, .page-head .arw, .cta .arw, .footer .arw { color: var(--blue-ink); }
.btn .arw { color: inherit; }

.card-num { color: var(--blue); }
.card:hover { border-color: var(--blue); }
.more-list a:hover, .toc a:hover, .footer ul a:hover, .footer address a:hover, .side-card a:hover { color: var(--blue); }
.footer ul a:hover, .footer address a:hover { color: var(--blue-ink); }

.article li::before { background: var(--blue); }
.article .link-list a { color: var(--blue); }
.faq summary::after { color: var(--blue); }
.side-card { border-top: 3px solid var(--blue); }
.proof .label { color: var(--blue); }
.points h3::before, .proof h3::before { content: none; }

/* contact band in the brand blue, echoing the old site */
.cta { background: var(--blue); border-top: 0; }
.cta .lede { color: rgba(255, 255, 255, 0.8); }
.cta .h-display .muted { color: rgba(255, 255, 255, 0.6); }
.cta .btn-light { color: var(--blue); }
.cta .btn-ghost { border-color: rgba(255, 255, 255, 0.4); }
.cta .btn-ghost:hover { border-color: #fff; }

.figure figcaption { background: linear-gradient(to top, rgba(19, 60, 122, 0.85), rgba(19, 60, 122, 0)); }
.hero-shade {
  background:
    linear-gradient(to right, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.45) 45%, rgba(8, 8, 8, 0.15) 100%),
    linear-gradient(to top, rgba(8, 8, 8, 0.95) 0%, rgba(19, 60, 122, 0.18) 45%, rgba(8, 8, 8, 0.35) 100%);
}

.nw { white-space: nowrap; }

/* ---------- Click-to-call ---------- */
.nav-phone {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
  padding: 6px 4px;
}
.nav-phone:hover { color: var(--blue-ink); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .actions { margin-top: 2px; }
.page-head .actions { margin-top: 4px; }
@media (max-width: 860px) {
  .nav-right { gap: 10px; }
  .nav-phone { display: inline-block; font-size: 15px; }
}
@media (max-width: 400px) {
  .nav-phone { font-size: 14px; }
  .brand { font-size: 22px; }
}
