:root {
  --teal: #2aa2a4;
  --teal-dark: #0d6d6b;
  --ink: #111111;
  --muted: #5a5a5a;
  --paper: #ffffff;
  --soft: #f4f4f4;
  --wine: #421c1c;
  --header: rgba(18, 18, 18, 0.96);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 54px;
  background: var(--header);
  color: #ffffff;
  transition: transform 220ms ease, background 220ms ease;
}

.home-page .site-header {
  transform: translateY(-100%);
}

.home-page.header-visible .site-header,
body:not(.home-page) .site-header {
  transform: translateY(0);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 62px;
  min-width: 450px;
}

.site-nav a,
.offer-trigger {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.offer-menu {
  position: relative;
}

.offer-trigger {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 0;
  padding: 34px 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.offer-dropdown {
  position: absolute;
  top: 88px;
  left: 50%;
  width: 910px;
  padding: 34px 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 36px;
  background: rgba(35, 80, 78, 0.56);
  transform: translateX(-36%) translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.offer-menu:hover .offer-dropdown,
.offer-menu:focus-within .offer-dropdown,
.offer-menu.open .offer-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-36%) translateY(0);
}

.offer-dropdown a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 500;
}

/* Logo idealnie na środku */
/* Logo idealnie wizualnie na środku */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 88px;
  padding: 0 54px;
  background: var(--header);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  position: fixed;
  left: 50vw;
  top: 44px;
  transform: translateX(-50%);
  z-index: 200;
  display: block;
}

.header-brand img {
  height: 70px;
  width: auto;
  display: block;
}

.cta-button,
.outline-button,
.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 250px;
  min-height: 72px;
  padding: 20px 34px;
  border: 1px solid transparent;
  background: var(--teal);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.cta-button i,
.outline-button i,
.solid-button i {
  font-size: 25px;
  line-height: 1;
  transform: rotate(-45deg);
}

.cta-button:hover,
.solid-button:hover {
  background: var(--teal-dark);
  color: #ffffff;
}

.outline-button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.86);
}

.outline-button:hover {
  background: #ffffff;
  color: var(--teal-dark);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.hero-screen {
  position: relative;
  min-height: 620px;
  height: min(906px, 48vw);
  overflow: hidden;
  background: #0b0d0d;
}

.hero-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 360ms ease;
}

.hero-shot.active {
  opacity: 1;
}

.hero-click {
  position: absolute;
  z-index: 14;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.hero-prev {
  left: 3%;
  top: 45%;
  width: 120px;
  height: 110px;
}

.hero-next {
  right: 2%;
  top: 45%;
  width: 160px;
  height: 110px;
}

.hero-dot {
  bottom: 8%;
  width: 42px;
  height: 42px;
}

.hero-dot[data-hero-dot="0"] {
  left: calc(50% - 62px);
}

.hero-dot[data-hero-dot="1"] {
  left: calc(50% - 20px);
}

.hero-dot[data-hero-dot="2"] {
  left: calc(50% + 22px);
}

.hero-hotspot {
  position: absolute;
  z-index: 24;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.hot-about {
  left: 2.3%;
  top: 14%;
  width: 130px;
  height: 66px;
}

.hot-offer {
  left: 8.3%;
  top: 14%;
  width: 210px;
  height: 66px;
}

.hot-contact {
  left: 19.6%;
  top: 14%;
  width: 140px;
  height: 66px;
}

.hot-cta {
  right: 3.2%;
  top: 13.2%;
  width: 330px;
  height: 90px;
}

.hero-offer-dropdown {
  position: absolute;
  z-index: 36;
  top: 214px;
  left: 0;
  width: 100%;
  padding: 34px 7%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 38px;
  background: rgba(30, 76, 73, 0.64);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.hero-offer-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-offer-dropdown a {
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  font-weight: 500;
}

.intro-band {
  min-height: 416px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 78px 6%;
  background:
    linear-gradient(90deg, rgba(17, 147, 149, 0.92), rgba(10, 82, 80, 0.94)),
    url("../images/mat/hero-client.jpg") center / cover;
  color: #ffffff;
}

.intro-band-inner {
  width: min(730px, 100%);
}

.intro-band h2 {
  margin: 0 0 26px;
  font-size: 42px;
  line-height: 1.22;
  font-weight: 400;
}

.intro-band p {
  margin: 0 0 34px;
  font-size: 21px;
  line-height: 1.45;
}

.mission-section {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 112px 6%;
  background: #ffffff;
  text-align: center;
}

.mission-content {
  width: min(1020px, 100%);
}

.eyebrow {
  display: block;
  margin-bottom: 30px;
  color: var(--teal);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.mission-section h2,
.section-title {
  margin: 0;
  font-size: 44px;
  line-height: 1.38;
  font-weight: 400;
}

.section-rule {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 24px;
}

.section-rule::before,
.section-rule::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--teal);
}

.section-rule::before {
  width: 60px;
}

.section-rule::after {
  width: 20px;
  opacity: 0.35;
}

.mission-section p {
  width: min(1000px, 100%);
  margin: 0 auto 24px;
  font-size: 21px;
  line-height: 1.45;
  color: #2b2b2b;
}

.mission-section .solid-button {
  margin-top: 18px;
}

.decor-squares {
  position: absolute;
  width: 140px;
  height: 140px;
  pointer-events: none;
}

.decor-squares::before,
.decor-squares::after {
  content: "";
  position: absolute;
  background: var(--teal);
}

.decor-squares::before {
  width: 92px;
  height: 92px;
  left: 0;
  bottom: 0;
}

.decor-squares::after {
  width: 46px;
  height: 46px;
  right: 2px;
  top: 2px;
}

.decor-left {
  left: 6%;
  top: 128px;
}

.decor-right {
  right: 6%;
  bottom: 120px;
  transform: scale(0.66);
}

.services-section {
  padding: 104px 6.2% 88px;
  background: var(--soft);
}

.services-copy {
  width: min(720px, 100%);
}

.services-copy h2,
.support-copy h2,
.contact-panel h1 {
  margin: 0 0 28px;
  font-size: 45px;
  line-height: 1.38;
  font-weight: 400;
}

.services-copy p {
  margin: 0 0 34px;
  font-size: 21px;
  line-height: 1.45;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 34px;
  margin-top: 40px;
}

.service-card {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111111;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.16);
}

.advantages-section {
  padding: 104px 6.2% 92px;
  background: #ffffff;
}

.center-copy {
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: center;
}

.center-copy p {
  width: min(1190px, 100%);
  margin: 30px auto 0;
  font-size: 21px;
  line-height: 1.45;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px;
  margin-top: 88px;
}

.advantage-item {
  min-height: 220px;
}

.advantage-heading {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 25px;
}

.check-mark {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border: 4px solid #2b2525;
  border-radius: 50%;
  position: relative;
}

.check-mark::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 10px;
  width: 24px;
  height: 13px;
  border-left: 4px solid #2b2525;
  border-bottom: 4px solid #2b2525;
  transform: rotate(-45deg);
}

.advantage-heading h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
}

.advantage-item p {
  margin: 0;
  font-size: 21px;
  line-height: 1.72;
}

.carousel-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  margin-top: 78px;
}

.arrow-button {
  width: 88px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #2b2525;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
}

.progress-row {
  display: grid;
  grid-template-columns: 2.2fr 0.9fr;
  gap: 40px;
  margin-top: 72px;
}

.progress-row span {
  display: block;
  height: 10px;
  background: rgba(42, 162, 164, 0.28);
}

.progress-row span:first-child {
  background: var(--teal);
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 86px;
  align-items: center;
  padding: 122px 6% 80px;
  background: #ffffff;
}

.support-copy {
  width: min(650px, 100%);
}

.support-copy .eyebrow {
  margin-bottom: 26px;
}

.support-copy p {
  margin: 0 0 24px;
  font-size: 21px;
  line-height: 1.43;
}

.support-image {
  min-height: 520px;
  background: url("../images/mat/handshake.jpg") center / cover;
}

.quote-section {
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 90px;
  align-items: center;
  padding: 88px 5.6%;
  background: var(--wine);
  color: #ffffff;
}

.quote-copy .eyebrow {
  color: var(--teal);
}

.quote-copy h2 {
  margin: 0 0 30px;
  font-size: 44px;
  line-height: 1.25;
  font-weight: 400;
}

.quote-copy p {
  width: min(600px, 100%);
  margin: 0;
  font-size: 22px;
  line-height: 1.38;
}

.quote-controls {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 84px;
  font-size: 21px;
  font-weight: 700;
}

.quote-controls button {
  width: 84px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 50px;
  line-height: 1;
  cursor: pointer;
}

.quote-panel {
  padding-top: 40px;
}

.quote-mark {
  display: block;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 120px;
  line-height: 0.55;
  font-weight: 700;
}

.quote-panel p {
  width: min(820px, 100%);
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.62;
}

.quote-panel strong {
  display: block;
  font-size: 27px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  min-height: 810px;
  background: #ffffff;
}

.contact-panel {
  padding: 92px 7% 82px 13%;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 14px;
}

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

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 18px;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #1f1f1f;
  border-radius: 0;
  padding: 0 0 12px;
  background: transparent;
  outline: none;
}

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

.privacy-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -10px;
  font-size: 16px;
}

.privacy-row input {
  width: 25px;
  height: 25px;
  border-radius: 0;
  accent-color: var(--teal);
}

.contact-form .solid-button {
  margin-top: 18px;
  width: 296px;
}

.contact-map {
  position: relative;
  min-height: 810px;
  overflow: hidden;
  background: url("../images/mat/map-contact.jpg") center / cover;
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border: 0;
  filter: saturate(0.9);
}

.footer {
  position: relative;
  padding: 66px 5.8% 54px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.88)),
    url("../images/mat/hero-docs.jpg") center / cover;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1fr 0.8fr;
  gap: 48px;
  width: min(1660px, 100%);
  margin: 0 auto;
}

.footer p,
.footer a,
.footer li {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.45;
}

.footer h3 {
  margin: 0 0 24px;
  font-size: 18px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 11px;
}

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

.footer-socials,
.hero-socials {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.social-circle {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 21px;
}

.copyright {
  margin-top: 34px;
  font-size: 14px;
  font-weight: 700;
}

.copyright span {
  display: block;
  margin-top: 16px;
  font-weight: 400;
}

.page-main {
  padding-top: 88px;
}

.simple-hero {
  padding: 86px 6% 58px;
  text-align: center;
  background: #ffffff;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 60px;
  color: #333333;
  font-size: 12px;
}

.simple-hero .eyebrow {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
}

.simple-hero h1 {
  margin: 0;
  font-size: 31px;
  line-height: 1.25;
}

.simple-hero .section-rule {
  margin-top: 26px;
  margin-bottom: 0;
}

.service-banner {
  height: 146px;
  background: #eeeeee;
  overflow: hidden;
}

.service-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  width: min(640px, calc(100% - 40px));
  margin: 34px auto 62px;
}

.service-content h2 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
}

.service-content h3 {
  margin: 32px 0 12px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
}

.service-content p {
  margin: 0 0 18px;
  font-size: 11px;
  line-height: 1.55;
  color: #222222;
}

.map-strip {
  position: relative;
  height: 177px;
  overflow: hidden;
  background: url("../images/mat/map-strip.jpg") center / cover;
}

.contact-page .contact-section,
.services-page .services-section,
.about-page .mission-section {
  min-height: calc(100vh - 88px);
}

.about-page .mission-section {
  padding-top: 130px;
}

@media (max-width: 1280px) {
  .site-nav {
    gap: 36px;
    min-width: 360px;
  }

  .site-nav a,
  .offer-trigger {
    font-size: 17px;
  }

  .cta-button,
  .outline-button,
  .solid-button {
    min-width: 220px;
  }

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

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

@media (max-width: 900px) {
  .site-header {
    height: 76px;
    padding: 0 22px;
  }

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

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    min-width: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 22px;
    background: rgba(18, 18, 18, 0.98);
  }

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

  .site-nav a,
  .offer-trigger {
    width: 100%;
    padding: 18px 0;
    font-size: 19px;
  }

  .offer-dropdown {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    padding: 0 0 16px;
    background: transparent;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .offer-menu.open .offer-dropdown {
    display: grid;
  }

  .site-header .cta-button {
    display: none;
  }

  .header-brand {
    display: flex;
  }

  .hero-screen {
    height: 620px;
  }

  .hero-shot {
    object-position: center;
  }

  .hero-offer-dropdown {
    top: 150px;
    grid-template-columns: 1fr;
    padding: 22px 26px;
  }

  .intro-band h2,
  .mission-section h2,
  .section-title,
  .services-copy h2,
  .support-copy h2,
  .contact-panel h1,
  .quote-copy h2 {
    font-size: 34px;
  }

  .mission-section,
  .services-section,
  .advantages-section,
  .support-section,
  .quote-section,
  .contact-panel {
    padding-left: 26px;
    padding-right: 26px;
  }

  .decor-squares {
    opacity: 0.35;
  }

  .advantage-grid,
  .support-section,
  .quote-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .support-image,
  .contact-map {
    min-height: 420px;
  }

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

@media (max-width: 560px) {
  .hero-screen {
    min-height: 560px;
    height: 560px;
  }

  .hero-shot {
    object-position: 42% center;
  }

  .intro-band,
  .mission-section,
  .services-section,
  .advantages-section,
  .support-section,
  .quote-section,
  .contact-panel {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .intro-band h2,
  .mission-section h2,
  .section-title,
  .services-copy h2,
  .support-copy h2,
  .contact-panel h1,
  .quote-copy h2 {
    font-size: 30px;
  }

  .intro-band p,
  .mission-section p,
  .services-copy p,
  .center-copy p,
  .support-copy p,
  .advantage-item p,
  .footer p,
  .footer a,
  .footer li {
    font-size: 18px;
  }

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

  .advantage-grid {
    gap: 40px;
    margin-top: 52px;
  }

  .quote-panel p {
    font-size: 22px;
  }

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


/* MAT custom real navbar over hero */
.home-page .site-header {
  transform: none !important;
  height: 214px;
  display: block;
  padding: 0 54px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.64) 48%, rgba(0, 0, 0, 0) 100%);
}

.home-page .site-header .header-brand {
  position: absolute;
  left: 116px;
  top: 0;
  width: 266px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 42px 34px;
  background: #ffffff;
  border-radius: 0 0 38px 38px;
  transform: none;
  z-index: 3;
}

.home-page .site-header .header-brand img {
  width: 178px;
  height: auto;
}

.home-page .site-header .site-nav {
  position: absolute;
  left: 54px;
  top: 145px;
  min-width: 0;
  gap: 66px;
}

.home-page .site-header .site-nav a,
.home-page .site-header .offer-trigger {
  font-size: 20px;
  font-weight: 700;
}

.home-page .site-header .offer-trigger {
  padding: 0;
}

.home-page .site-header .offer-dropdown {
  top: 42px;
  left: 0;
  transform: translateY(-8px);
}

.home-page .site-header .offer-menu:hover .offer-dropdown,
.home-page .site-header .offer-menu:focus-within .offer-dropdown,
.home-page .site-header .offer-menu.open .offer-dropdown {
  transform: translateY(0);
}

.header-contact {
  display: none;
}

.home-page .header-contact {
  position: absolute;
  top: 23px;
  left: 54.5%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 58px;
  white-space: nowrap;
}

.header-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
}

.header-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-size: 21px;
}

.header-socials {
  display: none;
}

.home-page .header-socials {
  position: absolute;
  top: 23px;
  right: 54px;
  display: flex;
  gap: 16px;
}

.home-page .header-socials .social-circle {
  width: 48px;
  height: 48px;
  margin: 0;
}

.home-page .site-header > .cta-button {
  position: absolute;
  right: 48px;
  top: 119px;
  min-width: 258px;
  min-height: 70px;
}

.home-page .hero-screen {
  height: min(906px, 48vw);
  min-height: 680px;
}

.home-page .hero-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(7, 22, 22, 0.52) 30%, rgba(25, 112, 111, 0.55) 100%),
    linear-gradient(90deg, rgba(2, 18, 18, 0.58) 0%, rgba(12, 76, 75, 0.18) 54%, rgba(0, 0, 0, 0.36) 100%);
}

.home-page .hero-shot {
  z-index: 1;
  object-position: center;
}

.home-page .hero-content {
  position: absolute;
  z-index: 5;
  left: 6.2%;
  top: 37%;
  width: min(860px, 72vw);
  color: #ffffff;
}

.hero-eyebrow {
  display: block;
  margin-bottom: 30px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0 0 36px;
  color: #ffffff;
  font-size: clamp(56px, 4.7vw, 84px);
  font-weight: 400;
  line-height: 1.24;
}

.hero-content p {
  margin: 0;
  width: min(900px, 100%);
  font-size: 25px;
  line-height: 1.55;
}

.home-page .hero-click {
  z-index: 8;
}

.home-page .hero-prev,
.home-page .hero-next {
  color: transparent;
}

.home-page .hero-prev::before,
.home-page .hero-next::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 58px;
  height: 3px;
  background: #ffffff;
}

.home-page .hero-prev::after,
.home-page .hero-next::after {
  content: "";
  position: absolute;
  top: calc(50% - 12px);
  width: 24px;
  height: 24px;
  border-top: 3px solid #ffffff;
}

.home-page .hero-prev::before {
  left: 28px;
}

.home-page .hero-prev::after {
  left: 28px;
  border-left: 3px solid #ffffff;
  transform: rotate(-45deg);
}

.home-page .hero-next::before {
  right: 28px;
}

.home-page .hero-next::after {
  right: 28px;
  border-right: 3px solid #ffffff;
  transform: rotate(45deg);
}

.home-page .hero-next {
  border-radius: 50%;
}

.home-page .hero-dot {
  z-index: 8;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 1;
}

.home-page .hero-dot[data-hero-dot="1"] {
  border: 1px solid #ffffff;
  background: transparent;
  width: 38px;
  height: 38px;
  transform: translateY(9px);
}

.home-page .hero-hotspot,
.home-page .hero-offer-dropdown {
  display: none !important;
}

@media (max-width: 1280px) {
  .home-page .header-contact {
    left: 57%;
    gap: 28px;
  }

  .header-contact-item {
    font-size: 15px;
  }

  .home-page .site-header .site-nav {
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .home-page .site-header {
    height: 76px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    background: rgba(18, 18, 18, 0.96);
  }

  .home-page .site-header .header-brand {
    position: static;
    width: 150px;
    height: 64px;
    padding: 12px 22px;
    border-radius: 0 0 28px 28px;
    transform: none;
  }

  .home-page .site-header .header-brand img {
    width: 118px;
  }

  .home-page .header-contact,
  .home-page .header-socials {
    display: none;
  }

  .home-page .site-header .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
  }

  .home-page .site-header > .cta-button {
    position: static;
  }

  .home-page .hero-screen {
    min-height: 620px;
  }

  .home-page .hero-content {
    left: 26px;
    top: 28%;
    width: calc(100% - 52px);
  }

  .hero-eyebrow {
    font-size: 17px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-content p {
    font-size: 18px;
  }
}


/* MAT polished offer dropdown */
.offer-trigger span {
  display: inline-block;
  margin-left: 2px;
  font-size: 13px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 180ms ease;
}

.offer-menu.open .offer-trigger span,
.offer-menu:hover .offer-trigger span,
.offer-menu:focus-within .offer-trigger span {
  transform: translateY(-1px) rotate(180deg);
}

.home-page .site-header .offer-dropdown {
  position: fixed;
  top: 214px;
  left: 0;
  width: 100vw;
  min-height: 116px;
  padding: 22px clamp(54px, 6vw, 116px);
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 12px 34px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 69, 67, 0.78), rgba(31, 112, 110, 0.62), rgba(11, 45, 44, 0.74));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(7px);
  transform: translateY(-12px);
}

.home-page .site-header .offer-dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 238px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 16px solid rgba(18, 69, 67, 0.78);
}

.home-page .site-header .offer-menu:hover .offer-dropdown,
.home-page .site-header .offer-menu:focus-within .offer-dropdown,
.home-page .site-header .offer-menu.open .offer-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.home-page .site-header .offer-dropdown a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 0 6px 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  transition: color 180ms ease, transform 180ms ease;
}

.home-page .site-header .offer-dropdown a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.home-page .site-header .offer-dropdown a:hover,
.home-page .site-header .offer-dropdown a:focus-visible {
  color: #ffffff;
  transform: translateX(4px);
  outline: none;
}

.home-page .site-header .offer-dropdown a:hover::before,
.home-page .site-header .offer-dropdown a:focus-visible::before {
  background: #ffffff;
  transform: translateY(-50%) scaleX(1.35);
}

@media (max-width: 1280px) {
  .home-page .site-header .offer-dropdown {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    padding-left: 54px;
    padding-right: 54px;
  }
}

@media (max-width: 900px) {
  .home-page .site-header .offer-dropdown {
    position: static;
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 0 0 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }

  .home-page .site-header .offer-dropdown::before {
    display: none;
  }

  .home-page .site-header .offer-dropdown a {
    padding: 10px 0 10px 18px;
    font-size: 16px;
  }
}


/* MAT dropdown globally and hero arrow spacing */
.site-header .offer-dropdown {
  position: fixed;
  top: 88px;
  left: 0;
  width: 100vw;
  min-height: 116px;
  padding: 22px clamp(54px, 6vw, 116px);
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 12px 34px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 69, 67, 0.78), rgba(31, 112, 110, 0.62), rgba(11, 45, 44, 0.74));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(7px);
  transform: translateY(-12px);
}

.site-header .offer-dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 238px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 16px solid rgba(18, 69, 67, 0.78);
}

.site-header .offer-menu:hover .offer-dropdown,
.site-header .offer-menu:focus-within .offer-dropdown,
.site-header .offer-menu.open .offer-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header .offer-dropdown a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 0 6px 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  transition: color 180ms ease, transform 180ms ease;
}

.site-header .offer-dropdown a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.site-header .offer-dropdown a:hover,
.site-header .offer-dropdown a:focus-visible {
  color: #ffffff;
  transform: translateX(4px);
  outline: none;
}

.site-header .offer-dropdown a:hover::before,
.site-header .offer-dropdown a:focus-visible::before {
  background: #ffffff;
  transform: translateY(-50%) scaleX(1.35);
}

.home-page .site-header .offer-dropdown {
  top: 214px;
}

.home-page .hero-content {
  left: max(8.8%, 150px);
  width: min(830px, calc(100% - 230px));
}

.home-page .hero-prev {
  left: 20px;
  width: 82px;
}

.home-page .hero-prev::before {
  left: 10px;
  width: 48px;
}

.home-page .hero-prev::after {
  left: 10px;
  width: 20px;
  height: 20px;
  top: calc(50% - 10px);
}

.home-page .hero-next {
  right: 20px;
  width: 92px;
}

.home-page .hero-next::before {
  right: 10px;
  width: 48px;
}

.home-page .hero-next::after {
  right: 10px;
  width: 20px;
  height: 20px;
  top: calc(50% - 10px);
}

@media (max-width: 1280px) {
  .site-header .offer-dropdown {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    padding-left: 54px;
    padding-right: 54px;
  }

  .home-page .hero-content {
    left: 130px;
    width: min(760px, calc(100% - 210px));
  }
}

@media (max-width: 900px) {
  .site-header .offer-dropdown,
  .home-page .site-header .offer-dropdown {
    position: static;
    top: auto;
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 0 0 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }

  .site-header .offer-dropdown::before {
    display: none;
  }

  .site-header .offer-dropdown a {
    padding: 10px 0 10px 18px;
    font-size: 16px;
  }

  .home-page .hero-content {
    left: 72px;
    width: calc(100% - 110px);
  }

  .home-page .hero-prev {
    left: 8px;
    width: 54px;
  }

  .home-page .hero-prev::before {
    left: 6px;
    width: 34px;
  }

  .home-page .hero-prev::after {
    left: 6px;
    width: 16px;
    height: 16px;
  }
}


/* MAT final responsive header/menu fixes */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  gap: 28px;
}

body:not(.home-page) .site-header {
  display: grid;
  grid-template-columns: auto auto minmax(110px, 1fr) auto auto;
  align-items: center;
  column-gap: clamp(22px, 2.2vw, 42px);
}

body:not(.home-page) .header-brand {
  position: static;
  width: 150px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: #ffffff;
  border-radius: 0 0 28px 28px;
  transform: none;
  z-index: 2;
}

body:not(.home-page) .header-brand img {
  width: 118px;
  height: auto;
}

body:not(.home-page) .site-nav {
  min-width: 0;
  gap: clamp(24px, 2.7vw, 50px);
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
  white-space: nowrap;
}

.header-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: clamp(13px, 0.85vw, 17px);
  font-weight: 500;
}

.header-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-size: 18px;
}

.header-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-header .header-socials .social-circle {
  width: 42px;
  height: 42px;
  margin: 0;
  font-size: 18px;
}

body:not(.home-page) .site-header > .cta-button {
  min-width: 230px;
  min-height: 64px;
}

.site-header .offer-dropdown {
  position: fixed;
  top: 88px;
  left: 0;
  width: 100vw;
  min-height: 116px;
  padding: 22px clamp(54px, 6vw, 116px);
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 12px 34px;
  align-items: center;
  background: linear-gradient(90deg, rgba(18, 69, 67, 0.78), rgba(31, 112, 110, 0.62), rgba(11, 45, 44, 0.74));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
}

.home-page .site-header .offer-dropdown {
  top: 214px;
}

.site-header .offer-menu.open .offer-dropdown,
.site-header .offer-menu:focus-within .offer-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header .offer-dropdown a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 0 6px 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}

.site-header .offer-dropdown a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  transform: translateY(-50%);
}

.site-header .offer-dropdown a:hover,
.site-header .offer-dropdown a:focus-visible {
  color: #ffffff;
  transform: translateX(4px);
  outline: none;
}

.home-page .hero-dot {
  display: none !important;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  min-height: clamp(300px, 28vw, 390px);
}

@media (max-width: 1500px) {
  body:not(.home-page) .site-header {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  body:not(.home-page) .header-contact {
    display: none;
  }
}

@media (max-width: 1280px) {
  .site-header {
    padding-left: 32px;
    padding-right: 32px;
  }

  body:not(.home-page) .site-header {
    grid-template-columns: auto auto 1fr auto;
    column-gap: 22px;
  }

  body:not(.home-page) .header-socials {
    display: none;
  }

  body:not(.home-page) .site-header > .cta-button {
    min-width: 210px;
  }

  .site-header .offer-dropdown {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    padding-left: 36px;
    padding-right: 36px;
  }
}

@media (max-width: 900px) {
  .site-header,
  body:not(.home-page) .site-header,
  .home-page .site-header {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: rgba(18, 18, 18, 0.96);
  }

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

  .header-brand,
  body:not(.home-page) .header-brand,
  .home-page .site-header .header-brand {
    position: static;
    width: 142px;
    height: 60px;
    display: flex;
    padding: 10px 18px;
    border-radius: 0 0 24px 24px;
    transform: none;
  }

  .header-brand img,
  body:not(.home-page) .header-brand img,
  .home-page .site-header .header-brand img {
    width: 110px;
  }

  .header-contact,
  .header-socials,
  .site-header > .cta-button,
  .home-page .header-contact,
  .home-page .header-socials,
  .home-page .site-header > .cta-button {
    display: none;
  }

  .site-nav,
  body:not(.home-page) .site-nav,
  .home-page .site-header .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    min-width: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 22px 22px;
    background: rgba(18, 18, 18, 0.98);
  }

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

  .site-nav a,
  .offer-trigger,
  .home-page .site-header .site-nav a,
  .home-page .site-header .offer-trigger {
    width: 100%;
    padding: 16px 0;
    font-size: 18px;
    text-align: left;
  }

  .offer-menu {
    width: 100%;
  }

  .site-header .offer-dropdown,
  .home-page .site-header .offer-dropdown {
    position: static;
    width: 100%;
    min-height: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 0 0 14px 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .offer-menu.open .offer-dropdown,
  .site-header .offer-menu.open .offer-dropdown {
    display: grid;
  }

  .site-header .offer-dropdown::before {
    display: none;
  }

  .site-header .offer-dropdown a {
    min-height: 0;
    padding: 10px 0 10px 18px;
    font-size: 15px;
  }

  .home-page .hero-screen {
    min-height: 600px;
    height: 600px;
  }

  .home-page .hero-content {
    left: 26px;
    top: 28%;
    width: calc(100% - 52px);
  }

  .home-page .hero-prev,
  .home-page .hero-next {
    display: none;
  }

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

  .contact-section,
  .support-section,
  .quote-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-brand,
  body:not(.home-page) .header-brand,
  .home-page .site-header .header-brand {
    width: 128px;
    height: 56px;
  }

  .header-brand img,
  body:not(.home-page) .header-brand img,
  .home-page .site-header .header-brand img {
    width: 98px;
  }

  .home-page .hero-content h1 {
    font-size: 40px;
  }

  .home-page .hero-content p {
    font-size: 17px;
  }

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


/* MAT click-only offer menu */
.site-header .offer-menu:not(.open):not(:focus-within) .offer-dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
}

.site-header .offer-menu.open .offer-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header .offer-menu:not(.open):not(:focus-within) .offer-dropdown {
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-header .offer-menu.open .offer-dropdown {
    display: grid;
  }
}


/* MAT final scale polish */
.site-header {
  isolation: isolate;
}

.home-page .site-header .offer-dropdown {
  background: rgba(25, 78, 75, 0.94);
  backdrop-filter: blur(12px);
}

.site-header .offer-dropdown {
  z-index: 120;
}

.home-page .hero-content h1,
.home-page .hero-content p,
.services-copy,
.support-copy,
.intro-band-inner,
.contact-form,
.service-card-title {
  overflow-wrap: anywhere;
}

.home-page .hero-dot,
.home-page .hero-click.hero-dot {
  display: none !important;
}

@media (max-width: 1280px) {
  .home-page .site-header .header-contact {
    left: 52%;
  }

  .home-page .site-header .header-socials {
    right: 34px;
  }
}

@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header,
  body:not(.home-page) .site-header,
  .home-page .site-header {
    width: 100%;
    min-width: 0;
    height: 76px;
    padding: 0 16px;
    gap: 12px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .header-brand,
  body:not(.home-page) .header-brand,
  .home-page .site-header .header-brand {
    width: 118px;
    height: 56px;
    flex: 0 0 118px;
    padding: 9px 14px;
    margin-left: auto;
    border-radius: 0 0 22px 22px;
  }

  .header-brand img,
  body:not(.home-page) .header-brand img,
  .home-page .site-header .header-brand img {
    width: 88px;
    max-width: 100%;
  }

  .site-nav,
  body:not(.home-page) .site-nav,
  .home-page .site-header .site-nav {
    top: 76px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 14px 22px 20px;
    background: rgba(18, 18, 18, 0.98);
    z-index: 115;
  }

  .site-nav a,
  .offer-trigger,
  .home-page .site-header .site-nav a,
  .home-page .site-header .offer-trigger {
    min-height: 44px;
    padding: 10px 0;
    font-size: 17px;
    line-height: 1.25;
  }

  .site-header .offer-dropdown,
  .home-page .site-header .offer-dropdown {
    padding: 4px 0 8px 0;
    gap: 0;
    background: transparent;
  }

  .site-header .offer-dropdown a {
    min-height: 38px;
    padding: 8px 0 8px 18px;
    font-size: 14px;
    line-height: 1.25;
  }

  .home-page .hero-screen {
    height: auto;
    min-height: 600px;
  }

  .home-page .hero-content {
    left: 24px;
    top: 27%;
    width: calc(100% - 48px);
    max-width: none;
  }

  .home-page .hero-content h1 {
    font-size: clamp(34px, 9.4vw, 46px);
    line-height: 1.16;
    margin-bottom: 24px;
  }

  .home-page .hero-content p {
    width: 100%;
    font-size: clamp(16px, 4.4vw, 19px);
    line-height: 1.48;
  }

  .hero-eyebrow,
  .eyebrow {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .intro-band,
  .services-section,
  .advantages-section,
  .support-section,
  .quote-section,
  .contact-panel {
    padding-left: 24px;
    padding-right: 24px;
  }

  .intro-band-inner,
  .services-copy,
  .support-copy,
  .contact-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .intro-band h2,
  .services-copy h2,
  .support-copy h2,
  .contact-copy h1 {
    font-size: clamp(30px, 8vw, 44px);
    line-height: 1.2;
  }

  .intro-band p,
  .services-copy p,
  .support-copy p,
  .contact-copy p {
    font-size: 17px;
    line-height: 1.58;
  }

  .service-grid {
    gap: 28px;
  }

  .service-card {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .site-header,
  body:not(.home-page) .site-header,
  .home-page .site-header {
    padding: 0 14px;
  }

  .home-page .hero-content {
    left: 22px;
    width: calc(100% - 44px);
  }

  .home-page .hero-content h1 {
    font-size: 34px;
  }

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

  .hero-eyebrow,
  .eyebrow {
    font-size: 15px;
    letter-spacing: 2px;
  }

  .intro-band,
  .services-section,
  .advantages-section,
  .support-section,
  .quote-section,
  .contact-panel {
    padding-left: 22px;
    padding-right: 22px;
  }
}


/* MAT overflow and mobile menu clamp */
* {
  box-sizing: border-box;
}

img,
video,
iframe,
.map-frame,
.map-frame iframe {
  max-width: 100%;
}

main,
section,
.site-header,
.site-nav,
.service-grid,
.service-card,
.intro-band-inner,
.services-copy,
.support-copy,
.contact-section,
.contact-form,
.footer-grid {
  min-width: 0;
}

.service-card {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 900px) {
  body.nav-open .site-header .site-nav,
  body.nav-open.home-page .site-header .site-nav {
    display: flex !important;
  }

  .home-page .hero-content,
  .intro-band-inner,
  .services-copy,
  .support-copy,
  .contact-copy,
  .contact-form {
    max-width: calc(100vw - 44px);
  }

  .intro-band h2,
  .services-copy h2,
  .support-copy h2,
  .contact-copy h1,
  .home-page .hero-content h1,
  .home-page .hero-content p,
  .services-copy p,
  .support-copy p,
  .intro-band p {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .home-page .hero-content h1 {
    font-size: 32px;
  }

  .home-page .hero-content p {
    font-size: 15px;
    line-height: 1.5;
  }

  .intro-band h2 {
    font-size: 32px;
  }

  .intro-band p {
    font-size: 15px;
  }

  .service-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .service-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .service-card h3,
  .service-card a {
    max-width: calc(100% - 24px);
  }

  .hero-click,
  .hero-hotspot,
  .hero-offer-dropdown {
    max-width: 100vw;
  }
}

@media (max-width: 420px) {
  .home-page .hero-content,
  .intro-band-inner,
  .services-copy,
  .support-copy,
  .contact-copy,
  .contact-form {
    max-width: calc(100vw - 36px);
  }

  .home-page .hero-content h1 {
    font-size: 30px;
  }

  .home-page .hero-content p,
  .intro-band p,
  .services-copy p,
  .support-copy p {
    font-size: 14px;
  }

  .intro-band h2,
  .services-copy h2,
  .support-copy h2,
  .contact-copy h1 {
    font-size: 30px;
  }
}


/* MAT narrow phone final clamp */
@media (max-width: 900px) {
  .header-brand,
  body:not(.home-page) .header-brand,
  .home-page .site-header .header-brand {
    position: absolute !important;
    left: 50% !important;
    top: 0;
    transform: translateX(-50%) !important;
    margin: 0;
  }
}

@media (max-width: 560px) {
  .home-page .hero-content,
  .intro-band-inner,
  .services-copy,
  .support-copy,
  .contact-copy,
  .contact-form {
    width: min(342px, calc(100vw - 44px));
    max-width: min(342px, calc(100vw - 44px));
  }

  .home-page .hero-content {
    left: 22px;
  }

  .service-grid {
    justify-items: center;
  }

  .service-card {
    width: min(342px, calc(100vw - 44px));
    max-width: min(342px, calc(100vw - 44px));
  }
}


/* MAT service grid final columns */
.services-section .service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1280px) {
  .services-section .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .services-section .service-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
