:root {
  --navy: #0c3d6e;
  --navy-dark: #082847;
  --navy-light: #1a5a96;
  --black: #0a0a0c;
  --white: #ffffff;
  --red: #d71920;
  --red-dark: #b01218;
  --text-muted: #c8d4e0;
  --highlight: #4da3e8;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--black);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo-image {
  height: 56px;
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
  margin: 0 0 0.5rem;
}

.section-head {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--navy-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  background: var(--white);
  color: var(--black);
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 1.25rem 1rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--navy-dark);
}

.hero h1 span {
  color: var(--black);
  display: block;
  font-size: 0.85em;
}

.hero-lead {
  margin: 1rem 0 1.5rem;
  max-width: 28ch;
  color: #333;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.hero-media {
  position: relative;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  min-height: 280px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.hero-banner {
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  text-align: center;
}

.hero-banner p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.banner-accent {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.banner-accent::before,
.banner-accent::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--red);
}

.banner-accent::after {
  width: 20px;
}

/* About + services */
.about-section {
  padding: 3.5rem 1.25rem 4rem;
  background: linear-gradient(180deg, var(--black) 0%, #111318 100%);
}

.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  gap: 2.5rem;
  align-items: start;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white);
}

.about-content p {
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 52ch;
}

.brand-highlight {
  color: var(--highlight);
  font-weight: 700;
}

.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.services-card {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 5.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.services-card h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #e8ecf0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Values */
.values-section {
  padding: 3rem 1.25rem 4rem;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.values-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.values-grid li {
  text-align: center;
  padding: 1.5rem 1rem;
  transition: transform 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .values-grid li.reveal-card.is-visible:hover {
    transform: translateY(-4px);
  }
}

.value-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  color: var(--navy-light);
  margin-bottom: 1rem;
}

.value-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.values-grid h3 {
  font-size: 1.25rem;
  color: var(--white);
}

.values-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 28ch;
  margin-inline: auto;
}

/* Testimonials */
.testimonials-section {
  padding: 3.5rem 1.25rem;
  background: linear-gradient(180deg, #111318 0%, var(--navy-dark) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonials-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  margin: 0;
  padding: 1.5rem 1.35rem;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--red);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-card {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.35s ease;
  }

  .reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-card.is-visible:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-card {
    opacity: 1;
    transform: none;
  }
}

.testimonial-card p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.stars {
  color: var(--red);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-meta {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.2rem;
}

/* Contact form */
.contact-section {
  padding: 3.5rem 1.25rem 4rem;
  background: var(--white);
  color: var(--black);
}

.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy-dark);
}

.contact-intro .section-eyebrow {
  color: var(--navy);
}

.contact-intro > p {
  color: #444;
  margin: 0 0 1.5rem;
  max-width: 42ch;
}

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-quick a {
  font-weight: 700;
  color: var(--navy);
}

.contact-quick a:hover,
.contact-quick a:focus-visible {
  color: var(--red);
}

.contact-form {
  background: #f4f6f8;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid #e2e8ee;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .contact-form.reveal-card.is-visible:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(12, 61, 110, 0.12);
  }
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-dark);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c5d0db;
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(12, 61, 110, 0.15);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-block {
  width: 100%;
  margin-top: 0.25rem;
  cursor: pointer;
  border: none;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #555;
  min-height: 1.25em;
}

.form-note.is-success {
  color: #0d6b3a;
  font-weight: 600;
}

.form-note.is-error {
  color: var(--red-dark);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 200px;
}

.footer-contact {
  padding: 2.5rem 1.25rem 2rem;
  max-width: calc(var(--max-width) / 2 + 2rem);
  margin-left: auto;
  width: 100%;
}

.footer-contact h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.contact-list li {
  margin-bottom: 0.75rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  opacity: 0.85;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.footer-trust {
  background: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.pin-icon {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
  margin-bottom: 0.75rem;
}

.footer-trust p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 1rem 1rem;
  margin: 0;
  background: var(--black);
}

.footer-design {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 1rem 1rem 0.35rem;
  margin: 0;
  background: var(--black);
  letter-spacing: 0.02em;
}

.footer-design strong {
  color: var(--white);
  font-weight: 600;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 64px;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    clip-path: none;
    border-radius: var(--radius);
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-card {
    position: static;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row-split {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-trust {
    clip-path: none;
  }

  .footer-contact {
    margin-left: 0;
    max-width: none;
  }
}

@media (min-width: 900px) {
  .header-inner {
    padding: 1rem 2rem;
  }

  .hero-grid {
    padding: 2.5rem 2rem 1.25rem;
  }

  .about-section,
  .values-section,
  .testimonials-section,
  .contact-section {
    padding-inline: 2rem;
  }
}
