/* Responsibilities: shared layout and component styles. Load order: 2 of 5, after tokens.css. */

@import url("tokens.css");

/* --- Header and navigation --- */

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--navy);
  color: var(--white);
}
.site-header--dark {
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.site-header .brand img {
  width: 144px;
  height: 44px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: var(--type-sm);
}
.nav-links a {
  text-decoration: none;
}
.nav-links a:not(.button):hover {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}
.language {
  display: flex;
  gap: 0.45rem;
  font-size: var(--type-xs);
  white-space: nowrap;
}
.language a {
  opacity: 0.65;
  text-decoration: none;
}
.language a[aria-current="true"] {
  opacity: 1;
  font-weight: 700;
}
.menu-toggle {
  display: none;
  border: 0;
  padding: 0.6rem;
  color: inherit;
  background: transparent;
  font-weight: 700;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--type-sm);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform var(--duration-fast) var(--ease),
    background var(--duration-fast) var(--ease);
}
.button:hover {
  transform: translateY(-2px);
}
.button--primary {
  background: var(--yellow);
  color: var(--navy);
}
.button--secondary {
  border-color: currentColor;
  color: inherit;
}
.button--secondary:hover {
  background: rgba(22, 38, 66, 0.06);
}
.section--navy .button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}
/* --- Hero and content layouts --- */

.hero {
  padding-block: clamp(4rem, 8vw, 8rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.hero-copy {
  max-width: 650px;
}
.hero-copy h1 {
  margin-bottom: var(--space-3);
}
.hero-copy p {
  max-width: 560px;
  margin-bottom: var(--space-4);
  font-size: var(--type-lg);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-image {
  height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.25) saturate(1.12);
}
.navy-hero {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  padding-block: clamp(72px, 10vw, 128px) clamp(56px, 7vw, 96px);
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--navy);
}
.navy-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(22, 38, 66, 0.96) 0%,
    rgba(22, 38, 66, 0.78) 45%,
    rgba(22, 38, 66, 0.42) 100%
  );
}
.navy-hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}
.navy-hero p {
  color: var(--navy-muted);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(22, 38, 66, 0.02);
  transition:
    transform var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-card p {
  margin-bottom: 0;
  font-size: var(--type-sm);
}
.card-arrow {
  margin-top: var(--space-3);
  font-weight: 700;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  counter-reset: step;
}
.step {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: var(--space-3);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 2rem;
  color: var(--yellow);
  font-weight: 700;
  font-size: var(--type-sm);
  letter-spacing: 0.12em;
}
.section:not(.section--navy) .step::before {
  color: var(--navy);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding: 0;
  list-style: none;
}
.trust-list li {
  padding-left: 1rem;
  border-left: 2px solid var(--yellow);
}
.trust-list strong {
  display: block;
  margin-bottom: 0.35rem;
}
.trust-list span {
  color: var(--muted);
  font-size: var(--type-sm);
}
.section--navy .trust-list span {
  color: var(--navy-muted);
}
.cta-block {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
}
.cta-block h2 {
  max-width: 700px;
  margin: 0;
}
/* --- Footer and page details --- */

.footer {
  padding-block: var(--space-5);
  background: var(--footer);
  color: var(--white);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: start;
}
.footer p,
.footer a {
  color: var(--footer-muted);
  font-size: var(--type-sm);
}
.footer a {
  text-underline-offset: 0.25em;
}
.breadcrumb {
  padding-top: 1.5rem;
  font-size: var(--type-sm);
  color: var(--muted);
}
.breadcrumb a {
  text-underline-offset: 0.25em;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
}
.image-panel img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.section--navy .image-panel {
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.check-list,
.scope-list {
  padding: 0;
  list-style: none;
}
.check-list li,
.scope-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.check-list li::before {
  content: "—";
  margin-right: 0.65rem;
  font-weight: 700;
}
.scope-list li::before {
  content: "·";
  margin-right: 0.65rem;
  font-weight: 700;
}
/* --- FAQ and form controls --- */

.faq {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
details p {
  max-width: 750px;
  padding-top: 0.8rem;
  margin-bottom: 0;
}
.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 700px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: grid;
  gap: 0.4rem;
  font-size: var(--type-sm);
  font-weight: 650;
}
input,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--white);
}
textarea {
  min-height: 130px;
  resize: vertical;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
@media (max-width: 1300px) {
  .container {
    width: min(calc(100% - 2rem), 1160px);
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-3) 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: inherit;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links .button {
    width: 100%;
  }
  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .hero-image {
    height: 280px;
  }
  .navy-hero {
    min-height: 560px;
  }
  .card-grid,
  .steps,
  .trust-list {
    grid-template-columns: 1fr;
  }
  .cta-block,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
