:root {
  --ink: #17181a;
  --muted: #6e7378;
  --panel: #e9e9e9;
  --page: #f8f8f7;
  --blue: #1f78bd;
  --blue-dark: #113f65;
  --radius: 34px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Stack Sans Text", Arial, sans-serif;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 58px;
  color: rgba(255, 255, 255, 0.78);
  background: #17181a;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}

.topbar.is-visible {
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.topbar-inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1920px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 7.2vw, 132px);
}

.topbar-phone,
.topbar-hours,
.business-status {
  display: inline-flex;
  align-items: center;
}

.topbar-phone {
  gap: 10px;
  color: #fff;
  font-size: 0.84rem;
  white-space: nowrap;
}

.topbar-phone strong {
  font-weight: 500;
}

.topbar-hours {
  gap: 20px;
  justify-content: flex-end;
  font-size: 0.78rem;
  white-space: nowrap;
}

.business-status {
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 500;
}

.business-status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #e14a4a;
  box-shadow: 0 0 0 0 rgba(225, 74, 74, 0.45);
}

.business-status.is-open .business-status-dot {
  background: #27d66d;
  animation: business-status-pulse 1.6s ease-in-out infinite;
}

.business-status.is-closed .business-status-dot {
  background: #e14a4a;
}

@keyframes business-status-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(39, 214, 109, 0.5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(39, 214, 109, 0);
  }
}

main {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

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

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

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  gap: 12px;
  padding: 8px;
}

.hero-copy,
.hero-image {
  min-height: calc(100svh - 16px);
  border-radius: var(--radius);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(88px, 10vw, 132px) clamp(28px, 7.2vw, 132px) 88px;
  background: var(--panel);
}

.brand {
  position: absolute;
  top: 44px;
  left: clamp(28px, 7.2vw, 132px);
  margin: 0;
  color: #12263c;
  font-family: "Petrona", Georgia, serif;
  font-size: clamp(1rem, 1.12vw, 1.32rem);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 810px;
  margin: 0;
  font-family: "Petrona", Georgia, serif;
  font-size: clamp(3.4rem, 4.4vw, 5.85rem);
  /* font-size: 4vw; */
  font-weight: 100;
  letter-spacing: -4px;
  line-height: 0.98;
}

.hero-text {
  max-width: 620px;
  margin: 38px 0 0;
  color: #202226;
  font-size: clamp(16px, 1.4vw, 2vw);
  font-weight: 100;
  line-height: 1.32;
}

.hero-action {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
  padding: 18px 24px 18px 32px;
  border-radius: 200px;
  color: #ffffff;
  background: linear-gradient(100deg, var(--blue-dark), var(--blue));
  box-shadow: 0px 0px 0px 8px rgba(17, 63, 101, 0.171);
  animation: hero-action-radar 1.8s ease-in-out infinite;
  font-size: clamp(1rem, 1.18vw, 1.28rem);
  font-weight: 200;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-action:hover,
.hero-action:focus-visible {
  outline: 0;
  box-shadow: 0 22px 42px rgba(17, 63, 101, 0.25);
}

.hero-action:hover .action-icon,
.hero-action:focus-visible .action-icon {
  animation: action-icon-bounce 700ms ease-in-out infinite;
}

.action-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 200px;
  background: #FFFFFF20;
  font-size: 1.24rem;
  line-height: 1;
}

.action-icon svg {
  width: 45%;
}

.hero-marquee {
  position: relative;
  width: 100%;
  margin-top: clamp(64px, 6vw, 96px);
  min-width: 0;
  overflow: hidden;
  color: #161616;
  opacity: .3;
  font-size: clamp(0.95rem, 1.08vw, 1.18rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 18s linear infinite;
}

.marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}

.hero-marquee i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--blue);
}

.marquee-fade {
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(120px, 24%);
  height: 100%;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--panel), rgba(233, 233, 233, 0));
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(270deg, var(--panel), rgba(233, 233, 233, 0));
}

@keyframes marquee-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes hero-action-radar {
  0%,
  100% {
    box-shadow: 0 0 0 8px rgba(17, 63, 101, 0.171);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(17, 63, 101, 0);
  }
}

@keyframes action-icon-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

.specialists {
  padding: clamp(44px, 5vw, 72px) 0;
  background: var(--page);
}

.specialists-title {
    margin: 0 24px clamp(28px, 3vw, 42px);
    color: #26333a;
    font-family: 'Stack Sans Text';
    font-size: clamp(1.35rem, 1vw, 1.75rem);
    font-weight: 100;
    text-align: center;
}

.specialists-logos {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.specialists-track {
  display: flex;
  width: max-content;
  animation: specialists-slide 22s linear infinite;
}

.specialists-group {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(52px, 6vw, 104px);
  align-items: center;
  padding-right: clamp(52px, 6vw, 104px);
}

.specialist-brand {
  display: flex;
  width: clamp(170px, 15vw, 230px);
  flex: 0 0 auto;
  justify-content: center;
  color: #17181a;
}

.specialist-brand svg {
  width: 100%;
  max-width: 220px;
  height: 64px;
}

.specialists-fade {
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(150px, 15vw);
  height: 100%;
  pointer-events: none;
}

.specialists-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--page), rgba(248, 248, 247, 0));
}

.specialists-fade-right {
  right: 0;
  background: linear-gradient(270deg, var(--page), rgba(248, 248, 247, 0));
}

@keyframes specialists-slide {
  to {
    transform: translateX(-50%);
  }
}

.services-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 132px);
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(100px, 13vw, 210px) clamp(28px, 7.2vw, 132px);
}

.services-intro {
  position: sticky;
  top: 48px;
  align-self: start;
  padding-top: 12px;
}

.section-kicker,
.service-label {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker {
  margin: 0 0 24px;
}

.services-intro > h2:not(.section-title) {
  max-width: 520px;
  margin: 0;
  font-family: "Petrona", Georgia, serif;
  font-size: clamp(2.7rem, 4.2vw, 5.2rem);
  font-weight: 200;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.section-description {
  max-width: 960px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  font-weight: 200;
  line-height: 1.45;
}

.services-list {
  display: grid;
  gap: 24px;
  padding-bottom: 12vh;
}

.service-card {
  position: sticky;
  top: 32px;
  z-index: 1;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 58px);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(17, 63, 101, 0.08);
}

.service-card:nth-child(2) {
  top: 48px;
  z-index: 2;
}

.service-card:nth-child(3) {
  top: 64px;
  z-index: 3;
}

.service-card:nth-child(4) {
  top: 80px;
  z-index: 4;
}

.service-card:nth-child(5) {
  top: 96px;
  z-index: 5;
}

.service-card:nth-child(6) {
  top: 112px;
  z-index: 6;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-number {
  font-family: "Petrona", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 200;
  line-height: 1;
}

.service-card h3 {
  max-width: 620px;
  margin: auto 0 18px;
  font-family: "Petrona", Georgia, serif;
  font-size: clamp(2.5rem, 4.2vw, 5rem);
  font-weight: 200;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.service-card p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 200;
  line-height: 1.4;
}

.service-card-blue {
  color: #f7fbff;
  background: var(--blue-dark);
}

.service-card-blue .service-label {
  color: #a9d8f8;
}

.service-card-light {
  color: var(--ink);
  background: #dcebf3;
}

.service-card-light .service-label {
  color: var(--blue-dark);
}

.service-card-dark {
  color: #f7fbff;
  background: #20282f;
}

.service-card-dark .service-label {
  color: #a9d8f8;
}

.hero-image {
  overflow: hidden;
  margin: 0;
  background: #1b1b1b;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide picture,
.hero-slide img {
  height: 100%;
}

.hero-slide img {
  object-fit: cover;
  filter: grayscale(1);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  margin: 8px;
  padding: clamp(58px, 7vw, 94px) clamp(24px, 7vw, 110px) 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #4b4f52;
  border-radius: 26px
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(34px, 5vw, 88px);
}

.site-footer-logo {
  margin: 0 0 26px;
  color: #fff;
  font-family: "Petrona", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.site-footer-logo span {
  display: block;
  margin-top: 7px;
  font-family: "Stack Sans Text", Arial, sans-serif;
  font-size: 0.3em;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer-brand p:not(.site-footer-logo) {
  max-width: 300px;
  margin: 0 0 22px;
  font-size: 0.94rem;
  font-weight: 200;
  line-height: 1.55;
}

.site-footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.site-footer-column h2 {
  margin: 3px 0 12px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer-column a,
.site-footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 200;
  line-height: 1.5;
}

.site-footer-column strong {
  color: #fff;
  font-weight: 500;
}

.footer-business-status {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer-column a:hover,
.site-footer-column a:focus-visible,
.site-footer-bottom a:hover,
.site-footer-bottom a:focus-visible {
  color: #fff;
}

.site-footer-action {
  margin-top: 8px !important;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  transition: background 180ms ease, transform 180ms ease;
}

.site-footer-action:hover,
.site-footer-action:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.76rem;
}

.site-footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-image {
    min-height: auto;
  }

  .hero-slider {
    height: min(520px, 70svh);
  }

  .hero-copy {
    min-height: 670px;
  }

  .hero-slide img {
    max-height: 520px;
  }

  .services-section {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .services-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .topbar,
  .topbar-inner {
    min-height: 88px;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 10px 24px;
  }

  .topbar-hours {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.7rem;
  }

  .topbar-phone {
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding: 8px;
  }

  .hero-copy {
    min-height: 640px;
    padding: 96px 24px 42px;
    border-radius: 26px;
  }

  .brand {
    top: 38px;
    left: 24px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4rem);
  }

  .hero-text {
    margin-top: 30px;
  }

  .hero-action {
    min-height: 64px;
    padding-right: 18px;
    padding-left: 20px;
  }

  .hero-marquee {
    margin-top: 64px;
  }

  .hero-image {
    height: 420px;
    border-radius: 26px;
  }

  .hero-slide img {
    max-height: 420px;
  }

  .specialists {
    padding: 40px 0;
  }

  .specialists-title {
    margin-bottom: 28px;
  }

  .specialists-group {
    gap: 38px;
    padding-right: 38px;
  }

  .specialist-brand {
    width: 170px;
  }

  .specialist-brand svg {
    height: 52px;
  }

  .services-section {
    gap: 48px;
    padding: 100px 24px;
  }

  .services-list {
    gap: 16px;
  }

  .service-card,
  .service-card:nth-child(n) {
    position: relative;
    top: auto;
    min-height: 280px;
  }
}

/* Services editorial layout */
.services-section {
  display: block;
  max-width: none;
  margin: 0;
  padding: clamp(110px, 4vw, 210px) clamp(28px, 5.6vw, 108px) 140px;
}

.services-intro {
  position: static;
  max-width: 820px;
  margin: 0 auto clamp(90px, 3vw, 150px);
  padding: 0;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin: 0 0 32px;
  padding: 0;
  color: #161616;
  background: transparent;
  font-size: 12px;
  font-weight: 200;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.section-kicker span {
  display: none;
}

.section-title {
  max-width: none;
  margin: 0;
  font-family: "Petrona", Arial, sans-serif;
  font-size: clamp(3rem, 4.4vw, 5.5rem);
  font-weight: 200;
  letter-spacing: -0.08em;
  line-height: 0.92;
}

.section-title em {
  color: inherit;
  font-style: normal;
}

.section-description {
  max-width: 960px;
  margin: 36px auto 0;
  color: #425364;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 200;
  line-height: 1.45;
}

.services-list {
  display: block;
  max-width: 1690px;
  margin: 0 auto;
  padding: 0;
}

.service-item {
  position: sticky;
  top: 18px;
  z-index: 1;
  display: grid;
  min-height: 335px;
  grid-template-columns: 80px minmax(270px, 1.05fr) minmax(220px, 0.95fr) minmax(360px, 1.25fr);
  gap: clamp(24px, 3vw, 60px);
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid #d8e0e4;
  background: var(--page);
}

.service-item:last-child {
  border-bottom: 1px solid #d8e0e4;
}

.service-item:nth-child(2) {
  top: 34px;
  z-index: 2;
}

.service-item:nth-child(3) {
  top: 50px;
  z-index: 3;
}

.service-item:nth-child(4) {
  top: 66px;
  z-index: 4;
}

.service-index {
  align-self: start;
  padding-top: 8px;
  color: #8b969c;
  font-size: 0.75rem;
  font-weight: 400;
}

.service-main h3 {
  margin: 0 0 24px;
  font-family: "Petrona", serif;
  font-size: clamp(1.9rem, 3.2vw, 3.2vw);
  font-weight: 200;
  letter-spacing: -0.06em;
  line-height: 1;
}

.service-actions {
  display: grid;
  width: min(190px, 100%);
  gap: 8px;
}

.service-action {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.service-action:hover,
.service-action:focus-visible {
  outline: 0;
  transform: translateX(3px);
}

.service-action-primary {
  color: #ffffff;
  background: #151a1e;
}

.service-action-primary:hover,
.service-action-primary:focus-visible {
  background: var(--blue-dark);
}

.service-action-secondary {
  border: 1px solid #ccd8dd;
  color: #151a1e;
}

.service-action-secondary:hover,
.service-action-secondary:focus-visible {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.service-action-secondary span {
  font-size: 1rem;
}

.service-description {
  max-width: 330px;
  margin: 0;
  color: #687780;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 200;
  line-height: 1.4;
}

.service-image {
  height: 272px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dce5e8;
}

.service-image img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35);
  transition: transform 500ms ease;
}

.service-item:hover .service-image img {
  transform: scale(1.035);
}

body.modal-open {
  overflow: hidden;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 24px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 250ms, opacity 250ms ease;
}

.service-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 24, 0.72);
  backdrop-filter: blur(8px);
}

.service-modal-dialog {
  position: relative;
  display: grid;
  width: min(1080px, 100%);
  height: min(720px, calc(100svh - 48px));
  max-height: calc(100svh - 48px);
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  overflow: hidden;
  border-radius: 24px;
  background: #f8f8f7;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.98);
  transition: transform 250ms ease;
}

.service-modal.is-open .service-modal-dialog {
  transform: translateY(0) scale(1);
}

.service-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: rgba(15, 22, 27, 0.78);
  font: 300 1.7rem/1 Arial, sans-serif;
  cursor: pointer;
}

.service-modal-visual {
  min-height: 620px;
  overflow: hidden;
  background: #dce5e8;
}

.service-modal-visual img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
}

.service-modal-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.service-modal-body {
  min-height: 0;
  overflow-y: auto;
  padding: clamp(42px, 5vw, 72px);
  padding-bottom: 32px;
  scrollbar-color: rgba(17, 63, 101, 0.45) transparent;
  scrollbar-width: thin;
}

.service-modal-body::-webkit-scrollbar {
  width: 6px;
}

.service-modal-body::-webkit-scrollbar-track {
  margin: 24px 0;
  background: transparent;
}

.service-modal-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(17, 63, 101, 0.45);
}

.service-modal-description {
  margin: 24px 0 34px;
  color: #687780;
  font-size: 1.05rem;
  font-weight: 200;
  line-height: 1.5;
}

.service-modal-content h3 {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-modal-list {
  display: grid;
  gap: 11px;
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
}

.service-modal-list li {
  display: flex;
  gap: 10px;
  color: #425364;
  font-size: 0.95rem;
}

.service-modal-list li::before {
  content: "\2713";
  color: var(--blue);
  font-weight: 700;
}

.service-modal-footer {
  display: flex;
  flex: 0 0 auto;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
  padding: 26px clamp(42px, 5vw, 72px) clamp(42px, 5vw, 72px);
  border-top: 1px solid #d8e0e4;
  background: #f8f8f7;
}

.service-modal-footer > div {
  display: grid;
  gap: 4px;
}

.service-modal-footer span,
.service-modal-footer small {
  color: #687780;
  font-size: 0.72rem;
}

.service-modal-footer strong {
  color: var(--blue-dark);
  font-family: "Petrona", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.service-modal-footer small {
  max-width: 220px;
  line-height: 1.3;
}

.service-modal-book {
  display: inline-flex;
  width: fit-content;
  min-height: 0;
  flex: 0 0 auto;
  gap: 12px;
  align-items: center;
  margin-top: 0;
  padding: 12px 18px 12px 22px;
  border-radius: 200px;
  color: #ffffff !important;
  background: linear-gradient(100deg, var(--blue-dark), var(--blue));
  box-shadow: 0 0 0 8px rgba(17, 63, 101, 0.171);
  animation: hero-action-radar 1.8s ease-in-out infinite;
  font-size: clamp(1rem, 1.18vw, 1.28rem);
  font-weight: 200;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-modal-book .action-icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  color: #ffffff;
  font-size: 1.1rem;
}

.service-modal-book:hover,
.service-modal-book:focus-visible {
  outline: 0;
  box-shadow: 0 22px 42px rgba(17, 63, 101, 0.25);
}

.service-modal-book:hover .action-icon,
.service-modal-book:focus-visible .action-icon {
  animation: action-icon-bounce 700ms ease-in-out infinite;
}

.testimonials-section {
  padding: clamp(64px, 6vw, 92px) clamp(28px, 5.6vw, 108px);
  background: #eff1f2;
}

.testimonials-header {
  display: grid;
  max-width: 790px;
  justify-items: center;
  margin: 0 auto clamp(62px, 7vw, 96px);
  text-align: center;
}

.testimonials-google-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--blue-dark);
  font-size: 0.9rem;
}

.testimonials-grid {
  display: grid;
  max-width: 1440px;
  margin: 0 auto;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}

.testimonial-card,
.testimonial-photo-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
}

.testimonial-card {
  display: flex;
  min-height: 310px;
  grid-column: span 4;
  flex-direction: column;
  padding: clamp(28px, 3vw, 44px);
  background: #fff;
}

.testimonial-card-featured {
  min-height: 470px;
  grid-column: span 7;
  grid-row: span 2;
  color: #fff;
  background: var(--blue-dark);
}

.testimonial-card-featured blockquote,
.testimonial-card-featured footer {
  transition: opacity 260ms ease, transform 260ms ease;
}

.testimonial-card-featured.is-changing blockquote,
.testimonial-card-featured.is-changing footer {
  opacity: 0;
  transform: translateY(8px);
}

.testimonial-photo-card {
  position: relative;
  min-height: 470px;
  grid-column: span 5;
  grid-row: span 2;
  background: #cbd4d8;
}

.testimonial-photo-card img {
  height: 100%;
  object-fit: cover;
}

.testimonial-photo-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(8, 17, 24, 0.78));
}

.testimonial-photo-card figcaption {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  z-index: 1;
  color: #fff;
  font-size: 0.86rem;
}

.testimonial-card-wide {
  grid-column: span 4;
}

.testimonial-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.testimonial-stars {
  color: #f7c928;
  font-size: 1.12rem;
  letter-spacing: 0.12em;
}

.google-badge {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #4285f4;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-card blockquote {
  margin: 0;
  font-family: "Stack Sans Text", sans-serif;
  font-size: clamp(1.12rem, 1.2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.42;
}

.testimonial-card-featured blockquote {
  font-size: clamp(1.35rem, 1.6vw, 2rem);
  line-height: 1.34;
}

.testimonial-card footer {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding-top: 36px;
}

.testimonial-card footer strong {
  font-size: 0.94rem;
}

.testimonial-card footer span {
  color: var(--muted);
  font-size: 0.8rem;
}

.testimonial-card-featured footer span,
.testimonial-card-blue footer span {
  color: rgba(255, 255, 255, 0.62);
}

.author-section {
  display: grid;
  max-width: 1440px;
  min-height: 620px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 140px) clamp(28px, 5.6vw, 108px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(48px, 8vw, 132px);
  align-items: center;
}

.author-image-wrap {
  height: min(620px, 45vw);
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce5e8;
}

.author-image-wrap img {
  height: 100%;
  object-fit: cover;
}

.author-content {
  max-width: 650px;
}

.author-content .section-title {
  margin-bottom: 34px;
}

.author-bio {
  max-width: 590px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 200;
  line-height: 1.55;
}

.author-signature {
  margin-top: 38px;
  color: var(--blue-dark);
  font-family: "Petrona", Georgia, serif;
  font-size: 1.2rem;
}

.author-signature span {
  color: var(--muted);
  font-family: "Stack Sans Text", Arial, sans-serif;
  font-size: 0.78rem;
}

.contact-section {
  position: relative;
  min-height: 720px;
  margin: 8px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eff1f2;
}

.contact-map,
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map {
  overflow: hidden;
}

.contact-map::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 190px;
  height: 58px;
  pointer-events: none;
  background: rgba(220, 229, 232, 0.94);
}

.contact-map iframe {
  right: auto;
  width: 150%;
  filter: grayscale(0.35) contrast(0.9);
}

.contact-card {
  position: relative;
  z-index: 1;
  width: min(500px, calc(100% - 64px));
  margin: 32px;
  padding: clamp(34px, 4vw, 58px);
  border-radius: 24px;
  color: #fff;
  background: rgba(17, 39, 57, 0.96);
  box-shadow: 0 28px 70px rgba(12, 27, 38, 0.28);
  backdrop-filter: blur(8px);
}

.contact-card .section-title {
  color: #fff;
}

.contact-card .section-kicker {
  color: #dcebf5;
}

.contact-intro {
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
  font-weight: 200;
  line-height: 1.5;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-style: normal;
}

.contact-detail {
  display: grid;
  align-content: start;
  gap: 8px;
}

.contact-detail span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-detail a,
.contact-detail p {
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
  color: #a9d7f7;
}

.contact-action {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 180ms ease, transform 180ms ease;
}

.contact-action:hover,
.contact-action:focus-visible {
  outline: 0;
  color: var(--blue);
  transform: translateY(-2px);
}

@media (max-width: 1080px) {
  .author-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .author-image-wrap {
    height: min(620px, 70vw);
  }

  .testimonial-card,
  .testimonial-card-featured,
  .testimonial-photo-card,
  .testimonial-card-wide {
    grid-column: span 6;
  }

  .service-item {
    grid-template-columns: 52px minmax(240px, 1fr) minmax(190px, 0.8fr);
  }

  .service-image {
    grid-column: 2 / -1;
    grid-row: 2;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .author-section {
    gap: 38px;
    padding: 76px 24px;
  }

  .author-image-wrap {
    height: 420px;
    min-height: 0;
    border-radius: 26px;
  }

  .author-content .section-title {
    margin-bottom: 26px;
  }

  .services-section {
    padding: 96px 24px 100px;
  }

  .services-intro {
    margin-bottom: 72px;
  }

  .section-title {
    font-size: clamp(2.9rem, 14vw, 4.5rem);
  }

  .service-item,
  .service-item:nth-child(n) {
    position: relative;
    top: auto;
    display: grid;
    min-height: 0;
    grid-template-columns: 40px 1fr;
    gap: 18px;
    padding: 30px 0 36px;
  }

  .service-main {
    grid-column: 2;
  }

  .service-description {
    grid-column: 2;
    margin-top: 26px;
  }

  .service-image {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 220px;
    margin-top: 8px;
  }

  .service-modal {
    align-items: end;
    padding: 10px;
  }

  .service-modal-dialog {
    height: calc(100svh - 20px);
    max-height: calc(100svh - 20px);
    grid-template-columns: 1fr;
    grid-template-rows: 220px minmax(0, 1fr);
    border-radius: 20px;
  }

  .service-modal-visual {
    min-height: 220px;
    height: 220px;
  }

  .service-modal-content {
    overflow: hidden;
  }

  .service-modal-body {
    padding: 32px 24px 24px;
  }

  .service-modal-description {
    margin: 18px 0 26px;
  }

  .service-modal-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 20px 24px 28px;
  }

  .service-modal-book {
    justify-content: space-between;
  }

  .contact-section {
    min-height: 830px;
    border-radius: 26px;
  }

  .contact-map iframe {
    inset: 0;
    width: 100%;
  }

  .contact-map {
    border-radius: 26px;
  }

  .contact-card {
    width: auto;
    margin: 16px;
    padding: 32px 24px;
    border-radius: 20px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer {
    padding: 58px 24px 22px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 44px 28px;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 48px;
  }

  .testimonials-section {
    padding: 64px 16px;
  }

  .testimonials-header {
    margin-bottom: 52px;
    padding: 0 8px;
  }

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

  .testimonial-card,
  .testimonial-card-featured,
  .testimonial-photo-card,
  .testimonial-card-wide {
    min-height: 0;
    grid-column: 1;
    grid-row: auto;
  }

  .testimonial-photo-card {
    min-height: 390px;
  }
}

@media (max-width: 420px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer-brand {
    grid-column: auto;
  }
}
