/*
Theme Name: zhalpha Optical v026
Theme URI: https://zhalpha.com/
Author: Alpha Optics Limited
Author URI: https://zhalpha.com/
Description: A custom WordPress theme for zhalpha, built around optical product families, applications, support resources, and RFQ conversion.
Version: 0.2.6
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: zhalpha-optical
*/

:root {
  --ink: #132026;
  --muted-ink: #5d6d74;
  --line: #d9e1e3;
  --surface: #f7faf9;
  --surface-strong: #edf3f1;
  --white: #ffffff;
  --green: #2f7d69;
  --green-dark: #1f5f50;
  --amber: #d89b36;
  --blue: #406d85;
  --radius: 8px;
}

.zha-page {
  background: #f7f3ec;
  color: #1e1d1b;
}

.zha-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  padding: 150px 24px 88px;
}

.zha-page-hero__copy h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.zha-page-hero__copy > p:not(.zha-eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #665d52;
  font-size: 19px;
  line-height: 1.72;
}

.zha-eyebrow {
  margin: 0 0 14px;
  color: #c89342;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zha-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.zha-dark-outline {
  border-color: #1e1d1b;
  color: #1e1d1b;
}

.zha-page-hero__media {
  overflow: hidden;
  min-height: 430px;
  border-radius: 8px;
  background: #201f1d;
  box-shadow: 0 28px 80px rgba(32, 31, 29, 0.16);
}

.zha-page-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}

.zha-page-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 84px 24px;
}

.zha-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.zha-section-head h2,
.zha-detail-grid h2,
.zha-rfq-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.zha-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.zha-card,
.zha-simple-card,
.zha-rfq-panel {
  border: 1px solid #e3d7c6;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 16px 46px rgba(32, 31, 29, 0.06);
}

.zha-card {
  overflow: hidden;
}

.zha-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: #1f252a;
}

.zha-card div {
  padding: 24px;
}

.zha-card h3,
.zha-simple-card strong {
  display: block;
  margin: 0 0 10px;
  font-size: 20px;
  color: #1e1d1b;
}

.zha-card p,
.zha-simple-card span,
.zha-detail-grid li,
.zha-rfq-panel p {
  color: #6a6259;
  line-height: 1.65;
}

.zha-card a {
  display: inline-block;
  margin-top: 12px;
  color: #a66f28;
  font-weight: 800;
  text-decoration: none;
}

.zha-simple-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.zha-simple-card {
  padding: 24px;
  text-decoration: none;
}

.zha-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

.zha-check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.zha-check-list li {
  position: relative;
  padding-left: 28px;
}

.zha-check-list li::before {
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c89342;
  content: "";
}

.zha-rfq-panel {
  padding: 30px;
  background: #1d2228;
}

.zha-rfq-panel h2,
.zha-rfq-panel p {
  color: #fff;
}

@media (max-width: 980px) {
  .zha-page-hero,
  .zha-detail-grid {
    grid-template-columns: 1fr;
  }

  .zha-card-grid,
  .zha-simple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .zha-page-hero {
    padding-top: 124px;
  }

  .zha-card-grid,
  .zha-simple-grid {
    grid-template-columns: 1fr;
  }

  .zha-page-hero__media,
  .zha-page-hero__media img {
    min-height: 300px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: var(--white);
  background: var(--green);
}

.nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  color: var(--muted-ink);
  font-size: 13px;
}

.site-header .nav ul,
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .nav li,
.nav-menu li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .nav a,
.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--muted-ink);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--ink);
}

.site-header .nav > ul > .menu-item-has-children > a::after,
.nav-menu > .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.site-header .nav .sub-menu,
.nav-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 30;
  display: none !important;
  min-width: 250px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(19, 32, 38, 0.14);
}

.site-header .nav li:hover > .sub-menu,
.site-header .nav li:focus-within > .sub-menu,
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  display: grid !important;
}

.site-header .nav .sub-menu a,
.nav-menu .sub-menu a {
  display: flex;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  white-space: nowrap;
  text-transform: none;
}

.site-header .nav .sub-menu a:hover,
.nav-menu .sub-menu a:hover {
  background: var(--surface);
  color: var(--green-dark);
}

.site-header .nav .sub-menu .menu-item-has-children > a::after,
.nav-menu .sub-menu .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 16px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
}

.site-header .nav .sub-menu .sub-menu,
.nav-menu .sub-menu .sub-menu {
  left: calc(100% + 8px);
  top: -10px;
}

.nav a:hover {
  color: var(--ink);
}

.custom-logo {
  display: block;
  max-width: 180px;
  max-height: 110px;
  height: auto;
}

.nav-cta,
.button,
.finder-grid button,
.rfq-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--white);
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: calc(100vh - 65px);
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px) 42px;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: linear-gradient(90deg, var(--white) 0%, var(--surface) 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.hero-text {
  max-width: 720px;
  color: var(--muted-ink);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(237,243,241,0.86)),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(47,125,105,0.08) 28px 29px);
  border-left: 1px solid var(--line);
}

.profile-stack {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 16%;
  display: grid;
  gap: 24px;
}

.profile {
  display: block;
  height: 76px;
  border: 1px solid rgba(19,32,38,0.18);
  box-shadow: 0 18px 50px rgba(19,32,38,0.12);
}

.profile-clear {
  background: rgba(64,109,133,0.18);
}

.profile-opal {
  background: rgba(255,255,255,0.85);
}

.profile-prism {
  background:
    repeating-linear-gradient(135deg, rgba(216,155,54,0.35) 0 8px, rgba(255,255,255,0.75) 8px 16px);
}

.beam-map {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 16%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  height: 150px;
}

.beam-map span {
  display: block;
  background: rgba(216,155,54,0.68);
  border-radius: 6px 6px 0 0;
}

.beam-map span:nth-child(1) { height: 40%; }
.beam-map span:nth-child(2) { height: 70%; }
.beam-map span:nth-child(3) { height: 100%; }
.beam-map span:nth-child(4) { height: 72%; }
.beam-map span:nth-child(5) { height: 42%; }

.finder,
.section,
.trust,
.rfq {
  padding: clamp(54px, 7vw, 90px) clamp(18px, 5vw, 72px);
}

.finder {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.finder h2 {
  max-width: 560px;
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 124px;
  resize: vertical;
}

.section-head {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted-ink);
  font-size: 17px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.resource-grid article {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.product-card p,
.resource-grid p,
.process-list span,
.trust-grid p,
.rfq p {
  color: var(--muted-ink);
}

.card-code {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 12px;
}

.product-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-dark);
  font-weight: 700;
}

.muted {
  background: var(--surface);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.application-grid a {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  counter-increment: process;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-list li::before {
  content: counter(process);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--surface-strong);
  color: var(--green-dark);
  font-weight: 700;
}

.process-list strong,
.process-list span {
  grid-column: 2;
}

.process-list strong {
  grid-row: 1;
}

.process-list span {
  grid-row: 2;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: 28px;
  color: var(--white);
  background: var(--ink);
}

.trust .eyebrow,
.trust-grid p {
  color: rgba(255,255,255,0.78);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid p {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
}

.trust-grid strong {
  color: var(--white);
}

.rfq {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--surface-strong);
}

.rfq-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rfq-form textarea,
.rfq-form button {
  grid-column: 1 / -1;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted-ink);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .nav-menu {
    justify-content: flex-start;
  }

  .nav-menu .sub-menu,
  .nav-menu .sub-menu .sub-menu {
    position: static;
    display: none;
    min-width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu li:hover > .sub-menu,
  .nav-menu li:focus-within > .sub-menu {
    display: grid;
  }

  .hero,
  .finder,
  .split,
  .trust,
  .rfq {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
    border-left: 0;
  }

  .finder-grid,
  .card-grid,
  .application-grid,
  .resource-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav-cta {
    width: 100%;
  }

  h1 {
    font-size: 39px;
  }

  .finder-grid,
  .card-grid,
  .application-grid,
  .resource-grid,
  .trust-grid,
  .rfq-form {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}

/* WoodZone-inspired home styling translated for zhalpha optical engineering. */
body {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background: #ffffff;
}

.home-woodzone {
  color: #1c1b19;
  background: #ffffff;
}

.site-header {
  position: absolute;
  left: 50%;
  top: 28px;
  width: min(1180px, calc(100% - 44px));
  transform: translateX(-50%);
  padding: 0 18px;
  min-height: 84px;
  border: 0;
  background: rgba(24, 24, 22, 0.76);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.admin-bar .site-header {
  top: 60px;
}

.brand {
  color: #ffffff;
}

.brand-mark {
  background: #b57729;
}

.custom-logo {
  max-width: 132px;
  max-height: 72px;
  filter: brightness(0) invert(1);
}

.site-header .nav,
.site-header .nav a,
.nav-menu a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
}

.site-header .nav a:hover,
.nav-menu a:hover {
  color: #ffffff;
}

.site-header .nav .sub-menu,
.nav-menu .sub-menu {
  background: #ffffff;
  border: 0;
  border-radius: 0;
}

.site-header .nav .sub-menu a,
.nav-menu .sub-menu a {
  color: #2a2926;
}

.nav-cta {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 2px;
  background: #b57729;
  color: #ffffff;
}

.home-hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  padding: 170px clamp(22px, 6vw, 86px) 115px;
  background-position: center top;
  background-size: cover;
  overflow: hidden;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 14, 13, 0.82) 0%, rgba(14, 14, 13, 0.57) 45%, rgba(14, 14, 13, 0.36) 100%);
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 670px;
  margin-left: max(0px, calc((100vw - 1180px) / 2));
  color: #ffffff;
}

.home-kicker {
  margin: 0 0 12px;
  color: #b57729;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 690px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.03;
}

.home-hero p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
}

.home-btn--gold {
  background: #b57729;
  color: #ffffff;
}

.home-btn--ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.home-hero-card {
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  bottom: -54px;
  z-index: 4;
  width: min(360px, calc(100% - 44px));
  padding: 34px;
  background: #b57729;
  color: #ffffff;
}

.home-hero-card h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.18;
}

.home-hero-card p,
.home-hero-card a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.home-about,
.home-services,
.home-projects,
.home-quote,
.home-news {
  padding: clamp(72px, 9vw, 120px) clamp(22px, 6vw, 86px);
}

.home-about {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 150px;
}

.home-about__image {
  position: relative;
}

.home-about__image img {
  display: block;
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(37, 30, 23, 0.16);
}

.home-stat {
  position: absolute;
  right: -28px;
  bottom: 34px;
  width: 210px;
  padding: 20px;
  background: #b57729;
  color: #ffffff;
}

.home-stat strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.home-stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.home-about__content h2,
.home-section-head h2,
.home-dark-split h2,
.home-cta h2 {
  color: #191816;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.12;
}

.home-about__content p,
.home-section-head p,
.home-service-card p,
.home-quote p,
.home-news p {
  color: #77716a;
}

.home-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 28px 0;
}

.home-checks span {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 600;
}

.home-checks span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b57729;
}

.home-services {
  background: #fbfaf8;
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 38px;
}

.home-section-head h2,
.home-section-head p,
.home-section-head .home-kicker {
  grid-column: 1;
}

.home-section-head > a {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  padding: 13px 22px;
  background: #b57729;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.home-section-head--center {
  display: block;
  max-width: 720px;
  text-align: center;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.home-service-card {
  min-height: 245px;
  padding: 32px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(36, 30, 25, 0.08);
}

.home-service-card.is-featured {
  background: #b57729;
  color: #ffffff;
}

.home-service-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: #b57729;
  font-weight: 800;
}

.home-service-card.is-featured span,
.home-service-card.is-featured p,
.home-service-card.is-featured a {
  color: rgba(255, 255, 255, 0.9);
}

.home-service-card h3 {
  font-size: 21px;
  font-weight: 800;
}

.home-service-card a,
.home-news a {
  display: inline-flex;
  margin-top: 12px;
  color: #b57729;
  font-size: 13px;
  font-weight: 700;
}

.home-dark-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  min-height: 520px;
}

.home-dark-split__image {
  background-size: cover;
  background-position: center;
}

.home-dark-split__content {
  padding: clamp(54px, 8vw, 94px);
  background: #2a1605;
  color: #ffffff;
}

.home-dark-split h2 {
  color: #ffffff;
}

.home-dark-split p {
  color: rgba(255, 255, 255, 0.76);
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.home-metrics span {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.home-metrics strong {
  color: #b57729;
  font-size: 26px;
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.home-project {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  background: #201b16;
}

.home-project img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 260ms ease;
}

.home-project:hover img {
  transform: scale(1.04);
}

.home-project span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  background: rgba(181, 119, 41, 0.94);
  color: #ffffff;
  font-weight: 700;
}

.home-quote {
  min-height: 370px;
  display: grid;
  place-items: center;
  background: #fbfaf8;
  text-align: center;
}

.home-quote div {
  max-width: 760px;
}

.home-quote blockquote {
  margin: 0 0 18px;
  color: #77716a;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.35;
}

.home-cta {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  padding: clamp(70px, 9vw, 110px) clamp(22px, 6vw, 86px);
  background-size: cover;
  background-position: center;
}

.home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 15, 10, 0.82), rgba(20, 15, 10, 0.35));
}

.home-cta__content {
  position: relative;
  max-width: 560px;
  margin-left: max(0px, calc((100vw - 1180px) / 2));
  color: #ffffff;
}

.home-cta h2 {
  color: #ffffff;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.home-news article {
  background: #ffffff;
}

.home-news img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.home-news h3 {
  margin: 22px 0 10px;
  font-size: 20px;
  font-weight: 800;
}

.footer {
  padding: 60px clamp(22px, 6vw, 86px);
  background: #2a1605;
  color: rgba(255, 255, 255, 0.72);
  border-top: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    background: #201b16;
  }

  .admin-bar .site-header {
    top: auto;
  }

  .home-hero {
    min-height: 680px;
    padding-top: 92px;
  }

  .home-hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 30px 22px -40px;
  }

  .home-about,
  .home-dark-split {
    grid-template-columns: 1fr;
  }

  .home-service-grid,
  .home-project-grid,
  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-hero h1 {
    font-size: 40px;
  }

  .home-section-head {
    display: block;
  }

  .home-checks,
  .home-service-grid,
  .home-project-grid,
  .home-news-grid,
  .home-metrics {
    grid-template-columns: 1fr;
  }

  .home-stat {
    position: static;
    width: 100%;
  }
}

/* AIDA conversion homepage and dark-brown header style. */
.site-header {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  min-height: 96px;
  transform: none;
  padding: 0 clamp(22px, 5vw, 92px);
  background:
    linear-gradient(90deg, rgba(25, 23, 21, 0.96), rgba(45, 34, 24, 0.94)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 78px);
  border-bottom: 1px solid rgba(224, 184, 112, 0.18);
  box-shadow: 0 12px 34px rgba(24, 18, 12, 0.18);
}

.admin-bar .site-header {
  top: auto;
}

.brand {
  min-width: 174px;
  color: #ffffff;
}

.brand-mark {
  background: #b57729;
}

.default-logo,
.custom-logo {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 82px;
  object-fit: contain;
  filter: none;
  background: #ffffff;
  padding: 6px 8px;
}

.site-header .nav,
.site-header .nav a,
.nav-menu a {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 600;
}

.site-header .nav a:hover,
.nav-menu a:hover {
  color: #ffffff;
}

.site-header .nav .sub-menu,
.nav-menu .sub-menu {
  background: #ffffff;
  border: 0;
  border-radius: 0;
}

.site-header .nav .sub-menu a,
.nav-menu .sub-menu a {
  color: #25211c;
}

.nav-cta {
  min-width: 156px;
  min-height: 50px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #c89342, #9f6724);
  color: #ffffff;
}

.aida-home {
  --aida-dark: #171615;
  --aida-gold: #c89342;
  --aida-gold-dark: #9f6724;
  --aida-text: #1e1d1b;
  --aida-muted: #716960;
  --aida-surface: #fbf8f2;
  --aida-line: #e5d8c4;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  color: var(--aida-text);
  background: #ffffff;
}

.aida-container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.aida-kicker {
  margin: 0 0 12px;
  color: var(--aida-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.aida-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.aida-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,17,16,0.9), rgba(45,34,24,0.64) 52%, rgba(45,34,24,0.34));
}

.aida-hero__content {
  position: relative;
  z-index: 2;
  padding: 90px 0 120px;
  color: #ffffff;
}

.aida-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(46px, 6.2vw, 82px);
  font-weight: 800;
  line-height: 1.02;
}

.aida-hero p {
  max-width: 650px;
  color: rgba(255,255,255,0.84);
  font-size: 17px;
}

.aida-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.aida-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 800;
}

.aida-btn--gold {
  color: #ffffff;
  background: var(--aida-gold);
}

.aida-btn--outline {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}

.aida-hero-card {
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  bottom: -56px;
  z-index: 3;
  width: min(380px, calc(100% - 44px));
  padding: 32px;
  background: linear-gradient(135deg, #c89342, #9f6724);
  color: #ffffff;
}

.aida-hero-card h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.16;
}

.aida-hero-card p,
.aida-hero-card a {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}

.aida-section {
  padding: clamp(76px, 9vw, 124px) 0;
}

.aida-interest {
  padding-top: 138px;
}

.aida-section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.aida-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.aida-section-head h2,
.aida-desire h2,
.aida-action h2 {
  margin: 0 0 16px;
  color: var(--aida-text);
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.12;
}

.aida-section-head p,
.aida-product-card p,
.aida-support-grid p,
.aida-news p {
  color: var(--aida-muted);
}

.aida-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.aida-product-card {
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(45, 32, 20, 0.1);
}

.aida-product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.aida-product-card div {
  padding: 26px;
}

.aida-product-card h3,
.aida-support-grid h3,
.aida-news h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
}

.aida-product-card a,
.aida-news a {
  color: var(--aida-gold);
  font-size: 13px;
  font-weight: 800;
}

.aida-applications,
.aida-support,
.aida-news {
  background: var(--aida-surface);
}

.aida-application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.aida-application {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--aida-dark);
}

.aida-application img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 240ms ease;
}

.aida-application:hover img {
  transform: scale(1.04);
}

.aida-application span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  background: rgba(181,119,41,0.94);
  color: #ffffff;
  font-weight: 800;
}

.aida-desire {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  min-height: 560px;
}

.aida-desire__image {
  background-size: cover;
  background-position: center;
}

.aida-desire__content {
  padding: clamp(60px, 8vw, 104px);
  background: var(--aida-dark);
  color: #ffffff;
}

.aida-desire h2 {
  color: #ffffff;
}

.aida-desire p {
  color: rgba(255,255,255,0.76);
}

.aida-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.aida-proof-grid span {
  display: grid;
  gap: 6px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.aida-proof-grid strong {
  color: var(--aida-gold);
  font-size: 26px;
}

.aida-support-grid,
.aida-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.aida-support-grid article {
  min-height: 230px;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(45, 32, 20, 0.08);
}

.aida-solutions {
  background:
    linear-gradient(180deg, #ffffff, #fbf8f2);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.solution-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  background: var(--aida-dark);
  box-shadow: 0 14px 38px rgba(45, 32, 20, 0.12);
}

.solution-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 260ms ease;
}

.solution-card:hover img {
  transform: scale(1.04);
}

.solution-card h3 {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  padding: 12px 14px;
  background: rgba(24, 22, 20, 0.82);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.service-section {
  background: #ffffff;
}

.service-copy {
  max-width: 1080px;
  margin-bottom: 34px;
}

.service-copy h2 {
  margin: 0 0 14px;
  color: var(--aida-text);
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.12;
}

.service-copy p {
  color: var(--aida-muted);
  font-size: 18px;
}

.service-collage {
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(45, 32, 20, 0.14);
  background: #f5f5f5;
}

.service-collage img {
  display: block;
  width: 100%;
  height: auto;
}

.aida-certificates {
  background: #ffffff;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.certificate-grid article {
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 30px 22px;
  text-align: center;
  border: 1px solid var(--aida-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(251,248,242,0.94)),
    repeating-linear-gradient(135deg, rgba(200,147,66,0.08) 0 8px, transparent 8px 16px);
  box-shadow: 0 12px 30px rgba(45, 32, 20, 0.08);
}

.certificate-grid img {
  display: block;
  width: min(100%, 190px);
  aspect-ratio: 0.78;
  margin-bottom: 22px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(31, 28, 24, 0.16);
}

.certificate-grid h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
}

.certificate-grid p {
  margin: 0;
  color: var(--aida-muted);
  font-size: 13px;
}

.aida-action {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.aida-action__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,17,16,0.92), rgba(45,34,24,0.44));
}

.aida-action__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  color: #ffffff;
  padding: 90px 0;
}

.aida-action h2 {
  max-width: 640px;
  color: #ffffff;
}

.aida-action p {
  max-width: 610px;
  color: rgba(255,255,255,0.82);
}

.aida-news article {
  background: #ffffff;
}

.aida-news img {
  display: block;
  width: 100%;
  aspect-ratio: 1.36;
  object-fit: cover;
}

.aida-news h3,
.aida-news p,
.aida-news a {
  margin-left: 20px;
  margin-right: 20px;
}

.aida-news h3 {
  margin-top: 22px;
}

.aida-news a {
  display: inline-flex;
  margin-bottom: 24px;
}

.footer.site-footer {
  display: block;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(23,22,21,0.99), rgba(45,34,24,0.985)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 78px);
  color: rgba(255,255,255,0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 70px 0 58px;
}

.footer-brand img {
  display: block;
  max-width: 150px;
  margin-bottom: 22px;
  background: #ffffff;
  padding: 8px;
}

.footer h2 {
  position: relative;
  margin: 0 0 26px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
}

.footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 58px;
  height: 2px;
  background: #c89342;
}

.footer p,
.footer a {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

.footer a {
  display: block;
  margin: 0 0 10px;
}

.footer a:hover {
  color: #ffffff;
}

.footer-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 10px !important;
  padding: 0 22px;
  background: linear-gradient(135deg, #c89342, #9f6724);
  color: #ffffff !important;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    display: grid;
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .aida-hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -60px auto 0;
  }

  .aida-interest {
    padding-top: 86px;
  }

  .aida-product-grid,
  .aida-application-grid,
  .aida-support-grid,
  .solution-grid,
  .certificate-grid,
  .aida-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aida-desire {
    grid-template-columns: 1fr;
  }

  .aida-desire__image {
    min-height: 360px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .aida-hero {
    min-height: 620px;
  }

  .aida-hero h1 {
    font-size: 40px;
  }

  .aida-product-grid,
  .aida-application-grid,
  .aida-support-grid,
  .solution-grid,
  .certificate-grid,
  .aida-news-grid,
  .aida-proof-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
