:root {
  --blue-dark: #041f35;
  --blue: #073a63;
  --green-dark: #033827;
  --green: #064f3a;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  --icon-house: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 34 36 14l24 20'/%3E%3Cpath d='M18 32v26h36V32'/%3E%3Cpath d='M31 58V43h10v15'/%3E%3C/svg%3E");
  --icon-pages: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 14h26l8 8v34H24z'/%3E%3Cpath d='M50 14v10h8'/%3E%3Cpath d='M14 24v34h34'/%3E%3Cpath d='M31 34h18M31 43h18'/%3E%3C/svg%3E");
  --icon-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 17h18c5 0 8 3 8 8v31c0-5-3-8-8-8H16z'/%3E%3Cpath d='M56 17H42c-5 0-8 3-8 8v31c0-5 3-8 8-8h14z'/%3E%3Cpath d='M34 25v31'/%3E%3C/svg%3E");
  --icon-pen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 54 6-18 27-27 12 12-27 27z'/%3E%3Cpath d='m45 15 12 12'/%3E%3Cpath d='m24 36 12 12'/%3E%3Cpath d='m18 54 14-4'/%3E%3C/svg%3E");
  --icon-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='25' cy='28' r='11'/%3E%3Cpath d='m33 36 22 22'/%3E%3Cpath d='m46 49 7-7'/%3E%3Cpath d='m52 55 7-7'/%3E%3C/svg%3E");
  --icon-sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 18h34v22H19z'/%3E%3Cpath d='M36 40v20'/%3E%3Cpath d='M25 60h22'/%3E%3Cpath d='M26 29h20'/%3E%3C/svg%3E");
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--blue-dark);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--blue-dark);
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(4, 31, 53, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-c,
.brand-b {
  position: absolute;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1;
}

.brand-c {
  top: 4px;
  left: 7px;
  font-size: 2.05rem;
}

.brand-b {
  right: 5px;
  bottom: 1px;
  font-size: 1.75rem;
  font-style: italic;
  transform: rotate(-13deg);
  transform-origin: 50% 80%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong,
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
}

nav a,
.header-cta {
  font-weight: 650;
  text-decoration: none;
}

.header-cta,
.button,
.contact-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: white;
  background: var(--green-dark);
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.82fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  min-height: 92vh;
  padding: 120px clamp(18px, 5vw, 64px) 132px;
  background:
    linear-gradient(135deg, rgba(4, 31, 53, 0.98), rgba(3, 56, 39, 0.88)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  line-height: 1;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-copy p:not(.eyebrow) {
  max-width: 600px;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.quick-help-bar {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 34px;
  left: clamp(18px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: rgba(3, 56, 39, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quick-help-bar button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: white;
  background: var(--green-dark);
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #062b36;
}

.stats div {
  padding: 32px clamp(18px, 4vw, 54px);
  border: 1px solid var(--line);
}

.stats strong {
  display: block;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.section,
.contact {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 64px);
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 84px);
  background: var(--blue-dark);
}

.about-copy {
  max-width: 760px;
}

.photo-feature,
.services,
.listings,
.testimonials,
.faq {
  background: #062b36;
}

.split-feature,
.finance-section,
.team-section {
  background: var(--blue-dark);
}

.split-feature.alt,
.communities {
  background: linear-gradient(135deg, #062b36, var(--green-dark));
}

.section-heading {
  margin-bottom: 28px;
}

.section-photo {
  min-height: clamp(260px, 36vw, 460px);
  margin-bottom: 22px;
  background-position: center;
  background-size: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.buyer-photo {
  background-image:
    linear-gradient(90deg, rgba(4, 31, 53, 0.18), rgba(3, 56, 39, 0.32)),
    url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1600&q=85");
}

.seller-photo {
  background-image:
    linear-gradient(90deg, rgba(3, 56, 39, 0.26), rgba(4, 31, 53, 0.34)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1600&q=85");
}

.service-grid,
.listing-grid,
.feature-grid,
.community-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article,
.listing-card,
.feature-grid article,
.community-grid article,
.testimonial-grid article,
.wide-panel,
.team-card {
  overflow: hidden;
  background: var(--blue);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}

.service-grid article,
.feature-grid article,
.community-grid article,
.testimonial-grid article {
  position: relative;
  min-height: 220px;
  padding: 72px 30px 30px;
}

.service-grid article::before,
.feature-grid article::before,
.community-grid article::before,
.testimonial-grid article::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 28px;
  width: 44px;
  height: 44px;
  background-image: var(--card-icon, var(--icon-house));
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.68;
}

.service-grid article::after,
.feature-grid article::after,
.community-grid article::after,
.testimonial-grid article::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-right: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  opacity: 0.9;
}

.service-grid article > *,
.feature-grid article > *,
.community-grid article > *,
.testimonial-grid article > * {
  position: relative;
  z-index: 1;
}

.service-grid article:nth-child(1),
.feature-grid article:nth-child(1),
.community-grid article:nth-child(1),
.testimonial-grid article:nth-child(1) {
  --card-icon: var(--icon-house);
}

.service-grid article:nth-child(2),
.feature-grid article:nth-child(2),
.community-grid article:nth-child(2),
.testimonial-grid article:nth-child(2) {
  --card-icon: var(--icon-pen);
}

.service-grid article:nth-child(3),
.feature-grid article:nth-child(3),
.community-grid article:nth-child(3),
.testimonial-grid article:nth-child(3) {
  --card-icon: var(--icon-pages);
}

.service-grid article:nth-child(4),
.feature-grid article:nth-child(4),
.community-grid article:nth-child(4),
.testimonial-grid article:nth-child(4) {
  --card-icon: var(--icon-key);
}

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

.split-feature .feature-grid article {
  min-height: 340px;
}

.split-feature .feature-grid p {
  margin-bottom: 14px;
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  font-weight: 700;
}

.community-grid {
  grid-template-columns: repeat(4, 1fr);
}

.community-grid span {
  display: block;
  margin-bottom: 12px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.wide-panel {
  position: relative;
  display: grid;
  gap: 20px;
  max-width: 980px;
  padding: clamp(24px, 4vw, 42px);
}

.wide-panel::before,
.team-card::before,
.contact-form::before,
.faq-list details::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  background-image: var(--panel-icon, var(--icon-sign));
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.22;
  pointer-events: none;
}

.wide-panel > *,
.team-card > *,
.contact-form > *,
.faq-list details > * {
  position: relative;
  z-index: 1;
}

.wide-panel p,
.story-copy p,
.about-copy p,
.contact-copy p,
.valuation-copy p,
.faq-list p {
  font-size: 1.08rem;
}

.wide-panel .button {
  width: max-content;
}

.listing-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.listing-card div {
  padding: 20px;
}

.listing-card h3,
.listing-card p {
  margin-bottom: 8px;
}

.testimonials article p {
  color: rgba(255, 255, 255, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.testimonials article strong {
  display: block;
  color: white;
}

.team-card {
  position: relative;
  --panel-icon: var(--icon-house);
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) 1fr;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
}

.team-card img {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

.valuation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(3, 56, 39, 0.94), rgba(4, 31, 53, 0.86)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1600&q=85");
  background-position: center;
  background-size: cover;
}

.valuation-copy {
  max-width: 760px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  position: relative;
  --panel-icon: var(--icon-pages);
  background: var(--blue);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
}

.faq-list details:nth-child(2) {
  --panel-icon: var(--icon-key);
}

.faq-list details:nth-child(3) {
  --panel-icon: var(--icon-pen);
}

.faq-list details:nth-child(4) {
  --panel-icon: var(--icon-book);
}

.faq-list summary {
  color: white;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.faq-list p {
  margin: 14px 0 0;
}

.photo-story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.photo-panel {
  overflow: hidden;
  background: var(--blue);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-panel img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.faded-photo img {
  opacity: 0.68;
}

.story-copy {
  max-width: 720px;
}

.story-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.listing-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.contact {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 6vw, 84px);
  background: linear-gradient(135deg, var(--green-dark), var(--blue-dark));
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-details a {
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  position: relative;
  --panel-icon: var(--icon-pen);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(4, 31, 53, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hidden-field {
  display: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: #061d2f;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  outline: 0;
}

textarea {
  min-height: 132px;
  padding-top: 14px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #bdebdc;
  font-weight: 650;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: var(--blue-dark);
}

footer p {
  margin: 0;
}

footer a {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.success-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(22px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(4, 31, 53, 0.96), rgba(3, 56, 39, 0.9)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
}

.success-message {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  padding: clamp(30px, 5vw, 56px);
  background: rgba(7, 58, 99, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.success-message::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 70px;
  height: 70px;
  background-image: var(--icon-key);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.18;
}

.success-message > * {
  position: relative;
  z-index: 1;
}

.success-message h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .about,
  .photo-story,
  .contact {
    grid-template-columns: 1fr;
  }

  .quick-help-bar {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .stats,
  .service-grid,
  .listing-grid,
  .feature-grid,
  .community-grid,
  .testimonial-grid,
  .team-card {
    grid-template-columns: 1fr;
  }

  .valuation {
    display: grid;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    display: none;
  }

  .site-header,
  .hero,
  .section,
  .contact {
    padding-right: 14px;
    padding-left: 14px;
  }
}
