:root {
  --color-bg-main: #0a0a0a;
  --color-bg-alt: #111111;
  --color-text-primary: #ffffff;
  --color-text-secondary: #a1a1aa;
  --color-accent: #36B54B;
  --section-spacing: 120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(3rem, 10vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 5vw, 3.7rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

p,
li,
figcaption {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  font-weight: 400;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.container {
  width: 90%;
  max-width: 1480px;
  margin: 0 auto;
}

.utility-bar {
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 5%;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-actions .btn-beam {
  padding: 0.7rem 1.2rem;
  font-size: 0.72rem;
}

.brand img {
  width: 220px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(54, 181, 75, 0.45);
  border-radius: 999px;
  background: rgba(6, 12, 8, 0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.menu-toggle span {
  position: absolute;
  width: 17px;
  height: 2px;
  background: #36B54B;
  border-radius: 999px;
  transition: transform 0.28s ease, opacity 0.22s ease, box-shadow 0.25s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-5px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(5px);
}

.menu-toggle::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(54, 181, 75, 0.24);
  border-radius: 999px;
  opacity: 0;
}

.menu-toggle.is-active {
  border-color: rgba(54, 181, 75, 0.88);
  box-shadow: 0 0 0 2px rgba(54, 181, 75, 0.12);
}

.menu-toggle.is-active span {
  box-shadow: 0 0 10px rgba(54, 181, 75, 0.65);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg);
}

.menu-toggle.is-active::after {
  opacity: 1;
  animation: signal-pulse 1.2s ease-out infinite;
}

@keyframes signal-pulse {
  0% { transform: scale(0.9); opacity: 0.45; }
  100% { transform: scale(1.15); opacity: 0; }
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  opacity: 0.75;
  color: #36B54B;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  opacity: 1;
  color: #ffffff;
}

main section {
  padding: 4.5rem 0;
}

#hero {
  width: 100%;
  min-height: calc(100vh - 112px);
  padding-top: 8.5rem;
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 5rem;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8, 8, 8, 0.52), rgba(8, 8, 8, 0.88) 58%, rgba(8, 8, 8, 0.98)),
    url("images/hero.jpg") center/cover no-repeat;
  border-radius: 0;
  z-index: -1;
}

#hero > * {
  position: relative;
  z-index: 1;
}

.page-hero {
  width: 100%;
  min-height: 42vh;
  padding-top: 6rem;
  padding-bottom: 3rem;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8, 8, 8, 0.52), rgba(8, 8, 8, 0.88) 58%, rgba(8, 8, 8, 0.98)),
    url("images/hero.jpg") center/cover no-repeat;
  z-index: -1;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

main section.contact-page-hero {
  padding-bottom: 1.2rem;
}

main section.contact-form-section {
  padding-top: 1rem;
}

#service-request-form {
  scroll-margin-top: 8.5rem;
}

#hero .accent-text {
  margin-bottom: 1.1rem;
}

#hero h1 {
  margin-bottom: 1.3rem;
  font-size: clamp(1.5rem, 5vw, 3.7rem);
  line-height: 1.08;
}

.page-hero h1,
.page-hero h2 {
  font-size: clamp(1.5rem, 5vw, 3.7rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
  letter-spacing: normal;
}

#hero .hero-copy {
  margin-bottom: 0.8rem;
}

#hero .hero-copy + .hero-copy {
  margin-top: 0.25rem;
}

#hero .hero-copy-narrow {
  width: 52%;
  max-width: 760px;
}

.lead {
  font-size: 1.2rem;
  max-width: 980px;
}

.hero-image {
  display: none;
}

.hero-image img {
  border-radius: 12px;
}

.btn-beam {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: #36B54B;
  border-radius: 9999px;
  color: white;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
  border: 1px solid #36B54B;
}

.btn-beam:hover {
  transform: scale(1.02);
}

.btn-beam::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: conic-gradient(from 0deg, transparent 0 340deg, white 360deg);
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
  animation: beam-spin 3s linear infinite;
}

.btn-beam:hover::before {
  opacity: 1;
}

.btn-beam span {
  position: relative;
  z-index: 2;
}

.hero-cta-wrap {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.btn-beam::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: #36B54B;
  border-radius: 9999px;
  z-index: 1;
}

@keyframes beam-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.accent-text {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  margin-bottom: 0.8rem;
}

.grid-section {
  padding: var(--section-spacing) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding-left 0.3s ease;
}

.service-item:hover {
  border-color: var(--color-accent);
  padding-left: 1rem;
}

.service-item h3 {
  color: #f8fafc;
  font-size: clamp(0.88rem, 1.55vw, 1.12rem);
}

#projects {
  padding: var(--section-spacing) 0;
  background: var(--color-bg-alt);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.projects-highlights-heading {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.2;
}

.projects-highlights-section .gallery {
  grid-template-columns: repeat(4, 1fr);
}

.services-photo-row .gallery {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
}

main section.services-photo-row {
  padding: 0.6rem 0 1rem;
  background: transparent;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), filter 0.4s;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.logo-strip {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: #080808;
}

.logo-strip-title {
  text-align: center;
  color: #e5e7eb;
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.6rem;
}

.partners-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.logo-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1.4rem;
  align-items: center;
}

.logo-carousel {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.logo-track {
  display: flex;
  gap: 1.4rem;
  transition: transform 0.6s ease;
  will-change: transform;
}

.logo-tile {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  min-height: 94px;
  min-width: calc((100% - 4.2rem) / 4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
}

.logo-tile img {
  max-height: 58px;
  width: auto;
  object-fit: contain;
}

footer {
  padding: 4rem 5% 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-brand-logo {
  width: 210px;
  max-width: 100%;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  color: #8c8c95;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  width: 90%;
  max-width: 1480px;
  margin: 0.45rem auto 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.85rem;
  color: #b5b5bf;
  line-height: 1.4;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.social-icon-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #d1d5db;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-icon-link:hover {
  color: #ffffff;
  border-color: rgba(54, 181, 75, 0.75);
  transform: translateY(-1px);
}

.social-icon-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.service-areas {
  margin-top: 0.8rem;
}

.certifications-heading {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1.1rem;
}

.certifications-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 280px));
  justify-content: center;
  gap: 1.3rem;
  margin: 0 auto;
}

.certifications-logos .logo-tile {
  min-height: 130px;
}

.certifications-logos .logo-tile img {
  max-height: 84px;
}

.industries-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 0.55rem 2.5rem;
  align-items: start;
  padding-left: 1.1rem;
}

.other-services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 0.45rem 1.8rem;
  align-items: start;
  padding-left: 1.1rem;
}

.other-services-heading {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.service-area-subheading {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.service-area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 0.4rem 1.8rem;
  align-items: start;
  padding-left: 1.1rem;
}

.project-types-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.45rem 2rem;
  align-items: start;
  padding-left: 1.1rem;
}

.project-types-heading {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.2;
}

.industries-heading {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.2;
}

.projects-hero-cta {
  margin-top: 1.8rem;
}

main section.industries-section {
  padding-bottom: 0.8rem;
}

main section.about-clients-strip {
  padding-top: 0.8rem;
  padding-bottom: 5rem;
}

.contact-form {
  max-width: 760px;
  display: grid;
  gap: 0.75rem;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr);
  gap: 2.2rem;
  align-items: start;
}

.contact-side-details h3 {
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.contact-side-details p {
  margin-bottom: 0.55rem;
}

.contact-side-details .social-icon-row {
  margin-top: 0.45rem;
}

.cookie-notice {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  background: rgba(5, 5, 5, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.cookie-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #d1d5db;
}

.cookie-notice a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-notice .cookie-dismiss {
  border: 1px solid #36B54B;
  background: #36B54B;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-family: "Lato", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.cookie-notice .cookie-dismiss:hover {
  filter: brightness(1.06);
}

.mobile-sticky-cta {
  display: none;
}

.contact-form label {
  font-size: 0.92rem;
  color: #e5e7eb;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #0d0d0d;
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.72rem 0.9rem;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #36B54B;
  outline-offset: 1px;
  border-color: #36B54B;
}

.contact-form .btn-beam {
  margin-top: 0.8rem;
  width: fit-content;
}

.form-hidden {
  position: absolute !important;
  left: -9999px !important;
}

.reveal-wait {
  visibility: hidden;
}

.reveal-active {
  visibility: visible;
  animation: revealBlurSlide 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes revealBlurSlide {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

@media (max-width: 1024px) {
  .utility-bar {
    padding: 0.45rem 4%;
    font-size: 0.72rem;
    line-height: 1.35;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  header {
    padding: 0.8rem 4%;
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .brand img {
    width: 176px;
  }

  nav {
    width: 100%;
  }

  nav ul {
    gap: 0.45rem 0.7rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-link {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  main section {
    padding: 3.2rem 0;
  }

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

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

  .projects-highlights-section .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(3) {
    aspect-ratio: 4 / 3;
  }

  .logo-container {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .logo-tile {
    min-width: calc((100% - 1.4rem) / 2);
  }

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

  .footer-bottom {
    width: 100%;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    flex-direction: column;
    align-items: flex-start;
  }

  #hero {
    min-height: auto;
    padding-top: 4.4rem;
    padding-left: 4%;
    padding-right: 4%;
    padding-bottom: 2.6rem;
  }

  .page-hero {
    min-height: auto;
    padding-top: 3.8rem;
    padding-bottom: 2rem;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.2rem, 6.5vw, 2rem);
    line-height: 1;
  }

  #hero h1 {
    font-size: clamp(1.2rem, 6.5vw, 2rem);
    line-height: 1.1;
  }

  .page-hero h1,
  .page-hero h2 {
    font-size: clamp(1.2rem, 6.5vw, 2rem);
    line-height: 1;
  }

  .lead {
    font-size: 1rem;
  }

  #hero .hero-copy-narrow {
    width: 100%;
    max-width: 100%;
  }

  .header-actions {
    display: none;
  }

  .industries-list {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .other-services-list {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

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

  .contact-form .btn-beam {
    width: 100%;
    justify-content: center;
  }

  .service-area-list {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .project-types-list {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .logo-strip {
    padding: 1.9rem 0;
  }

  .logo-strip-title {
    margin-bottom: 1.3rem;
    letter-spacing: 0.05em;
  }

  .footer-col p,
  .footer-col li,
  .footer-col a {
    font-size: 0.95rem;
  }

  .cookie-notice {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    grid-template-columns: 1fr;
    padding: 0.75rem 0.85rem;
  }

  .cookie-notice p {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .cookie-notice .cookie-dismiss {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .utility-bar {
    display: none;
  }

  header {
    position: sticky;
    top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
  }

  .brand img {
    width: 154px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 4% 0.85rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 80;
  }

  body.nav-open nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.15rem;
    width: 100%;
    padding-bottom: 0;
  }

  nav li {
    width: 100%;
  }

  .nav-link {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 0.62rem 0.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  #hero .hero-cta-wrap,
  .projects-hero-cta {
    display: none;
  }

  #hero .accent-text {
    letter-spacing: 0.12em;
    font-size: 0.66rem;
    line-height: 1.3;
  }

  #hero h1 {
    font-size: clamp(1.85rem, 10.5vw, 2.6rem);
    line-height: 1.12;
  }

  .page-hero h1,
  .page-hero h2 {
    font-size: clamp(1.65rem, 8.5vw, 2.3rem);
    line-height: 1.08;
  }

  .logo-track {
    gap: 0.9rem;
  }

  .logo-tile {
    min-height: 72px;
    min-width: calc((100% - 0.9rem) / 2);
    padding: 0.55rem;
  }

  .logo-tile img {
    max-height: 44px;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 0.78rem;
  }

  body {
    padding-bottom: 5.6rem;
  }

  .mobile-sticky-cta {
    display: inline-flex;
    position: fixed;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    z-index: 130;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    background: #36B54B;
    border: 1px solid #36B54B;
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  }

  .cookie-notice {
    bottom: 4.6rem;
  }
}

@media (max-width: 480px) {
  .utility-bar {
    font-size: 0.64rem;
    line-height: 1.3;
    gap: 0.2rem;
  }

  .utility-bar span {
    width: 100%;
    text-align: center;
  }

  .container {
    width: 92%;
  }

  #hero {
    padding-top: 3.9rem;
    padding-bottom: 2.2rem;
  }

  .page-hero {
    padding-top: 3.2rem;
    padding-bottom: 1.8rem;
  }

  #hero h1 {
    font-size: clamp(1.7rem, 11vw, 2.2rem);
  }

  #hero .accent-text {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .lead,
  #hero .hero-copy,
  #hero .hero-copy + .hero-copy {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .logo-strip-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .btn-beam {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    padding: 0.85rem 1.45rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .cookie-notice {
    left: 0.45rem;
    right: 0.45rem;
    bottom: 4.35rem;
  }

  .mobile-sticky-cta {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    min-height: 46px;
    font-size: 0.72rem;
  }
}

@media (max-width: 393px) {
  .brand img {
    width: 142px;
  }

  .nav-link {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  #hero h1 {
    font-size: clamp(1.55rem, 10.8vw, 2rem);
  }

  .btn-beam {
    font-size: 0.7rem;
    padding: 0.78rem 1.2rem;
  }

  .logo-tile {
    min-height: 66px;
    min-width: calc((100% - 0.7rem) / 2);
  }

  .logo-tile img {
    max-height: 40px;
  }
}

@media (max-width: 360px) {
  #hero {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }

  #hero .accent-text {
    font-size: 0.58rem;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
