﻿:root {
      --dark: #0f1117;
      --dark-2: #1a1d2a;
      --gold: #c9a030;
      --text: #151821;
      --muted: #697386;
      --line: #e5e7eb;
      --soft: #f7f8fa;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      color: var(--text);
      background: #ffffff;
    }

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

    button {
      border: 0;
      font: inherit;
      cursor: pointer;
    }

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

    .wrap {
      width: min(1180px, calc(100% - 48px));
      margin: 0 auto;
    }

    .nav {
      position: fixed;
      inset: 0 0 auto;
      z-index: 50;
      background: var(--dark);
      color: #ffffff;
    }

    .nav-inner {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
    }

    .logo-mark {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 7px;
      background: var(--gold);
      color: var(--dark);
      font-size: 13px;
      font-weight: 900;
    }

    .logo small {
      display: block;
      color: var(--gold);
      font-size: 12px;
    }

    .nav-links {
      display: flex;
      gap: 26px;
    }

    .nav-links a {
      color: #d8dde7;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .08em;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 12px 22px;
      border-radius: 7px;
      background: var(--gold);
      color: var(--dark);
      font-size: 13px;
      font-weight: 900;
      letter-spacing: .04em;
    }

    .btn-ghost {
      color: #ffffff;
      background: transparent;
      border: 1px solid rgba(255, 255, 255, .24);
    }

    .menu-button {
      display: none;
      background: transparent;
      color: #ffffff;
      font-size: 28px;
    }

    .mobile-menu {
      display: none;
      padding: 10px 24px 24px;
      background: var(--dark);
    }

    .mobile-menu.is-open {
      display: block;
    }

    .mobile-menu a {
      display: block;
      padding: 15px 0;
      color: #ffffff;
      border-top: 1px solid rgba(255, 255, 255, .1);
      font-weight: 800;
      letter-spacing: .08em;
    }

    .hero {
      position: relative;
      min-height: 100vh;
      padding: 120px 0 150px;
      overflow: hidden;
      background: linear-gradient(135deg, var(--dark), var(--dark-2));
      color: #ffffff;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 20% 50%, rgba(201, 160, 48, .16), transparent 42%),
        radial-gradient(circle at 80% 20%, rgba(201, 160, 48, .12), transparent 36%);
    }

    .hero-grid {
      position: relative;
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      align-items: center;
      gap: 56px;
    }

    .hero h1 {
      margin: 22px 0;
      font-size: clamp(42px, 6vw, 72px);
      line-height: 1.02;
      font-weight: 900;
    }

    .hero em {
      color: var(--gold);
    }

    .lead {
      max-width: 540px;
      color: #c7ced9;
      line-height: 1.75;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 32px;
    }

    .agent-photo {
      position: relative;
      justify-self: end;
      width: min(390px, 100%);
    }

    .agent-photo img {
      width: 100%;
      height: 500px;
      object-fit: cover;
      object-position: top;
      border-radius: 18px;
    }

    .photo-badge {
      position: absolute;
      top: 16px;
      right: 16px;
      padding: 10px 13px;
      border-radius: 7px;
      background: var(--gold);
      color: var(--dark);
      font-size: 12px;
      font-weight: 900;
    }

    .hero-features {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, .42);
      border-top: 1px solid rgba(255, 255, 255, .09);
    }

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

    .feature-mini {
      display: flex;
      gap: 14px;
      padding: 24px;
      border-left: 1px solid rgba(255, 255, 255, .08);
    }

    .icon-box {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 8px;
      background: rgba(201, 160, 48, .16);
      border: 1px solid rgba(201, 160, 48, .28);
      color: var(--gold);
      font-weight: 900;
    }

    .feature-mini b {
      color: #ffffff;
      font-size: 12px;
      letter-spacing: .1em;
    }

    .feature-mini p {
      margin: 6px 0 0;
      color: #aeb6c3;
      font-size: 12px;
      line-height: 1.5;
    }

    .section {
      padding: 88px 0;
    }

    .section-dark {
      background: linear-gradient(135deg, var(--dark), var(--dark-2));
      color: #ffffff;
    }

    .section-soft {
      background: var(--soft);
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 24px;
      margin-bottom: 38px;
    }

    .kicker {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--gold);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .kicker::before {
      content: "";
      width: 34px;
      height: 2px;
      background: var(--gold);
    }

    .section h2 {
      margin: 12px 0 0;
      font-size: clamp(30px, 4vw, 44px);
      line-height: 1.08;
      font-weight: 900;
    }

    .tabs {
      display: flex;
      gap: 8px;
    }

    .tab {
      padding: 11px 18px;
      border-radius: 7px;
      background: #eef0f4;
      color: var(--dark);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .08em;
    }

    .tab.is-active {
      background: var(--gold);
    }

    .properties-grid,
    .process-grid,
    .values-grid {
      display: grid;
      gap: 24px;
    }

    .properties-grid,
    .process-grid {
      grid-template-columns: repeat(3, 1fr);
    }

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

    .property-card {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #ffffff;
      transition: .25s ease;
    }

    .property-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 45px rgba(15, 17, 23, .12);
    }

    .property-photo {
      position: relative;
      height: 225px;
      overflow: hidden;
      background: #dddddd;
    }

    .property-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .45s ease;
    }

    .property-card:hover img {
      transform: scale(1.05);
    }

    .tag,
    .photo-count {
      position: absolute;
      padding: 6px 9px;
      border-radius: 5px;
      font-size: 10px;
      font-weight: 900;
    }

    .tag {
      top: 13px;
      left: 13px;
      background: var(--gold);
      color: var(--dark);
    }

    .photo-count {
      right: 13px;
      bottom: 13px;
      background: rgba(0, 0, 0, .58);
      color: #ffffff;
    }

    .property-body {
      padding: 22px;
    }

    .muted {
      color: var(--muted);
    }

    .price {
      margin: 18px 0;
      color: var(--gold);
      font-size: 22px;
      font-weight: 900;
    }

    .meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      padding-top: 16px;
      border-top: 1px solid #edf0f3;
      color: var(--muted);
      font-size: 12px;
    }

    .cta-grid {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      align-items: center;
      gap: 60px;
    }

    .cta-grid img {
      width: 280px;
      height: 320px;
      object-fit: cover;
      object-position: top;
      border-radius: 14px;
    }

    .process-card,
    .value-card,
    .review-card {
      padding: 28px;
      border-radius: 12px;
    }

    .process-card {
      position: relative;
      background: rgba(255, 255, 255, .045);
      border: 1px solid rgba(201, 160, 48, .2);
    }

    .process-num {
      position: absolute;
      top: 18px;
      right: 22px;
      color: rgba(201, 160, 48, .13);
      font-size: 52px;
      font-weight: 900;
    }

    .process-card p {
      color: #aeb6c3;
      line-height: 1.6;
    }

    .value-card,
    .review-card {
      background: #ffffff;
      border: 1px solid var(--line);
    }

    .value-card {
      text-align: center;
    }

    .value-card .icon-box {
      margin: 0 auto;
    }

    .value-card p,
    .review-card p {
      color: var(--muted);
      line-height: 1.65;
    }

    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      max-width: 860px;
      margin: 0 auto;
      gap: 24px;
    }

    .stars {
      color: var(--gold);
      letter-spacing: 2px;
    }

    .footer {
      background: var(--dark);
      color: #ffffff;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 52px;
      padding: 64px 0 42px;
    }

    .footer p,
    .footer a {
      color: #aeb6c3;
      font-size: 14px;
      line-height: 1.7;
    }

    .footer h3 {
      color: var(--gold);
      font-size: 12px;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .footer ul {
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .footer li {
      margin: 10px 0;
    }

    .footer-copy {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 24px 0;
      color: #7c8492;
      border-top: 1px solid rgba(255, 255, 255, .08);
      font-size: 12px;
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      overflow-y: auto;
      background: #ffffff;
    }

    .modal.is-open {
      display: block;
    }

    .modal-bar {
      position: sticky;
      top: 0;
      z-index: 2;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 24px;
      background: var(--dark);
      color: #ffffff;
    }

    .modal-bar button {
      color: #ffffff;
      background: transparent;
      font-weight: 800;
    }

    .property-detail {
      width: min(1120px, calc(100% - 40px));
      margin: 0 auto;
      padding: 32px 0 70px;
    }

    .gallery {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 8px;
      height: 480px;
      margin-bottom: 30px;
      overflow: hidden;
      border-radius: 14px;
    }

    .gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .gallery-side {
      display: grid;
      gap: 8px;
    }

    .detail-layout {
      display: grid;
      grid-template-columns: 1.35fr .65fr;
      gap: 34px;
    }

    .detail-sidebar {
      align-self: start;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #f9fafb;
    }

    .detail-stats,
    .feature-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .detail-stat,
    .feature-list li {
      padding: 12px;
      border-radius: 8px;
      background: #ffffff;
      border: 1px solid var(--line);
    }

    .feature-list {
      padding: 0;
      list-style: none;
    }

    @media (max-width: 900px) {
      .nav-links,
      .nav .btn {
        display: none;
      }

      .menu-button {
        display: block;
      }

      .hero-grid,
      .cta-grid,
      .detail-layout,
      .gallery {
        grid-template-columns: 1fr;
      }

      .hero {
        padding-bottom: 220px;
      }

      .agent-photo {
        justify-self: center;
      }

      .hero-features-grid,
      .properties-grid,
      .process-grid,
      .values-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .gallery {
        height: auto;
      }

      .gallery-main {
        height: 340px;
      }

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

      .gallery-side img {
        height: 170px;
      }
    }

    @media (max-width: 620px) {
      .wrap {
        width: min(100% - 36px, 1180px);
      }

      .hero-features-grid,
      .properties-grid,
      .process-grid,
      .values-grid,
      .reviews-grid,
      .detail-stats,
      .feature-list {
        grid-template-columns: 1fr;
      }

      .feature-mini p {
        display: none;
      }

      .btn,
      .tab {
        width: 100%;
      }

      .tabs,
      .hero-actions {
        width: 100%;
      }

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

      .footer-copy {
        display: block;
      }
    }
