:root {
  --navy: #0a2f54;
  --blue: #1677b8;
  --sky: #eaf6fd;
  --ink: #122333;
  --muted: #5a6a78;
  --white: #ffffff;
  --line: #d7e3ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; }

.site-header { min-height: 88px; padding: 14px clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--white); border-bottom: 1px solid rgba(10,47,84,.1); position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: white; background: var(--navy); font-family: "Playfair Display", Georgia, serif; font-weight: 700; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { font-size: 1.08rem; }
.brand small { color: var(--blue); font-size: .8rem; margin-top: 3px; text-transform: uppercase; letter-spacing: .1em; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { text-decoration: none; color: #294459; font-weight: 600; }
nav a:hover, nav a:focus-visible { color: var(--blue); }
.nav-external { color: var(--blue); }
.header-call { text-decoration: none; background: var(--navy); color: white; padding: 11px 19px; border-radius: 999px; font-weight: 700; }

.hero { min-height: 690px; position: relative; display: grid; align-items: center; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,32,57,.94) 0%, rgba(5,32,57,.76) 34%, rgba(5,32,57,.15) 70%, rgba(5,32,57,.04) 100%); }
.hero-content { position: relative; z-index: 1; width: min(660px, 88vw); margin-left: clamp(24px, 8vw, 132px); padding: 80px 0 140px; color: white; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: #8dd2f2; text-transform: uppercase; font-size: .85rem; font-weight: 700; letter-spacing: .16em; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.025em; line-height: 1.08; }
h1 { margin: 0; max-width: 620px; font-size: clamp(3.15rem, 6vw, 5.5rem); }
.hero-copy { max-width: 585px; margin: 26px 0 32px; font-size: clamp(1.05rem, 2vw, 1.22rem); color: #e7f3fa; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 4px; font-weight: 700; text-decoration: none; }
.button.primary { background: #30a9e2; color: #052039; }
.button.secondary { border: 1px solid rgba(255,255,255,.7); color: white; backdrop-filter: blur(4px); }
.button:hover { transform: translateY(-1px); }
.hero-card { position: absolute; z-index: 2; right: clamp(22px, 6vw, 88px); bottom: 0; width: min(390px, calc(100vw - 44px)); padding: 25px 28px; background: white; color: var(--navy); box-shadow: 0 20px 50px rgba(7,32,55,.2); }
.hero-card span, .hero-card small { display: block; color: var(--muted); }
.hero-card span { font-size: .78rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; }
.hero-card strong { display: block; margin: 5px 0 2px; font-family: "Playfair Display", Georgia, serif; font-size: 1.4rem; line-height: 1.25; }

.intro { padding: 110px clamp(24px, 8vw, 132px) 90px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(220px, .62fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 80px); align-items: center; background: #f7fbfe; }
.section-kicker { color: var(--blue); }
h2 { margin: 0; font-size: clamp(2.35rem, 4.6vw, 4.25rem); color: var(--navy); }
.intro-copy { font-size: 1.08rem; color: #3e5364; }
.intro-copy p:first-child { margin-top: 2px; }
.portrait-wrap { width: min(360px, 100%); margin: 0; justify-self: center; border-radius: 4px 4px 110px 4px; overflow: hidden; background: #e8f2f8; box-shadow: 0 20px 45px rgba(10,47,84,.15); }
.portrait-wrap img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.crossroads-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--blue); font-weight: 700; text-decoration: none; }
.crossroads-link:hover, .crossroads-link:focus-visible { text-decoration: underline; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(24px, 8vw, 132px) 110px; background: #f7fbfe; }
.services article { padding: 42px 38px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: white; }
.services article:first-child { border-left: 1px solid var(--line); }
.number { color: var(--blue); font-weight: 700; font-size: .85rem; letter-spacing: .12em; }
h3 { margin: 42px 0 14px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.65rem; line-height: 1.2; }
.services p { min-height: 104px; color: var(--muted); }
.services a { text-decoration: none; color: var(--blue); font-weight: 700; }

.inventory { padding: 100px clamp(24px, 8vw, 132px); background: var(--white); }
.section-heading { max-width: 850px; margin-bottom: 44px; }
.listing-card { display: grid; grid-template-columns: minmax(320px, 1.08fr) minmax(320px, .92fr); overflow: hidden; border: 1px solid var(--line); background: #f7fbfe; box-shadow: 0 24px 60px rgba(10,47,84,.11); }
.listing-image-wrap { position: relative; min-height: 430px; background: #dcebf4; }
.listing-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.listing-status { position: absolute; left: 22px; top: 22px; padding: 9px 13px; color: white; background: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.listing-details { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 70px); }
.listing-location { margin: 0; color: var(--blue); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.listing-details h3 { margin: 16px 0 3px; font-size: clamp(2rem, 3.5vw, 3.3rem); }
.listing-city { margin: 0; color: var(--muted); font-size: 1.05rem; }
.listing-price { margin: 24px 0 12px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 2rem; }
.listing-details > p:last-of-type { color: var(--muted); }
.listing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px; }
.listing-call { color: var(--blue); font-weight: 700; text-decoration: none; }
.listing-disclaimer { margin: 16px 0 0; color: var(--muted); font-size: .82rem; }

.client-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); gap: clamp(42px, 8vw, 110px); align-items: center; padding: 100px clamp(24px, 8vw, 132px); background: var(--sky); }
.gallery-intro > p:last-child { max-width: 670px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; }
.gallery-empty { min-height: 270px; padding: 34px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; background: white; border: 1px solid var(--line); border-radius: 4px 4px 70px 4px; box-shadow: 0 20px 48px rgba(10,47,84,.11); }
.gallery-mark { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--navy); color: white; font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; font-weight: 700; }
.gallery-empty strong { color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.65rem; }
.gallery-empty p { margin: 5px 0 0; color: var(--muted); }
.gallery-empty a { grid-column: 1 / -1; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; color: white; background: var(--blue); font-weight: 700; text-decoration: none; }

.connect { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(50px, 9vw, 130px); align-items: center; padding: 100px clamp(24px, 8vw, 132px); background: white; }
.connect-copy > p:not(.section-kicker) { max-width: 650px; margin: 24px 0 30px; color: var(--muted); font-size: 1.08rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-button { min-height: 54px; display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px; border-radius: 4px; text-decoration: none; font-weight: 600; }
.social-button > span:first-child { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid currentColor; border-radius: 50%; font-family: Arial, sans-serif; font-weight: 700; }
.social-button.instagram { color: white; background: linear-gradient(120deg, #4f5bd5, #962fbf 50%, #d62976); }
.social-button strong { font-weight: 500; opacity: .86; }
.social-button.facebook { color: white; background: #1877f2; }
.qr-card { width: 310px; padding: 22px; border: 1px solid var(--line); background: #f7fbfe; box-shadow: 0 18px 45px rgba(10,47,84,.1); }
.qr-card img { display: block; width: 100%; height: auto; background: white; }
.qr-card div { padding: 14px 4px 2px; text-align: center; }
.qr-card strong, .qr-card span { display: block; }
.qr-card strong { color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; }
.qr-card span { color: var(--muted); font-size: .9rem; }

.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 8vw, 110px); align-items: center; padding: 90px clamp(24px, 8vw, 132px); color: white; background: var(--navy); }
.contact h2 { color: white; }
.contact p:not(.section-kicker) { max-width: 620px; color: #cfe4f2; }
.contact-actions { display: grid; gap: 12px; }
.contact-actions a { display: block; padding: 18px 20px; border: 1px solid rgba(255,255,255,.22); text-decoration: none; background: rgba(255,255,255,.06); }
.contact-actions span, .contact-actions strong { display: block; }
.contact-actions span { color: #91cde9; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-actions strong { margin-top: 3px; font-size: 1.18rem; }

footer { padding: 34px clamp(24px, 8vw, 132px); background: #061d32; color: #b9cfdd; display: grid; grid-template-columns: 1fr auto; gap: 14px 40px; align-items: center; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: white; }
.footer-brand span { color: #7fbfdf; font-size: .85rem; }
footer p { margin: 0; }
.office-address { grid-column: 1 / -1; color: #d2e2ec; }
.compliance { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; color: #8fa9b9; }

@media (max-width: 820px) {
  .site-header { min-height: 78px; }
  nav { display: none; }
  .header-call { padding: 10px 16px; }
  .hero { min-height: 680px; align-items: end; }
  .hero-overlay { background: linear-gradient(0deg, rgba(5,32,57,.97) 0%, rgba(5,32,57,.8) 52%, rgba(5,32,57,.15) 100%); }
  .hero-content { width: auto; margin: 0 24px; padding: 250px 0 150px; }
  .hero-card { right: 22px; }
  .intro, .connect, .contact, .client-gallery { grid-template-columns: 1fr; padding-top: 78px; padding-bottom: 70px; }
  .services { grid-template-columns: 1fr; padding-bottom: 78px; }
  .services article { border-left: 1px solid var(--line); }
  .services p { min-height: auto; }
  .inventory { padding-top: 78px; padding-bottom: 70px; }
  .listing-card { grid-template-columns: 1fr; }
  .listing-image-wrap { min-height: 360px; }
  .qr-card { width: min(310px, 100%); }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand-mark { width: 42px; height: 42px; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .67rem; }
  .header-call { font-size: .9rem; }
  h1 { font-size: 3.2rem; }
  .hero-actions .button { width: 100%; }
  .hero-card { left: 18px; right: 18px; width: auto; }
  .intro, .services, .inventory, .client-gallery, .connect, .contact, footer { padding-left: 22px; padding-right: 22px; }
  .listing-image-wrap { min-height: 250px; }
  .listing-details { padding: 28px 24px 32px; }
  .listing-actions .button, .listing-call { width: 100%; text-align: center; }
  .gallery-empty { grid-template-columns: 1fr; padding: 28px 24px; }
  .gallery-empty a { grid-column: auto; }
  .social-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
