/* realestate.spwtrade.com — Global Real Estate Experts.
   Palette carried over from the Tilda site (navy #213c4c, bronze #9a6d47). */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --navy: #213c4c;
  --navy-2: #314a59;
  --bronze: #9a6d47;
  --bronze-dark: #7d5534;
  --paper: #ffffff;
  --mist: #f4f1ec;
  --ink: #1b2d38;
  --muted: #4d5f69;
  --line: rgba(33, 60, 76, .14);
  --radius: 20px;
  --wrap: 1180px;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Manrope", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.6 var(--f-body); color: var(--ink); background: var(--paper); }
img, video { display: block; max-width: 100%; }
a { color: var(--bronze-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); color: var(--navy); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }

/* header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 1rem/1.2 var(--f-head); letter-spacing: .04em; text-transform: uppercase; }
.brand img { width: 36px; height: 36px; }
.brand:hover { color: #fff; }
.nav { display: flex; gap: 22px; }
.nav a { color: #fff; text-decoration: none; font-size: .95rem; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.nav a:hover { text-decoration: underline; color: #fff; }
.page .site-header { position: static; background: var(--navy); }

/* hero */
.hero { position: relative; min-height: min(100svh, 820px); display: flex; align-items: flex-end; color: #fff; background: var(--navy) center / cover no-repeat; overflow: hidden; }
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,34,44,.45) 0%, rgba(20,34,44,.15) 40%, rgba(20,34,44,.78) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 140px 72px; }
.hero h1 { color: #fff; max-width: 14ch; }
.kicker { display: inline-block; font: 700 .8rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-dark); margin-bottom: 14px; }
.hero .kicker { color: #f1d9c1; }
.hero .lead { max-width: 58ch; font-size: 1.1rem; color: #eef2f4; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 100px; background: var(--navy-2); color: #fff; font: 600 1rem/1 var(--f-body); text-decoration: none; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--bronze); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bronze); color: #fff; }

/* sections */
.section { padding-block: clamp(64px, 9vw, 110px); }
.about-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.about-grid .statement { font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.25 var(--f-head); color: var(--navy); text-transform: uppercase; }
.about-grid p { color: var(--muted); }
.cards { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--mist); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card span { position: absolute; left: 24px; top: 20px; color: #fff; font: 800 clamp(1.4rem, 3vw, 2.2rem)/1 var(--f-head); text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.mission { margin-top: 48px; font: 700 clamp(1.15rem, 2vw, 1.5rem)/1.35 var(--f-head); color: var(--navy); text-transform: uppercase; max-width: 44ch; }

.services { background: var(--bronze-dark); color: #fff; }
.services h2, .services h3 { color: #fff; }
.services .sub { font: 700 clamp(1rem, 1.8vw, 1.35rem)/1.35 var(--f-head); text-transform: uppercase; color: #f3e6d9; max-width: 60ch; }
.svc-grid { display: grid; gap: 18px; margin-top: 40px; list-style: none; padding: 0; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 22px 22px 18px; background: rgba(255,255,255,.04); }
.svc ul { margin: 0; padding-left: 1.1em; color: #fbf5ef; font-size: .95rem; }
.svc li { margin-bottom: .35em; }

.contact { background: var(--mist); }
.contact-lines { list-style: none; padding: 0; margin: 24px 0 0; font-size: 1.1rem; }
.contact-lines li { margin-bottom: 10px; }
.contact-lines a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-lines a:hover { color: var(--bronze-dark); text-decoration: underline; }

/* footer */
.site-footer { background: var(--navy); color: #d6e0e5; padding-block: 40px; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer small { display: block; width: 100%; color: #a9bac3; }

/* legal page */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; text-transform: none; margin-top: 1.8em; }
.legal li { margin-bottom: .3em; }
.nf { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav a { font-size: .88rem; }
  .brand span { display: none; }
}
