:root {
  --color-olive: #303528;
  --color-lime: #b8cf62;
  --color-rust: #a95532;
  --color-white: #ffffff;
  --color-black: #000000;
  --olive-rgb: 48 53 40;
  --graphite-rgb: 47 49 48;
  --graphite-soft-rgb: 59 61 59;
  --lime-rgb: 184 207 98;
  --rust-rgb: 169 85 50;
  --white-rgb: 255 255 255;
  --black-rgb: 0 0 0;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-quote: "Playfair Display", Georgia, serif;
  --color-background: rgb(var(--graphite-rgb));
  --color-foreground: #e7eadf;
  --color-heading: #eef2e7;
  --color-heading-soft: rgb(var(--white-rgb) / 0.66);
  --color-muted: rgb(var(--white-rgb) / 0.74);
  --color-soft: rgb(var(--lime-rgb) / 0.09);
  --color-card: rgb(var(--graphite-soft-rgb) / 0.76);
  --color-card-strong: rgb(var(--graphite-soft-rgb) / 0.94);
  --color-border: rgb(var(--white-rgb) / 0.14);
  --color-border-strong: rgb(var(--lime-rgb) / 0.32);
  --color-accent: var(--color-rust);
  --color-accent-soft: rgb(var(--rust-rgb) / 0.16);
  --color-ring: var(--color-lime);
  --shadow-card: 0 22px 64px rgb(var(--black-rgb) / 0.28);
  --shadow-accent: 0 18px 42px rgb(var(--rust-rgb) / 0.2);
  --container: 1180px;
  --page-gutter: 1rem;
  --section-space: 5rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-body: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.55rem;
  --text-3xl: 2rem;
  --text-4xl: 2.55rem;
  --text-5xl: 3.15rem;
  --text-6xl: 4rem;
  --duration-fast: 150ms;
  --duration-normal: 240ms;
  --duration-slow: 640ms;
  --button-height: 3.25rem;
  --button-radius: var(--radius-md);
  --button-padding-x: var(--space-6);
  --card-padding: var(--space-6);
  --card-radius: var(--radius-md);
  --input-height: 3.125rem;
  --input-radius: var(--radius-md);
}

@media (min-width: 768px) {
  :root {
    --page-gutter: 2rem;
    --section-space: 6rem;
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.7;
  color: var(--color-foreground);
  background:
    radial-gradient(circle at 12% 4%, rgb(var(--lime-rgb) / 0.018), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgb(var(--rust-rgb) / 0.035), transparent 28rem),
    var(--color-background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--color-lime); color: #1f221d; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--color-lime);
  color: #1f221d;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 900;
  text-decoration: none;
  transition: transform var(--duration-normal) ease;
}
.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1001;
  background: transparent;
}
.scroll-progress__bar {
  width: 0%;
  height: 100%;
  background: var(--color-rust);
  transform-origin: left center;
  transition: width 80ms linear;
}

.container {
  width: calc(100% - var(--page-gutter) - var(--page-gutter));
  max-width: var(--container);
  margin-inline: auto;
}
.section {
  position: relative;
  scroll-margin-top: 7rem;
  padding-block: var(--section-space);
  overflow: hidden;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
  opacity: 0.55;
}
.section-head {
  display: grid;
  gap: var(--space-4);
  max-width: 780px;
  margin-bottom: var(--space-10);
}
.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.metric-label,
.tag,
.table-label {
  color: var(--color-rust);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3 {
  color: var(--color-heading);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.03;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 7vw, var(--text-6xl)); max-width: 11ch; }
h2 { font-size: clamp(2rem, 4vw, var(--text-5xl)); max-width: 13ch; }
h3 { font-size: var(--text-2xl); }
p { color: var(--color-muted); font-weight: 600; }
.lede {
  max-width: 62ch;
  color: rgb(var(--white-rgb) / 0.82);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.78;
}

.site-header {
  position: fixed;
  inset: var(--space-3) var(--space-3) auto;
  z-index: 999;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgb(var(--graphite-rgb) / 0.84);
  box-shadow: 0 18px 48px rgb(var(--black-rgb) / 0.22);
  backdrop-filter: blur(18px) saturate(1.1);
}
.header-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-inline: var(--space-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  color: var(--color-lime);
  font-weight: 900;
  text-decoration: none;
}
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: rgb(var(--black-rgb) / 0.16);
  box-shadow: inset 0 1px 0 rgb(var(--white-rgb) / 0.08);
  color: var(--color-lime);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.brand-text {
  display: grid;
  line-height: 1.05;
}
.brand-text span:last-child {
  color: var(--color-muted);
  font-size: var(--text-xs);
  font-weight: 800;
}
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
}
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-md);
  padding-inline: var(--space-3);
  color: rgb(var(--white-rgb) / 0.74);
  font-size: var(--text-sm);
  font-weight: 800;
  text-decoration: none;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-links a[aria-current="true"] {
  color: var(--color-lime);
  background: var(--color-soft);
}
.header-actions { display: none; align-items: center; gap: var(--space-2); }
.mobile-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-lime);
  background: rgb(var(--black-rgb) / 0.14);
  cursor: pointer;
}
.mobile-toggle svg { width: 22px; height: 22px; }
.mobile-panel {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  transition: grid-template-rows var(--duration-normal) ease, border-color var(--duration-normal) ease;
}
.mobile-panel.open {
  grid-template-rows: 1fr;
  border-top-color: var(--color-border);
}
.mobile-panel > div { overflow: hidden; }
.mobile-panel a,
.mobile-panel button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-heading);
  padding: var(--space-3) var(--space-4);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

@media (min-width: 1080px) {
  .site-header { inset-inline: var(--space-6); }
  .nav-links, .header-actions { display: flex; }
  .mobile-toggle, .mobile-panel { display: none; }
}

.btn {
  position: relative;
  min-height: var(--button-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--button-radius);
  background: var(--color-olive);
  color: var(--color-lime);
  box-shadow: inset 0 1px 0 rgb(var(--white-rgb) / 0.08), 0 14px 34px rgb(var(--black-rgb) / 0.24);
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  padding: 0 var(--button-padding-x);
  transition: transform var(--duration-normal) ease, border-color var(--duration-fast) ease, background var(--duration-fast) ease, color var(--duration-fast) ease, box-shadow var(--duration-normal) ease;
}
.btn:hover {
  border-color: var(--color-lime);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgb(var(--white-rgb) / 0.12), 0 22px 52px rgb(var(--black-rgb) / 0.3);
}
.btn:active { transform: translateY(0) scale(0.985); }
.btn-accent {
  border-color: rgb(var(--rust-rgb) / 0.72);
  background: var(--color-rust);
  color: var(--color-white);
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
  color: var(--color-white);
  background: rgb(var(--rust-rgb) / 0.9);
}
.btn-quiet {
  background: rgb(var(--black-rgb) / 0.12);
  box-shadow: none;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.hero h1 span:first-child { color: var(--color-lime); }
.hero h1 .industrial { color: var(--color-heading-soft); }
.hero .lede { color: rgb(var(--white-rgb) / 0.8); }
.hero::before { filter: grayscale(0.34) saturate(0.34) contrast(1.04) brightness(0.9); }
.hero::after {
  background:
    linear-gradient(90deg, rgb(var(--graphite-rgb) / 0.96) 0%, rgb(var(--graphite-rgb) / 0.84) 48%, rgb(var(--graphite-rgb) / 0.3) 100%),
    linear-gradient(180deg, rgb(var(--black-rgb) / 0.34) 0%, rgb(var(--graphite-rgb) / 0.72) 100%);
}
.metric-strip,
.card,
.process-step,
.table-wrap,
.trust-tile,
.testimonial-card,
.contact-panel,
.contact-form,
.dialog-panel {
  background: linear-gradient(180deg, rgb(var(--white-rgb) / 0.045), rgb(var(--black-rgb) / 0.08)), var(--color-card);
}
.metric-value,
.card .link-action,
.process-step strong,
td strong,
.trust-tile strong,
.testimonial-card blockquote,
label,
.form-status {
  color: var(--color-lime);
}
.card h3,
.project-content h3,
.contact-panel h3 {
  color: var(--color-heading);
}

.page-hero {
  position: relative;
  min-height: 62svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 8rem 0 var(--space-16);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: var(--page-image, url("generated/hero-fabrication-workshop.webp")) center / cover no-repeat;
  filter: grayscale(0.3) saturate(0.42) contrast(1.04) brightness(0.86);
  transform: scale(1.02);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(var(--graphite-rgb) / 0.96) 0%, rgb(var(--graphite-rgb) / 0.78) 54%, rgb(var(--graphite-rgb) / 0.34) 100%),
    linear-gradient(180deg, rgb(var(--black-rgb) / 0.28) 0%, rgb(var(--graphite-rgb) / 0.78) 100%);
}
.page-hero__copy {
  display: grid;
  gap: var(--space-5);
  max-width: 760px;
}
.page-hero__copy h1 span:first-child { color: var(--color-lime); }
.page-hero__copy h1 span:last-child { color: var(--color-heading-soft); }
.page-actions,
.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}
.section-actions {
  justify-content: center;
  margin-top: var(--space-8);
}
.copy-stack {
  display: grid;
  gap: var(--space-5);
  max-width: 660px;
}
.intro-band {
  padding-block: var(--space-10);
  background: rgb(var(--black-rgb) / 0.1);
  border-block: 1px solid var(--color-border);
}
.intro-grid,
.feature-grid,
.service-grid,
.client-logo-grid,
.testimonial-grid,
.project-grid,
.contact-grid,
.split,
.content-grid {
  display: grid;
  gap: var(--space-4);
}
.intro-item,
.detail-card,
.service-card,
.client-logo-card,
.contact-panel,
.contact-form,
.quote-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgb(var(--white-rgb) / 0.045), rgb(var(--black-rgb) / 0.08)), var(--color-card);
  box-shadow: var(--shadow-card);
}
.intro-item,
.detail-card,
.service-card,
.quote-card {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-6);
}
.intro-item {
  grid-template-columns: auto 1fr;
  align-items: start;
}
.intro-item strong {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--color-lime);
  font-size: var(--text-lg);
  font-weight: 900;
}
.icon-box,
.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(var(--rust-rgb) / 0.34);
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-rust);
}
.icon-box svg,
.card-icon svg { width: 22px; height: 22px; }
.service-card {
  min-height: 260px;
  align-content: start;
  transition: transform var(--duration-normal) ease, border-color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.service-card:hover,
.detail-card:hover,
.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
}
.media-frame,
.image-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.media-frame img,
.image-card img,
.project-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.media-caption {
  position: absolute;
  inset: auto var(--space-5) var(--space-5);
  z-index: 2;
  color: var(--color-heading);
  font-size: var(--text-sm);
  font-weight: 800;
}
.media-frame::after,
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgb(var(--black-rgb) / 0.44));
  pointer-events: none;
}
.project-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(var(--graphite-rgb) / 0.08) 0%, rgb(var(--graphite-rgb) / 0.88) 100%);
}
.project-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.project-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  gap: var(--space-3);
  padding: var(--space-6);
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tag {
  width: max-content;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-lime);
  background: rgb(var(--black-rgb) / 0.22);
  padding: var(--space-1) var(--space-2);
}
.client-logo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.client-logo-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background: rgb(var(--white-rgb) / 0.9);
  transition: transform var(--duration-normal) ease, border-color var(--duration-fast) ease, box-shadow var(--duration-normal) ease;
}
.client-logo-card img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}
.client-logo-grid--compact .client-logo-card { min-height: 128px; }
.client-logo-grid--compact .client-logo-card img { max-height: 96px; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
th, td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
th {
  color: var(--color-lime);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  background: rgb(var(--black-rgb) / 0.16);
}
td { color: var(--color-muted); }
tr:last-child td { border-bottom: 0; }
.contact-list,
.form-grid,
.field,
.dialog-body {
  display: grid;
  gap: var(--space-4);
}
.contact-panel,
.contact-form {
  padding: var(--space-6);
}
.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}
.contact-item a { text-decoration: none; }
label {
  font-size: var(--text-sm);
  font-weight: 800;
}
input, textarea, select {
  width: 100%;
  min-height: var(--input-height);
  border: 1px solid var(--color-border);
  border-radius: var(--input-radius);
  background: rgb(var(--black-rgb) / 0.14);
  color: var(--color-heading);
  outline: none;
  padding: var(--space-3) var(--space-4);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, background var(--duration-fast) ease;
}
textarea {
  min-height: 126px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder { color: rgb(var(--white-rgb) / 0.42); }
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--color-ring);
  box-shadow: 0 0 0 3px rgb(var(--lime-rgb) / 0.14);
  background: rgb(var(--black-rgb) / 0.2);
}
input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--color-rust);
  box-shadow: 0 0 0 3px rgb(var(--rust-rgb) / 0.18);
}
.form-error {
  min-height: 1.15rem;
  color: #d98a66;
  font-size: var(--text-sm);
  display: none;
}
[aria-invalid="true"] + .form-error { display: block; }
.form-note {
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.site-footer {
  padding-block: var(--space-16) var(--space-8);
  border-top: 1px solid var(--color-border);
  background: rgb(var(--black-rgb) / 0.14);
}
.footer-grid {
  display: grid;
  gap: var(--space-8);
}
.footer-links {
  display: grid;
  gap: var(--space-6);
}
.footer-col {
  display: grid;
  gap: var(--space-3);
}
.footer-col strong {
  color: var(--color-lime);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
}
.footer-col a {
  width: max-content;
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
.footer-col a:hover { color: var(--color-lime); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

dialog {
  width: calc(100% - 2rem);
  max-width: 720px;
  max-height: min(86vh, 760px);
  margin: auto;
  padding: 0;
  border: 0;
  color: var(--color-heading);
  background: transparent;
}
dialog::backdrop {
  background: rgb(var(--black-rgb) / 0.72);
  backdrop-filter: blur(10px);
}
.dialog-panel {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-background);
  box-shadow: var(--shadow-card);
}
.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.dialog-head p { margin-top: var(--space-2); }
.dialog-body { padding: var(--space-6); }
.icon-button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgb(var(--black-rgb) / 0.16);
  color: var(--color-lime);
  cursor: pointer;
}
.icon-button svg { width: 20px; height: 20px; }

.whatsapp-float {
  position: fixed;
  right: max(var(--space-4), env(safe-area-inset-right));
  bottom: max(var(--space-4), env(safe-area-inset-bottom));
  z-index: 998;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(var(--lime-rgb) / 0.4);
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(var(--lime-rgb) / 0.92), rgb(var(--lime-rgb) / 0.72));
  color: #1d241b;
  box-shadow: 0 16px 42px rgb(var(--black-rgb) / 0.34), inset 0 1px 0 rgb(var(--white-rgb) / 0.24);
  text-decoration: none;
  transition: transform var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 52px rgb(var(--black-rgb) / 0.42), inset 0 1px 0 rgb(var(--white-rgb) / 0.28);
}
.whatsapp-float svg {
  width: 31px;
  height: 31px;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--duration-slow) ease, transform var(--duration-slow) ease;
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { transition-delay: 80ms; }
[data-delay="2"] { transition-delay: 160ms; }

@media (min-width: 680px) {
  .client-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid.two { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .intro-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .split,
  .content-grid { grid-template-columns: 0.95fr 1.05fr; align-items: center; }
  .contact-grid { grid-template-columns: 0.86fr 1.14fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1080px) {
  .client-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .project-card:first-child { min-height: 520px; grid-row: span 2; }
}
@media (max-width: 520px) {
  .page-hero,
  .hero {
    min-height: 88svh;
    padding-bottom: var(--space-12);
  }
  .client-logo-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .client-logo-card { min-height: 112px; padding: var(--space-3); }
  .client-logo-card img { max-height: 82px; }
  .whatsapp-float {
    width: 54px;
    height: 54px;
  }
  .contact-page .whatsapp-float {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Bright white theme requested after the graphite version. */
:root {
  --color-olive: #315a38;
  --color-lime: #315a38;
  --color-rust: #a65d3f;
  --color-background: #fbfcf8;
  --color-foreground: #26492d;
  --color-heading: #173f25;
  --color-heading-soft: #5f7d52;
  --color-muted: #556d5b;
  --color-soft: rgb(49 90 56 / 0.09);
  --color-card: rgb(255 255 255 / 0.76);
  --color-card-strong: rgb(255 255 255 / 0.94);
  --color-border: rgb(49 90 56 / 0.18);
  --color-border-strong: rgb(49 90 56 / 0.34);
  --color-accent: var(--color-rust);
  --color-accent-soft: rgb(166 93 63 / 0.12);
  --color-ring: #315a38;
  --shadow-card: 0 22px 64px rgb(40 70 45 / 0.12);
  --shadow-accent: 0 18px 42px rgb(166 93 63 / 0.18);
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  color: var(--color-foreground);
  background: var(--color-background);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background: url("brand/soft-green-blur.webp") center / cover no-repeat;
  opacity: 0.58;
  filter: blur(12px) saturate(1.04);
  transform: translate3d(0, var(--scroll-shift, 0px), 0) scale(1.08);
  transition: transform 120ms linear;
}

body::after {
  background:
    radial-gradient(circle at 50% 36%, rgb(93 125 82 / 0.2), transparent 24rem),
    linear-gradient(180deg, rgb(255 255 255 / 0.42), rgb(255 255 255 / 0.76));
  backdrop-filter: blur(3px);
}

body > * {
  position: relative;
  z-index: 1;
}

.scroll-progress { z-index: 1001; }

h1,
h2,
h3,
.contact-panel h2,
.service-card h3,
.detail-card h3,
.quote-card h3 {
  color: var(--color-heading);
}

p,
.lede,
td,
.form-note,
.footer-bottom {
  color: var(--color-muted);
}

.lede {
  color: #355c3b;
}

.eyebrow,
.metric-label,
.table-label {
  color: #5f7d52;
}

.site-header {
  border-color: rgb(49 90 56 / 0.18);
  background: rgb(255 255 255 / 0.72);
  box-shadow: 0 18px 54px rgb(47 84 54 / 0.14);
  backdrop-filter: blur(20px) saturate(1.2);
}

.brand {
  min-width: 4.8rem;
  color: var(--color-heading);
  gap: 0;
}

.brand::before {
  content: "";
  width: clamp(4.5rem, 5vw, 5.2rem);
  height: 4.1rem;
  flex: 0 0 auto;
  background: url("brand/logo-al-aryan.png") left center / contain no-repeat;
}

.site-footer .brand::before {
  width: clamp(5rem, 7vw, 6.25rem);
  height: 5.6rem;
}

.brand-mark,
.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links a {
  color: #365a3c;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-links a[aria-current="true"] {
  color: #173f25;
  background: rgb(49 90 56 / 0.1);
}

.mobile-toggle,
.icon-button {
  color: #315a38;
  background: rgb(255 255 255 / 0.76);
}

.mobile-panel a,
.mobile-panel button {
  color: #173f25;
}

.btn {
  background: #315a38;
  color: #ffffff;
  border-color: rgb(49 90 56 / 0.32);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 16px 36px rgb(49 90 56 / 0.2);
}

.btn:hover {
  border-color: #24472b;
  background: #24472b;
}

.btn-quiet,
.section-actions .btn,
.page-actions .btn:not(.btn-accent),
.hero-actions .btn:not(.btn-accent) {
  background: rgb(255 255 255 / 0.7);
  color: #315a38;
}

.btn-accent {
  background: var(--color-rust);
  color: #ffffff;
  border-color: rgb(166 93 63 / 0.42);
}

.btn-accent:hover {
  background: #8f4d34;
}

.hero,
.page-hero {
  background: transparent;
}

.hero::before,
.page-hero::before {
  background: url("brand/soft-green-blur.webp") center / cover no-repeat;
  opacity: 0.68;
  filter: blur(10px) saturate(1.02) brightness(1.05);
  transform: translate3d(0, var(--scroll-shift, 0px), 0) scale(1.08);
}

.hero::after,
.page-hero::after {
  background:
    radial-gradient(circle at 50% 42%, rgb(49 90 56 / 0.16), transparent 28rem),
    linear-gradient(90deg, rgb(255 255 255 / 0.9) 0%, rgb(255 255 255 / 0.78) 48%, rgb(255 255 255 / 0.58) 100%),
    linear-gradient(180deg, rgb(255 255 255 / 0.52) 0%, rgb(255 255 255 / 0.9) 100%);
}

.hero h1 span:first-child,
.page-hero__copy h1 span:first-child {
  color: #315a38;
}

.hero h1 .industrial,
.page-hero__copy h1 span:last-child {
  color: #5f7d52;
}

.hero .lede,
.page-hero .lede {
  color: #294d31;
}

.metric-strip,
.card,
.process-step,
.table-wrap,
.trust-tile,
.testimonial-card,
.contact-panel,
.contact-form,
.dialog-panel,
.intro-item,
.detail-card,
.service-card,
.quote-card {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.82), rgb(255 255 255 / 0.62));
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px) saturate(1.08);
}

.intro-band,
.site-footer {
  background: rgb(255 255 255 / 0.56);
  border-color: var(--color-border);
  backdrop-filter: blur(18px) saturate(1.08);
}

.metric-value,
.card .link-action,
.process-step strong,
td strong,
.trust-tile strong,
.testimonial-card blockquote,
label,
.form-status,
.footer-col strong,
.intro-item strong,
.card-icon,
.icon-box,
.scroll-cue {
  color: #315a38;
}

.card h3,
.contact-panel h3 {
  color: var(--color-heading);
}

.project-card {
  background: rgb(255 255 255 / 0.72);
  border-color: var(--color-border);
}

.project-card::after {
  background: linear-gradient(180deg, rgb(20 42 24 / 0.08) 0%, rgb(20 42 24 / 0.72) 100%);
}

.project-content h3 {
  color: #ffffff;
}

.project-content p {
  color: rgb(255 255 255 / 0.86);
}

.tag,
.project-content .tag {
  color: #ffffff;
  background: rgb(49 90 56 / 0.72);
  border-color: rgb(255 255 255 / 0.3);
}

.client-logo-card {
  background: rgb(255 255 255 / 0.88);
  border-color: rgb(49 90 56 / 0.12);
}

th {
  color: #315a38;
  background: rgb(49 90 56 / 0.08);
}

input,
textarea,
select {
  background: rgb(255 255 255 / 0.78);
  color: #173f25;
  border-color: rgb(49 90 56 / 0.22);
}

input::placeholder,
textarea::placeholder {
  color: rgb(49 90 56 / 0.48);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgb(49 90 56 / 0.16);
}

dialog::backdrop {
  background: rgb(255 255 255 / 0.44);
  backdrop-filter: blur(14px);
}

.dialog-panel {
  background: rgb(255 255 255 / 0.92);
}

.whatsapp-float {
  background: linear-gradient(180deg, #5f7d52, #315a38);
  color: #ffffff;
  border-color: rgb(49 90 56 / 0.22);
}

@media (max-width: 520px) {
  .brand {
    min-width: 4.5rem;
  }

  .brand::before {
    width: 4.5rem;
    height: 3.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero::before,
  .page-hero::before {
    transform: scale(1.08);
    transition: none;
  }
}

:root {
  --heading-gradient: linear-gradient(90deg, #173F25, #1E5730, #26703C, #2F8A49, #39A556);
}

.gradient-text,
h1 span,
.page-hero__copy h1 span,
h2,
.section-head h2,
.contact-panel h2,
.contact-panel h3,
.card h3,
.service-card h3,
.detail-card h3,
.quote-card h3 {
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-head {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-head h2 {
  max-width: min(100%, 22ch);
  margin-inline: auto;
}

.section-head .lede {
  max-width: min(100%, 74ch);
  margin-inline: auto;
}

.page-hero__copy {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.page-hero__copy h1 {
  max-width: min(100%, 14ch);
}

.page-hero__copy .lede {
  margin-inline: auto;
}

.project-content h3 {
  background: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.quote-line {
  color: #315a38;
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-style: normal;
  font-weight: 800;
  line-height: 1.58;
}

@media (max-width: 520px) {
  body.contact-page .whatsapp-float {
    display: none !important;
  }
}
