:root {
  --brand: #0b899c;
  --brand-dark: #1f5969;
  --brand-deep: #164b59;
  --ink: #3f4046;
  --muted: #77777d;
  --line: #e7e7e7;
  --soft: #f2f2f2;
  --white: #ffffff;
  --container: 1040px;
  --header-height: 86px;
  --shadow: 0 16px 35px rgba(18, 52, 62, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Century Gothic", "Avenir Next", Avenir, Futura, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open,
body.search-open {
  overflow: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--brand-dark);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(11, 137, 156, 0.28);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.85rem);
}

h3 {
  font-size: clamp(1.38rem, 2vw, 1.85rem);
}

h4 {
  font-size: 1.1rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-deep);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 50;
  min-height: var(--header-height);
  background: #fff;
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  flex: 0 0 auto;
  width: 188px;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 27px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #55565a;
  font-size: 0.86rem;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--brand);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.icon-button,
.menu-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: #55565a;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.icon-button:hover,
.menu-toggle:hover {
  color: var(--brand);
}

.icon-button svg,
.menu-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: #3d4046;
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 30, 35, 0.15);
  pointer-events: none;
}

.hero-home {
  min-height: 435px;
  display: grid;
  align-items: center;
  background-image: url("../images/home-hero.png");
}

.hero-home::after {
  background: rgba(29, 33, 39, 0.05);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  padding-block: 70px;
}

.hero-brand {
  width: min(100%, 410px);
}

.hero-copy {
  max-width: 430px;
}

.hero-copy h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.hero-copy p {
  margin-bottom: 12px;
  font-size: 1.02rem;
  line-height: 1.45;
}

.hero-page {
  min-height: 315px;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-page h1 {
  margin-bottom: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.hero-chillers {
  background-image: url("../images/chillers-hero.jpg");
}

.hero-chillers::after {
  background: rgba(17, 27, 33, 0.12);
}

.hero-contact {
  min-height: 360px;
  background-image: url("../images/contact-hero.jpg");
  background-position: center 45%;
}

.hero-contact::after {
  background: rgba(26, 30, 33, 0.53);
}

.hero-contact p {
  margin: 10px 0 0;
  font-size: 0.98rem;
}

.section {
  padding-block: 62px;
}

.section-tight {
  padding-block: 45px;
}

.services-quote-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  align-items: start;
  gap: 115px;
}

.section-heading {
  margin-bottom: 2px;
  font-size: 1.85rem;
}

.eyebrow {
  margin-bottom: 25px;
  color: #66676b;
  font-size: 0.98rem;
}

.service-lines {
  margin-bottom: 13px;
  font-size: 0.91rem;
  line-height: 1.6;
}

.service-more {
  margin-bottom: 27px;
  font-size: 1.12rem;
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 8px 17px;
  color: var(--brand);
  background: transparent;
  border: 1px solid var(--brand);
  border-radius: 0;
  font-size: 0.92rem;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: var(--brand);
}

.button-white {
  color: #fff;
  border-color: #fff;
}

.button-white:hover,
.button-white:focus-visible {
  color: var(--brand-deep);
  background: #fff;
}

.quote-card {
  width: min(100%, 300px);
  justify-self: end;
  padding: 31px 28px 27px;
  color: #fff;
  background: var(--brand);
  text-align: center;
  box-shadow: 0 14px 35px rgba(11, 137, 156, 0.18);
}

.quote-card h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.quote-card p {
  margin-bottom: 21px;
  font-size: 0.91rem;
  line-height: 1.45;
}

.banner {
  position: relative;
  isolation: isolate;
  min-height: 103px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
  text-align: center;
}

.banner h2,
.banner h3 {
  margin: 0;
  letter-spacing: 0;
}

.banner-quality {
  background-image: url("../images/quality-banner.png");
}

.banner-quality h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  padding-top: 22px;
}

.about-grid h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.about-grid p {
  margin-bottom: 13px;
  font-size: 0.91rem;
  line-height: 1.55;
}

.product-image {
  width: min(100%, 520px);
  margin-top: 55px;
  margin-left: 0;
}

.inner-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 72px;
}

.services-work-section {
  padding-block: 48px 76px;
}

.services-work-section h2 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 26px;
}

.service-columns p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.55;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 29px 35px;
  margin-top: 29px;
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ededed;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease;
}

.gallery-item::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(8, 91, 106, 0.42);
  font-size: 2.2rem;
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  filter: saturate(0.85);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.cta-banner {
  min-height: 165px;
  padding: 26px;
  background-image: url("../images/home-hero.png");
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 26, 31, 0.35);
}

.cta-banner h2 {
  margin-bottom: 25px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.contact-section {
  padding-block: 70px 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 90px;
}

.contact-details h2,
.form-panel h2 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.contact-details p {
  margin-bottom: 11px;
  font-size: 0.91rem;
  line-height: 1.5;
}

.contact-details strong {
  display: block;
  font-weight: 600;
}

.contact-details a {
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: #efefef;
  border: 1px solid transparent;
  border-radius: 0;
  outline: 0;
}

.contact-form input {
  height: 45px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 137, 156, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a0a0a0;
}

.field-help {
  margin: 5px 0 0;
  color: #777;
  font-size: 0.72rem;
  line-height: 1.4;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
}

.recaptcha-wrap {
  min-width: 304px;
  min-height: 78px;
}

.recaptcha-wrap .g-recaptcha {
  transform-origin: left top;
}

.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 12px 15px;
  border-left: 4px solid var(--brand);
  background: #edf8fa;
  font-size: 0.88rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-left-color: #a43a3a;
  background: #fff0f0;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  min-height: 44px;
  color: #fff;
  background: var(--brand-dark);
}

.footer-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.7rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  opacity: 0.78;
}

.facebook-link {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: rgba(70, 70, 70, 0.58);
  border: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--brand);
}

.search-dialog,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 27, 0.82);
}

.search-dialog.is-open,
.lightbox.is-open {
  display: flex;
}

.search-card {
  position: relative;
  width: min(100%, 600px);
  padding: 40px;
  background: #fff;
  box-shadow: var(--shadow);
}

.search-card h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #ccc;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 1.75rem;
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
}

.lightbox-content img {
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

.lightbox .modal-close {
  top: -46px;
  right: 0;
  color: #fff;
}

.no-js .search-button,
.no-js .menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --header-height: 75px;
  }

  .site-logo {
    width: 165px;
  }

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

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }

  .primary-nav a {
    display: flex;
    min-height: 54px;
    justify-content: center;
    font-size: 1rem;
  }

  .primary-nav a::after {
    bottom: 6px;
    left: 35%;
    right: 35%;
  }

  .home-hero-grid,
  .services-quote-grid,
  .inner-two-column,
  .contact-grid {
    gap: 55px;
  }

  .services-quote-grid {
    grid-template-columns: 1fr 0.8fr;
  }

  .about-grid {
    gap: 60px;
  }

  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .header-inner {
    gap: 12px;
  }

  .header-actions {
    gap: 3px;
  }

  .hero-home {
    min-height: 0;
    background-position: 34% center;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 54px 62px;
    text-align: center;
  }

  .hero-brand {
    width: min(85%, 410px);
    margin-inline: auto;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-page,
  .hero-contact {
    min-height: 260px;
  }

  .section {
    padding-block: 48px;
  }

  .services-quote-grid,
  .about-grid,
  .inner-two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-quote-grid {
    gap: 42px;
  }

  .quote-card {
    width: 100%;
    justify-self: stretch;
  }

  .about-grid {
    gap: 28px;
  }

  .product-image {
    margin-top: 28px;
  }

  .service-columns {
    gap: 22px;
  }

  .gallery-grid {
    gap: 15px;
  }

  .contact-grid {
    gap: 45px;
  }

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

  .form-footer {
    align-items: flex-end;
    justify-content: space-between;
  }

  .footer-inner {
    min-height: 70px;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding-block: 8px;
    text-align: center;
  }

  .search-card {
    padding: 38px 22px 24px;
  }
}

@media (max-width: 360px) {
  .recaptcha-wrap {
    width: 268px;
    min-width: 268px;
    height: 69px;
    min-height: 69px;
    overflow: hidden;
  }

  .recaptcha-wrap .g-recaptcha {
    transform: scale(0.88);
  }
}

@media (max-width: 460px) {
  .site-logo {
    width: 145px;
  }

  .search-button {
    display: none;
  }

  .section-heading {
    font-size: 1.55rem;
  }

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

  .gallery-item {
    aspect-ratio: 16 / 10;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .recaptcha-wrap {
    align-self: flex-start;
  }

  .form-footer .button {
    width: 100%;
  }
}

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