/* ══════════════════════════════════════════════════════════════════
   CanBrio Energy Corp. — canbrio.ca
   styles.css — Primary Stylesheet
   ══════════════════════════════════════════════════════════════════ */

/* ─── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  /* Brand Colours */
  --navy:      #11285A;
  --green:     #148D3E;
  --green-hov: #1EAF4E;
  --dark-nav:  #0C1B3D;
  --darkest:   #091628;
  --off-white: #F5F8FF;
  --alt-bg:    #EBF0F8;
  --white:     #FFFFFF;
  --body-text: #1E293B;
  --muted:     #64748B;
  --border:    #CBD5E0;
  --wa-green:  #25D366;
  /* Spacing */
  --section-pad-desktop: 100px;
  --section-pad-mobile:  56px;
  --content-max:         1200px;
  --content-pad:         48px;
  --content-pad-mobile:  24px;
  --nav-height:          80px;
  --card-pad:            32px;
  --col-gap:             28px;
}

/* ─── BASE ──────────────────────────────────────────────────────── */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.75;
}
p { line-height: 1.75; color: var(--body-text); margin-bottom: 0; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: 54px; font-weight: 700; line-height: 1.1; }
h2 { font-size: 40px; font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 18px; font-weight: 600; }
h5 {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ─── LAYOUT ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}
section { padding: var(--section-pad-desktop) 0; }

/* ─── SECTION LABELS & HEADERS ──────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.section-header-centre {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-header-centre h2 { margin-bottom: 16px; }
.section-header-centre .sub {
  color: var(--muted); font-size: 17px;
}

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 4px; min-width: 200px; min-height: 48px;
  text-align: center; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.btn-primary-light {
  background: var(--green); color: var(--white); border-color: var(--green);
}
.btn-primary-light:hover { background: var(--green-hov); border-color: var(--green-hov); }

.btn-primary-dark {
  background: var(--white); color: var(--navy); border-color: var(--white);
}
.btn-primary-dark:hover { background: var(--alt-bg); }

.btn-outline-dark {
  background: transparent; color: var(--white); border-color: var(--white);
}
.btn-outline-dark:hover { background: var(--white); color: var(--navy); }

.btn-outline-light {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline-light:hover { background: var(--navy); color: var(--white); }

.btn-cta-banner {
  background: var(--white); color: var(--green); border-color: var(--white);
}
.btn-cta-banner:hover { background: var(--off-white); }

/* ─── ICON CIRCLE ────────────────────────────────────────────────── */
.card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(20,141,62,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
  flex-shrink: 0;
}

/* ─── SCROLL FADE-IN ANIMATIONS ─────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.40s; }


/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════════ */
#site-nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.3s ease;
}
#site-nav.scrolled { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: var(--content-max); margin: 0 auto;
  padding: 0 var(--content-pad);
  display: flex; align-items: center; height: var(--nav-height); gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img { height: 58px; width: auto; display: block; }
.nav-logo-name {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
}
.nav-logo-name .logo-can  { color: var(--navy); }
.nav-logo-name .logo-brio { color: var(--green); }
.nav-logo-name .logo-energy {
  font-weight: 400; color: var(--muted); margin-left: 4px;
}

@media (max-width: 767px) {
  .nav-logo-img { height: 44px; }
  .nav-logo-name .logo-wordmark { font-size: 16px; }
  .nav-logo-name .logo-energy { font-size: 10px; }
}

.nav-links {
  display: flex; align-items: center; gap: 20px;
  margin: 0 auto; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--body-text);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  white-space: nowrap; transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); }
.nav-links a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 2px; }

.nav-right {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.lang-toggle {
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  color: var(--muted); white-space: nowrap;
}
.lang-toggle a { color: var(--navy); text-decoration: none; font-weight: 600; }
.lang-toggle a:hover { color: var(--green); }

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--navy); flex-shrink: 0; margin-left: auto;
}
.hamburger:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.hamburger-icon {
  display: flex; flex-direction: column; gap: 5px;
  width: 24px;
}
.hamburger-icon span {
  display: block; height: 2px; width: 100%; background: var(--navy);
  border-radius: 2px; transition: all 0.3s ease;
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: var(--dark-nav);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 0;
}
body.nav-open .nav-overlay { display: flex; }
body.nav-open { overflow: hidden; }

.nav-overlay-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.7); font-size: 32px; line-height: 1;
  padding: 8px;
  transition: color 0.2s;
}
.nav-overlay-close:hover { color: var(--white); }
.nav-overlay-close:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.nav-overlay-logo {
  position: absolute; top: 18px; left: 24px;
}
.nav-overlay-logo img { max-height: 36px; width: auto; }

.nav-overlay-lang {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: rgba(255,255,255,0.55); margin-bottom: 32px;
}
.nav-overlay-lang a { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 600; }
.nav-overlay-lang a:hover { color: var(--white); }

.nav-overlay-links {
  list-style: none; text-align: center; width: 100%;
}
.nav-overlay-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-overlay-links li:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.nav-overlay-links a {
  display: block; padding: 18px 24px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 20px;
  color: var(--white); text-decoration: none;
  transition: color 0.2s;
}
.nav-overlay-links a:hover { color: var(--green); }

.nav-overlay-cta {
  margin-top: 32px;
}


/* ══════════════════════════════════════════════════════════════════
   SECTION 1: HERO
══════════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh; padding: 0;
  background-image: url('../images/hero-background.png');
  background-size: cover; background-position: center;
  display: flex; align-items: center; position: relative;
}
#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    to right,
    rgba(12,27,61,0.92) 0%,
    rgba(17,40,90,0.78) 40%,
    rgba(17,40,90,0.45) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: var(--content-max); margin: 0 auto;
  padding: 140px var(--content-pad) 100px;
  display: grid; grid-template-columns: 55% 45%;
  gap: 40px; align-items: center; width: 100%;
}
.hero-pre {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 500;
  color: var(--green); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-h1 { color: var(--white); margin-bottom: 24px; }
.hero-sub {
  color: rgba(255,255,255,0.88); font-size: 18px;
  max-width: 560px; margin-bottom: 28px; line-height: 1.75;
}
.hero-trust {
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.65); margin-bottom: 36px; letter-spacing: 0.04em;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-deco {
  display: flex; align-items: center; justify-content: center;
  padding-top: 80px;
}
.hero-deco-inner {
  width: 300px; height: 300px; border-radius: 50%;
  border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  background: rgba(17,40,90,0.90);
  box-shadow: 0 0 56px rgba(20,141,62,0.22), inset 0 0 32px rgba(20,141,62,0.08);
  flex-direction: column; gap: 14px;
}
.hero-deco-flags { font-size: 40px; color: var(--green); }
.hero-deco-text {
  font-family: 'Montserrat', sans-serif; font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white);
}


/* ══════════════════════════════════════════════════════════════════
   SECTION 2: THE OPPORTUNITY
══════════════════════════════════════════════════════════════════ */
#opportunity { background: var(--off-white); }

.cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap);
}
.card {
  background: var(--white); border-radius: 4px; padding: var(--card-pad);
  box-shadow: 0 4px 16px rgba(17,40,90,0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(17,40,90,0.13);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: 12px; font-size: 20px; }
.card p  { color: var(--muted); font-size: 15px; }

.connecting-stmt {
  text-align: center; margin-top: 48px;
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 20px; color: var(--navy);
  max-width: 700px; margin-left: auto; margin-right: auto;
}


/* ══════════════════════════════════════════════════════════════════
   SECTION 3: THE FULL VALUE STACK
══════════════════════════════════════════════════════════════════ */
#value-stack { background: var(--white); }

.cards-3x2 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.value-card {
  background: var(--white);
  border: 2px solid var(--alt-bg); border-radius: 4px; padding: var(--card-pad);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.value-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(20,141,62,0.1);
}
.value-card .card-icon { width: 52px; height: 52px; font-size: 22px; }
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; flex-grow: 1; }

.value-tag {
  font-size: 13px; font-style: italic;
  color: var(--green) !important;
  border-top: 1px solid var(--border);
  padding-top: 10px; margin-top: auto;
  font-family: 'Inter', sans-serif;
}
.value-stack-footnote {
  font-size: 12px; font-style: italic;
  color: var(--muted); text-align: right; margin-top: 16px;
}


/* ══════════════════════════════════════════════════════════════════
   SECTION 4: OUR TECHNOLOGY
══════════════════════════════════════════════════════════════════ */
#technology { background: var(--alt-bg); }

.tech-tabs {
  max-width: 880px; margin: 48px auto 56px;
}
.tech-tab-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px; margin-bottom: 10px;
}
.tech-tab {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 6px;
  padding: 14px 10px 12px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 12.5px;
  color: var(--navy); text-align: center; line-height: 1.3;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.tech-tab:hover {
  border-color: var(--green); background: rgba(20,141,62,0.03);
}
.tech-tab.active {
  border-color: var(--green); background: rgba(20,141,62,0.06); color: var(--green);
}
.tech-tab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.stage-badge {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tech-panel {
  display: none;
  background: var(--white); border: 1.5px solid var(--green); border-radius: 6px;
  padding: 22px 28px;
  font-family: 'Inter', sans-serif; font-size: 15px;
  color: var(--body-text); line-height: 1.75;
}
.tech-panel.active { display: block; }

.modules-4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 8px;
}
.module-card {
  background: var(--white); border-radius: 4px; padding: 28px;
  box-shadow: 0 2px 12px rgba(17,40,90,0.06);
}
.module-card .card-icon { width: 48px; height: 48px; font-size: 22px; }
.module-card h3 { font-size: 16px; margin-bottom: 10px; }
.module-card p  { color: var(--muted); font-size: 13.5px; }

.tech-footer-note {
  text-align: center; margin-top: 48px; font-style: italic;
  color: var(--muted); font-size: 15px;
  max-width: 780px; margin-left: auto; margin-right: auto;
}


/* ══════════════════════════════════════════════════════════════════
   SECTION 5: THE CANBRIO DIFFERENCE
══════════════════════════════════════════════════════════════════ */
#difference { background: var(--white); }

.pillars-2x2 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--col-gap);
}
.pillar-card {
  background: var(--white);
  border-left: 4px solid var(--green); padding: var(--card-pad);
  box-shadow: 0 2px 12px rgba(17,40,90,0.06);
  border-radius: 0 4px 4px 0;
  transition: border-left-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.pillar-card:hover {
  border-left-color: var(--navy);
  background: var(--off-white);
  box-shadow: 0 6px 24px rgba(17,40,90,0.1);
}
.pillar-card .card-icon { width: 52px; height: 52px; font-size: 24px; margin-bottom: 20px; }
.pillar-card h3 { font-size: 20px; margin-bottom: 12px; }
.pillar-card p  { color: var(--muted); font-size: 15px; }

.pillar-cta-link {
  display: inline-block; margin-top: 14px;
  color: var(--green); font-weight: 600; font-size: 14px;
  text-decoration: none; font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.pillar-cta-link:hover { color: var(--green-hov); text-decoration: underline; }
.pillar-cta-link:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }


/* ══════════════════════════════════════════════════════════════════
   SECTION 6: THE FINANCING EDGE
══════════════════════════════════════════════════════════════════ */
.financing-stripe { height: 4px; background: var(--green); }

#financing { background: var(--navy); padding: 100px 0; }
#financing .section-label { color: var(--green); }
#financing h2 { color: var(--white); }
#financing .sub { color: rgba(255,255,255,0.78); }

.fin-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap); margin-top: 52px;
}
.fin-col { text-align: center; padding: 0 8px; }
.fin-col .card-icon {
  background: rgba(255,255,255,0.08); width: 56px; height: 56px;
  margin: 0 auto 20px;
}
.fin-col h3 { color: var(--white); font-size: 20px; margin-bottom: 12px; }
.fin-col p  { color: rgba(255,255,255,0.78); font-size: 15px; }

.fin-disclaimer {
  text-align: center; margin-top: 44px;
  color: rgba(255,255,255,0.5); font-size: 13px;
  font-style: italic; font-family: 'Inter', sans-serif;
}
.fin-cta { text-align: center; margin-top: 32px; }


/* ══════════════════════════════════════════════════════════════════
   SECTION 7: CTA BANNER
══════════════════════════════════════════════════════════════════ */
#cta-banner { background: var(--green); padding: 80px 0; }
#cta-banner h2 { color: var(--white); text-align: center; margin-bottom: 16px; }
.banner-sub {
  color: rgba(255,255,255,0.9); text-align: center;
  max-width: 600px; margin: 0 auto 36px; font-size: 17px;
}
.banner-cta { text-align: center; }


/* ══════════════════════════════════════════════════════════════════
   SECTION 8: CONTACT FORM
══════════════════════════════════════════════════════════════════ */
#contact { background: var(--off-white); }

.contact-grid {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: 48px; align-items: start;
}
.form-header { margin-bottom: 36px; }
.form-header h2 { margin-bottom: 12px; }
.form-header .sub { color: var(--muted); }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500; color: var(--body-text); margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 4px;
  font-family: 'Inter', sans-serif; font-size: 15px;
  color: var(--body-text); background: var(--white);
  transition: border-color 0.2s; outline: none;
  appearance: none; -webkit-appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--green); }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.form-field textarea { resize: vertical; min-height: 120px; }

.form-reassurance {
  font-size: 13px; font-style: italic;
  color: var(--muted); margin-top: 12px;
}
.form-success {
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 18px;
  color: var(--navy); padding: 32px;
  background: rgba(20,141,62,0.06);
  border: 1px solid rgba(20,141,62,0.2);
  border-radius: 4px;
}
.form-error-msg {
  font-size: 14px; color: #c0392b; margin-top: 8px;
  font-family: 'Inter', sans-serif;
}

.contact-info {
  background: #E8EEF8; border-radius: 4px; padding: var(--card-pad);
}
.contact-info h4 { color: var(--navy); margin-bottom: 24px; font-size: 20px; }
.info-item { margin-bottom: 20px; }
.info-item .label {
  font-size: 13px; font-weight: 600; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px;
}
.info-item .value { color: var(--body-text); font-size: 15px; }
.info-item .value a { color: var(--green); text-decoration: none; }
.info-item .value a:hover { text-decoration: underline; }
.contact-tagline {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border);
}
.contact-tagline h4 { font-size: 17px; color: var(--navy); }


/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
footer { background: var(--dark-nav); color: var(--white); }
.footer-main {
  max-width: var(--content-max); margin: 0 auto;
  padding: 64px var(--content-pad) 48px;
  display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 48px;
}
.footer-logo-img { height: 64px; width: auto; display: block; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-tagline {
  font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 600;
  color: var(--white); margin-bottom: 10px;
}
.footer-desc {
  color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.7;
}
.footer-flags { margin-top: 14px; font-size: 20px; }

.footer-links h5 {
  color: rgba(255,255,255,0.5); font-size: 12px;
  letter-spacing: 0.10em; margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

.footer-contact h5 {
  color: rgba(255,255,255,0.5); font-size: 12px;
  letter-spacing: 0.10em; margin-bottom: 16px;
}
.footer-contact .ci { margin-bottom: 12px; }
.footer-contact .ci .label {
  font-size: 12px; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 2px;
}
.footer-contact .ci .val  { font-size: 14px; color: rgba(255,255,255,0.75); }
.footer-contact .ci .val a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-contact .ci .val a:hover { color: var(--green); }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--darkest);
}
.footer-bar-inner {
  max-width: var(--content-max); margin: 0 auto;
  padding: 18px var(--content-pad);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bar .copy { color: rgba(255,255,255,0.45); font-size: 13px; }
.footer-bar .copy a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  transition: color 0.2s;
}
.footer-bar .copy a:hover { color: rgba(255,255,255,0.75); }
.footer-policy-link {
  color: rgba(255,255,255,0.45) !important; text-decoration: none;
  transition: color 0.2s;
}
.footer-policy-link:hover { color: rgba(255,255,255,0.75) !important; }
.footer-bar .lang { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bar .lang a {
  color: rgba(255,255,255,0.65); text-decoration: none; font-weight: 500;
  transition: color 0.2s;
}
.footer-bar .lang a:hover { color: var(--white); }


/* ══════════════════════════════════════════════════════════════════
   WHATSAPP FAB
══════════════════════════════════════════════════════════════════ */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.wa-fab:focus-visible { outline: 2px solid var(--wa-green); outline-offset: 3px; }
.wa-fab svg { width: 30px; height: 30px; fill: var(--white); }

.wa-fab-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.75); color: var(--white);
  font-size: 13px; font-family: 'Inter', sans-serif;
  padding: 6px 12px; border-radius: 4px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.wa-fab:hover .wa-fab-tooltip { opacity: 1; }
@media (hover: none) { .wa-fab-tooltip { display: none; } }


/* ══════════════════════════════════════════════════════════════════
   MODALS — Privacy Policy & Terms of Use
══════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-box {
  background: var(--white); border-radius: 8px;
  max-width: 640px; width: 100%; max-height: 80vh;
  overflow-y: auto; padding: 40px; position: relative;
}
.modal-close {
  position: sticky; top: 0; float: right;
  background: transparent; border: none; cursor: pointer;
  font-size: 28px; line-height: 1; color: var(--muted);
  margin-left: 16px; margin-bottom: 8px;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--navy); }
.modal-close:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.modal-box h3 { color: var(--navy); margin-bottom: 8px; font-size: 24px; }
.modal-date { font-size: 13px; font-style: italic; color: var(--muted); margin-bottom: 24px; }
.modal-subhead {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--navy); margin-top: 20px; margin-bottom: 6px;
}
.modal-body {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--body-text); line-height: 1.75; margin-bottom: 12px;
}


/* ══════════════════════════════════════════════════════════════════
   NAV — HAMBURGER BELOW 1024px (tablet + mobile)
══════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-right  { display: none; }
  .hamburger  { display: flex; }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768–1023px)
══════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1023px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }

  .hero-content { grid-template-columns: 1fr; }
  .hero-deco { display: none; }

  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-3 .card:last-child { grid-column: 1 / -1; max-width: 520px; margin: 0 auto; width: 100%; }

  .cards-3x2 { grid-template-columns: 1fr 1fr; }

  .modules-4 { grid-template-columns: 1fr 1fr; }
  .pillars-2x2 { grid-template-columns: 1fr; }
  .fin-cols { grid-template-columns: 1fr; gap: 0; }
  .fin-col { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
  .fin-col:first-child { border-top: none; padding-top: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  section { padding: var(--section-pad-mobile) 0; }
}


/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (< 768px)
══════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  :root {
    --content-pad: var(--content-pad-mobile);
  }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  section { padding: var(--section-pad-mobile) 0; }

  /* Nav */
  .nav-inner { padding: 0 var(--content-pad-mobile); }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 120px var(--content-pad-mobile) 80px;
  }
  .hero-sub { max-width: 100%; }
  .hero-ctas { justify-content: center; flex-direction: column; align-items: center; }
  .hero-deco { display: none; }

  /* Opportunity */
  .cards-3 { grid-template-columns: 1fr; }

  /* Value Stack */
  .cards-3x2 { grid-template-columns: 1fr; }

  /* Technology tabs */
  .tech-tab-strip { grid-template-columns: repeat(2, 1fr); }

  /* Difference */
  .pillars-2x2 { grid-template-columns: 1fr; }

  /* Financing */
  .fin-cols { grid-template-columns: 1fr; gap: 0; }
  .fin-col {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
  }
  .fin-col:first-child { border-top: none; padding-top: 0; }

  /* Modules */
  .modules-4 { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px var(--content-pad-mobile) 32px; }
  .footer-bar-inner { padding: 16px var(--content-pad-mobile); }

  /* Section header */
  .section-header-centre { margin-bottom: 36px; }

  /* Tech tabs */
  .tech-tabs { margin: 32px auto 40px; }
}

/* Mobile: 5th tab goes full width when 2-col grid */
@media (max-width: 600px) {
  .tech-tab-strip { grid-template-columns: repeat(2, 1fr); }
  .tech-tab:nth-child(5) { grid-column: 1 / -1; }
}
