/* =========================================================================
   māhita — Professional redesign (Comfortaa typography, brand green accent)
   Clean neutral palette, restrained accents, corporate tone.
   Loaded after modern-style.css; overrides via :root tokens + component styles.
   ========================================================================= */

:root {
  /* ---- Palette ---- */
  --ink:           #111418;
  --ink-soft:      #2b3038;
  --ink-muted:     #5a6068;
  --ink-subtle:    #8a8f96;
  --paper:         #ffffff;
  --paper-2:       #f6f7f4;
  --paper-3:       #eef1ec;
  --brand:         #366B45;    /* māhita brand green */
  --brand-dark:    #24502f;
  --brand-soft:    #e8efe8;
  --line:          rgba(17, 20, 24, 0.08);
  --line-strong:   rgba(17, 20, 24, 0.18);

  /* ---- Existing token overrides ---- */
  --primary-color:    var(--ink);
  --primary-dark:     #000;
  --primary-light:    var(--brand);
  --text-primary:     var(--ink);
  --text-secondary:   var(--ink-soft);
  --text-muted:       var(--ink-muted);
  --background-primary:   var(--paper);
  --background-secondary: var(--paper-2);
  --border-color:     var(--line);

  /* ---- Typography (Comfortaa only) ---- */
  --font-primary: 'Comfortaa', 'Trebuchet MS', system-ui, sans-serif;

  --fs-eyebrow:  0.72rem;
  --fs-body:     1.0625rem;
  --fs-lede:     1.175rem;
  --fs-h3:       clamp(1.3rem, 2.2vw, 1.65rem);
  --fs-h2:       clamp(1.7rem, 3.6vw, 2.4rem);
  --fs-hero:     clamp(2.4rem, 5.4vw, 4.25rem);
}

/* ---- Base ---- */
html,
body {
  background: var(--paper);
  color: var(--ink);
}

body,
h1, h2, h3, h4, h5, h6,
p, a, li, span, label, input, textarea, button, select {
  font-family: var(--font-primary);
}

body {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Keep content above any lingering decorative layers from modern-style.css */
.navbar,
section,
footer,
#loading-screen {
  position: relative;
  z-index: 2;
}

/* ---- Typography defaults ---- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

em {
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
}

a { color: inherit; }

::selection { background: var(--brand); color: #fff; }

/* Eyebrow — plain uppercase label, no decoration */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}
/* retire decorative number box */
.eyebrow-num { display: none; }

/* Section header */
.section-header {
  max-width: 880px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-header .section-title {
  margin-top: 0.9rem;
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}
.section-header .section-description {
  margin-top: 1rem;
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
  font-weight: 400;
}
.section-header.text-center { text-align: left; }

/* Hide legacy .section-tag pills */
.section-tag { display: none; }

/* ---- Container / section rhythm ---- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.section-padding {
  padding: clamp(4rem, 7.5vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
}

/* ---- Navigation ---- */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(17, 20, 24, 0.04);
}
.nav-container {
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1300px;
}
.nav-brand { gap: 0.55rem; }
.nav-brand .brand-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nav-menu .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  padding: 0.5rem 0;
}
.nav-menu .nav-link:hover,
.nav-menu .nav-link.active { color: var(--ink); }
.nav-menu .nav-link::after {
  background: var(--brand);
  height: 2px;
  bottom: -2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
  border: 1px solid transparent;
  text-transform: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-large {
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary,
.btn-outline {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover,
.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 0.75rem 0;
  border-radius: 0;
  border-bottom: 1px solid var(--ink);
  gap: 0.45rem;
  font-weight: 600;
}
.btn-ghost:hover { color: var(--brand); border-bottom-color: var(--brand); }
.btn-ghost .btn-arrow { transition: transform 0.25s ease; }
.btn-ghost:hover .btn-arrow { transform: translateX(4px); }
.btn-full { width: 100%; justify-content: center; }

.btn i.fas,
.btn i.fab { font-size: 0.85em; opacity: 0.9; }

/* ---- Location toggle ---- */
.location-toggle {
  background: var(--paper-2);
  border-color: var(--line-strong);
  padding: 3px;
  border-radius: 999px;
}
.location-option {
  color: var(--ink-muted);
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  gap: 0.4rem;
}
html[data-location="in"] .location-option[data-location-value="in"],
html[data-location="ca"] .location-option[data-location-value="ca"] {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.location-option:hover { color: var(--ink); }
.location-flag { font-size: 0.95rem; }

/* ---- Hero ---- */
.hero {
  min-height: auto;
  display: block;
  padding: clamp(5rem, 9vh, 6.5rem) 0 clamp(2.5rem, 5vh, 4rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.hero-grain,
.hero-background,
.hero-particles,
.hero-gradient,
.hero-visual,
.code-window,
.hero-badge,
.scroll-mouse,
.scroll-indicator { display: none !important; }

.hero-container {
  display: block;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
}

.hero-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta__brand {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.hero-meta__locale {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
}

.hero-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-title__line { display: block; }
.hero-title__line em {
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
}

.hero-title__line {
  opacity: 0;
  transform: translateY(12px);
  animation: heroRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-lede {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-top: 0.3rem;
  opacity: 0;
  transform: translateY(12px);
  animation: heroRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 2.55s forwards;
}
.hero-description {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  align-items: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.hero-stats__group { display: contents; }
.stat-item {
  padding: 0.25rem 1rem 0.25rem 0;
  border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
.stat-item:first-child { padding-left: 0; }
.stat-number {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat-label {
  margin-top: 0.45rem;
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-text .lead {
  font-weight: 600;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.about-text p { color: var(--ink-soft); }
.about-text p strong { color: var(--ink); font-weight: 700; }

.about-features { gap: 1.5rem; margin-top: 2.25rem; }
.feature-item {
  background: transparent;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.feature-item .feature-icon {
  background: transparent;
  color: var(--brand);
  width: auto;
  height: auto;
  font-size: 1.15rem;
}
.feature-item h4 {
  font-weight: 700;
  font-size: 1.05rem;
}

/* About panel — replaces AI image stack */
.about-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: sticky;
  top: 6rem;
}
.about-panel__header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.about-panel__list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.about-panel__list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: baseline;
  gap: 1rem;
}
.about-panel__list dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.about-panel__list dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 860px) {
  .about-panel { position: static; }
}
@media (max-width: 520px) {
  .about-panel__list > div { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* Hide legacy about-visual image stack if it lingers anywhere */
.about-visual { display: none; }

/* ---- Investment ---- */
/* Override modern-style.css two-column grid — stack vertically for balance */
.investment-grid {
  display: block !important;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Kill the white wrapper card from modern-style.css */
.investment-highlight {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.investment-highlight .highlight-content { padding: 0; }
.investment-highlight .highlight-content h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}

.investment .market-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 1.75rem 0;
  margin: 0;
}
@media (max-width: 720px) {
  .investment .market-stats { grid-template-columns: 1fr; padding: 1rem 0; }
}
.market-stat {
  padding: 0.25rem clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  text-align: left;
}
.market-stat:first-child { padding-left: 0; }
.market-stat:last-child { border-right: none; padding-right: 0; }
@media (max-width: 720px) {
  .market-stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
  }
  .market-stat:last-child { border-bottom: none; }
}
.market-stat .stat-value {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.025em;
  display: block;
}
.market-stat .stat-description {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  max-width: 28ch;
}

.investment-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}
@media (min-width: 1080px) {
  .investment-reasons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .investment-reasons { grid-template-columns: 1fr; }
}
.reason-item {
  background: var(--paper-2);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.reason-item:hover {
  border-color: var(--line-strong);
  background: var(--paper-3);
}
.reason-item .reason-icon {
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.95rem;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reason-item h4 {
  font-weight: 700;
  font-size: 1rem;
  margin: 0.25rem 0 0;
}
.reason-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Integrated CTA — no card, flush rule */
.investment-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--line);
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: left;
}
.investment-cta__text { flex: 1 1 320px; }
.investment-cta h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.015em;
}
.investment-cta p {
  color: var(--ink-soft);
  margin: 0.5rem 0 0;
  max-width: 52ch;
}
.investment-cta .btn { margin: 0; }

/* ---- Services / Capabilities ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.service-card {
  background: var(--paper-2);
  padding: 1.75rem;
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.service-card:hover {
  border-color: var(--line-strong);
  background: var(--paper-3);
  transform: none;
  box-shadow: none;
}
.service-card .service-icon {
  background: var(--brand-soft);
  color: var(--brand);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-card .service-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.service-card .service-description { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.55; }
.service-card .service-features { list-style: none; padding: 0; margin: 1rem 0 1.25rem; }
.service-card .service-features li {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--line);
}
.service-card .service-features li i { color: var(--brand); margin-right: 0.5rem; }
.service-card .service-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  display: inline-flex;
  gap: 0.4rem;
}
.service-card .service-link:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* ---- Products ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.product-grid--single { grid-template-columns: minmax(0, 760px); }

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 40px -24px rgba(17, 20, 24, 0.18);
}
.product-card--feature {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.product-card--feature:hover {
  background: var(--ink);
  box-shadow: 0 20px 40px -24px rgba(17, 20, 24, 0.4);
}
.product-card--feature .product-card__title,
.product-card--feature .product-card__lede,
.product-card--feature .product-card__facts li strong,
.product-card--feature .product-card__link { color: #fff; }
.product-card--feature .product-card__facts li span,
.product-card--feature .product-card__meta span { color: rgba(255, 255, 255, 0.62); }
.product-card--feature .product-card__title em { color: #8fd3a4; }
.product-card--feature .product-card__facts li { border-bottom-color: rgba(255, 255, 255, 0.14); }

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.product-card__index { font-weight: 600; }
.product-card__tag {
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 500;
}
.product-card--feature .product-card__tag { border-color: rgba(255, 255, 255, 0.26); }

.product-card__title {
  font-weight: 700;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0;
}
.product-card__title em { color: var(--brand); font-weight: 700; }

.product-card__lede {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.product-card__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.1rem;
}
.product-card__facts li {
  display: grid;
  grid-template-columns: 95px 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}
.product-card__facts li:last-child { border-bottom: none; }
.product-card__facts li span {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.product-card__facts li strong { font-weight: 600; color: var(--ink); }

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  margin-top: auto;
}
.product-card__link:hover { color: var(--brand); border-bottom-color: var(--brand); }
.product-card__link svg { transition: transform 0.25s ease; }
.product-card__link:hover svg { transform: translate(2px, -2px); }
.product-card--feature .product-card__link {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}
.product-card--feature .product-card__link:hover {
  color: #8fd3a4;
  border-bottom-color: #8fd3a4;
}

.products-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.products-cta h3 { font-size: var(--fs-h3); font-weight: 700; margin: 0; }
.products-cta p { color: var(--ink-soft); max-width: 46ch; margin: 0.5rem 0 0; }

/* ---- Contact ---- */
.contact-grid { gap: clamp(2rem, 5vw, 4.5rem); }
.contact-method {
  background: transparent;
  padding: 1.15rem 0;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--line);
  gap: 1rem;
}
.contact-method .method-icon {
  background: var(--brand-soft);
  color: var(--brand);
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-method .method-content h4 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.contact-method .method-content p {
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.contact-method .method-content a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.contact-method .method-content a:hover { color: var(--brand); border-bottom-color: var(--brand); }

.social-links h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.social-icons a {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-icons a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: none;
}

.contact-form-wrapper .contact-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: none;
}
.contact-form h3 {
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.contact-form p { color: var(--ink-soft); margin-bottom: 1.75rem; }
.contact-form label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
  display: block;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0.6rem 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-bottom-color: var(--brand);
  box-shadow: none;
}

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
  border-top: 1px solid var(--ink);
}
.footer .container { max-width: 1220px; }
.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 960px) { .footer-content { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-content { grid-template-columns: 1fr; } }

.footer-brand .brand-text { font-weight: 700; color: #fff; }
.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 36ch;
}
.footer-links h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-links a {
  color: #fff;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #8fd3a4; }
.footer-offices li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.footer-offices li strong {
  display: block;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.footer-offices li + li { margin-top: 1rem; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright p {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.footer-social a {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social a + a { margin-left: 0.5rem; }
.footer-social a:hover { color: #8fd3a4; border-color: #8fd3a4; }

/* ---- Loading screen ---- */
#loading-screen { background: var(--paper); }
.loader-text { color: var(--ink); }
.loader-text span { color: var(--ink); }

/* ---- Misc ---- */
.text-gradient {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--brand);
  -webkit-text-fill-color: var(--brand);
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); padding: 0.75rem 0; }
  .stat-item:last-child { border-bottom: none; }

  .products-cta { flex-direction: column; align-items: flex-start; }
}

/* ---- Consent banner ---- */
.consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -12px 40px -20px rgba(0, 0, 0, 0.45);
  animation: consentSlide 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.consent-banner[hidden] { display: none; }
@keyframes consentSlide {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.consent-banner__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.consent-banner__text {
  flex: 1 1 380px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.consent-banner__text strong {
  display: block;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.consent-banner__text a {
  color: #8fd3a4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-banner__text a:hover { color: #fff; }

.consent-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.consent-banner__actions .btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.consent-banner__actions .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.consent-banner__actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.consent-banner__actions .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.consent-banner__actions .btn-primary:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

@media (max-width: 640px) {
  .consent-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.9rem 1rem;
    gap: 0.85rem;
  }
  .consent-banner__text { font-size: 0.82rem; line-height: 1.5; flex: 0 0 auto; }
  .consent-banner__text strong { margin-bottom: 0.1rem; }
  .consent-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .consent-banner__actions .btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .location-toggle { padding: 2px; }
  .location-option { padding: 0.4rem 0.55rem; }
}
