* {
  box-sizing: border-box;
  word-break: break-word;
}

:root {
  --header-offset: 85px;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

body {
  padding: 0;
  margin: 0;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #4d4d4c;
  background: #ffffff;
  overflow-x: hidden;
}

button,
input,
textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
}

.container,
.page {
  max-width: 960px;
  margin: auto;
  padding: 0 20px;
  width: 100%;
}

header .page {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header {
  padding: 20px 0;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e5e7eb;
}

#logo {
  display: block;
}

.nav-menu {
  display: flex;
  gap: 24px;
}

a {
  color: #69c8bd;
  text-decoration: none;
}

a:hover {
  color: #68c0b2;
}

.nav-menu a {
  color: #073763;
  text-decoration: none;
  font-weight: 600;
}

.nav-menu a:hover {
  color: #68c0b2;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #073763;
  border-radius: 999px;
}

/* Hero */

.hero {
  padding: 90px 0;
  background: #073763;
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

.hero h1 {
  margin: 20px 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 650px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #69c8bd;
  color: #073763;
  border: 0;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
}

.btn-primary:hover {
  background: #7ad5ca;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
  border-color: #69c8bd;
  color: #69c8bd;
  transform: translateY(-2px);
}

.hero-card {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.partner-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 26px;
}

.partner-row img {
  width: 120px;
  border-radius: 16px;
}

.partner-row strong {
  font-size: 24px;
  line-height: 1.2;
  color: #ffffff;
}

.architecture {
  display: grid;
  gap: 14px;
}

.node {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
}

.node strong {
  display: block;
  color: #ffffff;
}

.node span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

.arrow {
  text-align: center;
  color: #69c8bd;
  font-size: 24px;
  font-weight: 900;
}

/* Clients */

.client-strip {
  background: #ffffff;
  padding: 36px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.client-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 60px;
  align-items: center;
}

.client-inner strong {
  color: #073763;
  font-size: 15px;
  line-height: 1.4;
}

.client-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  justify-self: center;
  filter: grayscale(100%);
  opacity: 0.85;
}

.logo-veolia {
  max-width: 150px;
}

.logo-portsmouth {
  max-width: 145px;
}

.logo-forestry {
  max-width: 200px;
}

/* Shared Sections */

#services,
#process,
#faq,
.trust-section,
.contact {
  padding: 90px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 38px;
}

.section-head h2 {
  max-width: 650px;
  margin: 0;
  color: #073763;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 360px;
  margin: 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.6;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 28px;
  border: 1px solid #dbe7ee;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 32px rgba(7,55,99,0.05);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(7,55,99,0.14);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(105,200,189,0.18);
  color: #073763;
  font-size: 22px;
}

.card h3 {
  margin: 0 0 12px;
  color: #073763;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.card p {
  margin: 0;
  color: #64748b;
  font-size: 15.5px;
  line-height: 1.6;
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.process-step {
  counter-increment: step;
  padding: 28px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #dbe7ee;
}

.process-step::before {
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: #073763;
  color: #69c8bd;
  font-weight: 900;
}

.process-step h3 {
  margin: 0 0 10px;
  color: #073763;
  font-size: 20px;
}

.process-step p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

/* About */

.about {
  background: #ffffff;
  padding: 90px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.portrait-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #446bb2;
  padding-top: 30px;
  box-shadow: 0 24px 60px rgba(31, 68, 138, 0.18);
}

.portrait {
  width: 100%;
  display: block;
}

.cloudv-icon {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 78px;
  height: 78px;
  padding: 12px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
}

.about-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(105, 200, 189, 0.16);
  color: #073763;
  font-weight: 700;
  font-size: 14px;
}

.about-copy h2 {
  margin: 0 0 24px;
  color: #073763;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-copy p {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 18px;
  line-height: 1.7;
}

/* Certifications */

.trust-section {
  background: #ffffff;
}

.trust-section .page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-section h2 {
  text-align: center;
  color: #073763;
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 40px;
}

.trust-items {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-item img {
  height: 110px;
  width: auto;
  transition: transform 0.2s ease;
}

.trust-item img:hover {
  transform: translateY(-4px);
}

/* FAQ */

#faq {
  background: #f7fbfc;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.faq-intro h2 {
  margin: 0 0 16px;
  color: #073763;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.faq-intro p {
  margin: 0;
  color: #64748b;
  font-size: 17px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 22px 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #dbe7ee;
}

summary {
  cursor: pointer;
  list-style: none;
  color: #073763;
  font-weight: 800;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 12px 0 0;
  color: #64748b;
  line-height: 1.6;
}

/* Contact */

.contact {
  background: #1f448a;
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact h2 {
  margin: 0 0 24px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.contact-copy p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  line-height: 1.7;
}

.contact-details {
  margin-top: 32px;
}

.contact-details p {
  margin: 8px 0;
}

.contact .about-label {
  background: rgba(105, 200, 189, 0.16);
  color: #ffffff;
}

.contact-form {
  padding: 32px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #ffffff;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #69c8bd;
}

.contact-form .btn {
  cursor: pointer;
}

.form-message {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.form-success {
  background: rgba(105, 200, 189, 0.18);
  border: 1px solid rgba(105, 200, 189, 0.45);
  color: #ffffff;
}

.form-error {
  background: rgba(242, 141, 50, 0.18);
  border: 1px solid rgba(242, 141, 50, 0.45);
  color: #ffffff;
}

.contact-details a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-details a:hover {
  color: #69c8bd;
}

/* Footer */

.footer {
  background: #073763;
  color: #ffffff;
}

.footer-content {
  padding: 70px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.footer-brand {
  max-width: 560px;
}

.footer-brand img {
  display: block;
  margin-bottom: 24px;
}

.footer-copy {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.8;
}

.footer-contact {
  text-align: right;
}

.footer-contact h3 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #ffffff;
}

.footer-contact p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.75);
}

.footer-email {
  display: block;
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 700;
  color: #69c8bd;
  text-decoration: none;
}

.footer-email:hover {
  color: #ffffff;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #69c8bd;
  color: #073763;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 22px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}

/* Mobile */

@media (max-width: 768px) {
  header .page {
    position: relative;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
  }

  header.open .nav-menu {
    display: flex;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-grid,
  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 18px;
  }

  .partner-row {
    grid-template-columns: 1fr;
  }

  .client-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .client-logo {
    justify-self: center;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  #services,
  #process,
  #faq,
  .trust-section,
  .contact,
  .about {
    padding: 60px 0;
  }

  .about-grid {
    gap: 36px;
  }

  .cloudv-icon {
    width: 62px;
    height: 62px;
    right: 16px;
    bottom: 16px;
  }

  .about-copy h2 {
    font-size: 40px;
  }

  .about-copy p {
    font-size: 16px;
  }

  .trust-section h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .trust-items {
    gap: 20px;
  }

  .trust-item img {
    height: 80px;
  }

  .contact-form {
    padding: 24px;
  }

.footer-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 50px 20px;
}

.footer-contact {
  text-align: left;
}

.footer-bottom {
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
}