:root {
  --navy: #06172d;
  --navy-2: #0a2342;
  --navy-3: #102f55;
  --gold: #e7a92f;
  --gold-dark: #c98516;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dfe5ec;
  --surface: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 23, 45, 0.14);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

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

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 229, 236, 0.78);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark path {
  fill: var(--navy);
  stroke: var(--gold);
  stroke-width: 4;
}

.brand-mark text {
  fill: var(--white);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  gap: 0;
  color: var(--navy);
  line-height: 1;
}

.brand-text strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand-text small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 750;
}

.primary-nav a {
  position: relative;
  padding: 28px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.phone-link span {
  color: var(--gold-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.btn span {
  font-size: 20px;
  line-height: 0;
  transition: transform 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:hover span,
.btn:focus-visible span {
  transform: translateX(3px);
}

.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, #f0b33e, var(--gold));
  border-color: rgba(201, 133, 22, 0.45);
  box-shadow: 0 10px 20px rgba(231, 169, 47, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #f3bd50, #e2a02a);
}

.btn-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn.full {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  /* Replace with approved real company or product photography before production launch. */
  background-image: url("../public/assets/hero-building-hardware.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 23, 45, 0.92) 0%, rgba(6, 23, 45, 0.72) 42%, rgba(6, 23, 45, 0.12) 74%),
    linear-gradient(0deg, rgba(6, 23, 45, 0.32), rgba(6, 23, 45, 0.16));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 110px 0 160px;
  animation: fade-up 520ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: 18px;
  font-weight: 650;
}

.hero-note {
  max-width: 570px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.service-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: -70px;
  padding: 26px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-strip article {
  min-width: 0;
  padding: 0 20px;
  border-right: 1px solid var(--line);
}

.service-strip article:first-child {
  padding-left: 0;
}

.service-strip article:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  color: var(--gold-dark);
  border: 1px solid rgba(231, 169, 47, 0.42);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
}

.service-strip h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 15px;
}

.service-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 86px 0;
}

.products-section {
  padding-top: 66px;
  background:
    radial-gradient(circle at 8% 0, rgba(231, 169, 47, 0.08), transparent 24%),
    var(--surface);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2,
.why-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.product-card {
  overflow: hidden;
  min-width: 0;
  background: var(--white);
  border: 1px solid rgba(223, 229, 236, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(6, 23, 45, 0.08);
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    border-color 190ms ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(231, 169, 47, 0.7);
  box-shadow: 0 18px 40px rgba(6, 23, 45, 0.14);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 18px;
}

.product-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.15;
}

.product-card p {
  min-height: 82px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.product-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
}

.product-card a span {
  transition: transform 180ms ease;
}

.product-card a:hover span,
.product-card a:focus-visible span {
  transform: translateX(3px);
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.why-section {
  padding: 72px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 23, 45, 0.98), rgba(10, 35, 66, 0.95)),
    var(--navy);
}

.why-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 15%, rgba(231, 169, 47, 0.12), transparent 26%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.why-copy {
  padding: 38px;
  background: rgba(0, 0, 0, 0.18);
}

.why-copy h2 {
  color: var(--white);
}

.why-copy p {
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.78);
}

.why-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.why-features article {
  min-width: 0;
  padding: 38px 24px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.why-features span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: var(--gold);
  border: 1px solid rgba(231, 169, 47, 0.45);
  border-radius: 50%;
  font-size: 24px;
}

.why-features h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.15;
}

.why-features p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.about-copy,
.location-card,
.contact-copy,
.enquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(6, 23, 45, 0.08);
}

.about-copy {
  padding: 34px;
}

.about-copy p,
.contact-copy p {
  color: var(--muted);
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.about-points span {
  position: relative;
  padding-left: 28px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.about-points span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 12px;
}

.about-image {
  overflow: hidden;
  min-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(6, 23, 45, 0.08);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}

.location-card {
  padding: 28px;
}

.location-card h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}

.location-card address,
.location-card a:not(.btn) {
  display: block;
  margin: 0 0 12px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 138px;
  margin: 20px 0;
  padding: 18px;
  text-align: center;
  color: var(--navy);
  border: 1px dashed rgba(10, 35, 66, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(10, 35, 66, 0.07) 25%, transparent 25%),
    linear-gradient(225deg, rgba(10, 35, 66, 0.07) 25%, transparent 25%),
    linear-gradient(45deg, rgba(231, 169, 47, 0.1) 25%, transparent 25%),
    linear-gradient(315deg, rgba(231, 169, 47, 0.1) 25%, #f4f6f8 25%);
  background-position:
    14px 0,
    14px 0,
    0 0,
    0 0;
  background-size: 28px 28px;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(6, 23, 45, 0.03), rgba(6, 23, 45, 0)),
    var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-copy,
.enquiry-form {
  padding: 34px;
}

.contact-copy dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.contact-copy dt {
  margin: 0 0 4px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-copy dd {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full,
.form-status,
.enquiry-form .btn {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

label span {
  color: var(--muted);
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
}

input,
select {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  min-height: 132px;
  padding: 12px 13px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(231, 169, 47, 0.28);
  border-color: var(--gold-dark);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 8% 0, rgba(231, 169, 47, 0.1), transparent 24%),
    var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.72fr 1fr 0.9fr;
  gap: 38px;
  padding: 54px 0;
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.footer-grid p {
  max-width: 290px;
}

.footer-grid nav,
.footer-grid div {
  min-width: 0;
}

.footer-grid nav a,
.footer-grid div > a:not(.brand):not(.btn) {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-grid address {
  margin: 0 0 12px;
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible,
.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--gold);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.policy-page {
  background: var(--surface);
}

.policy-main {
  padding: 70px 0;
}

.policy-content {
  max-width: 860px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.policy-content h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
}

.policy-content h2 {
  margin: 30px 0 8px;
  color: var(--navy);
  font-size: 21px;
}

.policy-content p {
  color: var(--muted);
}

.policy-content a {
  color: var(--gold-dark);
  font-weight: 850;
}

.policy-note {
  margin-top: 28px;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: rgba(231, 169, 47, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .policy-nav {
    position: static;
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 0;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .policy-nav a {
    padding: 0;
    border-bottom: 0;
  }

  .primary-nav a::after {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .phone-link {
    display: none;
  }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .service-strip article,
  .service-strip article:first-child,
  .service-strip article:last-child {
    padding: 0;
    border-right: 0;
  }

  .product-grid,
  .why-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-panel,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-features article {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, 1140px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 23, 45, 0.94) 0%, rgba(6, 23, 45, 0.82) 58%, rgba(6, 23, 45, 0.5) 100%),
      linear-gradient(0deg, rgba(6, 23, 45, 0.36), rgba(6, 23, 45, 0.18));
  }

  .hero-content {
    padding: 88px 0 132px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-strip {
    grid-template-columns: 1fr;
    margin-top: -56px;
    padding: 22px;
  }

  .section {
    padding: 64px 0;
  }

  .products-section {
    padding-top: 52px;
  }

  .product-grid,
  .why-features,
  .about-points,
  .footer-grid,
  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .field.full,
  .form-status,
  .enquiry-form .btn {
    grid-column: auto;
  }

  .why-copy,
  .about-copy,
  .location-card,
  .contact-copy,
  .enquiry-form {
    padding: 24px;
  }

  .why-features article {
    border-left: 0;
  }

  .footer-grid {
    gap: 28px;
    padding: 44px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .policy-nav {
    display: none;
  }

  .policy-content {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
