:root {
  color-scheme: dark;
  --blue: #c6a75e;
  --navy: #0f1c2e;
  --sky: #162338;
  --slate: #d9d9d9;
  --border: rgba(217, 217, 217, 0.3);
  --white: #f5f7fa;
  --shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.site-header {
  background: rgba(15, 28, 46, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem 0;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: var(--slate);
  font-weight: 600;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

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

.brand-title {
  font-size: 0.85rem;
  color: var(--slate);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.button-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--white);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: rgba(245, 247, 250, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0 0.9rem;
  border-top: 1px solid var(--border);
  color: var(--slate);
  font-size: 0.82rem;
}

.trust-strip p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.trust-strip strong {
  color: var(--white);
}

.trust-strip-brokerage img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.hero {
  position: relative;
  background: var(--navy);
  padding: 5rem 0 4rem;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 28, 46, 0.94), rgba(15, 28, 46, 0.66) 55%);
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-overlay-text {
  position: absolute;
  right: 5%;
  bottom: 2.5rem;
  z-index: 2;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.2rem, 3vw, 3.3rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.4rem;
}

.trust-value {
  font-weight: 800;
  font-size: 1.4rem;
}

.trust-label {
  color: var(--slate);
  font-size: 0.9rem;
}

.hero .eyebrow,
.hero .lead,
.hero .trust-label {
  color: rgba(255, 255, 255, 0.8);
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.hero-card {
  background: rgba(15, 28, 46, 0.8);
  border: 1px solid var(--border);
  border-radius: 28px;
  color: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero-card-inner {
  display: grid;
  gap: 1.2rem;
}

.card-title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.card-copy {
  color: rgba(255, 255, 255, 0.75);
}

.card-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.card-stat {
  font-weight: 700;
  font-size: 1.2rem;
}

.card-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.section {
  padding: 4.5rem 0;
}

.section.scenic {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.section.scenic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 28, 46, 0.86), rgba(15, 28, 46, 0.56));
  z-index: 0;
}

.section.scenic > .container {
  position: relative;
  z-index: 1;
}

.scenic-portfolio {
  background-image: url("assets/images/huntingtonbeach.jpg");
}

.scenic-why {
  background-image: url("assets/images/longbeach.jpg");
}

.scenic-about {
  background-image: url("assets/images/losangeles.jpg");
}

.section.scenic .eyebrow,
.section.scenic .feature-list,
.section.scenic .badge-title,
.section.scenic .link {
  color: rgba(255, 255, 255, 0.85);
}

.section.scenic .feature-list li::before {
  color: var(--white);
}

.section.scenic .card,
.section.scenic .stat {
  color: var(--white);
}

.section.alt:not(.scenic) {
  background: var(--sky);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.link {
  color: var(--blue);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.portfolio-grid {
  grid-template-columns: minmax(260px, 680px);
}

.portfolio-note {
  margin-top: 1rem;
  color: rgba(245, 247, 250, 0.8);
  font-size: 0.9rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.card {
  background: rgba(15, 28, 46, 0.8);
  padding: 1.3rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 30px rgba(15, 29, 58, 0.08);
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.card h3 {
  font-size: 1.02rem;
  line-height: 1.35;
}

.card-price {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.96rem;
}

.card-details {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: rgba(245, 247, 250, 0.9);
}

.card-details strong {
  color: var(--white);
}


.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.filter-chip {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(245, 247, 250, 0.9);
  background: rgba(15, 28, 46, 0.5);
}

.filter-chip.active {
  background: rgba(198, 167, 94, 0.2);
  border-color: rgba(198, 167, 94, 0.75);
  color: var(--white);
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  color: var(--slate);
}

.feature-list li {
  padding-left: 1.8rem;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.stats {
  display: grid;
  gap: 1.4rem;
}

.stat {
  background: rgba(15, 28, 46, 0.72);
  border-radius: 16px;
  padding: 1.4rem;
  border: 1px solid var(--border);
}

.stat-value {
  font-weight: 800;
  font-size: 1.6rem;
}

.stat-label {
  color: var(--slate);
  font-size: 0.95rem;
}

.stats-note {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-card {
  display: grid;
  gap: 1.4rem;
}

.about-badges {
  display: grid;
  gap: 1rem;
}

.badge-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.badge-value {
  font-weight: 600;
}

.contact {
  background: var(--sky);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

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

.contact-info img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.contact-form {
  background: rgba(15, 28, 46, 0.84);
  padding: 2rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  display: grid;
  gap: 1.2rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--white);
}

input,
select,
textarea {
  background: rgba(245, 247, 250, 0.98);
  color: var(--navy);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
}

.form-note {
  color: var(--slate);
  font-size: 0.9rem;
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: rgba(15, 28, 46, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.site-footer a {
  display: block;
  color: var(--slate);
  margin-bottom: 0.4rem;
}

.footer-note {
  margin-top: 1rem;
  color: var(--slate);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0 0.4rem;
    border-top: 1px solid var(--border);
  }

  .nav .button {
    width: 100%;
    justify-content: center;
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header.nav-open .nav nav,
  .site-header.nav-open .nav .button {
    display: flex;
  }

  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3.5rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .grid.three,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.1rem;
  }
}
