:root {
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --white: #ffffff;
  --black: #09162b;
  --heading: #161616;
  --text: #787878;
  --border: #e8e8e8;
  --body-bg: #f7fbff;
  --theme-1: #003773;
  --theme-2: #ff4917;
  --theme-3: #1765e5;
  --theme-4: #f3f6f9;
  --theme-5: #083260;
  --footer-bg: linear-gradient(135deg, #eef7ff 2.02%, #eef7ff 42.71%, #ffede8 100%);
  --type-page-title: 40px;
  --type-section-title: 40px;
  --type-card-title: 22px;
  --type-blog-title: 28px;
  --type-card-body: 15px;
  --type-feature-title: 20px;
  --type-feature-body: 15px;
  --type-body: 18px;
  --type-check: 17px;
  --type-label: 16px;
  --type-button: 16px;
  --line-section-title: 1;
  --line-card-title: 1.2;
  --line-blog-title: 1.3;
  --line-card-body: 25px;
  --line-feature-body: 24px;
  --line-body: 30px;
  --line-check: 28px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 10px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--line-body);
  color: var(--text);
  background: var(--body-bg);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

a:hover {
  color: var(--theme-3);
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--black);
}

.container {
  width: min(1140px, calc(100% - 30px));
  margin: 0 auto;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  background: var(--white);
}

.header-inner {
  width: min(1790px, calc(100% - 30px));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  width: 78px;
  flex: 0 0 78px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 33px;
  margin-left: auto;
}

.desktop-nav a {
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  line-height: 30px;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  color: var(--theme-3);
}

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

.phone-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding-left: 30px;
  color: var(--black);
}

.phone-cta::before,
.phone-cta::after {
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 90px;
  content: "";
  background: var(--black);
  opacity: .15;
  transform: translateY(-50%);
}

.phone-cta::after {
  left: auto;
  right: -30px;
}

.phone-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--theme-3);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.phone-cta small {
  display: block;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.phone-cta strong {
  display: block;
  color: var(--black);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 0;
  color: var(--black);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
}

.mobile-panel {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: -420px;
  width: min(420px, 100vw);
  height: 100vh;
  overflow-y: auto;
  padding: 50px 42px;
  color: var(--white);
  background: #1f1f1f;
  transition: right .35s ease;
}

.mobile-panel.open {
  right: 0;
}

.mobile-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 85px;
}

.mobile-logo {
  width: 130px;
}

.menu-close {
  width: 44px;
  height: 44px;
  color: var(--white);
  font-size: 44px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-nav {
  display: grid;
  gap: 0;
  margin-bottom: 90px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.mobile-nav a {
  padding: 26px 0;
  color: var(--white);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.mobile-contact p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .62);
  font-size: 19px;
  font-weight: 500;
  text-transform: uppercase;
}

.mobile-contact a:not(.mobile-social) {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
}

.outline-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #4c73ff;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
}

.mobile-social {
  width: 45px;
  height: 45px;
  display: inline-grid;
  place-items: center;
  margin-top: 8px;
  overflow: hidden;
  color: transparent;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
}

.mobile-social::before {
  content: "◎";
  color: var(--white);
  font-size: 24px;
}

.overlay {
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.hero {
  position: relative;
  min-height: 640px;
  padding: 190px 0;
  overflow: hidden;
  background: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.hero-kicker,
.section-title span,
.section-label {
  display: inline-block;
  margin-bottom: 20px;
  padding: 0 12px;
  color: var(--theme-1);
  background: rgba(85, 174, 251, .1);
  border-radius: 30px;
  font-size: var(--type-label);
  font-weight: 600;
  line-height: 28px;
}

.hero-kicker {
  margin-bottom: 12px;
  color: var(--theme-3);
  text-transform: uppercase;
}

.hero h1 {
  max-width: 550px;
  font-size: 86px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-text {
  position: relative;
  max-width: 420px;
  margin-top: 18px;
  margin-left: 100px;
}

.hero-text::before {
  position: absolute;
  top: 0;
  left: -50px;
  width: 1px;
  height: 500px;
  content: "";
  background: var(--border);
}

.hero .primary-btn {
  margin-top: 50px;
  margin-left: 100px;
}

.hero-image {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 65%;
  height: 100%;
}

.hero-image::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
}

.primary-btn {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  color: var(--white);
  background: var(--theme-3);
  border-radius: 50px;
  font-size: var(--type-button);
  font-weight: 600;
  line-height: 1;
}

.primary-btn:hover {
  color: var(--white);
  background: var(--theme-5);
}

.with-arrow::after,
.read-more::after {
  content: "\2197";
  margin-left: 8px;
}

.section,
.split-section {
  padding: 70px 0;
}

.section-title {
  margin-bottom: 30px;
}

.section-title.centered {
  text-align: center;
}

.section-title h2,
.copy-block h2 {
  color: var(--black);
  font-size: var(--type-section-title);
  font-weight: 600;
  line-height: var(--line-section-title);
  letter-spacing: 0;
}

.services-preview {
  background: var(--body-bg);
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: -40px;
  margin-bottom: 24px;
}

.carousel-controls button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #000;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.card-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 3);
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.card-track::-webkit-scrollbar,
.review-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  scroll-snap-align: start;
  min-height: 246px;
  padding: 40px 30px;
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 6px 35px rgba(214, 215, 213, .4);
}

.service-card picture {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(38, 232, 207, .2) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
}

.service-card img {
  width: 74px;
  height: 74px;
}

.service-card h3 {
  margin-bottom: 18px;
  font-size: var(--type-card-title);
  font-weight: 600;
  line-height: var(--line-card-title);
}

.service-card p {
  font-size: var(--type-card-body);
  line-height: var(--line-card-body);
}

.about-band {
  background: var(--theme-4);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 45%);
  align-items: center;
  gap: 70px;
}

.copy-block {
  max-width: 520px;
}

.copy-block p {
  margin-top: 24px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  content: "✓";
  color: var(--white);
  background: var(--theme-3);
  border-radius: 50%;
  font-size: 12px;
}

.about-image,
.choose-image {
  justify-self: center;
  overflow: hidden;
}

.about-image img {
  width: 486px;
  height: 608px;
}

.choose-section {
  background: var(--body-bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
  margin: 36px 0 38px;
}

.feature-grid article {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  color: var(--theme-3);
  background: rgba(85, 174, 251, .1);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
}

.feature-grid h3 {
  margin-bottom: 5px;
  font-size: var(--type-feature-title);
  font-weight: 600;
  line-height: 1.2;
}

.feature-grid p {
  margin: 0;
  font-size: var(--type-feature-body);
  line-height: var(--line-feature-body);
}

.choose-image img {
  width: 430px;
  height: 645px;
  object-position: top center;
}

.review-section {
  background: var(--theme-4);
}

.reviews-widget {
  padding: 26px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .05);
}

.reviews-widget {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
}

.review-summary {
  padding: 18px 14px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.review-summary strong {
  display: block;
  color: var(--black);
  font-size: 20px;
  line-height: 1.2;
}

.stars {
  color: #fbbc04;
  letter-spacing: 1px;
  line-height: 1.2;
}

.review-summary .stars {
  margin: 10px 0;
  font-size: 22px;
}

.review-summary p {
  font-size: 14px;
  line-height: 22px;
}

.google-word {
  display: inline-block;
  margin-top: 12px;
  color: #4285f4;
  font-size: 18px;
  font-weight: 700;
}

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-card {
  scroll-snap-align: start;
  min-height: 250px;
  padding: 20px;
  background: #fafafa;
  border: 1px solid #eeeeee;
  border-radius: 4px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  color: var(--white);
  background: var(--theme-3);
  border-radius: 50%;
  font-weight: 700;
}

.review-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.review-card span {
  display: block;
  font-size: 12px;
  line-height: 16px;
}

.review-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 22px;
}

.trustindex-line {
  grid-column: 1 / -1;
  padding-top: 12px;
  color: var(--text);
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

.blog-section {
  background: var(--body-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.blog-card {
  position: relative;
  min-height: 500px;
  padding-bottom: 160px;
}

.blog-thumb {
  height: 339px;
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  transition: transform .25s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.03);
}

.blog-content {
  position: absolute;
  right: 30px;
  bottom: 0;
  left: 30px;
  padding: 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .05);
}

.blog-content p {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.blog-content h2,
.blog-content h3 {
  margin-bottom: 20px;
  font-size: var(--type-blog-title);
  font-weight: 600;
  line-height: var(--line-blog-title);
}

.read-more {
  display: block;
  padding-top: 25px;
  color: var(--black);
  border-top: 1px solid rgba(20, 20, 20, .1);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
}

.site-footer {
  background: var(--footer-bg);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1.5fr;
  gap: 40px;
  padding: 75px 0 55px;
}

.footer-brand img {
  width: 120px;
  height: 122px;
}

.footer-brand p {
  margin-top: 18px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  border: 1px solid #dfdfdf;
  border-radius: 50%;
}

.footer-social a:first-child::before {
  content: "◎";
  color: var(--black);
  font-size: 20px;
}

.footer-social a:last-child::before {
  content: "♪";
  color: var(--black);
  font-size: 20px;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
}

.footer-links h2,
.footer-contact h2 {
  margin-bottom: 18px;
  color: var(--black);
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

.footer-links a {
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}

.footer-contact p {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.footer-contact span {
  color: var(--theme-3);
}

.footer-bottom {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0 10px;
  border-top: 1px solid #ebebeb;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

.footer-bottom a {
  color: var(--text);
  font-size: 15px;
  line-height: 24px;
}

@media (max-width: 1199px) {
  .hero h1 {
    font-size: 70px;
  }

  .hero-image {
    width: 58%;
  }
}

@media (max-width: 1024px) {
  .desktop-nav,
  .phone-cta {
    display: none;
  }

  .site-header {
    position: absolute;
  }

  .header-inner {
    min-height: 70px;
  }

  .header-logo {
    width: 64px;
    flex-basis: 64px;
  }

  .hero {
    min-height: 760px;
    padding: 120px 0 330px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .hero-text,
  .hero .primary-btn {
    margin-left: 0;
  }

  .hero-text::before {
    display: none;
  }

  .hero-image {
    width: 100%;
    height: 46%;
  }

  .hero-image::before {
    width: 100%;
    height: 34%;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  }

  .card-track {
    grid-auto-columns: calc((100% - 30px) / 2);
  }

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

  .review-track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

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

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

@media (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 26px;
  }

  .mobile-panel {
    padding: 62px 36px 48px 86px;
  }

  .mobile-panel-top {
    margin-bottom: 92px;
  }

  .mobile-nav {
    margin-bottom: 96px;
  }

  .mobile-nav a {
    padding: 27px 0;
    font-size: 30px;
  }

  .mobile-contact a:not(.mobile-social) {
    grid-template-columns: 86px 1fr;
    gap: 26px;
    font-size: 27px;
  }

  .outline-icon {
    width: 86px;
    height: 86px;
  }

  .hero {
    min-height: 720px;
    padding: 105px 0 320px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-text {
    max-width: 360px;
  }

  .section,
  .split-section {
    padding: 80px 0;
  }

  .section-title h2,
  .copy-block h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .carousel-controls {
    justify-content: center;
    margin-top: -16px;
  }

  .card-track,
  .review-track {
    grid-auto-columns: 85%;
  }

  .feature-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-image img,
  .choose-image img {
    width: 100%;
    height: auto;
  }

  .reviews-widget {
    grid-template-columns: 1fr;
  }

  .review-summary {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 40px 15px 15px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .mobile-panel {
    padding-left: 52px;
  }

  .mobile-contact a:not(.mobile-social) {
    grid-template-columns: 64px 1fr;
    gap: 18px;
    font-size: 22px;
  }

  .outline-icon {
    width: 64px;
    height: 64px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero {
    min-height: 680px;
  }

  .blog-content {
    right: 15px;
    left: 15px;
    padding: 20px 15px;
  }

  .blog-content h3 {
    font-size: 18px;
  }
}

/* Homepage refinement pass */
.hero {
  min-height: 85vh;
  padding: 135px 0 90px;
}

.hero-content {
  max-width: 520px;
  padding-left: 58px;
}

.hero h1 {
  max-width: 500px;
  font-size: 68px;
  line-height: 1.16;
}

.hero-text {
  max-width: 390px;
  font-size: 16px;
  line-height: 27px;
}

.hero .primary-btn {
  min-height: 56px;
  padding: 0 30px;
}

.footer-social a,
.mobile-socials a {
  color: var(--black);
}

.footer-social a::before,
.footer-social a::after,
.mobile-social::before {
  content: none;
}

.social-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #dfdfdf;
  border-radius: 50%;
}

.social-link:hover {
  color: var(--white);
  background: var(--theme-3);
  border-color: var(--theme-3);
}

.mobile-socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.mobile-socials .social-link {
  color: var(--white);
  border-color: rgba(255, 255, 255, .55);
}

.mobile-socials .social-link:hover {
  border-color: var(--theme-3);
}

.reviews-widget {
  position: relative;
  display: block;
  padding: 42px 56px 34px;
  background: var(--white);
  border-radius: 7px;
}

.review-summary {
  max-width: 320px;
  margin: 0 auto 34px;
  padding: 0;
  border-right: 0;
  text-align: center;
}

.review-summary strong {
  font-size: 24px;
  font-weight: 800;
}

.review-summary .stars {
  margin: 12px 0;
  font-size: 32px;
}

.review-summary p {
  color: var(--black);
  font-size: 18px;
  line-height: 26px;
}

.google-word {
  margin-top: 14px;
  font-size: 30px;
  font-weight: 800;
}

.review-shell {
  position: relative;
}

.review-track {
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  padding: 0;
}

.review-card {
  min-height: 245px;
  padding: 28px 28px 26px;
  background: #fbfbfb;
  border: 1px solid #ededed;
  border-radius: 8px;
}

.review-head {
  gap: 14px;
  margin-bottom: 16px;
}

.avatar {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  font-size: 28px;
  background: #5a30b5;
}

.avatar-orange {
  background: #f47700;
}

.avatar-photo {
  color: #2e74e5;
  background: #a9c8ff;
}

.review-card h3 {
  color: var(--black);
  font-size: 19px;
  line-height: 23px;
}

.review-card span {
  color: var(--text);
  font-size: 16px;
  line-height: 20px;
}

.review-card .stars {
  margin-bottom: 12px;
  font-size: 20px;
}

.google-mark {
  margin-left: auto;
  color: #4285f4 !important;
  font-size: 23px !important;
  font-weight: 800;
}

.review-card p {
  display: -webkit-box;
  margin-top: 0;
  overflow: hidden;
  color: #151515;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.review-card.expanded p {
  display: block;
  max-height: 132px;
  overflow-y: auto;
  padding-right: 8px;
}

.read-review {
  margin-top: 12px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.review-next {
  position: absolute;
  top: 50%;
  right: -24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.trustindex-line {
  width: fit-content;
  margin: 22px 0 0 auto;
  padding: 7px 18px;
  color: var(--white);
  background: #168058;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.blog-slider-wrap {
  position: relative;
}

.blog-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 80px) / 2);
  gap: 80px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.blog-track::-webkit-scrollbar {
  display: none;
}

.blog-track .blog-card {
  scroll-snap-align: start;
}

.blog-nav {
  position: absolute;
  z-index: 3;
  top: 45%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.blog-prev {
  left: -20px;
}

.blog-next {
  right: -20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
}

.slider-dots span {
  width: 20px;
  height: 8px;
  background: var(--black);
  border-radius: 20px;
}

.slider-dots span.active {
  width: 34px;
  background: var(--theme-3);
}

@media (max-width: 1199px) {
  .hero h1 {
    font-size: 60px;
  }

  .hero-content {
    padding-left: 34px;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 720px;
    padding: 110px 0 315px;
  }

  .hero-content {
    padding-left: 0;
  }

  .hero h1 {
    font-size: 52px;
  }

  .review-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .blog-track {
    grid-auto-columns: calc((100% - 30px) / 2);
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .mobile-panel {
    width: min(390px, calc(100vw - 34px));
    padding: 36px 34px 28px;
    overflow-y: hidden;
  }

  .mobile-panel-top {
    margin-bottom: 36px;
  }

  .mobile-logo {
    width: 104px;
  }

  .menu-close {
    font-size: 38px;
  }

  .mobile-nav {
    margin-bottom: 34px;
  }

  .mobile-nav a {
    padding: 15px 0;
    font-size: 25px;
    line-height: 1.2;
  }

  .mobile-contact p {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .mobile-contact a:not(.mobile-social) {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    margin-bottom: 13px;
    font-size: 16px;
    line-height: 1.3;
  }

  .outline-icon {
    width: 46px;
    height: 46px;
  }

  .mobile-socials .social-link {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 640px;
    padding: 102px 0 295px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-kicker {
    font-size: 14px;
  }

  .hero-text {
    max-width: 340px;
    font-size: 15px;
    line-height: 25px;
  }

  .services-preview {
    background: #eef5fb;
  }

  .services-preview .container {
    width: min(1140px, calc(100% - 26px));
  }

  .services-preview .card-track {
    grid-auto-columns: 82%;
    gap: 28px;
    padding: 4px 0 14px;
  }

  .service-card {
    background: var(--white);
    box-shadow: 0 12px 32px rgba(9, 22, 43, .12);
    border: 1px solid rgba(9, 22, 43, .05);
    padding: 20px 5px;
  }

  .review-section {
    padding-top: 55px;
  }

  .reviews-widget {
    padding: 54px 48px 34px;
  }

  .review-summary {
    margin-bottom: 34px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }

  .review-summary strong {
    font-size: 24px;
  }

  .review-summary .stars {
    font-size: 26px;
  }

  .review-track {
    grid-auto-columns: 86%;
    gap: 24px;
  }

  .review-card {
    min-height: 470px;
    padding: 34px 28px;
  }

  .review-card p {
    font-size: 20px;
    line-height: 32px;
    -webkit-line-clamp: 6;
  }

  .review-next {
    right: -18px;
    display: grid;
  }

  .trustindex-line {
    margin: 20px auto 0;
    color: var(--text);
    background: transparent;
    font-size: 12px;
    font-weight: 500;
  }

  .blog-track {
    grid-auto-columns: 88%;
    gap: 30px;
  }

  .blog-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .mobile-panel {
    padding: 32px 30px 24px;
  }

  .hero {
    min-height: 620px;
  }

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

  .reviews-widget {
    padding: 42px 26px 28px;
  }

  .review-track {
    grid-auto-columns: 88%;
  }
}

/* Homepage refinement pass 2 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  inset: auto;
  box-shadow: 0 1px 18px rgba(9, 22, 43, .08);
}

.header-inner {
  min-height: 76px;
}

.header-logo {
  width: 68px;
  flex-basis: 68px;
}

.desktop-nav {
  gap: 22px;
}

.desktop-nav a {
  font-size: 13px;
  font-weight: 500;
  line-height: 24px;
}

.header-actions {
  gap: 22px;
}

.phone-cta {
  min-height: 48px;
  padding-left: 24px;
}

.phone-cta::before,
.phone-cta::after {
  height: 76px;
}

.phone-cta::after {
  right: -22px;
}

.phone-icon {
  width: 34px;
  height: 34px;
}

.phone-cta strong {
  font-size: 14px;
}

.phone-cta small {
  font-size: 10px;
}

.footer-brand {
  text-align: center;
}

.footer-brand a {
  display: inline-block;
}

.footer-social,
.mobile-socials {
  justify-content: center;
}

.footer-social .social-link,
.mobile-socials .social-link {
  overflow: visible;
  color: var(--black) !important;
  background: transparent;
}

.mobile-socials .social-link {
  color: var(--white) !important;
}

.footer-social a::before,
.footer-social a::after,
.mobile-social::before,
.mobile-social::after,
.mobile-socials a::before,
.mobile-socials a::after {
  content: none !important;
}

.footer-social svg,
.mobile-socials svg {
  display: block;
  width: 18px;
  height: 18px;
  color: currentColor;
  fill: currentColor;
}

.reviews-widget {
  padding: 34px 44px 28px;
}

.review-summary {
  margin-bottom: 28px;
}

.review-summary strong {
  font-size: 22px;
}

.review-summary .stars {
  margin: 10px 0;
  font-size: 28px;
}

.review-summary p {
  font-size: 16px;
  line-height: 24px;
}

.google-word {
  margin-top: 12px;
  font-size: 28px;
}

.review-track {
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  scroll-padding: 0;
}

.review-card {
  min-height: 205px;
  padding: 20px 22px;
}

.review-head {
  gap: 12px;
  margin-bottom: 13px;
}

.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  overflow: hidden;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 50%;
}

.review-card h3 {
  font-size: 15px;
  line-height: 19px;
}

.review-card span {
  font-size: 13px;
  line-height: 17px;
}

.google-mark {
  font-size: 18px !important;
  line-height: 1 !important;
}

.review-card .stars {
  margin-bottom: 10px;
  font-size: 15px;
  letter-spacing: 0;
}

.review-card p {
  color: #151515;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  -webkit-line-clamp: 3;
}

.review-card.expanded p {
  max-height: 105px;
}

.read-review {
  margin-top: 10px;
  font-size: 13px;
}

.review-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .1);
  font-size: 40px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.review-nav[hidden] {
  display: none;
}

.review-prev {
  left: -22px;
}

.review-next {
  right: -22px;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1199px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 70px;
  }

  .header-logo {
    width: 62px;
    flex-basis: 62px;
  }

  .review-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}

@media (max-width: 767px) {
  .mobile-panel {
    overflow-y: auto;
    padding: 34px 32px 24px;
  }

  .mobile-panel-top {
    margin-bottom: 34px;
  }

  .mobile-logo {
    width: 104px;
  }

  .menu-close {
    font-size: 36px;
  }

  .mobile-nav {
    margin-bottom: 30px;
  }

  .mobile-nav a {
    padding: 12px 0;
    font-size: 21px;
    line-height: 1.18;
  }

  .mobile-contact p {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .mobile-contact a:not(.mobile-social) {
    grid-template-columns: 42px 1fr;
    gap: 13px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.25;
  }

  .outline-icon {
    width: 42px;
    height: 42px;
  }

  .mobile-socials {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }

  .reviews-widget {
    padding: 20px;
  }

  .review-track {
    grid-auto-columns: 86%;
    gap: 22px;
  }

  .review-card {
    min-height: 315px;
    padding: 24px 22px;
  }

  .review-card h3 {
    font-size: 16px;
    line-height: 20px;
  }

  .review-card span {
    font-size: 13px;
  }

  .avatar {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 18px;
  }

  .review-card p {
    font-size: 14px;
    line-height: 22px;
    -webkit-line-clamp: 5;
  }

  .review-card.expanded p {
    max-height: 150px;
  }

  .review-nav {
    width: 40px;
    height: 40px;
    font-size: 38px;
  }

  .review-prev {
    left: -16px;
  }

  .review-next {
    right: -16px;
  }
}

@media (max-width: 520px) {
  .mobile-panel {
    padding: 30px 28px 22px;
  }

  .mobile-nav a {
    font-size: 20px;
  }

  .review-track {
    grid-auto-columns: 84%;
  }
}

/* Homepage correction pass 3 */
body {
  padding-top: 96px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 950;
  width: 100%;
  background: var(--white);
}

.header-inner {
  width: min(1790px, calc(100% - 56px));
  min-height: 96px;
  padding-left: 10px;
}

.header-logo {
  width: 88px;
  flex-basis: 88px;
}

.desktop-nav {
  gap: 30px;
}

.desktop-nav a {
  font-size: 15px;
  line-height: 28px;
}

.header-actions {
  gap: 28px;
}

.phone-cta {
  min-height: 56px;
  gap: 12px;
  padding-left: 30px;
}

.phone-cta::before,
.phone-cta::after {
  height: 96px;
}

.phone-cta::after {
  right: -28px;
}

.phone-icon {
  width: 42px;
  height: 42px;
}

.phone-icon svg {
  width: 21px;
  height: 21px;
}

.phone-cta small {
  font-size: 12px;
}

.phone-cta strong {
  font-size: 17px;
}

.menu-toggle {
  width: 52px;
  height: 52px;
  gap: 6px;
}

.menu-toggle span {
  width: 27px;
  height: 3px;
}

.mobile-panel {
  right: -520px;
  width: min(520px, 38vw);
  padding: 58px 56px 42px;
}

.mobile-panel.open {
  right: 0;
}

.mobile-panel-top {
  margin-bottom: 35px;
}

.mobile-logo {
  width: 132px;
}

.menu-close {
  width: 40px;
  height: 40px;
  font-size: 38px;
}

.mobile-nav {
  margin-bottom: 56px;
}

.mobile-nav a {
    padding: 16px 0;
  font-size: 17px;
    line-height: 1;
}

.mobile-contact p {
  margin-bottom: 20px;
  font-size: 16px;
}

.mobile-contact a:not(.mobile-social) {
 grid-template-columns: 53px 1fr;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.3;
}

.outline-icon {
  width: 54px;
  height: 54px;
}

.social-link,
.footer-social .social-link,
.mobile-socials .social-link {
  display: inline-grid;
  place-items: center;
  line-height: 0;
}

.social-link svg,
.footer-social svg,
.mobile-socials svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: auto;
}

.mobile-socials {
  justify-content: center;
}

.hero-kicker,
.hero h1,
.hero-text,
.hero .primary-btn,
.hero-image {
  transition-delay: .04s;
}

.blog-nav,
.review-nav,
.carousel-controls button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  line-height: 0;
}

.blog-nav svg,
.review-nav svg,
.carousel-controls button svg {
  display: block;
  width: 24px;
  height: 24px;
  margin: auto;
}

.blog-nav,
.review-nav {
  font-size: 0;
}

.slider-dots {
  align-items: center;
}

.slider-dots button {
  width: 20px;
  height: 8px;
  padding: 0;
  background: var(--black);
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.slider-dots button.active {
  width: 34px;
  background: var(--theme-3);
}

.footer-main {
  grid-template-columns: 1.05fr .9fr 1.65fr;
  align-items: start;
  gap: 54px;
}

.footer-brand {
  justify-self: start;
  text-align: left;
}

.footer-brand a {
  display: inline-block;
}

.footer-social {
  justify-content: flex-start;
}

.footer-social .social-link {
  color: var(--black) !important;
}

@media (max-width: 1199px) {
  .desktop-nav {
    gap: 24px;
  }

  .desktop-nav a {
    font-size: 14px;
  }

  .mobile-panel {
    width: min(500px, 42vw);
    right: min(-500px, -42vw);
  }
}

@media (max-width: 1024px) {
  body {
    padding-top: 112px;
  }

  .site-header {
    position: fixed;
  }

  .header-inner {
    width: calc(100% - 56px);
    min-height: 112px;
    padding-left: 0;
  }

  .header-logo {
    width: 108px;
    flex-basis: 108px;
  }

  .menu-toggle {
    width: 58px;
    height: 58px;
  }

  .menu-toggle span {
    width: 33px;
    height: 4px;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 118px;
  }

  .header-inner {
    width: calc(100% - 52px);
    min-height: 118px;
  }

  .header-logo {
    width: 112px;
    flex-basis: 112px;
  }

  .mobile-panel {
    right: min(-390px, calc(-100vw + 34px));
    width: min(390px, calc(100vw - 34px));
    padding: 34px 32px 24px;
  }

  .mobile-panel.open {
    right: 0;
  }

  .mobile-socials .social-link {
    width: 42px;
    height: 42px;
  }

  .mobile-socials svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    min-height: 60vh;
    padding: 32px 0 235px;
  }

  .hero-content {
    max-width: none;
    padding-left: 0;
  }

  .hero-kicker {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 26px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: 39px;
    line-height: 1.18;
  }

  .hero-text {
    max-width: 620px;
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.55;
  }

  .hero .primary-btn {
    min-height: 58px;
    margin-top: 32px;
    padding: 0 36px;
    font-size: 18px;
  }

  .hero-image {
    height: 42%;
  }

  .section,
  .split-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .about-band,
  .choose-section,
  .blog-section {
    padding-top: 30px;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 15px 20px;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    justify-self: stretch;
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    justify-content: flex-start;
    padding-right: 32px;
    padding-left: 32px;
    text-align: left;
  }
}

@media (max-width: 520px) {
  body {
    padding-top: 112px;
  }

  .header-inner {
    width: calc(100% - 42px);
    min-height: 112px;
  }

  .header-logo {
    width: 104px;
    flex-basis: 104px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 205px;
  }

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

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

.mobile-panel.open {
  right: 0 !important;
}

.mobile-panel {
  right: 0 !important;
  transform: translateX(100%);
  transition: transform .35s ease;
}

.mobile-panel.open {
  transform: translateX(0);
}

@media (max-width: 767px) {
  .mobile-nav a {
    font-size: 21px;
  }
}

@media (max-width: 520px) {
  .mobile-nav a {
    font-size: 16px;
  }
}

/* Phase 3: Services page */
.page-hero {
  padding: 60px 0 60px;
  background: #eef5fb;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 8px;
  font-size: var(--type-page-title);
  font-weight: 700;
  line-height: 1.15;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--black);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.breadcrumbs a {
  color: var(--text);
}

.breadcrumbs span:last-child {
  color: var(--theme-3);
}

.service-page-section {
  background: var(--body-bg);
}

.service-page-section .section-title {
  margin-bottom: 34px;
}

.service-page-section .section-title span {
  font-size: var(--type-label);
  line-height: 24px;
}

.service-page-section .section-title h2 {
  font-size: var(--type-section-title);
  font-weight: 600;
  line-height: var(--line-section-title);
}

.service-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-page-card {
  min-height: 226px;
  padding: 40px 32px 34px;
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(214, 215, 213, .38);
}

.service-page-icon {
  width: 66px;
  height: 66px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--theme-3);
  background: rgba(85, 174, 251, .14);
  border-radius: 50%;
}

.service-page-icon svg {
  width: 29px;
  height: 29px;
}

.service-icon-teal {
  color: #1fb8c8;
  background: rgba(31, 184, 200, .16);
}

.service-icon-indigo {
  color: #5c7ff0;
  background: rgba(92, 127, 240, .14);
}

.service-icon-ice {
  color: #7fb6e8;
  background: rgba(127, 182, 232, .16);
}

.service-icon-sky {
  color: #49a2e8;
  background: rgba(73, 162, 232, .16);
}

.service-icon-pink {
  color: #f55d93;
  background: rgba(245, 93, 147, .14);
}

.service-page-card h3 {
  margin-bottom: 14px;
  font-size: var(--type-card-title);
  font-weight: 600;
  line-height: var(--line-card-title);
}

.service-page-card p {
  max-width: 320px;
  margin: 0 auto;
  color: var(--text);
  font-size: var(--type-card-body);
  font-weight: 400;
  line-height: var(--line-card-body);
}

.services-benefits {
  background: var(--theme-4);
}

.services-benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 45%);
  align-items: center;
  gap: 80px;
}

.benefits-copy {
  max-width: 500px;
}

.benefits-copy h2 {
  font-size: var(--type-section-title);
  font-weight: 600;
  line-height: var(--line-section-title);
}

.benefits-copy p {
  margin-top: 20px;
  font-size: var(--type-body);
  line-height: var(--line-body);
}

.progress-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.progress-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 7px;
  color: var(--black);
  font-size: var(--type-feature-title);
  font-weight: lighter;
  line-height: 1.2;
}

.progress-item span {
  font-weight: 500;
}

.progress-bar {
  position: relative;
  height: 8px;
  display: block;
  overflow: visible;
  background: rgba(23, 101, 229, .18);
  border-radius: 999px;
}

.progress-bar span {
  position: relative;
  height: 100%;
  display: block;
  background: var(--theme-3);
  border-radius: inherit;
}

.progress-bar span::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 17px;
  height: 17px;
  content: "";
  background: var(--theme-3);
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.services-person {
  justify-self: center;
  max-width: 400px;
  background: var(--white);
}

.services-person img {
  width: 100%;
  height: auto;
}

.services-cta-section {
  background: var(--body-bg);
}

.services-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  align-items: center;
  gap: 74px;
  padding: 66px 70px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 38px rgba(214, 215, 213, .34);
}

.services-cta h2 {
  max-width: 560px;
  margin-bottom: 30px;
  font-size: var(--type-section-title);
  font-weight: 600;
  line-height: var(--line-section-title);
}

.service-checks {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-checks li {
  position: relative;
  padding-left: 38px;
  color: var(--black);
  font-size: var(--type-check);
  font-weight: 600;
  line-height: var(--line-check);
}

.service-checks li::before {
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  content: "\2713";
  color: var(--white);
  background: var(--theme-3);
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

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

  .services-benefits-grid,
  .services-cta {
    grid-template-columns: 1fr;
  }

  .services-cta {
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .page-hero {
    /* padding: 48px 0 50px; */
    display: none;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .service-page-section .section-title {
    margin-bottom: 28px;
  }

  .service-page-section .section-title h2 {
    font-size: 30px;
  }

  .service-page-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-page-card {
    min-height: 210px;
    padding: 20px;
  }

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

  .benefits-copy h2,
  .services-cta h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .services-person {
    max-width: 350px;
  }

  .services-cta {
    padding: 42px 28px;
  }

  .service-checks li {
    font-size: var(--type-button);
    line-height: 26px;
  }
}

/* Phase 3: About page */
.about-intro {
  background: var(--body-bg);
}

.about-intro-grid,
.about-why-grid {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(0, 1fr);
  align-items: center;
  gap: 86px;
}

.about-intro-grid {
  width: min(1140px, calc(100% - 30px));
  margin: 0 auto;
  grid-template-columns: 390px minmax(0, 500px);
  justify-content: space-between;
}

.about-page-image,
.about-why-image {
  overflow: hidden;
}

.about-page-image img {
  width: 390px;
  height: 570px;
}

.about-page-copy {
  max-width: 500px;
}

.about-page-copy h2 {
  color: var(--black);
  font-size: var(--type-section-title);
  font-weight: 600;
  line-height: var(--line-section-title);
  letter-spacing: 0;
}

.about-page-copy p {
  margin-top: 20px;
  font-size: var(--type-body);
  line-height: var(--line-body);
}

.about-why {
  background: var(--theme-4);
}

.about-why-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
}

.about-why-copy {
  max-width: 610px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 34px;
  margin-top: 34px;
}

.about-feature-grid article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature-grid h3,
.about-proof-grid h3 {
  margin-bottom: 6px;
  font-size: var(--type-feature-title);
  font-weight: 600;
  line-height: 1.2;
}

.about-feature-grid p,
.about-proof-grid p {
  margin: 0;
  font-size: var(--type-feature-body);
  line-height: var(--line-feature-body);
}

.about-why-image {
  justify-self: end;
}

.about-why-image img {
  width: 470px;
  height: 520px;
  object-position: top center;
}

.about-proof-section {
  background: var(--body-bg);
}

.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.about-proof-grid article {
  min-height: 265px;
  padding: 42px 34px 36px;
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(214, 215, 213, .38);
}

.about-proof-icon {
  width: 72px;
  height: 72px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--theme-3);
  background: rgba(85, 174, 251, .14);
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .about-intro-grid,
  .about-why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-page-image,
  .about-why-image {
    justify-self: center;
  }

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

@media (max-width: 767px) {
  .about-intro,
  .about-why,
  .about-proof-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .about-page-image img,
  .about-why-image img {
    width: 100%;
    height: auto;
  }

  .about-page-copy,
  .about-why-copy {
    max-width: 340px;
  }

  .about-page-copy h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .about-feature-grid,
  .about-proof-grid {
    grid-template-columns: 1fr;
  }

  .about-proof-grid article {
    min-height: 230px;
    padding: 20px;
  }
}

/* Phase 3: Blog page */
.blog-archive-section,
.blog-single-section {
  background: var(--body-bg);
}

.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 30px;
}

.blog-archive-card {
  min-width: 0;
  padding: 20px 20px 30px;
  background: #f2f7fb;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(214, 215, 213, .18);
}

.blog-archive-thumb {
  height: 235px;
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.blog-archive-thumb img {
  width: 100%;
  height: 100%;
  transition: transform .25s ease;
}

.blog-archive-card:hover .blog-archive-thumb img {
  transform: scale(1.03);
}

.blog-archive-content {
  padding-top: 22px;
}

.blog-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-bottom: 22px;
  padding: 3px 13px;
  color: var(--theme-3);
  border: 1px solid rgba(23, 101, 229, .55);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

.blog-category-pill:hover {
  color: var(--white);
  background: var(--theme-3);
}

.blog-archive-content h2 {
  margin: 0;
  color: var(--black);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.post-hero h1 {
  max-width: 980px;
  margin: 0 auto 12px;
  font-size: 38px;
  line-height: 1.15;
}

.post-hero .breadcrumbs {
  max-width: 1000px;
  flex-wrap: wrap;
}

.blog-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 700px) 330px;
  align-items: start;
  justify-content: center;
  gap: 54px;
}

.blog-single-grid-no-sidebar {
  grid-template-columns: minmax(0, 700px);
}

.blog-single-article {
  min-width: 0;
  padding: 24px 24px 42px;
  background: #f0f6fb;
  border-radius: 8px;
}

.blog-single-image {
  width: 100%;
  max-height: 390px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.blog-single-content {
  color: var(--text);
  font-size: 15px;
  line-height: 25px;
}

.blog-single-content p {
  margin-bottom: 15px;
}

.blog-single-content h2 {
  margin: 22px 0 8px;
  color: var(--black);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.blog-single-content strong {
  color: var(--black);
  font-weight: 700;
}

.blog-single-content ul {
  margin: 4px 0 24px;
  padding-left: 18px;
}

.blog-single-content li {
  margin-bottom: 6px;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid rgba(9, 22, 43, .08);
}

.post-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.post-nav-link > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--body-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.post-nav-next {
  justify-self: end;
}

.post-nav-grid {
  width: 42px;
  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 5px;
  justify-content: center;
}

.post-nav-grid span {
  width: 6px;
  height: 6px;
  background: #55aefb;
  border-radius: 50%;
}

.blog-sidebar {
  display: grid;
  gap: 34px;
}

.sidebar-card {
  padding: 34px 36px 32px;
  background: #f0f6fb;
  border-radius: 8px;
}

.sidebar-card h2 {
  margin-bottom: 18px;
  color: var(--black);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.sidebar-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 28px;
}

@media (max-width: 1024px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-single-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .blog-archive-grid,
  .blog-sidebar {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .blog-archive-card {
    padding: 16px 16px 26px;
  }

  .blog-archive-thumb {
    height: 250px;
  }

  .blog-archive-content h2,
  .post-hero h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .blog-single-article {
    padding: 18px 18px 34px;
  }

  .post-nav {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .post-nav-next {
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .blog-archive-thumb {
    height: 225px;
  }
}

/* Phase 4: Contact page */
.contact-heading {
  padding: 60px 0 47px;
  background: var(--body-bg);
}

.contact-heading .section-title {
  margin-bottom: 0;
}

.contact-heading .section-title span {
  margin-bottom: 18px;
  text-transform: none;
}

.contact-heading .section-title h1 {
  color: var(--black);
  font-size: var(--type-section-title);
  font-weight: 600;
  line-height: var(--line-section-title);
}

.contact-info-section {
  padding-bottom: 70px;
  background: var(--body-bg);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.contact-info-card {
  min-height: 170px;
  padding: 24px 24px 26px;
  text-align: left;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(214, 215, 213, .3);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--theme-3);
  background: rgba(85, 174, 251, .12);
  border-radius: 50%;
}

.contact-info-card p {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-transform: uppercase;
}

.contact-info-card h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.contact-form-section {
  padding: 70px 0 100px;
  background: var(--body-bg);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: minmax(280px, 42%) minmax(0, 58%);
  align-items: center;
  gap: 40px;
}

.contact-page-image {
  overflow: hidden;
}

.contact-page-image img {
  width: 100%;
  height: 620px;
  object-position: center top;
}

.contact-form {
  width: min(100%, 600px);
  padding: 15px 25px;
  background: var(--white);
  border: 1px solid #dddddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

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

.contact-form label {
  display: block;
  margin-bottom: 15px;
  color: #333333;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-form label > span {
  display: block;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  color: var(--black);
  background: var(--white);
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
}

.contact-form textarea {
  resize: vertical;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
}

.contact-submit {
  min-height: 47px;
  padding: 0 20px;
  color: var(--white);
  background: var(--theme-3);
  border: 0;
  border-radius: 5px;
  font-size: var(--type-button);
  font-weight: 600;
  cursor: pointer;
  transition: background .25s ease;
}

.contact-submit:hover {
  background: var(--theme-5);
}

.contact-submit:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.contact-form-status {
  min-height: 24px;
  margin-top: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 22px;
}

.contact-form-status[data-state="success"] {
  color: #127a4d;
}

.contact-form-status[data-state="error"] {
  color: #b42318;
}

.contact-map-section iframe {
  width: 100%;
  height: 580px;
  display: block;
  border: 0;
}

/* Legal pages */
.legal-section {
  padding: 90px 0 110px;
  background: var(--body-bg);
}

.legal-container {
  max-width: 980px;
}

.legal-content {
  padding: 58px 64px;
  color: var(--text);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(9, 22, 43, .06);
  font-size: var(--type-body);
  line-height: var(--line-body);
}

.legal-content h2 {
  margin-bottom: 14px;
  color: var(--black);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.legal-content h3 {
  margin: 34px 0 10px;
  color: var(--black);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.legal-content a {
  color: var(--theme-3);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .contact-info-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-image {
    max-width: 560px;
    justify-self: center;
  }

  .contact-form {
    justify-self: center;
  }

  .legal-section {
    padding: 64px 0 76px;
  }

  .legal-content {
    padding: 42px 28px;
  }

  .legal-content h2 {
    font-size: 28px;
  }

  .legal-content h3 {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .contact-heading {
    padding: 40px 0 35px;
  }

  .contact-heading .section-title h1 {
    font-size: 30px;
  }

  .contact-info-section {
    padding-bottom: 30px;
  }

  .contact-form-section {
    padding: 30px 0;
  }

  .contact-info-card {
    padding: 22px;
  }

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

  .contact-page-image img {
    height: auto;
  }

  .contact-form {
    padding: 15px 18px;
  }

  .contact-map-section iframe {
    height: 420px;
  }

  .legal-section {
    padding: 48px 0 58px;
  }

  .legal-content {
    padding: 32px 22px;
  }

  .legal-content h2 {
    font-size: 24px;
  }

  .legal-content h3 {
    font-size: 20px;
  }
}
