@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("../fonts/neue-haas-grotesk-display-pro-cdnfonts/NeueHaasDisplayRoman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("../fonts/neue-haas-grotesk-display-pro-cdnfonts/NeueHaasDisplayMediu.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("../fonts/neue-haas-grotesk-display-pro-cdnfonts/NeueHaasDisplayBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quire Sans Pro";
  src: url("../fonts/quire-sans/QuireSans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quire Sans Pro";
  src: url("../fonts/quire-sans/QuireSansSemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quire Sans Pro";
  src: url("../fonts/quire-sans/QuireSansBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #132D4A;
  --accent: #137A53;
  --accent-light: #6b9891;
  --accent-lighter: #9bb0ae;
  --secondary: #335160;
  --brand-neutral: #6c7688;
  --bg: #fdfefe;
  --text: #141922;
  --text-light: #4f6a6e;
  --border: #c8d4df;
  --surface: #E2EBF5;
  --spacing-1: 8px;
  --spacing-2: 16px;
  --spacing-3: 24px;
  --spacing-4: 32px;
  --spacing-6: 48px;
  --spacing-8: 64px;
  --spacing-10: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Neue Haas Grotesk Display Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - var(--spacing-4)));
  margin: 0 auto;
}

.section {
  padding: var(--spacing-10) 0;
}

.section-surface {
  background: var(--surface);
}

.mt-1 {
  margin-top: var(--spacing-2);
}

.mb-1 {
  margin-bottom: var(--spacing-2);
}

.hidden {
  display: none;
}

.section-title {
  margin: 0 0 var(--spacing-4);
  font-size: 2rem;
  line-height: 1.2;
  font-family: "Quire Sans Pro", "Neue Haas Grotesk Display Pro", sans-serif;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2) var(--spacing-3);
  border-radius: var(--spacing-1);
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.btn-small {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.2;
  border-radius: 0.6rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(20, 25, 34, 0.22);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(19, 122, 83, 0.3);
}

.btn-secondary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  transform: translateY(-2px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary);
  font-weight: 700;
}

.logo-wordmark {
  height: 72px;
  width: auto;
  display: block;
}

.logo-mark {
  height: 28px;
  width: auto;
  display: block;
}

.menu-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.45rem 0.65rem;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 104px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: none;
}

.nav-links.open {
  display: block;
}

.nav-links a {
  display: block;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-links a:hover {
  background-color: var(--surface);
  color: var(--accent);
}

.nav-links .nav-cta {
  margin: 10px 12px;
  width: calc(100% - 24px);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  color: #fff;
}

.hero-bg {
  background-image:
    linear-gradient(to right, #132D4A 0%, #132D4A 50%, #137A53 50%, #137A53 100%),
    url("../img/assets/hero/hero-main.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.hero .container {
  background: transparent;
  border: none;
  padding: var(--spacing-6) var(--spacing-4);
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
}

.hero-logo {
  display: none;
}

.hero p {
  margin: 0 0 1.5rem;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn-primary {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  font-weight: 700;
}

.hero-actions .btn-primary:hover {
  background: #f2f7ff;
  color: var(--primary);
  opacity: 1;
  transform: translateY(-2px);
}

.hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-actions .btn-secondary:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.hero-points {
  display: none;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2);
}

.card {
  border: none;
  border-radius: var(--spacing-1);
  padding: var(--spacing-2);
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 25, 34, 0.06);
  transition: 0.25s ease;
  overflow: hidden;
}

.card h3 {
  margin-top: 0;
  color: var(--primary);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.service-card-header h3 {
  margin: 0;
  line-height: 1.2;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: none;
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(19, 122, 83, 0.25);
}

.service-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(19, 122, 83, 0.15);
  transform: translateY(-4px);
  background: #fff;
}

.about-grid,
.contact-grid,
.footer-grid,
.page-hero {
  display: grid;
  gap: var(--spacing-4);
}

.about-image,
.placeholder-image {
  min-height: 320px;
  aspect-ratio: 4 / 3;
  border-radius: var(--spacing-1);
  background-image: linear-gradient(rgba(28, 46, 70, 0.2), rgba(28, 46, 70, 0.15)), url("../img/assets/hero/about-main.png");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

.service-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  border: none;
}

.service-card-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-6);
  align-items: center;
  margin-bottom: var(--spacing-8);
  padding: var(--spacing-4);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  transition: 0.25s ease;
}

.service-card-full:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(19, 122, 83, 0.1);
  transform: translateY(-2px);
}

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

.service-card-full.reverse .service-photo {
  order: 2;
}

.service-card-full.reverse > div:first-child {
  order: 1;
}

.service-card-full h2 {
  color: var(--primary);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.service-card-full h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 99px;
}

.contact-inline-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 8px;
  opacity: 0.85;
}

.contact-grid aside.form-card p {
  display: flex;
  align-items: center;
  margin: 0 0 10px;
}

.usp-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-2) 0 0;
}

.usp-list li {
  margin-bottom: var(--spacing-1);
}

.usp-list li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--spacing-1);
  padding: var(--spacing-3);
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 25, 34, 0.05);
}

.field {
  display: grid;
  gap: var(--spacing-1);
  margin-bottom: var(--spacing-2);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--spacing-1);
  padding: var(--spacing-2);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.map-frame {
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: 0.75rem;
  background: #f1f5f9;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--spacing-1);
  margin-bottom: var(--spacing-4);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: var(--spacing-3) var(--spacing-3);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-trigger::after {
  content: "+";
  position: absolute;
  right: var(--spacing-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 700;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 var(--spacing-3);
}

.faq-item[open] .faq-panel {
  padding: var(--spacing-3) var(--spacing-3);
}

.faq-panel p {
  margin: var(--spacing-2) 0 var(--spacing-2);
}

.site-footer {
  background: var(--primary);
  color: #e2e8f0;
  padding: var(--spacing-8) 0 var(--spacing-4);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-3);
}

.footer-brand .logo-mark {
  height: 64px;
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
}

.footer-col-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #ffffff;
}

.footer-col:first-child > p:not(.footer-note) {
  margin: 0 0 1.2rem;
  max-width: 50ch;
  line-height: 1.7;
  font-size: 0.95rem;
  color: #f0f5ff;
  letter-spacing: 0.3px;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-list a {
  color: #e6eef8;
}

.footer-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-note {
  margin-top: 0.15rem;
  line-height: 1.4;
  color: #c7d6ea;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-4);
  margin-top: var(--spacing-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #f0f5ff;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.footer-bottom a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: var(--spacing-2);
  right: var(--spacing-2);
  bottom: var(--spacing-2);
  background: #111827;
  color: #f9fafb;
  padding: var(--spacing-2);
  border-radius: var(--spacing-1);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-2);
  z-index: 200;
}

.cookie-banner.show {
  display: flex;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  min-height: 25vh;
  align-content: center;
  background: var(--surface);
  border-bottom: none;
  padding: var(--spacing-6) 0;
}

.page-hero h1 {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.page-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--accent);
  border-radius: 99px;
}

.breadcrumb {
  color: var(--text-light);
  font-size: 0.95rem;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.category-nav a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.legal {
  max-width: 75ch;
}

@media (max-width: 767px) {
  .nav-wrap {
    min-height: 88px;
  }

  .nav-links {
    top: 88px;
  }

  .logo-wordmark {
    height: 58px;
  }

  .hero .container {
    padding: var(--spacing-3);
    max-width: 100%;
  }

  .hero-logo {
    width: 60px;
    height: 60px;
  }

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

  .hero-points {
    margin-top: var(--spacing-2);
  }

  .about-image,
  .placeholder-image {
    min-height: 240px;
    aspect-ratio: auto;
  }

  .service-card-full {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }

  .service-card-full.reverse .service-photo {
    order: 1;
  }

  .service-card-full.reverse > div:first-child {
    order: 2;
  }
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    border: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .nav-links a {
    border: 0;
    padding: 0.35rem 0.65rem;
  }

  .nav-links .nav-cta {
    margin: 0 0 0 10px;
    width: auto;
    padding: 0.55rem 0.95rem;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

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

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    column-gap: var(--spacing-8);
    align-items: start;
  }

  .footer-col-title {
    margin-top: 0;
  }

  .logo-wordmark {
    height: 82px;
  }
}

@media (min-width: 1200px) {
  .cards.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media print {
  .site-header,
  .cookie-banner,
  .menu-toggle,
  .hero-actions,
  .btn {
    display: none !important;
  }

  .section {
    padding: 1.4rem 0;
  }
}
