*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-alt: #e9edf5;
  --text: #14233b;
  --muted: #405166;
  --line: #ccd5e2;
  --brand: #012169;
  --brand-strong: #00133f;
  --accent: #b58a3c;
  --shadow: 0 18px 45px rgba(14, 31, 53, 0.12);
  --radius: 0;
  --radius-sm: 0;
  --max-width: 1120px;
  --header-height: 5.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0;
  background: var(--brand-strong);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(0, 19, 63, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3rem;
  border-radius: 0;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 800;
}

.brand-role {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

.site-nav ul,
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #fff;
}

.site-nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 1.45rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-banner {
  padding: 0;
}

.hero-banner-media {
  position: relative;
  height: clamp(330px, 45vw, 600px);
  padding-top: var(--header-height);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(0, 19, 63, 0.28), rgba(1, 33, 105, 0.14)),
    url("../images/hero.jpg") center center / cover no-repeat;
  box-shadow: 0 28px 60px rgba(14, 31, 53, 0.18);
}

.hero-banner-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.5rem, 4vw, 3rem);
  z-index: 1;
  width: min(90%, 1400px);
  margin: 0 auto;
}

.hero-banner-eyebrow {
  margin: 0 0 0.8rem;
  position: relative;
  top: -100px;
  margin-bottom: -5.45rem;
  color: #ffd36b;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-banner-content h1 {
  margin: 0;
  max-width: 90%;
  color: #ffffff;
  font-size: clamp(1.42rem, 2.95vw, 2.57rem);
  text-shadow: 0 10px 28px rgba(0, 19, 63, 0.45);
}

.hero-banner-content h1 em {
  font-style: italic;
}

.hero {
  padding: 1.5rem 0 4rem;
}

.hero-grid,
.two-column,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
}

.hero-visuals {
  display: grid;
  gap: 1rem;
}

.eyebrow,
.section-label {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.hero-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.lede,
.section-intro {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 38rem;
}

.intro-about {
  margin-top: 1.75rem;
}

.intro-about h3 {
  margin-bottom: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.2rem;
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-strong);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  background: #eef3fa;
}

.card,
.contact-panel,
.portrait-card,
.property-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
}

.portrait-card,
.property-card {
  margin: 0;
  overflow: hidden;
}

.portrait-card {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #dbe5f2 100%);
}

.portrait-card img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.portrait-card figcaption {
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.98);
}

.property-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section {
  padding: 1.5rem 0 4rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(233, 237, 245, 0.7), rgba(233, 237, 245, 0.3));
}

.two-column,
.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.feature-copy {
  max-width: 34rem;
}

.feature-mobile-image {
  display: none;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-mobile-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-price {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.feature-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.feature-stat {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-stat-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.feature-stat-value {
  display: block;
  font-weight: 800;
}

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.featured-slider {
  margin-top: 0;
}

.listing-slider {
  margin-top: 1.75rem;
}

.listing-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.listing-slider-status {
  margin: 0;
}

.listing-slider-status {
  color: var(--muted);
  font-weight: 600;
}

.listing-slider-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.listing-slider-button {
  appearance: none;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.listing-slider-button:hover {
  background: #eef3fa;
}

.listing-slider-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.listing-slider-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.listing-slide {
  flex: 0 0 100%;
  margin: 0;
}

.listing-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.contact-panel {
  padding: 1.5rem;
}

.contact-panel-title {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.contact-form-panel {
  min-height: 420px;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-map {
  margin-top: 1.5rem;
}

.contact-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--brand);
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 2rem;
}

.footer-block {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.footer-logo {
  width: min(100%, 200px);
  height: auto;
  display: block;
}

.footer-label,
.footer-title,
.footer-heading,
.footer-copy {
  margin: 0;
}

.footer-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-title,
.footer-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.82);
}

.footer-copy a {
  color: #fff;
}

.footer-contact,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact {
  display: grid;
  gap: 0.5rem;
}

.footer-links {
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  font-weight: 600;
  color: #fff;
}

.footer-contact,
.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-legal {
  display: block;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .site-header {
    position: fixed;
  }

  .hero-grid,
  .two-column,
  .contact-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .site-nav {
    width: 100%;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .js-enabled .site-nav {
    display: none;
  }

  .js-enabled .site-header.is-open .site-nav {
    display: block;
  }

  .js-enabled .site-header.is-open {
    background: rgba(0, 19, 63, 0.92);
  }

  .js-enabled .site-header.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(0.44rem) rotate(45deg);
  }

  .js-enabled .site-header.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .js-enabled .site-header.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-0.44rem) rotate(-45deg);
  }

  .site-nav ul {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.75rem;
  }

  .site-nav a {
    display: block;
    padding: 0.4rem 0;
  }

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

}

@media (max-width: 640px) {
  .listing-slider {
    display: grid;
    gap: 1rem;
  }

  .listing-slider .listing-slider-header {
    display: contents;
  }

  .listing-slider .listing-slider-viewport {
    grid-row: 2;
  }

  .listing-slider-status {
    display: none;
  }

  .listing-slider-controls {
    display: contents;
  }

  .listing-slider-button[data-slider-next] {
    grid-row: 1;
  }

  .listing-slider-button[data-slider-prev] {
    grid-row: 3;
  }

  .feature-mobile-image {
    display: block;
  }

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

  .hero {
    padding-top: 1.25rem;
  }

  .hero-banner-content {
    bottom: 1.25rem;
  }

  .hero-banner-eyebrow {
    top: -70px;
    margin-bottom: -3.55rem;
  }

  .brand-role {
    font-size: 0.85rem;
  }

  .listing-slider-button {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
