:root {
  --navy: #152238;
  --navy-dark: #0a1220;
  --navy-mid: #1e3354;
  --orange: #f58220;
  --orange-hover: #e07010;
  --orange-soft: #fff7ed;
  --sky: #38bdf8;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: rgba(21, 34, 56, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(21, 34, 56, 0.06);
  --shadow-md: 0 12px 40px rgba(21, 34, 56, 0.1);
  --shadow-lg: 0 24px 60px rgba(21, 34, 56, 0.14);
  --header-h: 76px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: min(240px, 58vw);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
  background: var(--orange-soft);
}

.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  margin-left: 0.5rem;
}

.nav-cta:hover,
.nav-cta.active {
  background: var(--navy-mid) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

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

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

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

/* ── Typography helpers ── */
.eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.eyebrow-light {
  color: #93c5fd;
}

.text-gradient {
  background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.0625rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(245, 130, 32, 0.35);
}

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

.btn-ghost {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: rgba(21, 34, 56, 0.2);
  box-shadow: var(--shadow-sm);
}

.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: visible;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(56, 189, 248, 0.12), transparent),
    radial-gradient(ellipse 55% 45% at 5% 85%, rgba(245, 130, 32, 0.1), transparent),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
}

.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.hero-pills img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.hero-media {
  position: relative;
  overflow: visible;
}

.hero-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Floating trust badges — highlight key selling points on the hero image */
.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 210px;
  padding: 0.9rem 1.05rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 4px 6px rgba(21, 34, 56, 0.04),
    0 16px 32px rgba(21, 34, 56, 0.12);
  animation: hero-float-drift 5s ease-in-out infinite;
}

.hero-float--bottom {
  animation-delay: -2.5s;
}

@keyframes hero-float-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-float-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-float-icon--live {
  background: #dcfce7;
  color: #15803d;
}

.hero-float-icon--gst {
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 1rem;
}

.hero-float strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--navy);
  margin-bottom: 0.1rem;
  letter-spacing: -0.01em;
}

.hero-float span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.hero-float--top {
  top: 6%;
  left: -4%;
}

.hero-float--bottom {
  bottom: 8%;
  right: -2%;
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--navy);
  color: #fff;
  padding: 1.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.stat span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Services ── */
.services {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.service-card {
  grid-column: span 2;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.service-card--wide {
  grid-column: span 3;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.service-card--wide .service-icon {
  margin-bottom: 0;
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── About ── */
.about {
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy h2 {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.about-tagline {
  font-weight: 600;
  color: var(--orange);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  padding-left: 1.75rem;
  position: relative;
  font-weight: 500;
  color: var(--text);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.about-panel {
  display: grid;
  gap: 1rem;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.about-card-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.about-card--muted {
  background: var(--orange-soft);
  border-color: rgba(245, 130, 32, 0.15);
}

.about-card-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.about-card--muted ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.about-card--muted li {
  font-weight: 500;
  color: var(--navy);
  padding-left: 1rem;
  position: relative;
}

.about-card--muted li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ── Contact ── */
.contact {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: #fff;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.contact-intro > p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2rem;
  max-width: 28rem;
}

.contact-details {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.3rem;
}

.contact-details a {
  color: #fff;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  transition: color 0.2s;
}

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

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 0.25rem;
  color: var(--text);
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font: inherit;
  resize: vertical;
  width: 100%;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
  background: #fff;
}

.field-error {
  color: #dc2626;
  font-size: 0.8125rem;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.alert a {
  color: inherit;
  font-weight: 600;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ── Footer ── */
.site-footer {
  background: linear-gradient(180deg, var(--navy-dark) 0%, #060b14 100%);
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-block {
  flex: 1 1 280px;
  max-width: 420px;
}

.footer-brand-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 0.85rem;
}

.footer-logo {
  height: 58px;
  width: auto;
  max-width: min(320px, 100%);
  display: block;
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 24rem;
  margin: 0;
  padding-left: 0.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding-top: 0.35rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem;
  font-size: 0.875rem;
}

.back-top {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.back-top:hover {
  text-decoration: underline;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: 0.12s;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card,
  .service-card--wide {
    grid-column: span 1;
  }

  .service-card--wide {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .about-inner,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    max-width: 540px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-float--top {
    left: 0;
    top: 4%;
  }

  .hero-float--bottom {
    right: 0;
    bottom: 4%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

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

  .nav-link {
    padding: 0.75rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .brand-logo {
    height: 44px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 1.75rem;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .footer-logo {
    height: 52px;
  }
}

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

  .hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .hero-float {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-float {
    animation: none;
  }
}
