/* Integrated Access Safety Solutions website styles */

:root {
  --navy: #0b2d5c;
  --blue: #123f7a;
  --deep-blue: #082246;
  --orange: #f28c1b;
  --orange-dark: #d8750e;
  --light: #f5f7fa;
  --white: #ffffff;
  --text: #172033;
  --muted: #5d6b82;
  --border: #dbe3ee;
  --shadow: 0 18px 45px rgba(8, 34, 70, 0.14);
  --soft-shadow: 0 12px 35px rgba(8, 34, 70, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 360px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a:not(.login-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.login-link {
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(242, 140, 27, 0.28);
}

.login-link:hover {
  background: var(--orange-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 7px 0;
  background: var(--navy);
  border-radius: 999px;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 140, 27, 0.28), transparent 28%),
    linear-gradient(135deg, var(--deep-blue), var(--blue));
}

.hero.page-hero {
  padding: 70px 0;
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -160px;
  width: 560px;
  height: 560px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 50px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section-label.light {
  color: #ffb255;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.45rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 4.3rem);
}

.hero-text {
  max-width: 660px;
  margin: 18px 0 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--orange);
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.machine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.machine-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
}

.hero-stat {
  margin: 26px 0;
  display: grid;
  gap: 4px;
}

.hero-stat strong {
  font-size: 5rem;
  line-height: 1;
  color: var(--orange);
}

.hero-stat span,
.hero-note {
  font-weight: 700;
}

/* SECTIONS */

.section {
  padding: 82px 0;
}

.intro-section,
.qr-section {
  background: var(--light);
}

.split,
.risk-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

p {
  margin-top: 0;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* SERVICES */

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

.service-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.45rem;
}

.service-card p {
  color: var(--muted);
}

.service-card ul,
.credential-box ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.credential-box li {
  position: relative;
  padding-left: 24px;
  margin: 11px 0;
}

.service-card li::before,
.credential-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* RISK SECTION */

.risk-section {
  background: var(--navy);
  color: var(--white);
}

.risk-section h2 {
  color: var(--white);
}

.risk-section p {
  color: rgba(255, 255, 255, 0.82);
}

.risk-list {
  display: grid;
  gap: 14px;
}

.risk-list div {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  border-left: 4px solid var(--orange);
  font-weight: 700;
}

/* CREDENTIALS */

.credential-box {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}

/* QR + CONTACT */

.qr-card,
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--orange);
}

.qr-card p,
.contact-card p {
  max-width: 760px;
  color: var(--muted);
}

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

.contact-details {
  min-width: 270px;
  padding: 24px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
}

.contact-details p {
  margin: 0 0 10px;
  color: var(--white);
}

.contact-details a:hover {
  color: var(--orange);
}

/* FOOTER */

.site-footer {
  padding: 28px 0;
  background: var(--deep-blue);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid div {
  display: flex;
  gap: 18px;
}

.footer-grid a:hover {
  color: var(--orange);
}

/* MOBILE */

@media (max-width: 1100px) {
  .brand img {
    width: 310px;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 0;
  }

  .login-link {
    text-align: center;
  }

  .hero-grid,
  .split,
  .risk-grid,
  .qr-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

  .hero,
  .hero.page-hero {
    padding: 48px 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 235px;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .site-nav {
    top: 74px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .section {
    padding: 58px 0;
  }

  .hero-card,
  .service-card,
  .credential-box,
  .qr-card,
  .contact-card {
    padding: 24px;
  }

  .hero-stat strong {
    font-size: 4rem;
  }

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

  .footer-grid div {
    flex-direction: column;
    gap: 8px;
  }
}
/* ENQUIRY FORM */

.enquiry-form {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(242, 140, 27, 0.22);
  border-color: var(--orange);
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

  .enquiry-form {
    padding: 24px;
  }
}
.hero-card .machine-tags {
  margin-bottom: 24px;
}
/* Improve spacing between headings and supporting text */

h2 + p,
.hero h1 + .hero-text,
.page-hero h1 + .hero-text {
  margin-top: 28px;
}

.contact-card h2 + p,
.qr-card h2 + p,
.split h2 + p,
.section-heading h2 + p {
  margin-top: 22px;
}

.risk-section h2 + p {
  margin-top: 24px;
}

@media (max-width: 620px) {
  h2 + p,
  .hero h1 + .hero-text,
  .page-hero h1 + .hero-text {
    margin-top: 20px;
  }

  .contact-card h2 + p,
  .qr-card h2 + p,
  .split h2 + p,
  .section-heading h2 + p,
  .risk-section h2 + p {
    margin-top: 18px;
  }
}