/* ==========================================================================
   Sustainable Industries Pty Ltd — Site Stylesheet
   ========================================================================== */

:root {
  --navy: #0b2942;
  --navy-dark: #071c2f;
  --navy-mid: #123655;
  --orange: #f5a623;
  --orange-dark: #e08a12;
  --green: #5da130;
  --green-dark: #4a8324;
  --blue: #1e8fd5;
  --blue-light: #29abe2;
  --ink: #1c2a36;
  --ink-light: #55677a;
  --paper: #f5f7f9;
  --paper-alt: #eef2f5;
  --white: #ffffff;
  --border: #e1e7ec;
  --brand-gradient: linear-gradient(90deg, var(--orange) 0%, var(--green) 52%, var(--blue) 100%);
  --shadow-sm: 0 2px 8px rgba(11, 41, 66, 0.08);
  --shadow-md: 0 8px 28px rgba(11, 41, 66, 0.12);
  --shadow-lg: 0 20px 48px rgba(11, 41, 66, 0.18);
  --radius: 14px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-light); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.75); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-gradient);
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(245, 166, 35, 0.45); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(11, 41, 66, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: 'Poppins', sans-serif; font-size: 1.08rem; font-weight: 700; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 16px 24px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a.active { color: var(--orange); }
.mobile-nav .btn { margin: 16px 24px; }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(7,28,47,0.96) 20%, rgba(7,28,47,0.78) 55%, rgba(7,28,47,0.55) 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
  background-image: url("../assets/img/circuit-pattern.svg");
  background-size: 240px 240px;
  background-repeat: repeat;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 168px 0 120px;
}
.hero .eyebrow { color: var(--orange); }
.hero .eyebrow::before { background: var(--brand-gradient); }
.hero h1 { color: var(--white); max-width: 760px; }
.hero-lead { font-size: 1.15rem; max-width: 620px; color: rgba(255,255,255,0.82); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.72); }

@media (max-width: 800px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Inner page banner (non-home pages) */
.page-banner {
  position: relative;
  background: var(--navy-dark);
  color: var(--white);
  padding: 88px 0 64px;
  overflow: hidden;
}
.page-banner .hero-pattern { opacity: 0.18; }
.page-banner h1 { color: var(--white); margin-bottom: 12px; }
.page-banner .breadcrumb {
  position: relative; z-index: 2;
  font-size: 0.85rem; color: var(--blue-light); margin-bottom: 18px; letter-spacing: 0.04em; text-transform: uppercase;
}
.page-banner p { position: relative; z-index: 2; max-width: 640px; color: rgba(255,255,255,0.78); }
.page-banner h1 { position: relative; z-index: 2; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--navy);
  color: var(--white);
  padding: 22px 0;
}
.trust-bar ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.trust-bar li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 1100px) {
  .trust-bar ul { flex-wrap: wrap; justify-content: center; }
}
.trust-bar svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--orange); }

/* ---------- About / split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3.1;
  object-fit: cover;
}
.split-media .media-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 240px;
}
.media-badge svg { width: 32px; height: 32px; color: var(--green); flex-shrink: 0; }
.media-badge strong { display: block; font-family: 'Poppins', sans-serif; color: var(--navy); font-size: 0.95rem; }
.media-badge span { font-size: 0.78rem; color: var(--ink-light); }

.check-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 0.96rem; }
.check-list svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 900px) {
  .split, .split.reverse .split-media { grid-template-columns: 1fr; order: initial; }
  .split { gap: 40px; }
  .split-media .media-badge { position: static; margin-top: -40px; margin-left: 20px; }
}

/* ---------- Capability / feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(245,166,35,0.14), rgba(30,143,213,0.14));
}
.card-icon svg { width: 28px; height: 28px; color: var(--navy); }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.94rem; }

.card--dark {
  background: var(--navy-mid);
  border-color: rgba(255,255,255,0.08);
}
.card--dark h3 { color: var(--white); }
.card--dark p { color: rgba(255,255,255,0.72); }
.card--dark .card-icon { background: rgba(255,255,255,0.08); }
.card--dark .card-icon svg { color: var(--orange); }
.card--dark:hover { border-color: rgba(255,255,255,0.2); }

/* ---------- Sector cards (image based) ---------- */
.sector-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow-sm);
}
.sector-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sector-card:hover img { transform: scale(1.06); }
.sector-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,28,47,0.92) 10%, rgba(7,28,47,0.15) 65%);
}
.sector-card-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px;
  z-index: 2;
  color: var(--white);
}
.sector-card-content .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.sector-card-content h3 { color: var(--white); margin-bottom: 6px; }
.sector-card-content p { color: rgba(255,255,255,0.8); font-size: 0.88rem; margin-bottom: 0; }

/* ---------- Why choose us list section ---------- */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; margin-top: 10px; }
.reason { display: flex; gap: 16px; }
.reason-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.reason-icon svg { width: 22px; height: 22px; color: var(--orange); }
.reason h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 4px; font-family: 'Poppins', sans-serif; }
.reason p { font-size: 0.9rem; margin-bottom: 0; }
@media (max-width: 700px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.process::before {
  content: "";
  position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-num {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy);
}
.process-step:nth-child(1) .process-num { border-color: var(--orange); color: var(--orange-dark); }
.process-step:nth-child(2) .process-num { border-color: var(--green); color: var(--green-dark); }
.process-step:nth-child(3) .process-num { border-color: var(--blue); color: var(--blue); }
.process-step:nth-child(4) .process-num { border-color: var(--navy); color: var(--navy); }
.process-step:nth-child(5) .process-num { border-color: var(--orange); color: var(--orange-dark); }
.process-step h4 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.85rem; margin-bottom: 0; }
@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--navy);
  border-radius: 24px;
  padding: 64px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--brand-gradient);
  opacity: 0.14;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { margin-bottom: 0; max-width: 480px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Gallery / Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--navy);
}
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease, opacity .3s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(7,28,47,0.94), rgba(7,28,47,0));
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-caption .tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); font-weight: 700; }
.gallery-caption strong { display: block; font-size: 0.94rem; margin-top: 2px; }
.gallery-item[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7,12,18,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; }
.lightbox img { width: 100%; border-radius: 12px; max-height: 78vh; object-fit: contain; background: #000; }
.lightbox figcaption { color: rgba(255,255,255,0.85); text-align: center; padding-top: 16px; font-size: 0.92rem; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-close svg { width: 20px; height: 20px; }

/* ---------- Solutions page ---------- */
.solution-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .25s ease, transform .25s ease;
}
.solution-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.solution-card img { height: 200px; object-fit: cover; width: 100%; }
.solution-card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.solution-card-body .tag {
  align-self: flex-start;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--paper-alt); color: var(--blue);
}
.solution-card-body ul { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; }
.solution-card-body li { font-size: 0.88rem; color: var(--ink-light); display: flex; gap: 8px; }
.solution-card-body li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.solution-card-body .btn { margin-top: auto; align-self: flex-start; }

.brand-strip {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.brand-pill {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border);
  font-weight: 600; font-size: 0.85rem; color: var(--navy); background: var(--white);
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
}
.info-card h3 { color: var(--white); }
.info-list { margin-top: 24px; display: flex; flex-direction: column; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.info-list strong { display: block; font-size: 0.92rem; color: rgba(255,255,255,0.6); font-weight: 500; }
.info-list span, .info-list a { font-size: 1rem; font-weight: 600; }
.info-card .divider { height: 1px; background: rgba(255,255,255,0.14); margin: 28px 0; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row svg { width: 18px; height: 18px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--ink-light); margin-top: 14px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(93,161,48,0.1);
  border: 1px solid rgba(93,161,48,0.35);
  color: var(--green-dark);
  padding: 16px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.92rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-error {
  display: none;
  background: rgba(200,40,40,0.08);
  border: 1px solid rgba(200,40,40,0.35);
  color: #a32020;
  padding: 16px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.92rem;
}
.form-error.show { display: block; }
.form-note a { color: var(--blue); font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card { position: relative; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 340px;
  filter: grayscale(0.15);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; }
.footer-brand strong { color: var(--white); font-family: 'Poppins', sans-serif; }
.site-footer h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer a { font-size: 0.92rem; color: rgba(255,255,255,0.68); transition: color 0.2s ease; }
.site-footer a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.9rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.divider-flame {
  height: 4px;
  border-radius: 4px;
  background: var(--brand-gradient);
  width: 64px;
  margin-bottom: 20px;
}
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 400;
  cursor: pointer;
  border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.badge-row span {
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
  background: var(--paper-alt); padding: 7px 14px; border-radius: 999px;
}
