﻿:root {
  --navy: #06152f;
  --navy-deep: #020b1e;
  --red: #d71920;
  --red-dark: #b81319;
  --bg: #f5f6f8;
  --white: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(2, 11, 30, 0.08);
  --shadow-strong: 0 22px 60px rgba(2, 11, 30, 0.14);
  --radius: 8px;
  --container: 1180px;
  --chrome-container: 1320px;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-v20-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-v20-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Services page reference layout */
.services-page {
  background: var(--white);
}

.services-page .services-hero {
  position: relative;
  min-height: 500px;
  overflow: visible;
  padding: 0;
  background: var(--navy-deep);
  color: var(--white);
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.services-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 11, 30, 0.72) 0%, rgba(2, 11, 30, 0.6) 44%, rgba(2, 11, 30, 0.24) 100%),
    linear-gradient(180deg, rgba(2, 11, 30, 0.18) 0%, rgba(2, 11, 30, 0.48) 100%);
}

.services-page .services-hero::before {
  display: none;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 54px 0 84px;
}

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

.services-page .services-hero-copy h1 {
  max-width: 740px;
  margin: 22px 0 20px;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 8px 22px rgba(2, 11, 30, 0.35);
}

.services-page .services-hero-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
}

.services-page .services-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.services-page .services-hero-actions .btn {
  min-width: 178px;
}

.services-outline-btn {
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: var(--white);
}

.services-outline-btn:hover,
.services-outline-btn:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.services-stats-wrap {
  position: relative;
  z-index: 3;
  margin-top: -46px;
  background: transparent;
}

.services-stats-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 160px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(2, 11, 30, 0.24);
}

.services-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 34px 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.services-stat:first-child {
  border-left: 0;
}

.services-stat strong {
  color: var(--red);
  font-size: clamp(40px, 4.8vw, 55px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.services-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.services-stat b {
  display: block;
  margin-bottom: 2px;
  color: var(--white);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.services-page .services-list-section {
  padding: 92px 0 88px;
  background: var(--bg);
}

.services-section-heading {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.services-section-heading h2 {
  position: relative;
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
}

.services-section-heading h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 22px auto 0;
  background: var(--red);
}

.services-section-heading p {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

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

.services-page .service-detail,
.services-page .service-detail:nth-child(1),
.services-page .service-detail:nth-child(2),
.services-page .service-detail:nth-child(3),
.services-page .service-detail:nth-child(4),
.services-page .service-detail:nth-child(5),
.services-page .service-detail:nth-child(6) {
  grid-column: auto;
}

.services-page .service-detail {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 42px 38px 36px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-top: 3px solid var(--red);
  border-radius: 7px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 12px 32px rgba(2, 11, 30, 0.045);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease, border-color 240ms ease;
}

.services-page .service-detail:nth-child(2),
.services-page .service-detail:nth-child(4),
.services-page .service-detail:nth-child(6) {
  border-top-color: var(--navy-deep);
}

.services-page .service-detail.dark {
  border-color: var(--navy-deep);
  border-top-color: var(--red);
  background: var(--navy-deep);
  color: var(--white);
}

.services-page .service-detail:hover,
.services-page .service-detail:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.services-card-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  background: currentColor;
  color: var(--red);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.services-page .service-detail.dark .services-card-icon {
  color: var(--red);
}

.services-page .service-detail h3 {
  margin: 28px 0 14px;
  color: inherit;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 700;
}

.services-page .service-detail p {
  margin: 0;
  color: #5b6472;
  font-size: 14px;
  line-height: 1.7;
}

.services-page .service-detail.dark p {
  color: rgba(255, 255, 255, 0.82);
}

.services-page .service-detail a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.services-page .service-detail.dark a {
  color: var(--white);
}

.services-page .services-process-section {
  padding: 88px 0 96px;
  background: var(--white);
}

.services-process-heading {
  margin-bottom: 64px;
}

.services-process-heading h2::after {
  display: none;
}

.services-page .services-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.services-page .services-steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 43px;
  height: 1px;
  background: var(--border);
}

.services-page .services-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  text-align: center;
}

.services-page .services-step:last-child {
  border: 0;
}

.services-page .services-step > span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin-bottom: 28px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  font-size: 18px;
  font-weight: 800;
  text-transform: none;
  box-shadow: 0 0 0 12px var(--white);
}

.services-page .services-step:nth-child(4) > span {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.24), 0 0 0 12px var(--white);
}

.services-page .services-step h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
}

.services-page .services-step p {
  max-width: 250px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.services-cta-band {
  padding: 76px 0 82px;
  background: var(--red-dark);
  color: var(--white);
  text-align: center;
}

.services-cta-content {
  max-width: 900px;
}

.services-cta-band h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.services-cta-band p {
  max-width: 680px;
  margin: 22px auto 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
}

.services-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.services-cta-btn {
  min-width: 300px;
  background: var(--white);
  color: var(--red-dark);
}

.services-cta-btn:hover,
.services-cta-btn:focus-visible {
  background: #f7f7f7;
  color: var(--red-dark);
  box-shadow: 0 12px 24px rgba(2, 11, 30, 0.16);
}

.services-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.services-cta-phone span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.services-cta-phone svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

@media (max-width: 1080px) {
  .services-stat {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 30px 34px;
  }

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

  .services-page .services-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 28px;
  }

  .services-page .services-steps::before {
    display: none;
  }
}

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

  .services-hero-bg::after {
    background:
      linear-gradient(90deg, rgba(2, 11, 30, 0.88) 0%, rgba(2, 11, 30, 0.72) 100%);
  }

  .services-hero-content {
    min-height: 560px;
    align-items: flex-start;
    padding: 76px 0 106px;
  }

  .services-page .services-hero-copy h1 {
    font-size: clamp(31px, 8vw, 42px);
    overflow-wrap: anywhere;
  }

  .services-page .services-hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 360px;
  }

  .services-stats-card {
    grid-template-columns: 1fr;
  }

  .services-stat {
    grid-template-columns: auto minmax(0, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .services-stat:first-child {
    border-top: 0;
  }

  .services-page .services-list-section {
    padding: 76px 0 74px;
  }

  .services-section-heading {
    margin-bottom: 42px;
  }

  .services-page .services-list,
  .services-page .services-steps {
    grid-template-columns: 1fr;
  }

  .services-page .service-detail {
    min-height: auto;
    padding: 34px 28px 30px;
  }

  .services-page .services-process-section {
    padding: 74px 0 78px;
  }

  .services-process-heading {
    margin-bottom: 44px;
  }

  .services-page .services-step > span {
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    box-shadow: none;
  }

  .services-page .services-step:nth-child(4) > span {
    box-shadow: 0 12px 24px rgba(215, 25, 32, 0.22);
  }

  .services-cta-band {
    padding: 62px 0 68px;
  }

  .services-cta-actions {
    flex-direction: column;
    gap: 18px;
  }

  .services-cta-btn {
    width: 100%;
    min-width: 0;
  }
}

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

  .services-hero-content {
    min-height: 610px;
    padding-top: 66px;
  }

  .services-page .services-hero-copy p {
    font-size: 15px;
  }

  .services-stats-wrap {
    margin-top: -34px;
  }

  .services-stat {
    gap: 16px;
    padding: 28px 24px;
  }

  .services-stat strong {
    font-size: 38px;
  }

  .services-section-heading h2,
  .services-cta-band h2 {
    overflow-wrap: anywhere;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 72px;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

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

.site-header .nav-shell,
.site-footer .footer-grid,
.site-footer .footer-widgets,
.site-footer .footer-bottom {
  width: min(100% - 48px, var(--chrome-container)) !important;
  max-width: var(--chrome-container) !important;
  margin-inline: auto !important;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  backdrop-filter: blur(16px);
  transition: box-shadow 250ms ease;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(2, 11, 30, 0.08);
}

.nav-shell {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 150px;
  height: 42px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
}

.nav-menu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu-list li {
  position: relative;
  margin: 0;
  padding: 0;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-menu a,
.nav-dropdown-toggle {
  position: relative;
  padding: 27px 0 23px;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.nav-menu a[href*="/atrium-nieruchomosci/"] {
  color: #24466f;
}

.nav-menu a::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.is-active::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle:focus-visible::after,
.nav-dropdown-toggle.is-active::after,
.nav-dropdown:focus-within > .nav-dropdown-toggle::after,
.nav-dropdown:hover > .nav-dropdown-toggle::after,
.nav-dropdown.is-open > .nav-dropdown-toggle::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after,
.nav-menu .current-menu-ancestor > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-submenu {
  position: absolute;
  left: 50%;
  top: calc(100% - 2px);
  z-index: 90;
  width: min(340px, calc(100vw - 48px));
  padding: 12px;
  border: 1px solid rgba(6, 21, 47, 0.1);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 22px 48px rgba(6, 21, 47, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu,
.nav-menu-list li:hover > .nav-submenu,
.nav-menu-list li:focus-within > .nav-submenu,
.nav-menu-list li.is-open > .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-submenu-link {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 8px;
  color: var(--navy);
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-submenu-mark {
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(193, 15, 25, 0.22);
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-submenu-link strong {
  display: block;
  color: inherit;
  font-size: 13px;
  line-height: 1.25;
}

.nav-submenu-link small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.nav-submenu a::after {
  display: none;
}

.nav-submenu-link:hover,
.nav-submenu-link:focus-visible,
.nav-submenu-link.is-active {
  background: rgba(193, 15, 25, 0.08);
  color: var(--red);
}

.nav-submenu-link:hover .nav-submenu-mark,
.nav-submenu-link:focus-visible .nav-submenu-mark,
.nav-submenu-link.is-active .nav-submenu-mark {
  background: var(--red);
  transform: scale(1.2);
}

.nav-submenu-all {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px;
  border-top: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.nav-submenu-all:hover,
.nav-submenu-all:focus-visible {
  background: rgba(6, 21, 47, 0.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.phone-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0;
  white-space: normal;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease, background 220ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.22);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-red {
  background: var(--red);
}

.btn-red:hover,
.btn-red:focus-visible {
  background: var(--red-dark);
}

.btn-navy {
  background: var(--navy-deep);
  box-shadow: 0 12px 28px rgba(2, 11, 30, 0.18);
}

.btn-navy svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 12px;
  text-transform: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 11, 30, 0.9) 0%, rgba(2, 11, 30, 0.74) 32%, rgba(2, 11, 30, 0.18) 72%),
    linear-gradient(180deg, rgba(2, 11, 30, 0.12) 0%, rgba(2, 11, 30, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 72px 0 108px;
}

.hero-copy {
  width: min(640px, 100%);
  max-width: 100%;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 20px 0 18px;
  font-size: clamp(36px, 4.3vw, 54px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  text-shadow: 0 8px 22px rgba(2, 11, 30, 0.32);
}

.hero-list {
  display: grid;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--red);
  background: radial-gradient(circle, var(--red) 0 3px, transparent 4px);
  flex: 0 0 auto;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

.btn-hero {
  min-width: 246px;
  min-height: 78px;
  font-size: 17px;
  line-height: 1.1;
  text-transform: none;
}

.hero-cta-row p {
  max-width: 250px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
}

.stats-wrap {
  position: relative;
  z-index: 2;
  margin-top: -58px;
}

.stats-card {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, 1fr);
  align-items: center;
  min-height: 126px;
  padding: 24px 40px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.stats-intro {
  position: relative;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 600;
}

.stats-intro::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 14px;
  background: var(--red);
}

.stat strong {
  display: block;
  color: var(--navy-deep);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.stat .red-number {
  color: var(--red);
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.section {
  padding: 104px 0;
}

.section-heading {
  margin-bottom: 56px;
  max-width: 100%;
  overflow: hidden;
}

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

.section-heading h2,
.process-copy h2,
.finance-panel h2,
.testimonials-top h2 {
  max-width: 100%;
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 700px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

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

.service-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 34px 30px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy-deep);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(2, 11, 30, 0.05);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms ease, border-color 260ms ease;
}

.service-card:nth-child(2),
.service-card:nth-child(5) {
  border-top-color: var(--red);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(215, 25, 32, 0.45);
  box-shadow: var(--shadow-strong);
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-icon {
  width: 26px;
  height: 26px;
  background: currentColor;
  color: var(--navy-deep);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.service-card:nth-child(2) .card-icon,
.service-card:nth-child(5) .card-icon {
  color: var(--red);
}

.house { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 21V10l9-7 9 7v11h-6v-7H9v7H3Zm2-2h2v-7h10v7h2v-8l-7-5.45L5 11v8Z'/%3E%3C/svg%3E"); }
.key { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 14a5.5 5.5 0 1 1 4.9-8h8.1v4h-3v3h-4.1A5.48 5.48 0 0 1 7.5 14Zm0-2A3.5 3.5 0 1 0 4 8.5 3.5 3.5 0 0 0 7.5 12Zm0-5.2a1.7 1.7 0 1 1 0 3.4 1.7 1.7 0 0 1 0-3.4Z'/%3E%3C/svg%3E"); }
.tool { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m21.7 19.6-6.4-6.4a7 7 0 0 1-8.2-8.7l4.2 4.2 2.8-2.8-4.2-4.2a7 7 0 0 1 8.7 8.2l6.4 6.4-3.3 3.3ZM3.5 22 9 16.5l2.5 2.5L6 24l-2.5-2Z'/%3E%3C/svg%3E"); }
.diamond { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 2 7 10-7 10-7-10 7-10Zm0 4.3L7.5 12 12 17.7l4.5-5.7L12 6.3Z'/%3E%3C/svg%3E"); }
.building { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 22V4h10v5h6v13H4Zm2-2h3v-3h4v3h5v-9h-6V6H6v14Zm2-11h2v2H8V9Zm4 0h2v2h-2V9Zm-4 4h2v2H8v-2Zm4 0h2v2h-2v-2Z'/%3E%3C/svg%3E"); }
.shield { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22c-5-2.2-8-6.5-8-12V4l8-3 8 3v6c0 5.5-3 9.8-8 12Zm0-2.2c3.8-2 6-5.4 6-9.8V5.4l-6-2.25-6 2.25V10c0 4.4 2.2 7.8 6 9.8Z'/%3E%3C/svg%3E"); }

.card-line {
  width: 34px;
  height: 2px;
  margin-top: auto;
  background: var(--border);
}

.dark-card {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}

.dark-card .card-icon {
  color: var(--red);
}

.dark-card p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.dark-card a {
  margin-top: auto;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.card-title-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}

.card-title-row h3 {
  margin: 0 0 10px;
}

.card-title-row span {
  align-self: flex-start;
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.subtle-link {
  margin-top: 18px;
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.process-section {
  background: #eef0f3;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  align-items: center;
  gap: 72px;
}

.process-image {
  position: relative;
  min-height: 560px;
}

.process-image picture {
  display: contents;
}

.process-image img {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  aspect-ratio: 0.78;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(2, 11, 30, 0.18);
}

.shape {
  position: absolute;
  border-radius: 10px;
  pointer-events: none;
}

.shape-one {
  top: -20px;
  left: -24px;
  width: 110px;
  height: 118px;
  border: 2px solid #cbd2dc;
}

.shape-two {
  right: 58px;
  bottom: -18px;
  width: 260px;
  height: 220px;
  background: linear-gradient(135deg, rgba(215, 25, 32, 0.13), rgba(255, 255, 255, 0.86));
  filter: blur(0.2px);
}

.headline-with-line {
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.headline-with-line span {
  width: 3px;
  height: 74px;
  background: var(--red);
}

.process-copy > p {
  max-width: 620px;
  margin: 22px 0 30px 27px;
  color: var(--muted);
  font-size: 15px;
}

.steps-list {
  display: grid;
  gap: 20px;
  margin: 0 0 32px 27px;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.steps-list li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.steps-list strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
}

.steps-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.process-copy .btn {
  margin-left: 27px;
  min-width: 360px;
}

.finance-section {
  background: var(--bg);
  padding-top: 96px;
}

.finance-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 64px 66px;
  border-radius: 12px;
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: 0 26px 70px rgba(2, 11, 30, 0.18);
}

.finance-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.finance-panel h2 {
  color: var(--white);
  font-size: clamp(28px, 3vw, 40px);
}

.finance-panel p {
  max-width: 720px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 34px;
  margin-bottom: 34px;
}

.benefits-grid span {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.benefits-grid span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: radial-gradient(circle, var(--red) 0 3px, transparent 4px);
}

.handshake {
  position: absolute;
  right: 48px;
  top: 70px;
  width: 270px;
  height: 270px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.handshake path:first-child {
  fill: rgba(255, 255, 255, 0.09);
  stroke: none;
}

.testimonials-section {
  padding-top: 96px;
}

.testimonials-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.testimonials-top p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.testimonials-oferteo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 16px;
  padding: 9px 13px;
  border: 1px solid rgba(215, 25, 32, 0.2);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(215, 25, 32, 0.06);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.testimonials-oferteo-link:hover,
.testimonials-oferteo-link:focus-visible {
  border-color: rgba(215, 25, 32, 0.34);
  background: rgba(215, 25, 32, 0.1);
  transform: translateY(-1px);
}

.carousel-actions {
  display: flex;
  gap: 12px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy-deep);
  border-radius: 999px;
  background: transparent;
  color: var(--navy-deep);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.carousel-btn.active,
.carousel-btn:hover {
  background: var(--navy-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  scroll-behavior: smooth;
}

.testimonial-card {
  min-height: 250px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(2, 11, 30, 0.05);
}

.testimonial-card:nth-child(2) {
  border-left-color: var(--navy-deep);
}

.stars {
  color: var(--red);
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  margin: 18px 0 26px;
  color: #4b5563;
  font-size: 14px;
  font-style: italic;
}

.testimonial-card strong {
  font-size: 13px;
}

.atrium-page {
  background: var(--bg);
  color: var(--text);
}

.atrium-hero {
  padding: 104px 0 88px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(245, 246, 248, 0.82) 100%),
    var(--bg);
}

.atrium-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
}

.atrium-hero-copy h1 {
  max-width: 820px;
  margin: 18px 0 24px;
  color: var(--text);
  font-size: clamp(38px, 4.9vw, 62px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.atrium-hero-copy p,
.atrium-section-heading p,
.atrium-final-panel p {
  margin: 0;
  color: #34496d;
  font-size: 17px;
  line-height: 1.75;
}

.atrium-hero-copy p {
  max-width: 720px;
}

.atrium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.atrium-hero-visual {
  position: relative;
}

.atrium-hero-visual picture,
.atrium-hero-visual img {
  display: block;
  width: 100%;
}

.atrium-hero-visual img {
  aspect-ratio: 1.05;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.atrium-hero-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.atrium-hero-note span {
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(2, 11, 30, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

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

.atrium-split-section {
  background: var(--white);
}

.atrium-section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.atrium-section-heading h2,
.atrium-final-panel h2 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.atrium-section-heading p {
  max-width: 640px;
  margin-top: 18px;
}

.atrium-card-grid,
.atrium-mini-grid,
.atrium-step-grid {
  display: grid;
  gap: 22px;
}

.atrium-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.atrium-card,
.atrium-mini-card,
.atrium-step-card {
  border: 1px solid rgba(6, 21, 47, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(2, 11, 30, 0.06);
}

.atrium-card {
  min-height: 270px;
  padding: 28px;
}

.atrium-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 999px;
  color: var(--red);
  background: rgba(215, 25, 32, 0.08);
}

.atrium-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.atrium-card h3,
.atrium-mini-card h3,
.atrium-step-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.28;
  font-weight: 900;
}

.atrium-card p,
.atrium-mini-card p,
.atrium-step-card p {
  margin: 14px 0 0;
  color: #516078;
  font-size: 14px;
  line-height: 1.7;
}

.atrium-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

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

.atrium-mini-card {
  padding: 28px;
  border-top: 3px solid var(--red);
}

.atrium-navy-section {
  background: var(--navy-deep);
}

.atrium-navy-section .section-kicker {
  color: var(--red);
}

.atrium-navy-section .atrium-section-heading h2,
.atrium-navy-section .atrium-section-heading p {
  color: var(--white);
}

.atrium-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.atrium-step-card {
  min-height: 250px;
  padding: 28px;
}

.atrium-step-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.atrium-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atrium-timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 23px;
  height: 1px;
  background: var(--border);
}

.atrium-timeline li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.atrium-timeline span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  background: var(--white);
  font-weight: 900;
}

.atrium-timeline strong {
  max-width: 190px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.45;
}

.atrium-audience-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atrium-audience-list li {
  position: relative;
  padding: 18px 20px 18px 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--navy);
  font-weight: 800;
}

.atrium-audience-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--white);
}

.atrium-final-cta {
  padding: 88px 0 104px;
  background: var(--bg);
}

.atrium-final-panel {
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.atrium-final-panel h2 {
  max-width: 820px;
}

.atrium-final-panel p {
  max-width: 720px;
  margin-top: 18px;
}

.atrium-page-v2 {
  background: #eef5fb;
}

.atrium-page-v2 .atrium-hero {
  padding: 72px 0 86px;
  background: #eef5fb;
}

.atrium-page-v2 .atrium-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.85fr);
  gap: clamp(42px, 5.5vw, 74px);
}

.atrium-page-v2 .atrium-hero-copy h1 {
  max-width: 690px;
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.02;
}

.atrium-page-v2 .atrium-hero-copy h1 span {
  color: var(--red);
}

.atrium-page-v2 .atrium-hero-copy p {
  max-width: 610px;
  color: #60708a;
  font-size: 16px;
  line-height: 1.7;
}

.atrium-page-v2 .atrium-actions {
  margin-top: 32px;
}

.btn-outline,
.btn-outline-light {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--white);
  background: var(--navy);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.atrium-page-v2 .atrium-hero-visual {
  padding: 10px;
  border: 1px solid rgba(6, 21, 47, 0.12);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 22px 46px rgba(2, 11, 30, 0.12);
}

.atrium-page-v2 .atrium-hero-visual img {
  height: auto;
  aspect-ratio: 1122 / 1402;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: none;
}

.atrium-page-v2 .atrium-hero-visual span {
  position: absolute;
  right: 28px;
  top: 28px;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(2, 11, 30, 0.44);
  font-size: 12px;
  font-weight: 800;
}

.atrium-benefits {
  padding: 92px 0 78px;
  background: var(--bg);
}

.atrium-centered-heading {
  max-width: 940px;
  margin: 0 auto 56px;
  text-align: center;
}

.atrium-centered-heading h2 {
  position: relative;
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.16;
  font-weight: 900;
}

.atrium-centered-heading h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin: 22px auto 0;
  background: var(--red);
}

.atrium-centered-heading p {
  max-width: 680px;
  margin: 14px auto 0;
  color: #6b7280;
  font-size: 14px;
}

.atrium-page-v2 .atrium-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.atrium-page-v2 .atrium-card {
  min-height: 280px;
  padding: 30px 28px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(2, 11, 30, 0.08);
}

.atrium-page-v2 .atrium-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  color: #526174;
  background: #eef2f6;
}

.atrium-page-v2 .atrium-card h3 {
  max-width: 190px;
  color: #263247;
  font-size: 20px;
}

.atrium-page-v2 .atrium-card p {
  color: #748092;
  font-size: 13px;
}

.atrium-real-estate {
  padding: 48px 0;
  background:
    radial-gradient(circle at 10% 45%, rgba(255, 255, 255, 0.95), transparent 34%),
    #eef5fb;
}

.atrium-real-estate-grid {
  display: grid;
  grid-template-columns: minmax(350px, 0.78fr) minmax(0, 1.55fr);
  gap: clamp(44px, 5vw, 72px);
  align-items: start;
}

.atrium-real-estate-showcase {
  display: grid;
  gap: 14px;
}

.atrium-real-estate-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px !important;
  color: var(--red) !important;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.atrium-real-estate-kicker span,
.atrium-support-item > span,
.atrium-offer-summary > span,
.atrium-property-icon,
.atrium-assurance-strip span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--red);
  background: var(--white);
}

.atrium-real-estate-kicker span {
  width: 32px;
  height: 32px;
  background: transparent;
}

.atrium-real-estate-kicker svg,
.atrium-support-item svg,
.atrium-offer-summary svg,
.atrium-property-icon svg,
.atrium-assurance-strip svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.atrium-real-estate-copy h2,
.atrium-audience-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.08;
  font-weight: 900;
}

.atrium-real-estate-copy h2 {
  max-width: 390px;
  font-size: clamp(36px, 3.3vw, 48px);
  line-height: 1.04;
}

.atrium-heading-line {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 18px;
  background: var(--red);
}

.atrium-real-estate-copy p {
  max-width: 410px;
  margin: 18px 0 0;
  color: #60708a;
  font-size: 15px;
  line-height: 1.65;
}

.atrium-support-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.atrium-support-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.atrium-support-item > span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(6, 21, 47, 0.07);
}

.atrium-support-item h3 {
  margin: 1px 0 3px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35;
}

.atrium-support-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.atrium-real-estate-cta {
  gap: 18px;
  margin-top: 22px;
}

.atrium-offer-summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 15px;
  align-items: center;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(6, 21, 47, 0.12);
  border-radius: 8px;
  color: var(--navy);
}

.atrium-offer-summary > span {
  width: 44px;
  height: 44px;
  color: var(--navy);
  background: transparent;
}

.atrium-offer-summary > span:last-child {
  padding-left: 14px;
  border-left: 1px solid rgba(6, 21, 47, 0.12);
  color: var(--red);
}

.atrium-offer-summary strong {
  font-size: 13px;
  line-height: 1.45;
}

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

.atrium-property-card {
  position: relative;
  display: grid;
  min-height: 250px;
  align-content: end;
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
  box-shadow: 0 18px 38px rgba(2, 11, 30, 0.14);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
}

.atrium-property-card:hover,
.atrium-property-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(2, 11, 30, 0.2);
}

.atrium-property-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.atrium-property-card:hover img,
.atrium-property-card:focus-visible img {
  transform: scale(1.025);
}

.atrium-property-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 11, 30, 0.02) 30%, rgba(2, 11, 30, 0.92) 100%);
}

.atrium-property-badge {
  position: absolute;
  left: 24px;
  top: 0;
  max-width: 150px;
  padding: 12px 16px;
  border-radius: 0 0 7px 7px;
  color: var(--white);
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.atrium-property-icon {
  width: 44px;
  height: 44px;
  margin: 0 0 10px 20px;
  border-radius: 50%;
}

.atrium-property-content {
  display: grid;
  gap: 7px;
  padding: 0 70px 18px 20px;
  color: var(--white);
}

.atrium-property-content strong {
  font-size: 21px;
  line-height: 1.2;
}

.atrium-property-content small {
  font-size: 13px;
  line-height: 1.55;
}

.atrium-property-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: var(--white);
  font-size: 22px;
  transition: transform 200ms ease;
}

.atrium-property-card:hover .atrium-property-arrow,
.atrium-property-card:focus-visible .atrium-property-arrow {
  transform: translateX(3px);
}

.atrium-assurance-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(6, 21, 47, 0.12);
  border-radius: 9px;
}

.atrium-assurance-strip > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 9px 12px;
}

.atrium-assurance-strip > div + div {
  border-left: 1px solid rgba(6, 21, 47, 0.1);
}

.atrium-assurance-strip span {
  width: 38px;
  height: 38px;
  background: transparent;
}

.atrium-assurance-strip strong {
  color: var(--navy);
  font-size: 11px;
  line-height: 1.45;
}

.atrium-credit-band {
  padding: 92px 0 98px;
  background: var(--navy-deep);
}

.atrium-dark-heading {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.atrium-dark-heading h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 900;
}

.atrium-dark-heading p {
  max-width: 560px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  line-height: 1.7;
}

.atrium-credit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 920px;
  margin-inline: auto;
}

.atrium-credit-card {
  position: relative;
  min-height: 230px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.atrium-credit-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(215, 25, 32, 0.92);
}

.atrium-credit-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.atrium-credit-card h3 {
  max-width: 260px;
  margin: 0;
  color: var(--white);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
}

.atrium-credit-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.65;
}

.atrium-process {
  padding: 88px 0 88px;
  background: var(--bg);
}

.atrium-process-list {
  position: relative;
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.atrium-process-list::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 42px;
  bottom: 42px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), rgba(6, 21, 47, 0.14));
}

.atrium-process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 56px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(2, 11, 30, 0.06);
}

.atrium-process-number,
.atrium-process-icon {
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.atrium-process-number {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  color: var(--white);
  background: var(--navy-deep);
  font-size: 18px;
  font-weight: 900;
}

.atrium-process-list li:first-child .atrium-process-number,
.atrium-process-list li:last-child .atrium-process-number {
  background: var(--red);
}

.atrium-process-icon {
  width: 56px;
  height: 56px;
  color: var(--red);
  background: rgba(215, 25, 32, 0.08);
}

.atrium-process-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.atrium-process-list h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.atrium-process-list p {
  margin: 8px 0 0;
  color: #647084;
  font-size: 14px;
  line-height: 1.6;
}

.atrium-audience {
  padding: 92px 0 96px;
  background: #e7f3fd;
}

.atrium-audience-heading {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.atrium-audience-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}

.atrium-audience-heading p {
  max-width: 620px;
  margin: 16px auto 0;
  color: #60708a;
  font-size: 15px;
  line-height: 1.65;
}

.atrium-persona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.atrium-persona-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(2, 11, 30, 0.08);
}

.atrium-persona-card:nth-child(2),
.atrium-persona-card:nth-child(4) {
  transform: translateY(24px);
}

.atrium-persona-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 14px;
  color: var(--white);
  background: var(--red);
}

.atrium-persona-card:nth-child(2) span,
.atrium-persona-card:nth-child(4) span {
  background: var(--navy-deep);
}

.atrium-persona-card svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.atrium-persona-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.22;
  font-weight: 900;
}

.atrium-persona-card p {
  margin: 14px 0 0;
  color: #60708a;
  font-size: 14px;
  line-height: 1.65;
}

.atrium-final-cta {
  padding: 92px 0;
  background: var(--bg);
}

.atrium-page-v2 .atrium-final-panel {
  max-width: 1120px;
  padding: clamp(42px, 6vw, 70px);
  border-radius: 28px;
  color: var(--white);
  background: var(--navy);
  text-align: center;
}

.atrium-page-v2 .atrium-final-panel h2 {
  max-width: 780px;
  margin-inline: auto;
  color: var(--white);
  font-size: clamp(34px, 4.5vw, 50px);
}

.atrium-page-v2 .atrium-final-panel p {
  max-width: 650px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.atrium-page-v2 .atrium-final-panel .atrium-actions {
  justify-content: center;
}

.home-contact-section {
  padding-top: 72px;
  padding-bottom: 100px;
}

.home-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding: 54px;
  border-radius: var(--radius);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-top: 3px solid var(--red);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 248, 0.96)),
    var(--white);
  box-shadow: var(--shadow);
}

.home-contact-panel::after {
  content: "";
  position: absolute;
  right: -86px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 38px solid rgba(215, 25, 32, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.home-contact-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
}

.home-contact-copy h2 {
  margin: 12px 0 18px;
  color: var(--navy-deep);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

.home-contact-copy p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.8;
}

.home-contact-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.contact-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
  transition: color 200ms ease, transform 200ms ease;
}

.contact-text-link:hover,
.contact-text-link:focus-visible {
  color: var(--red);
  transform: translateY(-2px);
}

.home-contact-details {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  padding: 26px 34px;
  border-radius: var(--radius);
  background: var(--navy-deep);
  color: var(--white);
}

.contact-detail {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 23px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 200ms ease, color 200ms ease;
}

.contact-detail:first-child {
  border-top: 0;
}

.contact-detail:hover,
.contact-detail:focus-visible {
  color: var(--white);
  transform: translateX(4px);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.contact-detail small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 70px;
}

.footer-logo {
  display: grid;
  place-items: center;
  width: 156px;
  height: 48px;
  margin-bottom: 26px;
  background: var(--white);
  border-radius: 2px;
  padding: 6px 8px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-grid h3 {
  margin: 0 0 19px;
  color: var(--red);
  font-size: 18px;
}

.footer-grid p,
.footer-grid a,
.footer-grid address {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.footer-grid p {
  margin: 0 0 18px;
}

.footer-grid a {
  display: block;
  margin-bottom: 11px;
  transition: color 180ms ease;
}

.footer-grid a:hover {
  color: var(--red);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-links .social-link {
  margin-bottom: 0;
}

.social-link {
  width: 25px;
  height: 25px;
  display: grid !important;
  place-items: center;
  border-radius: 3px;
  background: var(--white);
  color: var(--navy-deep) !important;
}

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

.mobile-call-button {
  display: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 72px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
}

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

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.wp-content-section {
  background: var(--bg);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 48px;
  align-items: start;
}

.content-grid.no-sidebar {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.content-main {
  min-width: 0;
}

.wp-entry {
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(2, 11, 30, 0.05);
}

.wp-entry + .wp-entry,
.archive-entry + .archive-entry {
  margin-top: 26px;
}

.wp-entry h1,
.archive-header h1 {
  margin: 0 0 22px;
  color: var(--navy-deep);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.wp-entry h2 {
  color: var(--navy-deep);
}

.wp-entry-meta,
.archive-description,
.wp-entry-content {
  color: var(--muted);
}

.wp-entry-content {
  font-size: 16px;
}

.wp-entry-content > *:first-child {
  margin-top: 0;
}

.wp-entry-content > *:last-child {
  margin-bottom: 0;
}

.wp-featured-image {
  display: block;
  margin-bottom: 26px;
}

.wp-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.sidebar {
  display: grid;
  gap: 22px;
}

.widget {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.widget-title,
.widget h2,
.widget h3 {
  margin-top: 0;
  color: var(--navy-deep);
}

.footer-widgets {
  margin-top: 48px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 86px;
  background:
    linear-gradient(135deg, rgba(245, 246, 248, 0.96) 0%, rgba(245, 246, 248, 0.92) 50%, rgba(255, 255, 255, 1) 100%);
}

.about-hero::before {
  content: "";
  position: absolute;
  right: -12vw;
  top: 70px;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 62px;
}

.about-hero-copy,
.about-hero-image,
.profile-content,
.person-card,
.timeline-item div,
.about-cta-panel > div {
  min-width: 0;
}

.about-hero-copy h1 {
  max-width: 680px;
  margin: 22px 0 22px;
  color: var(--navy-deep);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.about-hero-copy p {
  max-width: 670px;
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  overflow-wrap: break-word;
}

.about-hero-text-mobile {
  display: none;
}

.about-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.text-link {
  position: relative;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 800;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--red);
}

.about-hero-image {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-hero-image img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

.about-hero-stat {
  position: absolute;
  left: -28px;
  bottom: 34px;
  width: 190px;
  padding: 22px;
  border-radius: 8px;
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: 0 20px 48px rgba(2, 11, 30, 0.22);
}

.about-hero-stat strong {
  display: block;
  color: var(--red);
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}

.about-hero-stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.about-section-header {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.services-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  background: var(--navy-deep);
  color: var(--white);
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 30, 0.98), rgba(2, 11, 30, 0.88) 48%, rgba(2, 11, 30, 0.52)),
    radial-gradient(circle at 88% 16%, rgba(215, 25, 32, 0.18), transparent 30%);
  pointer-events: none;
}

.services-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.78fr);
  gap: 72px;
  align-items: center;
}

.services-hero-copy h1 {
  max-width: 780px;
  margin: 18px 0 24px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.services-hero-copy p {
  max-width: 680px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.services-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.services-hero-actions .text-link {
  color: var(--white);
}

.services-hero-actions .text-link:hover,
.services-hero-actions .text-link:focus-visible {
  color: rgba(255, 255, 255, 0.78);
}

.services-hero-media {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
}

.services-hero-media::before {
  content: "";
  position: absolute;
  inset: 24px -22px -24px 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.services-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.services-hero-note {
  position: absolute;
  z-index: 2;
  left: -34px;
  bottom: 34px;
  display: grid;
  gap: 4px;
  max-width: 210px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
  background: var(--white);
  color: var(--navy-deep);
  box-shadow: var(--shadow-strong);
}

.services-hero-note strong {
  font-size: 34px;
  line-height: 1;
}

.services-hero-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.services-intro-section {
  padding-bottom: 54px;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 72px;
  align-items: end;
}

.services-intro-heading h2 {
  margin: 12px 0 0;
  color: var(--navy-deep);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.services-intro-grid > p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.85;
}

.services-list-section {
  padding: 0 0 96px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.service-detail {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  min-height: 280px;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(2, 11, 30, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-detail:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 25, 32, 0.32);
  box-shadow: var(--shadow);
}

.service-detail:nth-child(1),
.service-detail:nth-child(6) {
  grid-column: span 7;
}

.service-detail:nth-child(2),
.service-detail:nth-child(5) {
  grid-column: span 5;
}

.service-detail:nth-child(3),
.service-detail:nth-child(4) {
  grid-column: span 6;
}

.service-detail.featured {
  border-top: 3px solid var(--red);
}

.service-detail.dark {
  background: var(--navy-deep);
  color: var(--white);
}

.service-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(215, 25, 32, 0.1);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.service-detail.dark .service-number {
  background: rgba(255, 255, 255, 0.08);
}

.service-detail h3 {
  margin: 2px 0 14px;
  color: inherit;
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.18;
}

.service-detail p {
  margin: 0;
  color: #5b6472;
  font-size: 15px;
  line-height: 1.75;
}

.service-detail.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.services-process-section {
  background: var(--white);
}

.services-process-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 76px;
  align-items: start;
}

.services-process-heading {
  position: sticky;
  top: 112px;
}

.services-process-heading h2 {
  margin: 12px 0 16px;
  color: var(--navy-deep);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.services-process-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.services-steps {
  display: grid;
  gap: 18px;
}

.services-step {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.services-step:last-child {
  border-bottom: 1px solid var(--border);
}

.services-step > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.services-step h3 {
  margin: 0 0 8px;
  color: var(--navy-deep);
  font-size: 25px;
}

.services-step p {
  margin: 0;
  color: #5b6472;
  line-height: 1.75;
}

.services-proof-section {
  padding: 98px 0;
  background: var(--bg);
}

.services-proof-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  padding: 54px;
  border-radius: var(--radius);
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow-strong);
}

.services-proof-panel h2 {
  margin: 12px 0 16px;
  font-size: clamp(31px, 3.6vw, 48px);
  line-height: 1.08;
}

.services-proof-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

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

.services-proof-stats div {
  min-height: 170px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.services-proof-stats strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
}

.services-proof-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.55;
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

.about-section-header h2,
.history-heading h2,
.about-cta-panel h2 {
  margin: 10px 0 0;
  color: var(--navy-deep);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.about-section-header p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.team-section {
  background: var(--white);
}

.team-list {
  display: grid;
  gap: 34px;
}

.team-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 0 14px 42px rgba(2, 11, 30, 0.06);
}

.team-profile.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
}

.team-profile.reverse .profile-photo {
  order: 2;
}

.profile-photo {
  min-height: 520px;
  background: var(--white);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
}

.profile-label {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-content h3,
.person-card h3 {
  margin: 10px 0 20px;
  color: var(--navy-deep);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 800;
}

.profile-content p,
.person-card p {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 15px;
}

.profile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.profile-contact a,
.person-card a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(215, 25, 32, 0.28);
  border-radius: 999px;
  color: var(--navy-deep);
  background: rgba(215, 25, 32, 0.06);
  font-size: 13px;
  font-weight: 800;
}

.team-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.person-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(2, 11, 30, 0.05);
}

.person-card img {
  width: 100%;
  aspect-ratio: 1.14;
  object-fit: cover;
  object-position: center top;
  background: var(--bg);
}

.person-card > div {
  padding: 34px;
}

.person-card h3 {
  font-size: clamp(24px, 2.4vw, 32px);
}

.history-section {
  background: #eef0f3;
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.history-heading {
  position: sticky;
  top: 110px;
}

.history-heading p {
  margin: 18px 0 0;
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  gap: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 72px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: rgba(6, 21, 47, 0.11);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.timeline-item > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 145px;
  min-height: 54px;
  place-items: center;
  border: 1px solid rgba(215, 25, 32, 0.22);
  border-radius: 999px;
  background: var(--white);
  color: var(--red);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(2, 11, 30, 0.05);
}

.timeline-item div {
  padding: 30px 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(2, 11, 30, 0.045);
}

.timeline-item h3 {
  margin: 0 0 12px;
  color: var(--navy-deep);
  font-size: 24px;
  line-height: 1.2;
}

.timeline-item p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
}

.timeline-item p + p {
  margin-top: 12px;
}

.about-cta {
  padding: 96px 0;
  background: var(--bg);
}

.about-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 50px 58px;
  border-radius: 12px;
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: 0 26px 70px rgba(2, 11, 30, 0.16);
}

.about-cta-panel h2 {
  color: var(--white);
}

.about-cta-panel p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.reveal {
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu.is-open {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 76px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open .nav-menu-list {
    display: grid;
    gap: 0;
  }

  .nav-menu-list {
    display: none;
  }

  .nav-menu.is-open a {
    padding: 15px 12px;
  }

  .nav-menu.is-open a::after,
  .nav-menu.is-open .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-menu.is-open .nav-dropdown {
    display: grid;
    width: 100%;
  }

  .nav-menu.is-open .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 15px 12px;
    color: var(--navy);
    text-align: left;
  }

  .nav-menu.is-open .nav-submenu,
  .nav-menu.is-open .nav-menu-list .nav-submenu {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: none;
    transform: none;
    visibility: visible;
    transition: max-height 240ms ease;
  }

  .nav-menu.is-open .nav-dropdown.is-open .nav-submenu,
  .nav-menu.is-open .nav-menu-list .nav-dropdown.is-open .nav-submenu {
    max-height: 620px;
    pointer-events: auto;
  }

  .nav-menu.is-open .nav-submenu a {
    padding: 12px;
    color: var(--navy);
    white-space: normal;
  }

  .nav-menu.is-open .nav-submenu-link {
    margin-left: 8px;
  }

  .nav-menu.is-open .nav-submenu-all {
    justify-content: flex-start;
    margin: 6px 0 0 8px;
  }

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

  .process-grid {
    gap: 48px;
  }

  .services-hero-grid,
  .services-intro-grid,
  .services-process-grid,
  .services-proof-panel {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .services-hero-media {
    min-height: auto;
    max-width: 760px;
  }

  .services-process-heading {
    position: static;
  }

  .service-detail,
  .service-detail:nth-child(1),
  .service-detail:nth-child(2),
  .service-detail:nth-child(3),
  .service-detail:nth-child(4),
  .service-detail:nth-child(5),
  .service-detail:nth-child(6) {
    grid-column: span 6;
  }

  .services-proof-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-contact-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-contact-copy {
    max-width: 760px;
  }

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

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

  .about-hero-grid,
  .about-section-header,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .history-heading {
    position: static;
  }

  .about-hero-stat {
    left: 30px;
  }

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

  .atrium-hero-visual {
    max-width: 760px;
  }

  .atrium-card-grid-four,
  .atrium-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atrium-timeline {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .atrium-timeline::before {
    display: none;
  }

  .atrium-timeline li {
    grid-template-columns: 48px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: left;
  }

  .atrium-timeline strong {
    max-width: none;
  }

  .atrium-page-v2 .atrium-hero-grid,
  .atrium-page-v2 .atrium-real-estate-grid,
  .atrium-page-v2 .atrium-audience-grid {
    grid-template-columns: 1fr;
  }

  .atrium-real-estate-copy {
    max-width: 680px;
  }

  .atrium-real-estate-copy h2 {
    max-width: 620px;
  }

  .atrium-assurance-strip {
    grid-column: 1;
  }

  .atrium-page-v2 .atrium-card-grid-four,
  .atrium-page-v2 .atrium-credit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .atrium-page-v2 .atrium-timeline {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .atrium-page-v2 .atrium-timeline::before {
    display: none;
  }

  .atrium-page-v2 .atrium-timeline li {
    grid-template-columns: 42px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .atrium-page-v2 .atrium-timeline small {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header .nav-shell,
  .site-footer .footer-grid,
  .site-footer .footer-widgets,
  .site-footer .footer-bottom {
    width: min(100% - 32px, var(--container)) !important;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .services-hero {
    padding: 74px 0 58px;
  }

  .services-hero-grid {
    gap: 34px;
  }

  .services-hero-copy h1 {
    font-size: clamp(31px, 8vw, 40px);
    overflow-wrap: anywhere;
  }

  .services-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .services-hero-actions .btn,
  .services-hero-actions .text-link {
    width: fit-content;
  }

  .services-hero-actions .btn {
    width: 100%;
  }

  .services-hero-media img {
    height: auto;
    aspect-ratio: 1.05;
  }

  .services-hero-media::before {
    inset: 18px -10px -18px 22px;
  }

  .services-hero-note {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }

  .atrium-hero,
  .atrium-section,
  .atrium-split-section,
  .atrium-final-cta {
    padding-block: 68px;
  }

  .atrium-hero-copy h1 {
    font-size: clamp(32px, 8.4vw, 42px);
    line-height: 1.1;
  }

  .atrium-hero-copy p,
  .atrium-section-heading p,
  .atrium-final-panel p {
    font-size: 15px;
  }

  .atrium-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .atrium-actions .btn {
    width: 100%;
  }

  .atrium-hero-note {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .atrium-card-grid-four,
  .atrium-mini-grid,
  .atrium-step-grid {
    grid-template-columns: 1fr;
  }

  .atrium-card,
  .atrium-mini-card,
  .atrium-step-card {
    min-height: auto;
    padding: 24px;
  }

  .atrium-page-v2 .atrium-hero {
    padding: 58px 0 64px;
  }

  .atrium-page-v2 .atrium-hero-copy h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .atrium-page-v2 .atrium-card-grid-four,
  .atrium-page-v2 .atrium-property-grid,
  .atrium-page-v2 .atrium-credit-grid,
  .atrium-persona-grid {
    grid-template-columns: 1fr;
  }

  .atrium-real-estate {
    padding: 68px 0;
  }

  .atrium-real-estate-grid {
    gap: 42px;
  }

  .atrium-real-estate-copy h2 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .atrium-property-card {
    min-height: 330px;
  }

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

  .atrium-assurance-strip > div:nth-child(3) {
    border-left: 0;
  }

  .atrium-assurance-strip > div:nth-child(n + 3) {
    border-top: 1px solid rgba(6, 21, 47, 0.1);
  }

  .atrium-page-v2 .atrium-card,
  .atrium-credit-card,
  .atrium-persona-card {
    min-height: auto;
  }

  .atrium-process-list::before {
    left: 25px;
  }

  .atrium-process-list li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .atrium-process-number {
    width: 52px;
    height: 52px;
  }

  .atrium-process-icon {
    grid-column: 1;
    grid-row: 2;
    width: 42px;
    height: 42px;
    margin-left: 5px;
  }

  .atrium-process-list li > div {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .atrium-persona-card:nth-child(2),
  .atrium-persona-card:nth-child(4) {
    transform: none;
  }

  .atrium-page-v2 .atrium-final-panel {
    border-radius: 18px;
  }

  .services-intro-section {
    padding-bottom: 36px;
  }

  .services-list-section {
    padding-bottom: 72px;
  }

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

  .service-detail,
  .service-detail:nth-child(1),
  .service-detail:nth-child(2),
  .service-detail:nth-child(3),
  .service-detail:nth-child(4),
  .service-detail:nth-child(5),
  .service-detail:nth-child(6) {
    grid-column: auto;
  }

  .service-detail {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 24px;
  }

  .services-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .services-proof-section {
    padding: 72px 0;
  }

  .services-proof-panel {
    padding: 34px 24px;
  }

  .services-proof-stats {
    grid-template-columns: 1fr;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(2, 11, 30, 0.92) 0%, rgba(2, 11, 30, 0.78) 62%, rgba(2, 11, 30, 0.48) 100%);
  }

  .hero-cta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 28px;
  }

  .section {
    padding: 76px 0;
  }

  .services-grid,
  .process-grid,
  .benefits-grid,
  .testimonial-track {
    grid-template-columns: 1fr;
  }

  .process-image {
    min-height: auto;
  }

  .process-image img {
    width: 100%;
    aspect-ratio: 0.9;
  }

  .process-copy > p,
  .steps-list,
  .process-copy .btn {
    margin-left: 0;
  }

  .process-copy .btn {
    width: 100%;
    min-width: 0;
  }

  .finance-panel {
    padding: 44px 28px;
  }

  .handshake {
    right: -46px;
    top: auto;
    bottom: -38px;
    width: 210px;
    height: 210px;
  }

  .testimonial-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .testimonial-card {
    min-width: min(86vw, 390px);
    scroll-snap-align: start;
  }

  .about-hero {
    padding: 66px 0 70px;
  }

  .about-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(28px, 7.4vw, 34px);
    line-height: 1.08;
    text-wrap: auto;
    overflow-wrap: anywhere;
  }

  .about-hero-copy p {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .about-hero-actions,
  .about-cta-panel {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .team-profile,
  .team-profile.reverse {
    grid-template-columns: 1fr;
  }

  .team-profile.reverse .profile-photo {
    order: 0;
  }

  .profile-photo {
    min-height: 420px;
  }

  .profile-content {
    padding: 34px;
  }

  .team-grid-compact {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
  }

  .timeline-item > span {
    width: 58px;
    min-height: 58px;
    border-radius: 50%;
    font-size: 12px;
    text-align: center;
  }

  .timeline-item div {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    min-height: 66px;
  }

  .brand {
    width: 132px;
    height: 38px;
  }

  .hero,
  .hero-content {
    min-height: 650px;
  }

  .hero-content {
    align-items: flex-start;
    padding-top: 82px;
  }

  .hero h1 {
    max-width: 350px;
    font-size: clamp(29px, 8.7vw, 34px);
    line-height: 1.08;
    text-wrap: auto;
    overflow-wrap: anywhere;
  }

  .section-heading h2,
  .testimonials-top h2 {
    font-size: clamp(25px, 8vw, 31px);
    overflow-wrap: anywhere;
  }

  .btn-hero {
    width: 100%;
    min-height: 64px;
  }

  .stats-card {
    grid-template-columns: 1fr;
    margin-inline: 0;
  }

  .service-card {
    min-height: 250px;
    padding: 30px 26px;
  }

  .home-contact-section {
    padding-top: 58px;
    padding-bottom: 78px;
  }

  .home-contact-panel {
    padding: 32px 24px;
  }

  .home-contact-copy h2 {
    font-size: clamp(28px, 8vw, 36px);
    overflow-wrap: anywhere;
  }

  .home-contact-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .home-contact-actions .btn,
  .contact-text-link {
    width: 100%;
  }

  .contact-text-link {
    justify-content: center;
  }

  .home-contact-details {
    padding: 10px 22px;
  }

  .contact-detail {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

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

  .testimonials-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .wp-entry {
    padding: 28px 22px;
  }

  .about-hero-copy h1,
  .about-section-header h2,
  .history-heading h2,
  .about-cta-panel h2 {
    overflow-wrap: anywhere;
  }

  .about-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .about-hero-copy,
  .about-hero-actions .btn {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .about-hero-grid {
    display: block;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .about-hero-image {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-top: 44px;
  }

  .about-hero-image {
    padding: 10px;
  }

  .about-hero-image img {
    aspect-ratio: 1.34;
    object-fit: contain;
    object-position: center center;
  }

  .about-hero-stat {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .profile-photo {
    min-height: 0;
  }

  .profile-photo img,
  .person-card img {
    aspect-ratio: 0.88;
  }

  .profile-content,
  .person-card > div,
  .about-cta-panel {
    padding: 28px 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item > span {
    width: fit-content;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
  }
}

.services-page .services-process-heading {
  position: static;
  top: auto;
  max-width: 760px;
}

.services-page .services-process-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.14;
  font-weight: 800;
}

.services-page .services-process-heading p {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.services-page .services-cta-btn {
  background: var(--white);
  color: var(--red-dark);
}

.services-page .services-cta-btn:hover,
.services-page .services-cta-btn:focus-visible {
  background: #f7f7f7;
  color: var(--red-dark);
}

@media (max-width: 768px) {
  :root {
    --mobile-gutter: clamp(20px, 4vw, 24px);
  }

  .reveal {
    transition:
      opacity 400ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 400ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 400ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js-ready .reveal {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(2px);
  }

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

  .history-heading,
  .services-process-heading {
    position: static;
    top: auto;
  }

  .container {
    width: min(calc(100% - (var(--mobile-gutter) * 2)), var(--container));
  }

  .site-footer .footer-grid,
  .site-footer .footer-widgets,
  .site-footer .footer-bottom {
    width: min(calc(100% - (var(--mobile-gutter) * 2)), var(--container)) !important;
  }

  main > .section > .container,
  main > .stats-wrap > .container,
  main > .about-hero > .container,
  main > .about-cta > .container,
  .services-page > section > .container,
  .contact-page > section > .container {
    width: 100%;
    max-width: 100%;
    padding-inline: var(--mobile-gutter);
    box-sizing: border-box;
  }

  .service-card,
  .testimonial-card,
  .home-contact-panel,
  .home-contact-details,
  .finance-panel,
  .stats-card,
  .about-cta-panel,
  .wp-entry,
  .team-profile,
  .person-card,
  .timeline-item div,
  .services-stats-card,
  .service-detail,
  .services-proof-panel,
  .contact-person-card,
  .contact-form-card,
  .contact-info-card,
  .contact-map-card,
  input,
  textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .about-hero-copy,
  .about-hero-actions .btn,
  .about-hero-grid,
  .about-hero-image {
    width: 100%;
    max-width: 100%;
  }

  .about-hero {
    padding: 54px 0 46px;
  }

  .about-hero-grid {
    gap: 24px;
  }

  .about-hero-copy h1 {
    margin: 16px 0 16px;
  }

  .about-hero-text-desktop {
    display: none;
  }

  .about-hero-text-mobile {
    display: block;
  }

  .about-hero-actions {
    margin-top: 24px;
  }

  .about-hero-actions .text-link {
    display: none;
  }

  .about-hero-image {
    margin-top: 0;
  }

  .about-hero-stat {
    position: static;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-top: 12px;
    padding: 16px;
  }

  .about-hero-stat strong {
    flex: 0 0 auto;
    font-size: 34px;
  }

  .about-hero-stat span {
    margin-top: 0;
  }

  .hero,
  .hero-content {
    min-height: 660px;
  }

  .hero-content {
    width: 100%;
    align-items: flex-start;
    padding: 78px var(--mobile-gutter) 104px;
  }

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

  .hero .eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    max-width: 100%;
    margin: 0 0 20px;
    font-size: clamp(27px, 8.4vw, 31px);
    line-height: 1.12;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero-list {
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
  }

  .hero-cta-row {
    width: 100%;
    gap: 16px;
  }

  .btn-hero {
    width: auto;
    max-width: 100%;
    min-width: min(100%, 238px);
    min-height: 62px;
    padding-inline: 22px;
  }

  .hero-cta-row p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.55;
  }

  .testimonials-section .carousel-actions {
    display: none;
  }

  .testimonials-section .container::after {
    content: "Przesuń palcem →";
    display: block;
    width: fit-content;
    margin: 12px auto 0;
    padding: 0;
    border: 0;
    color: rgba(0, 29, 61, 0.58);
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: none;
  }

  .testimonial-track {
    display: flex;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  .testimonial-card {
    flex: 0 0 calc(90% - 18px);
    max-width: calc(90% - 18px);
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .about-hero-image {
    margin-top: 24px;
  }

  .atrium-real-estate-kicker {
    margin-bottom: 22px !important;
  }

  .atrium-support-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }

  .atrium-support-item > span {
    width: 46px;
    height: 46px;
  }

  .atrium-real-estate-cta {
    width: 100%;
  }

  .atrium-offer-summary {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .atrium-offer-summary > span {
    width: 38px;
    height: 38px;
  }

  .atrium-offer-summary > span:last-child {
    display: none;
  }

  .atrium-property-card {
    min-height: 300px;
  }

  .atrium-property-content {
    padding-right: 70px;
  }

  .atrium-assurance-strip {
    grid-template-columns: 1fr;
  }

  .atrium-assurance-strip > div + div,
  .atrium-assurance-strip > div:nth-child(3) {
    border-top: 1px solid rgba(6, 21, 47, 0.1);
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .mobile-call-button {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 80;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    box-shadow: 0 16px 34px rgba(193, 15, 25, 0.32);
  }

  .mobile-call-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 768px) {
  .btn:hover,
  .btn:focus-visible,
  .service-card:hover,
  .service-card:focus-within,
  .services-page .service-detail:hover,
  .services-page .service-detail:focus-within,
  .carousel-btn:hover,
  .contact-text-link:hover,
  .contact-text-link:focus-visible,
  .contact-detail:hover,
  .contact-detail:focus-visible {
    transform: none;
  }
}

.mortgage-page {
  background: var(--bg);
  color: var(--navy);
}

.mortgage-page svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mortgage-hero {
  position: relative;
  min-height: clamp(560px, 64vw, 650px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.mortgage-hero-media,
.mortgage-hero-media img,
.mortgage-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mortgage-hero-media {
  z-index: -2;
}

.mortgage-hero-media img {
  object-fit: cover;
}

.mortgage-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 14, 34, 0.82) 0%, rgba(2, 14, 34, 0.68) 44%, rgba(2, 14, 34, 0.52) 100%),
    rgba(2, 14, 34, 0.18);
}

.mortgage-hero-inner {
  padding: 86px 0 72px;
}

.mortgage-hero-copy {
  max-width: 760px;
}

.mortgage-overline,
.mortgage-kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mortgage-overline {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
}

.mortgage-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 900;
}

.mortgage-hero-copy > p:not(.mortgage-overline) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.75;
}

.mortgage-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.mortgage-btn-light {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.mortgage-btn-light:hover,
.mortgage-btn-light:focus-visible {
  background: var(--white);
  color: var(--navy);
}

.mortgage-purpose,
.mortgage-process,
.mortgage-trust {
  padding: 96px 0;
}

.mortgage-purpose,
.mortgage-factors {
  background: #f4f7fb;
}

.mortgage-section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.mortgage-section-head h2,
.mortgage-process-copy h2,
.mortgage-factors-copy h2,
.mortgage-final-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
}

.mortgage-section-head > p:not(.mortgage-kicker),
.mortgage-process-copy > p:not(.mortgage-kicker),
.mortgage-factors-copy > p:not(.mortgage-kicker) {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.mortgage-purpose-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.mortgage-purpose-card,
.mortgage-support-card,
.mortgage-trust-card,
.mortgage-checklist {
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(6, 21, 47, 0.08);
}

.mortgage-purpose-card {
  min-height: 214px;
  padding: 28px;
}

.mortgage-purpose-card-has-image {
  position: relative;
  display: flex;
  min-height: 248px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  isolation: isolate;
  color: var(--white);
  background: var(--navy);
}

.mortgage-purpose-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mortgage-purpose-card-has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 13, 32, 0.2) 0%, rgba(3, 13, 32, 0.76) 48%, rgba(3, 13, 32, 0.96) 100%),
    linear-gradient(90deg, rgba(2, 14, 34, 0.36), rgba(193, 15, 25, 0.18) 54%, transparent 100%);
}

.mortgage-purpose-card-has-image:hover .mortgage-purpose-image,
.mortgage-purpose-card-has-image:focus-within .mortgage-purpose-image {
  transform: scale(1.04);
}

.mortgage-purpose-card-has-image .mortgage-icon {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.mortgage-purpose-card-has-image h3,
.mortgage-purpose-card-has-image p {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.mortgage-purpose-card-has-image p {
  color: rgba(255, 255, 255, 0.94);
}

.mortgage-purpose-feature {
  grid-row: span 2;
  display: flex;
  min-height: 448px;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(150deg, rgba(193, 15, 25, 0.08), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.mortgage-purpose-feature.mortgage-purpose-card-has-image {
  display: flex;
}

.mortgage-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 14px;
  background: rgba(193, 15, 25, 0.1);
  color: var(--red);
}

.mortgage-purpose-card h3,
.mortgage-support-card h3,
.mortgage-stepper h3,
.mortgage-trust-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
}

.mortgage-purpose-card p,
.mortgage-support-card p,
.mortgage-stepper p,
.mortgage-trust-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.mortgage-purpose-card.mortgage-purpose-card-has-image h3 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.mortgage-purpose-card.mortgage-purpose-card-has-image p {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58);
}

.mortgage-purpose-feature h3 {
  font-size: clamp(28px, 3vw, 40px);
}

.mortgage-support {
  padding: 96px 0 102px;
  background: var(--navy-deep);
}

.mortgage-dark-head {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.mortgage-dark-head h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
}

.mortgage-dark-head > p:not(.mortgage-kicker) {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.75;
}

.mortgage-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mortgage-support-card {
  min-height: 270px;
  padding: 30px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.mortgage-support-card .mortgage-icon {
  background: rgba(193, 15, 25, 0.95);
  color: var(--white);
}

.mortgage-support-card h3 {
  color: var(--white);
}

.mortgage-support-card p {
  color: rgba(255, 255, 255, 0.6);
}

.mortgage-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
}

.mortgage-process-copy {
  position: sticky;
  top: 120px;
}

.mortgage-stepper {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mortgage-stepper::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), rgba(6, 21, 47, 0.12));
}

.mortgage-stepper li {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 34px;
}

.mortgage-stepper li:last-child {
  padding-bottom: 0;
}

.mortgage-stepper span {
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(193, 15, 25, 0.22);
}

.mortgage-stepper div {
  padding: 4px 0 28px;
  border-bottom: 1px solid rgba(6, 21, 47, 0.08);
}

.mortgage-stepper li:last-child div {
  border-bottom: 0;
}

.mortgage-factors {
  padding: 92px 0;
}

.mortgage-factors-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 64px;
  align-items: center;
}

.mortgage-checklist {
  padding: 34px;
}

.mortgage-checklist ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mortgage-checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.mortgage-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.mortgage-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mortgage-trust-card {
  padding: 28px;
}

.mortgage-trust-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mortgage-trust-link:hover,
.mortgage-trust-link:focus-visible {
  border-color: rgba(193, 15, 25, 0.22);
  box-shadow: 0 22px 52px rgba(6, 21, 47, 0.12);
  transform: translateY(-2px);
}

.mortgage-trust-link-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.mortgage-trust-link-label span {
  transition: transform 180ms ease;
}

.mortgage-trust-link:hover .mortgage-trust-link-label span,
.mortgage-trust-link:focus-visible .mortgage-trust-link-label span {
  transform: translateX(4px);
}

.mortgage-trust-card strong {
  display: block;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  font-weight: 900;
}

.mortgage-trust-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--red);
}

.mortgage-final {
  padding: 0 0 96px;
  background: var(--bg);
}

.mortgage-final-panel {
  padding: clamp(42px, 6vw, 72px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(193, 15, 25, 0.22), transparent 34%),
    var(--navy);
  color: var(--white);
  text-align: center;
  box-shadow: 0 24px 60px rgba(6, 21, 47, 0.18);
}

.mortgage-final-panel .mortgage-kicker,
.mortgage-final-panel h2 {
  color: var(--white);
}

.mortgage-final-panel p {
  max-width: 620px;
  margin: 18px auto 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.apartment-market,
.apartment-atrium-promo,
.apartment-audience {
  padding: 96px 0;
}

.apartment-market {
  background: #f4f7fb;
}

.apartment-audience {
  background: var(--bg);
}

.apartment-atrium-promo {
  background: var(--bg);
}

.apartment-atrium-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(193, 15, 25, 0.06), transparent 32%),
    var(--white);
  box-shadow: 0 22px 56px rgba(6, 21, 47, 0.08);
}

.apartment-atrium-copy h2 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}

.apartment-atrium-copy > p:not(.mortgage-kicker) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.apartment-atrium-copy ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.apartment-atrium-copy li {
  position: relative;
  padding-left: 28px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.apartment-atrium-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(193, 15, 25, 0.1);
}

.apartment-atrium-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 300px;
  border-radius: 16px;
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(6, 21, 47, 0.14);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.apartment-atrium-card:hover,
.apartment-atrium-card:focus-visible {
  box-shadow: 0 24px 56px rgba(6, 21, 47, 0.18);
  transform: translateY(-2px);
}

.apartment-atrium-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.apartment-atrium-card:hover img,
.apartment-atrium-card:focus-visible img {
  transform: scale(1.04);
}

.apartment-atrium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 12%, rgba(2, 14, 34, 0.82));
}

.apartment-atrium-card span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  color: var(--white);
  font-size: 26px;
  font-weight: 900;
}

.apartment-market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.apartment-market-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 20px 52px rgba(6, 21, 47, 0.1);
}

.apartment-market-card-alt {
  background: var(--navy);
  color: var(--white);
}

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

.apartment-market-card > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
}

.apartment-market-card h3,
.apartment-audience-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 900;
}

.apartment-market-card p,
.apartment-audience-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.apartment-market-card-alt h3 {
  color: var(--white);
}

.apartment-market-card-alt p {
  color: rgba(255, 255, 255, 0.74);
}

.apartment-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.apartment-audience-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(6, 21, 47, 0.08);
}

.build-features,
.build-audience {
  padding: 96px 0;
}

.build-features {
  background: #f4f7fb;
}

.build-audience {
  background: var(--bg);
}

.build-feature-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: stretch;
}

.build-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.build-feature-card,
.build-audience-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(6, 21, 47, 0.08);
}

.build-feature-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(193, 15, 25, 0.07);
}

.build-feature-main {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(2, 14, 34, 0.24) 0%, rgba(2, 14, 34, 0.68) 52%, rgba(2, 14, 34, 0.9) 100%),
    url("../images/EfektKredyt_Kredyt_Budowa.webp") center/cover;
  color: var(--white);
}

.build-feature-card h3,
.build-audience-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
}

.build-feature-grid .build-feature-card {
  min-height: 240px;
}

.build-feature-card p,
.build-audience-card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.build-feature-main h3 {
  color: var(--white);
  font-size: clamp(28px, 3vw, 40px);
}

.build-feature-main p {
  color: rgba(255, 255, 255, 0.82);
}

.build-feature-main .mortgage-icon {
  background: var(--white);
  color: var(--red);
}

.build-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.land-checks,
.land-audience {
  padding: 96px 0;
}

.land-checks {
  background:
    radial-gradient(circle at 10% 10%, rgba(193, 15, 25, 0.05), transparent 30%),
    #f4f7fb;
}

.land-audience {
  background: var(--bg);
}

.land-check-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.land-feature-card {
  position: relative;
  display: flex;
  min-height: 520px;
  overflow: hidden;
  align-items: flex-end;
  border-radius: 20px;
  background: var(--navy);
  box-shadow: 0 22px 56px rgba(6, 21, 47, 0.14);
  isolation: isolate;
}

.land-feature-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.land-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 14, 34, 0.08) 0%, rgba(2, 14, 34, 0.62) 50%, rgba(2, 14, 34, 0.94) 100%),
    linear-gradient(120deg, rgba(193, 15, 25, 0.18), transparent 48%);
}

.land-feature-card:hover img,
.land-feature-card:focus-within img {
  transform: scale(1.04);
}

.land-feature-card > div {
  padding: 34px;
}

.land-feature-card .mortgage-icon {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.land-feature-card h3,
.land-audience-card h3,
.land-info-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
}

.land-feature-card h3 {
  color: var(--white);
  font-size: clamp(28px, 3vw, 42px);
}

.land-feature-card p,
.land-audience-card p,
.land-info-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.land-feature-card p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.84);
}

.land-info-grid,
.land-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.land-info-card,
.land-audience-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(6, 21, 47, 0.08);
}

.land-info-card {
  min-height: 250px;
}

.land-audience-card {
  min-height: 250px;
}

.land-info-card::after,
.land-audience-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(193, 15, 25, 0.07);
}

.land-info-card > *,
.land-audience-card > * {
  position: relative;
  z-index: 1;
}

.renovation-scope,
.renovation-audience {
  padding: 96px 0;
}

.renovation-scope {
  background:
    linear-gradient(180deg, #f4f7fb 0%, var(--bg) 100%);
}

.renovation-audience {
  background: var(--bg);
}

.renovation-scope-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.renovation-feature-card {
  position: relative;
  display: flex;
  min-height: 560px;
  overflow: hidden;
  align-items: flex-end;
  border-radius: 22px;
  background: var(--navy);
  box-shadow: 0 24px 60px rgba(6, 21, 47, 0.14);
  isolation: isolate;
}

.renovation-feature-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.renovation-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 14, 34, 0.04) 0%, rgba(2, 14, 34, 0.56) 50%, rgba(2, 14, 34, 0.94) 100%),
    linear-gradient(135deg, rgba(193, 15, 25, 0.2), transparent 48%);
}

.renovation-feature-card:hover img,
.renovation-feature-card:focus-within img {
  transform: scale(1.04);
}

.renovation-feature-card > div {
  padding: 36px;
}

.renovation-feature-card .mortgage-icon {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.renovation-feature-card h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  font-weight: 900;
}

.renovation-feature-card p {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.75;
}

.renovation-scope-list {
  display: grid;
  gap: 16px;
}

.renovation-scope-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 26px;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(6, 21, 47, 0.07);
}

.renovation-scope-card:nth-child(even) {
  transform: translateX(24px);
  background:
    linear-gradient(135deg, rgba(193, 15, 25, 0.05), transparent 36%),
    var(--white);
}

.renovation-scope-card .mortgage-icon {
  margin: 0;
}

.renovation-scope-card h3,
.renovation-audience-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
}

.renovation-scope-card p,
.renovation-audience-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.renovation-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.renovation-audience-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(6, 21, 47, 0.08);
}

.renovation-audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--red);
}

.renovation-audience-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(193, 15, 25, 0.07);
}

.renovation-audience-card > * {
  position: relative;
  z-index: 1;
}

.capacity-moments {
  padding: 96px 0;
}

.capacity-moments {
  background:
    radial-gradient(circle at 85% 15%, rgba(193, 15, 25, 0.06), transparent 28%),
    #f4f7fb;
}

.capacity-moments-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.capacity-moment-feature,
.capacity-moment-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(6, 21, 47, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(6, 21, 47, 0.08);
}

.capacity-moment-feature {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(193, 15, 25, 0.18), transparent 36%),
    var(--navy);
  color: var(--white);
}

.capacity-moment-feature::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.capacity-moment-feature .mortgage-icon {
  background: var(--white);
  color: var(--red);
}

.capacity-moment-number {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  color: rgba(193, 15, 25, 0.95);
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}

.capacity-moment-feature .capacity-moment-number {
  color: rgba(255, 255, 255, 0.2);
  font-size: clamp(58px, 8vw, 96px);
}

.capacity-moment-feature h3,
.capacity-moment-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
}

.capacity-moment-feature h3 {
  color: var(--white);
  font-size: clamp(30px, 3vw, 44px);
}

.capacity-moment-feature p,
.capacity-moment-card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.capacity-moment-feature p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.capacity-moment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.capacity-moment-card {
  min-height: 206px;
  padding: 28px;
  background: var(--white);
}

.capacity-moment-card:nth-child(2),
.capacity-moment-card:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(193, 15, 25, 0.05), transparent 42%),
    var(--white);
}

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

  .apartment-market-grid,
  .apartment-audience-grid,
  .build-feature-grid,
  .build-audience-grid,
  .land-info-grid,
  .land-audience-grid,
  .renovation-audience-grid,
  .capacity-moment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .build-feature-layout,
  .land-check-layout,
  .renovation-scope-layout,
  .capacity-moments-layout {
    grid-template-columns: 1fr;
  }

  .apartment-atrium-panel {
    grid-template-columns: 1fr;
  }

  .apartment-market-card {
    grid-template-columns: 1fr;
  }

  .apartment-market-card img {
    min-height: 220px;
  }

  .build-feature-main {
    min-height: 320px;
  }

  .land-feature-card {
    min-height: 360px;
  }

  .renovation-feature-card {
    min-height: 360px;
  }

  .renovation-scope-card:nth-child(even) {
    transform: none;
  }

  .mortgage-purpose-feature {
    grid-row: auto;
    min-height: 300px;
  }

  .mortgage-process-grid,
  .mortgage-factors-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .mortgage-process-copy {
    position: static;
  }
}

@media (max-width: 767px) {
  .mortgage-hero {
    min-height: clamp(460px, 130vw, 520px);
  }

  .mortgage-hero-overlay {
    background: rgba(2, 14, 34, 0.7);
  }

  .mortgage-hero-inner {
    padding: 70px 0 54px;
  }

  .mortgage-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .mortgage-hero-copy > p:not(.mortgage-overline) {
    font-size: 15px;
    line-height: 1.65;
  }

  .mortgage-hero-actions,
  .mortgage-hero-actions .btn {
    width: 100%;
  }

  .mortgage-purpose,
  .mortgage-support,
  .mortgage-process,
  .mortgage-factors,
  .mortgage-trust,
  .apartment-market,
  .apartment-atrium-promo,
  .apartment-audience,
  .build-features,
  .build-audience,
  .land-checks,
  .land-audience,
  .renovation-scope,
  .renovation-audience,
  .capacity-moments {
    padding: 64px 0;
  }

  .mortgage-purpose-grid,
  .mortgage-support-grid,
  .mortgage-trust-grid,
  .apartment-market-grid,
  .apartment-audience-grid,
  .build-feature-layout,
  .build-feature-grid,
  .build-audience-grid,
  .land-check-layout,
  .land-info-grid,
  .land-audience-grid,
  .renovation-scope-layout,
  .renovation-audience-grid,
  .capacity-moments-layout,
  .capacity-moment-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mortgage-purpose-card,
  .mortgage-support-card,
  .mortgage-trust-card,
  .mortgage-checklist,
  .apartment-market-card,
  .apartment-audience-card,
  .build-feature-card,
  .build-audience-card,
  .land-info-card,
  .land-audience-card,
  .renovation-scope-card,
  .renovation-audience-card,
  .capacity-moment-feature,
  .capacity-moment-card {
    width: 100%;
    max-width: 100%;
    padding: 24px;
    box-sizing: border-box;
  }

  .capacity-moment-feature {
    min-height: 320px;
  }

  .land-feature-card {
    min-height: 340px;
  }

  .land-feature-card > div {
    padding: 24px;
  }

  .renovation-feature-card {
    min-height: 340px;
  }

  .renovation-feature-card > div {
    padding: 24px;
  }

  .renovation-scope-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .apartment-market-card {
    padding: 0;
  }

  .apartment-market-card > div {
    padding: 24px;
  }

  .apartment-market-card img {
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 11;
    object-fit: cover;
  }

  .apartment-atrium-panel {
    gap: 26px;
    padding: 24px;
    border-radius: 16px;
  }

  .apartment-atrium-card {
    min-height: 240px;
  }

  .mortgage-purpose-feature,
  .mortgage-support-card {
    min-height: 0;
  }

  .mortgage-purpose-card-has-image {
    min-height: 260px;
  }

  .mortgage-purpose-feature.mortgage-purpose-card-has-image {
    min-height: 320px;
  }

  .mortgage-dark-head {
    text-align: left;
  }

  .mortgage-dark-head > p:not(.mortgage-kicker) {
    margin-left: 0;
  }

  .mortgage-stepper li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
  }

  .mortgage-stepper::before {
    left: 21px;
  }

  .mortgage-stepper span {
    width: 44px;
    height: 44px;
  }

  .mortgage-final {
    padding-bottom: 64px;
  }

  .mortgage-final-panel {
    border-radius: 18px;
    text-align: left;
  }

  .mortgage-final-panel .btn {
    width: 100%;
  }
}

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

  .js-ready .reveal,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
