@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Oswald:wght@500;600;700&display=swap');

:root {
  --midnight: #14252b;
  --petrol: #1e4149;
  --foam: #e4f1ed;
  --lime: #c7ed63;
  --paper: #f8f9f5;
  --white: #ffffff;
  --text: #233239;
  --text-muted: #506168;
  --line: #d7e1dd;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(20, 37, 43, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--lime);
  color: var(--lime);
}

.logo-mark svg {
  width: 23px;
  height: 23px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a {
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--lime);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, .6);
  background: transparent;
  color: var(--white);
  width: 44px;
  height: 42px;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--midnight) url('images/hero.jpg') center 53% / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 28, 34, .91) 0%, rgba(12, 28, 34, .68) 48%, rgba(12, 28, 34, .24) 100%);
}

.hero-content {
  position: relative;
  padding-top: 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.section-heading,
.split-copy h2,
.contact-copy h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 20px;
  font-size: clamp(48px, 7.4vw, 88px);
  letter-spacing: -.025em;
}

.hero p {
  max-width: 560px;
  margin: 0 0 32px;
  color: #e0eae7;
  font-size: 18px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 0;
  background: var(--lime);
  color: var(--midnight);
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #d6f58d;
}

.button svg {
  width: 18px;
  height: 18px;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 720px;
  margin: 14px 0 18px;
  color: var(--midnight);
  font-size: clamp(36px, 5vw, 58px);
}

.section-intro {
  max-width: 650px;
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

.services-section {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.service-card {
  min-height: 255px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 28px;
  background: var(--foam);
  color: var(--petrol);
}

.service-icon svg {
  width: 27px;
  height: 27px;
}

.service-card h3,
.benefit h3,
.info-copy h3,
.testimonial h3,
.blog-card h3,
.faq-question {
  margin: 0;
  color: var(--midnight);
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}

.service-card p {
  margin: 11px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.split-section {
  padding: 0;
  background: var(--petrol);
  color: var(--white);
}

.split-grid {
  display: grid;
  min-height: 610px;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.split-image {
  min-height: 520px;
  background: var(--midnight) url('images/split.jpg') center / cover no-repeat;
}

.split-copy {
  align-self: center;
  padding: 75px clamp(34px, 6vw, 90px);
}

.split-copy h2 {
  margin: 14px 0 22px;
  color: var(--white);
  font-size: clamp(36px, 4.3vw, 54px);
}

.split-copy p {
  color: #d7e5e1;
  margin: 0 0 16px;
}

.split-copy .button {
  margin-top: 16px;
}

.benefits-section {
  background: var(--foam);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.benefit {
  padding: 25px 22px;
  border-left: 2px solid var(--petrol);
}

.benefit-number {
  display: block;
  margin-bottom: 15px;
  color: var(--petrol);
  font-family: 'Oswald', sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}

.benefit p {
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.info-section {
  background: var(--paper);
}

.info-copy {
  max-width: 850px;
  margin-top: 42px;
}

.info-copy h3 {
  margin: 30px 0 10px;
  font-size: 24px;
}

.info-copy p,
.info-copy li {
  color: var(--text-muted);
}

.info-copy ul {
  padding-left: 22px;
}

.info-copy li {
  margin: 7px 0;
  padding-left: 5px;
}

.testimonials-section {
  background: var(--midnight);
}

.testimonials-section .section-heading {
  color: var(--white);
}

.testimonials-section .section-intro {
  color: #c4d2ce;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.testimonial {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 28px;
  background: #20353b;
  color: var(--white);
}

.quote-mark {
  color: var(--lime);
  font-family: 'Oswald', sans-serif;
  font-size: 46px;
  line-height: .8;
}

.testimonial p {
  flex: 1;
  margin: 16px 0 24px;
  color: #e0e9e6;
  font-size: 15px;
}

.testimonial h3 {
  color: var(--white);
  font-size: 18px;
}

.testimonial time {
  color: #b9cbc5;
  font-size: 12px;
}

.blog-section {
  background: var(--paper);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.blog-card img {
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
}

.blog-card-copy {
  padding: 24px;
}

.blog-card h3 {
  margin: 10px 0;
  font-size: 23px;
}

.blog-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.blog-card .card-label {
  color: var(--petrol);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.read-more {
  color: var(--petrol);
  font-weight: 700;
  font-size: 14px;
}

.read-more:hover {
  color: #628b28;
}

.faq-section {
  background: var(--foam);
}

.faq-list {
  max-width: 900px;
  margin-top: 42px;
}

.faq-item {
  border-top: 1px solid #c3d4cd;
}

.faq-item:last-child {
  border-bottom: 1px solid #c3d4cd;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  max-width: 760px;
  padding: 0 30px 20px 0;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  display: block;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  margin-top: 42px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--midnight);
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: var(--white);
  color: var(--text);
}

.form-field textarea {
  min-height: 125px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(30, 65, 73, .1);
}

.contact-form .button {
  justify-self: start;
}

.form-success {
  display: none;
  grid-column: 1 / -1;
  padding: 14px 16px;
  background: var(--foam);
  color: var(--midnight);
  font-weight: 600;
}

.form-success.visible {
  display: block;
}

.contact-details {
  padding: 30px;
  background: var(--midnight);
  color: var(--white);
}

.contact-details h3 {
  margin: 0 0 22px;
  font-family: 'Oswald', sans-serif;
  font-size: 25px;
  text-transform: uppercase;
}

.detail-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 13px;
  margin: 18px 0;
  color: #e1ebe7;
}

.detail-row svg {
  width: 19px;
  height: 19px;
  color: var(--lime);
  margin-top: 3px;
}

.detail-row strong {
  display: block;
  color: var(--white);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.detail-row span,
.detail-row a {
  font-size: 14px;
}

.site-footer {
  padding: 55px 0 0;
  background: #0d1b20;
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  padding-bottom: 42px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 390px;
  margin: 0 0 12px;
  color: #c1d0cb;
  font-size: 14px;
}

.footer-brand > a:last-child {
  color: var(--lime);
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: #c1d0cb;
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: none;
  max-width: 850px;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 16px 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 13px;
}

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

.cookie-banner span {
  flex: 1;
}

.cookie-banner a {
  color: var(--petrol);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner button {
  padding: 9px 14px;
  border: 1px solid var(--petrol);
  background: var(--white);
  color: var(--petrol);
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner #cookie-accept {
  background: var(--petrol);
  color: var(--white);
}

@media (max-width: 900px) {
  .service-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split-copy {
    padding: 55px 34px;
  }

  .contact-grid {
    gap: 34px;
  }

  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 36px, 1160px);
  }

  .header-inner {
    min-height: 74px;
  }

  .logo {
    font-size: 18px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px;
    background: var(--midnight);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 660px;
    background-position: 60% center;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 65px);
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .service-grid,
  .benefit-grid,
  .testimonial-grid,
  .blog-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

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

  .split-image {
    min-height: 330px;
  }

  .split-copy {
    padding: 55px 24px 65px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .cookie-banner {
    flex-wrap: wrap;
    right: 12px;
    bottom: 12px;
    left: 12px;
    gap: 10px;
  }

  .cookie-banner span {
    flex-basis: 100%;
  }

  .cookie-banner button {
    flex: 1;
  }
}