/* ================================
   TYPOGRAPHY (Plus Jakarta Sans - similar to Axiforma)
   ================================ */

/* ================================
   CSS CUSTOM PROPERTIES
   ================================ */
:root {
  --primary:     #1d2b28;
  --accent:      #f8701d;
  --green:       #1d2b28;
  --bg:          #ffffff;
  --surface:     #f8faf9;
  --surface2:    #f2f6f4;
  --text:        #1d2b28;
  --muted:       #5a6d68;
  --border:      rgba(29,43,40,0.1);
  --accent-low:  rgba(248,112,29,0.10);
  --accent-med:  rgba(248,112,29,0.18);
  --green-low:   rgba(29,43,40,0.06);
  --font-head:   'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:   'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --tr:          0.25s ease;
}

/* ================================
   RESET & BASE
   ================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
img, svg { display: block; max-width: 100%; height: auto; }
img { vertical-align: middle; }
ul { list-style: none; }
body > * { position: relative; z-index: 1; }

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; }

/* ================================
   LAYOUT
   ================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  min-width: 0;
}
section { padding: 108px 0; }
.surface-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--tr), background var(--tr), box-shadow var(--tr), border-color var(--tr);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  background: #e06515;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(248,112,29,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent-low); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(29,43,40,0.2);
}
.btn-ghost:hover { border-color: rgba(29,43,40,0.5); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ================================
   SECTION CHROME
   ================================ */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ================================
   SCROLL REVEAL
   ================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ================================
   NAVIGATION
   ================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 16px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--tr), background var(--tr);
}
#nav.scrolled { padding: 12px 0; background: rgba(255,255,255,0.96); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 70px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--tr);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--surface, #f0f0f0);
  border: none;
  border-radius: 999px;
  padding: 3px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lang-toggle .lt-sep { display: none; }
.lang-toggle .lt-en,
.lang-toggle .lt-es {
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: background var(--tr), color var(--tr), box-shadow var(--tr);
}
.lang-toggle .lt-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: var(--tr);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { display: none; flex-direction: column; background: var(--surface); border-top: 1px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text); font-size: 16px; font-weight: 500;
  padding: 15px 24px; border-bottom: 1px solid var(--border); transition: color var(--tr);
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--accent); }
.mobile-menu .btn { margin: 16px 24px 20px; }

/* ================================
   INNER PAGE HERO (non-homepage)
   ================================ */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, rgba(29,43,40,0.02) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 18px;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ================================
   TRUST BAR
   ================================ */
#trust-bar {
  padding: 32px 0;
  background: #fafcfb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.trust-item span:first-child { font-size: 16px; }

/* ================================
   CTA BAND (shared)
   ================================ */
#cta-band {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(29,43,40,0.02) 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
  text-align: center;
}
#cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 18px; }
#cta-band p { font-size: 1.05rem; color: var(--muted); max-width: 520px; margin: 0 auto 32px; line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.cta-note { font-size: 12px; color: var(--muted); }

/* ================================
   FOOTER
   ================================ */
#footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  min-height: 120px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-tagline { font-size: 14px; color: var(--muted); margin-top: 12px; max-width: 260px; line-height: 1.7; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text); margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); font-size: 14px; transition: color var(--tr); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 14px;
}
.footer-copy { font-size: 13px; color: var(--muted); }
.socials { display: flex; gap: 10px; }
.soc-link {
  width: 36px; height: 36px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: border-color var(--tr), color var(--tr);
}
.soc-link:hover { border-color: var(--accent); color: var(--accent); }
.soc-link svg { width: 15px; height: 15px; }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 72px 0; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 120px 0 60px; }
  .logo-img { height: 69px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  section { padding: 56px 0; }
  .trust-row { gap: 20px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { min-height: 48px; }
  .btn { min-height: 48px; padding: 14px 24px; }
  .soc-link { min-width: 44px; min-height: 44px; }
}


/* ================================
   LUCIDE ICONS
   ================================ */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[data-lucide].icon-xs  { width: 13px; height: 13px; stroke-width: 2.2; }
[data-lucide].icon-sm  { width: 15px; height: 15px; stroke-width: 2; }
[data-lucide].icon-md  { width: 18px; height: 18px; stroke-width: 2; }
[data-lucide].icon-lg  { width: 22px; height: 22px; stroke-width: 1.8; }
[data-lucide].icon-xl  { width: 26px; height: 26px; stroke-width: 1.75; }
[data-lucide].icon-2xl { width: 32px; height: 32px; stroke-width: 1.5; }
[data-lucide].icon-3xl { width: 40px; height: 40px; stroke-width: 1.4; }
