:root {
  --navy: #0b2e4f;
  --navy-deep: #071f36;
  --red: #d52b1e;
  --warm-white: #f7f7f4;
  --white: #ffffff;
  --ink: #142536;
  --muted: #607080;
  --line: #dce3e8;
  --shadow: 0 22px 60px rgba(11, 46, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family:
    "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(247, 247, 244, 0.94);
  border-bottom: 1px solid transparent;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(11, 46, 79, 0.08);
  box-shadow: 0 10px 30px rgba(11, 46, 79, 0.06);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: block;
  width: 242px;
  height: 62px;
  background: url("/assets/logo-biuro-nieruchomosci-premium.png") center /
    contain no-repeat;
  flex: 0 0 auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 19px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.primary-nav > a:not(.nav-cta) {
  padding-block: 9px;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease;
}

.primary-nav > a:not(.nav-cta):hover,
.primary-nav > a.is-active:not(.nav-cta) {
  border-bottom-color: var(--red);
}

.primary-nav a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.nav-cta {
  padding: 12px 19px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--red);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
  transition: 180ms ease;
}

.hero {
  min-height: 780px;
  padding: 158px 0 92px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -190px;
  top: 130px;
  border: 1px solid rgba(11, 46, 79, 0.08);
  border-radius: 50%;
}

.hero-accent {
  position: absolute;
  top: 82px;
  right: 0;
  width: 9px;
  height: 210px;
  background: var(--red);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--red);
}

.hero-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(52px, 6.2vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero-title em {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--navy);
  font-style: normal;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-title em span {
  display: block;
}

.hero-title em span + span {
  margin-top: 0.06em;
}

.hero-lead {
  max-width: 585px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 25px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

.button-ghost {
  color: var(--navy);
}

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

.hero-proof {
  margin-top: 48px;
  display: flex;
  gap: 42px;
}

.hero-proof div {
  display: grid;
  gap: 5px;
}

.hero-proof strong {
  color: var(--navy);
  font-size: 14px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
}

.logo-panel {
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(11, 46, 79, 0.08);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.logo-panel img {
  display: block;
  width: min(86%, 520px);
  height: auto;
}

.team-photo-panel {
  min-height: 0;
  aspect-ratio: 8 / 5;
  place-items: stretch;
  background: #ece8e1;
}

.logo-panel.team-photo-panel img.team-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.local-card {
  position: absolute;
  width: min(320px, 72%);
  right: -20px;
  bottom: -52px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 42px rgba(7, 31, 54, 0.2);
}

.local-card-number {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.local-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.section {
  padding: 112px 0;
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.contact-strip h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.intro-copy {
  padding-top: 32px;
}

.intro-copy p,
.section-heading > p,
.benefits-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.text-link {
  margin-top: 30px;
  display: inline-flex;
  gap: 30px;
  color: var(--navy);
  border-bottom: 1px solid var(--red);
  padding-bottom: 6px;
  font-size: 14px;
  font-weight: 800;
}

.about-points {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.about-points span {
  position: relative;
  padding-left: 24px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.about-points span::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 0;
  top: 7px;
  background: var(--red);
}

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

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 90px;
  align-items: end;
}

.section-kicker.light {
  color: #f46a60;
}

.service-preview .section-heading h2 {
  color: var(--white);
}

.service-preview .section-heading > p {
  color: rgba(255, 255, 255, 0.66);
}

.service-row {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card {
  padding: 34px 30px 12px 0;
}

.service-card + .service-card {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin: 32px 0 12px;
  font-size: 20px;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.listings-banner {
  min-height: 152px;
  margin-top: 54px;
  padding: 26px 30px 26px 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  color: var(--navy);
  background: var(--white);
  border-left: 8px solid var(--red);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.listings-banner:hover,
.listings-banner:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.24);
}

.listings-banner:focus-visible {
  outline: 3px solid #f46a60;
  outline-offset: 4px;
}

.listings-banner-mark {
  width: 92px;
  height: 92px;
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--navy-deep);
}

.listings-banner-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 46px;
  right: 13px;
  bottom: 12px;
  background: var(--red);
}

.listings-banner-mark i {
  position: absolute;
  width: 38px;
  height: 48px;
  bottom: 14px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  transform: rotate(45deg);
}

.listings-banner-mark i:nth-child(1) {
  left: 8px;
  bottom: 0;
}

.listings-banner-mark i:nth-child(2) {
  left: 27px;
  bottom: -5px;
  opacity: 0.62;
}

.listings-banner-mark i:nth-child(3) {
  left: 46px;
  bottom: -10px;
  opacity: 0.34;
}

.listings-banner-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.listings-banner-copy small {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.listings-banner-copy strong {
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.listings-banner-copy > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.listings-banner-action {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--white);
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: background 180ms ease;
}

.listings-banner:hover .listings-banner-action,
.listings-banner:focus-visible .listings-banner-action {
  background: var(--red);
}

.listings-banner-action b {
  font-size: 18px;
  font-weight: 500;
}

.virtual-tour {
  position: relative;
  overflow: hidden;
  background: var(--warm-white);
}

.virtual-tour::before {
  content: "3D";
  position: absolute;
  right: -28px;
  top: 18px;
  color: rgba(11, 46, 79, 0.035);
  font-size: clamp(180px, 28vw, 430px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.1em;
  pointer-events: none;
}

.tour-intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 88px;
  align-items: center;
}

.tour-copy h2 {
  max-width: 660px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.tour-copy h2 em {
  color: var(--red);
  font-style: normal;
}

.tour-copy > p:not(.section-kicker) {
  max-width: 660px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.tour-visual {
  position: relative;
  min-height: 470px;
  padding: 8px;
  background: var(--navy-deep);
  box-shadow: var(--shadow);
}

.tour-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--red);
}

.tour-media-grid {
  min-height: 454px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.tour-media-card {
  min-width: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.tour-media-card::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: linear-gradient(transparent, rgba(7, 31, 54, 0.9));
  pointer-events: none;
}

.tour-media-card img {
  width: 100%;
  height: 100%;
  min-height: 454px;
  display: block;
  object-fit: cover;
  transition: transform 420ms ease;
}

.tour-media-card:nth-child(2) img {
  object-position: center;
}

.tour-media-card:hover img {
  transform: scale(1.035);
}

.tour-media-icon {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 62px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(7, 31, 54, 0.55);
  backdrop-filter: blur(5px);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tour-media-card figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 16px 20px;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tour-result {
  position: absolute;
  right: -22px;
  bottom: 34px;
  width: 152px;
  height: 152px;
  padding: 22px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--white);
  background: var(--red);
  border: 8px solid var(--warm-white);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(7, 31, 54, 0.22);
}

.tour-result strong {
  font-size: 48px;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.tour-result span {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-benefits {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tour-benefit {
  min-height: 230px;
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tour-benefit > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.tour-benefit h3 {
  margin: 34px 0 12px;
  color: var(--navy);
  font-size: 18px;
}

.tour-benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.benefits {
  background: var(--white);
}

.benefits-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 90px;
  align-items: end;
}

.benefits-heading h2,
.process-intro h2,
.properties-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.benefits-grid {
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit-card {
  min-height: 270px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.benefit-card:hover {
  background: var(--warm-white);
  transform: translateY(-3px);
}

.benefit-card > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.benefit-card h3 {
  margin: 54px 0 14px;
  color: var(--navy);
  font-size: 21px;
}

.benefit-card p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.process {
  color: var(--white);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.process::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  left: -260px;
  bottom: -360px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  position: relative;
  z-index: 1;
}

.process-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-intro h2 {
  color: var(--white);
}

.process-intro > p:not(.section-kicker) {
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.75;
}

.button-light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li > span {
  color: #f46a60;
  font-size: 12px;
  font-weight: 800;
}

.process-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.properties {
  background: var(--warm-white);
}

.properties-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.properties-heading .text-link {
  flex: 0 0 auto;
  margin-bottom: 8px;
}

.property-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.property-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(11, 46, 79, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.property-visual {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--navy);
}

.property-visual::before,
.property-visual::after,
.property-visual span {
  content: "";
  position: absolute;
  display: block;
}

.property-visual::before {
  inset: auto 28px 0;
  height: 58%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-bottom: 0;
}

.property-visual::after {
  width: 64%;
  height: 64%;
  left: 18%;
  top: 38%;
  border: 2px solid rgba(255, 255, 255, 0.76);
  transform: rotate(45deg);
}

.property-visual span {
  width: 8px;
  height: 55%;
  right: 30px;
  bottom: 0;
  background: var(--red);
}

.property-visual.land {
  background:
    linear-gradient(150deg, transparent 49%, rgba(255, 255, 255, 0.74) 50%, transparent 51%),
    linear-gradient(28deg, transparent 49%, rgba(255, 255, 255, 0.24) 50%, transparent 51%),
    var(--navy-deep);
}

.property-visual.land::before {
  inset: auto 0 40px;
  height: 1px;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(-8deg);
}

.property-visual.land::after {
  width: 54%;
  height: 54%;
  left: 28%;
  top: 48%;
  border-color: rgba(255, 255, 255, 0.45);
}

.property-visual.commercial::before {
  inset: 42px 70px 0;
  height: auto;
  border-bottom: 0;
  box-shadow:
    36px 0 0 -2px var(--navy),
    36px 0 0 0 rgba(255, 255, 255, 0.72);
}

.property-visual.commercial::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.24);
  transform: none;
}

.property-copy {
  padding: 25px 26px 28px;
}

.property-copy > p {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
}

.property-copy a {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 120px;
}

.faq-heading h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.faq-heading > p:not(.section-kicker) {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.75;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-list summary {
  padding: 25px 52px 25px 0;
  position: relative;
  color: var(--white);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 22px;
  color: var(--red);
  font-size: 26px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 660px;
  margin: -4px 0 26px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.75;
}

.contact-strip {
  padding: 100px 0;
  background: var(--white);
}

.contact-strip-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.contact-note {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact-links {
  display: grid;
}

.contact-links a,
.contact-links address {
  padding: 20px 0;
  display: grid;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.contact-links span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.google-reviews {
  padding: 34px 0 78px;
  background: var(--white);
}

.google-reviews-panel {
  min-height: 224px;
  padding: 36px 40px;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
  border-left: 8px solid var(--red);
  box-shadow: 0 24px 60px rgba(7, 31, 54, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.google-reviews-panel::before,
.google-reviews-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.google-reviews-panel::before {
  width: 330px;
  height: 330px;
  right: -180px;
  top: -205px;
}

.google-reviews-panel::after {
  width: 220px;
  height: 220px;
  right: -95px;
  bottom: -170px;
}

.google-reviews-panel:hover,
.google-reviews-panel:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(7, 31, 54, 0.24);
}

.google-reviews-panel:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.google-reviews-mark {
  width: 104px;
  height: 104px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  background: conic-gradient(#4285f4 0 25%, #34a853 25% 42%, #fbbc05 42% 66%, #ea4335 66% 100%);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.google-reviews-mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--white);
  border-radius: 50%;
}

.google-reviews-mark b {
  position: relative;
  color: var(--navy);
  font-size: 46px;
  line-height: 1;
}

.google-reviews-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.google-reviews-copy small {
  color: #f46a60;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.google-reviews-copy strong {
  max-width: 690px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.google-reviews-copy > span {
  max-width: 730px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.65;
}

.google-reviews-action {
  min-height: 54px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--navy);
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.google-reviews-panel:hover .google-reviews-action,
.google-reviews-panel:focus-visible .google-reviews-action {
  color: var(--white);
  background: var(--red);
}

.google-reviews-action b {
  font-size: 18px;
  font-weight: 500;
}

footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-deep);
  font-size: 12px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-wrap p {
  margin: 0;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 36px, 720px);
  }

  .nav-wrap {
    height: 72px;
  }

  .brand {
    width: 225px;
    height: 56px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .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);
  }

  .primary-nav {
    position: fixed;
    inset: 72px 0 auto;
    padding: 24px 24px 30px;
    display: grid;
    gap: 6px;
    background: var(--warm-white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 35px rgba(7, 31, 54, 0.12);
    transform: translateY(-130%);
    visibility: hidden;
    transition:
      transform 220ms ease,
      visibility 220ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav a {
    padding: 13px 4px;
  }

  .primary-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .listings-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .listings-banner-action {
    grid-column: 2;
    justify-self: start;
  }

  .google-reviews-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .google-reviews-action {
    grid-column: 2;
    justify-self: start;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 104px;
  }

  .hero-grid,
  .intro-grid,
  .section-heading,
  .tour-intro-grid,
  .benefits-heading,
  .process-grid,
  .faq-grid,
  .contact-strip-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 74px;
  }

  .hero-title {
    font-size: clamp(50px, 11vw, 74px);
  }

  .hero-visual {
    max-width: 620px;
  }

  .intro-grid,
  .section-heading,
  .tour-intro-grid,
  .benefits-heading,
  .process-grid,
  .contact-strip-grid {
    gap: 28px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .tour-intro-grid {
    gap: 58px;
  }

  .tour-visual {
    max-width: 620px;
  }

  .tour-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-intro {
    position: static;
  }

  .faq-heading {
    position: static;
  }

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

  .property-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .brand {
    width: 190px;
    height: 50px;
  }

  .hero {
    padding-top: 116px;
  }

  .hero::before,
  .hero-accent {
    display: none;
  }

  .hero-title {
    font-size: clamp(43px, 14vw, 61px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .logo-panel {
    min-height: 280px;
  }

  .logo-panel img {
    width: 90%;
  }

  .team-photo-panel {
    min-height: 0;
  }

  .logo-panel.team-photo-panel img.team-photo {
    width: 100%;
  }

  .local-card {
    width: calc(100% - 22px);
    right: -6px;
    bottom: -52px;
  }

  .section {
    padding: 82px 0;
  }

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

  .service-card,
  .service-card + .service-card {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .service-card h3 {
    margin-top: 18px;
  }

  .listings-banner {
    margin-top: 38px;
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .listings-banner-mark {
    width: 78px;
    height: 78px;
  }

  .listings-banner-copy strong {
    font-size: 28px;
  }

  .listings-banner-action {
    width: 100%;
    grid-column: auto;
  }

  .google-reviews {
    padding: 12px 0 58px;
  }

  .google-reviews-panel {
    padding: 28px 24px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .google-reviews-mark {
    width: 82px;
    height: 82px;
  }

  .google-reviews-mark b {
    font-size: 38px;
  }

  .google-reviews-copy strong {
    font-size: 29px;
  }

  .google-reviews-action {
    width: 100%;
    grid-column: auto;
  }

  .tour-copy h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .tour-visual {
    min-height: 0;
    padding: 6px;
  }

  .tour-media-grid {
    min-height: 0;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(236px, 82%);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--red) var(--navy-deep);
  }

  .tour-media-card {
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
  }

  .tour-media-card img {
    min-height: 0;
  }

  .tour-result {
    right: -4px;
    bottom: -34px;
    width: 124px;
    height: 124px;
    border-width: 6px;
  }

  .tour-result strong {
    font-size: 38px;
  }

  .tour-benefits {
    margin-top: 78px;
    grid-template-columns: 1fr;
  }

  .tour-benefit {
    min-height: auto;
    padding: 26px 24px;
  }

  .tour-benefit h3 {
    margin-top: 22px;
  }

  .contact-strip {
    padding: 82px 0;
  }

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

  .benefit-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .benefit-card h3 {
    margin-top: 30px;
  }

  .properties-heading {
    display: grid;
  }

  .properties-heading .text-link {
    margin-top: 0;
    justify-self: start;
  }

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

  .property-card:last-child {
    grid-column: auto;
  }

  .property-visual {
    height: 220px;
  }

  .contact-links a,
  .contact-links address {
    word-break: break-word;
  }

  .footer-wrap {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
