:root {
  --blue: #1577ba;
  --blue-dark: #0f5d94;
  --blue-darker: #0b466f;
  --green: #43a047;
  --green-dark: #2f7d33;
  --ink: #15293a;
  --body: #41566a;
  --muted: #6b7d8e;
  --line: #e3eaef;
  --bg: #f4f8f7;
  --bg-soft: #eef4f3;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(15, 41, 58, 0.06);
  --shadow: 0 18px 40px rgba(15, 41, 58, 0.10);
  --shadow-lg: 0 30px 60px rgba(15, 41, 58, 0.14);
  --maxw: 1140px;
  --space: clamp(3.5rem, 7vw, 6rem);
  --ff-head: "Poppins", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; display: block; }

.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

.narrow { max-width: 720px; }
.text-center { text-align: center; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 20px rgba(21, 119, 186, 0.28);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21, 119, 186, 0.34); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; box-shadow: none; }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent;
  color: var(--blue-dark);
  box-shadow: none;
  border: 1.5px solid #cfe0ec;
}
.btn-ghost:hover { background: #fff; color: var(--blue-dark); box-shadow: var(--shadow-sm); }
.btn-light {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.btn-light:hover { color: var(--blue-darker); }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.7rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-sub { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

.primary-nav { display: flex; align-items: center; gap: 1.8rem; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav ul li { display: flex; align-items: center; }
.primary-nav ul a {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-head);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.98rem;
  padding: 0.3rem 0;
  position: relative;
}
.primary-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}
.primary-nav ul a:hover { color: var(--blue); }
.primary-nav ul a.active { color: var(--blue); }
.primary-nav ul a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(67, 160, 71, 0.10), transparent 60%),
    linear-gradient(160deg, #ffffff 0%, var(--bg-soft) 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0 var(--space);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 0.5em; }
.lead { font-size: 1.15rem; color: var(--body); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 1.6rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  list-style: none;
  margin: 0; padding: 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.93rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { width: 22px; height: 22px; color: var(--green-dark); }

.hero-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.hero-card-head svg { width: 40px; height: 40px; color: var(--green); flex: none; }
.hero-card-head span { display: block; font-size: 0.85rem; color: var(--muted); }
.hero-card-head a { font-family: var(--ff-head); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.hero-card-note { font-size: 0.92rem; color: var(--muted); }
.hero-card-list { list-style: none; margin: 1.2rem 0 1.5rem; padding: 0; display: grid; gap: 0.7rem; }
.hero-card-list li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; color: var(--ink); }
.hero-card-list svg { width: 20px; height: 20px; color: var(--green-dark); flex: none; }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.service-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  color: var(--body);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe6d3; }
.service-card h2, .service-card h3 { color: var(--ink); margin-bottom: 0.4rem; }
.service-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1rem; }
.service-card-lg { padding: 2rem; }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(150deg, #e8f4ec, #dcefe0);
  color: var(--green-dark);
  margin-bottom: 1.1rem;
}
.service-icon svg { width: 28px; height: 28px; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue);
}
.link-more em { font-style: normal; transition: transform 0.2s ease; }
.service-card:hover .link-more em, .link-more:hover em { transform: translateX(4px); }

/* ---------- Feature split ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.feature-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.feature-list li { display: flex; gap: 1rem; }
.feature-num {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--green);
  font-size: 1.05rem;
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: #e8f4ec;
  border-radius: 10px;
}
.feature-list strong { display: block; color: var(--ink); font-family: var(--ff-head); margin-bottom: 0.2rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.stat-card svg { width: 32px; height: 32px; color: var(--blue); margin-bottom: 0.6rem; }
.stat-card strong { display: block; font-family: var(--ff-head); color: var(--ink); font-size: 1.2rem; }
.stat-card span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Offer ---------- */
.offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-darker) 100%);
  color: #fff;
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  box-shadow: var(--shadow);
}
.offer .eyebrow { color: #bfe6c5; }
.offer h2 { color: #fff; }
.offer p { color: rgba(255, 255, 255, 0.86); margin: 0; max-width: 52ch; }

/* ---------- Page hero ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% -30%, rgba(67, 160, 71, 0.12), transparent 60%),
    linear-gradient(160deg, #ffffff, var(--bg-soft));
  padding: clamp(2.4rem, 5vw, 3.6rem) 0;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 0.3em; }
.page-hero .lead { margin: 0; }
.page-hero-icon {
  display: inline-flex;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(150deg, #e8f4ec, #dcefe0);
  color: var(--green-dark);
  align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.page-hero-icon svg { width: 32px; height: 32px; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }
.crumbs span { margin: 0 0.4rem; }

/* ---------- Service detail ---------- */
.detail-split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.detail-intro { font-size: 1.12rem; color: var(--body); margin-bottom: 2rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list svg { width: 24px; height: 24px; color: var(--green); flex: none; margin-top: 2px; }
.check-list span { color: var(--ink); }
.detail-aside { position: sticky; top: 96px; }
.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.aside-card h3 { margin-bottom: 0.4rem; }
.aside-card p { color: var(--muted); font-size: 0.95rem; }
.aside-contact { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.aside-contact svg { width: 34px; height: 34px; color: var(--green); flex: none; }
.aside-contact span { display: block; font-size: 0.82rem; color: var(--muted); }
.aside-contact a { font-family: var(--ff-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }

/* ---------- About ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.about-values { display: grid; gap: 1.1rem; }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.2rem;
  align-items: center;
}
.value-card .service-icon { margin-bottom: 0; grid-row: span 2; }
.value-card h3 { margin: 0; align-self: end; }
.value-card p { margin: 0; color: var(--muted); font-size: 0.92rem; align-self: start; }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.promise {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.promise svg { width: 36px; height: 36px; color: var(--green); margin: 0 auto 0.8rem; }
.promise h3 { margin-bottom: 0.3rem; }
.promise p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
}
.cta-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2.4rem, 5vw, 3.4rem) 0;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.3rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); margin: 0; }

/* ---------- Contact ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #e8f4ec;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.contact-ic svg { width: 22px; height: 22px; display: block; }
.contact-list div span { display: block; font-size: 0.82rem; color: var(--muted); }
.contact-list a, .contact-list strong { font-family: var(--ff-head); font-weight: 600; color: var(--ink); }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.contact-form .field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label {
  display: block;
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field label span { color: #d23b3b; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: #fbfdfc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.15);
  background: #fff;
}
.field textarea { resize: vertical; }
.field .err { color: #d23b3b; font-size: 0.84rem; margin-top: 0.3rem; display: block; }
.form-note { font-size: 0.84rem; color: var(--muted); text-align: center; margin: 0.9rem 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; }
.alert-success { background: #e8f6ea; border: 1px solid #bfe6c5; }
.alert-success h3 { color: var(--green-dark); }
.alert-success p { margin: 0; color: var(--body); }
.alert-error { background: #fdecec; border: 1px solid #f3bcbc; color: #b22b2b; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .feature-split, .about-split, .detail-split, .contact-split {
    grid-template-columns: 1fr;
  }
  .detail-aside { position: static; }
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .primary-nav ul li { display: block; border-bottom: 1px solid var(--line); }
  .primary-nav ul a { display: block; padding: 0.9rem 0; }
  .primary-nav ul a::after { display: none; }
  .nav-cta.btn { display: inline-flex; margin-top: 1rem; }
}

@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .hero-actions .btn, .about-actions .btn { flex: 1 1 auto; }
}

/* ---------- Mega menu ---------- */
.has-mega { position: static; }
.has-mega > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.has-mega > a .caret {
  width: 15px; height: 15px;
  transition: transform 0.25s ease;
}
.has-mega:hover > a .caret,
.has-mega:focus-within > a .caret { transform: rotate(180deg); }

.mega-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 99;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  gap: 2.4rem;
  padding: 1.8rem 0 2rem;
}
.mega-heading {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--green-dark);
  padding-bottom: 0.7rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.mega-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0.2rem;
}
.mega-col ul a {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.mega-col ul a:hover { background: var(--bg-soft); }
.mega-ic {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: #e8f4ec;
  color: var(--green-dark);
  display: grid;
  place-items: center;
}
.mega-ic svg { width: 21px; height: 21px; }
.mega-text { display: flex; flex-direction: column; line-height: 1.3; }
.mega-title {
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.96rem;
}
.mega-tag { font-size: 0.82rem; color: var(--muted); }
.mega-feature {
  background: linear-gradient(160deg, var(--bg-soft), #e8f4ec);
  border-radius: var(--radius);
  padding: 1.5rem;
  align-self: start;
}
.mega-feature h4 {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
}
.mega-feature p {
  font-size: 0.88rem;
  color: var(--body);
  margin-bottom: 1.4rem;
}
.mega-feature .btn {
  padding: 0.75rem 1.5rem;
  margin-top: 0.2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding: clamp(2.6rem, 5vw, 3.8rem) 0 2.6rem;
}
.footer-brand { margin-bottom: 1.1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.55); }
.footer-about {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  max-width: 38ch;
}
.footer-col h3 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1.1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0.6rem;
}
.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}
.footer-col ul a:hover { color: #fff; }
.footer-contact li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.92rem;
}
.footer-contact li span {
  color: rgba(255, 255, 255, 0.42);
  min-width: 54px;
}
.footer-contact a { color: rgba(255, 255, 255, 0.85); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom .container { padding: 1.3rem 0; }
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Mega menu + footer responsive ---------- */
@media (max-width: 900px) {
  .has-mega { position: relative; }
  .has-mega > a .caret { display: none; }
  .mega-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  .mega-inner {
    display: block;
    width: auto;
    padding: 0.3rem 0 0.6rem;
  }
  .mega-col { margin-bottom: 0.6rem; }
  .mega-heading {
    border-bottom: none;
    padding-bottom: 0.2rem;
    margin-bottom: 0.1rem;
  }
  .mega-col ul a { padding: 0.55rem 0.6rem; }
  .mega-ic, .mega-tag, .mega-feature { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile hardening ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: hidden; }
.crumbs { line-height: 1.5; word-break: break-word; }

@media (max-width: 400px) {
  .container { width: min(100% - 1.75rem, var(--maxw)); }
  .hero-actions .btn,
  .about-actions .btn,
  .hero-actions,
  .about-actions { width: 100%; }
  .stat-cards { grid-template-columns: 1fr; }
}
