﻿
    :root {
      --theme: #24A6FE;
      --theme-dark: #24A6FE;
      --theme-deep: #24A6FE;
      --theme-soft: #24A6FE;
      --theme-strong: #24A6FE;
      --bg: #eff5fb;
      --surface: #ffffff;
      --surface-soft: #edf4fb;
      --text: #122b3f;
      --muted: #5d7287;
      --line: rgba(18, 43, 63, 0.12);
      --shadow: 0 14px 40px rgba(17, 52, 84, 0.12);
      --success: #1d9a66;
      --radius: 16px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

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

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

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

    button, input, select {
      font: inherit;
    }

    .page-shell {
      max-width: 1440px;
      margin: 0 auto;
      background: #f6f9fd;
    }

    .topbar {
      background: linear-gradient(180deg, var(--theme-strong) 0%, var(--theme) 18%, var(--theme) 100%);
      color: white;
      padding: 14px 32px 18px;
      box-shadow: inset 0 -1px 0 rgba(255,255,255,0.2);
    }

    .topbar-inner {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 230px;
    }

    .brand-mark {
      width: 52px;
      height: 52px;
      border-radius: 12px;
      background: rgba(255,255,255,0.12);
      position: relative;
      box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35);
      overflow: hidden;
    }

    .brand-mark::before {
      content: "";
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 11px;
      height: 18px;
      background: #fff;
      border-radius: 3px 3px 0 0;
      transform: perspective(60px) rotateX(35deg);
    }

    .brand-mark::after {
      content: "";
      position: absolute;
      left: 8px;
      right: 8px;
      bottom: 8px;
      height: 16px;
      background: rgba(255,255,255,0.18);
      clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
      border-radius: 3px;
    }

    .brand-meta {
      line-height: 1;
    }

    .brand-name {
      font-size: 2rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      font-family: "Cormorant Garamond", serif;
      line-height: 0.9;
    }

    .brand-tag {
      margin-top: 5px;
      font-size: 0.74rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      opacity: 0.95;
      font-weight: 600;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 28px;
      flex-wrap: wrap;
      justify-content: center;
      font-size: 0.96rem;
      font-weight: 600;
    }

    .nav a {
      position: relative;
      padding: 10px 2px;
      opacity: 0.95;
      white-space: nowrap;
    }

    .nav a.active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -6px;
      height: 2px;
      border-radius: 50px;
      background: rgba(255,255,255,0.95);
    }

    #home-view {
      display: block;
    }

    .brand-link {
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      cursor: pointer;
    }

    .hero-section {
      display: none;
    }

    .app-view,
    .page-view,
    .sell-view {
      display: none !important;
    }

    body[data-page="home"] .hero-section {
      display: flex;
    }

    body[data-page="home"] #home-view,
    body[data-page="sell"] .sell-view,
    body[data-page="about"] .page-about,
    body[data-page="agents"] .page-agents,
    body[data-page="sold"] .page-sold,
    body[data-page="blog"] .page-blog,
    body[data-page="contact"] .page-contact {
      display: block !important;
    }

    body[data-page="home"] .home-view,
    body[data-page="sell"] .sell-view,
    body[data-page="about"] .about-view,
    body[data-page="agents"] .agents-view,
    body[data-page="sold"] .sold-view,
    body[data-page="blog"] .blog-view,
    body[data-page="contact"] .contact-view {
      display: block !important;
    }

    .top-actions {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 200px;
      justify-content: flex-end;
    }

    .account {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: white;
      border: 1px solid rgba(255,255,255,0.7);
      border-radius: 10px;
      padding: 10px 16px;
      font-weight: 600;
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(2px);
    }

    .account .icon {
      width: 18px;
      height: 18px;
      display: inline-block;
      position: relative;
    }

    .account .icon::before {
      content: "◔";
      position: absolute;
      inset: 0;
      font-size: 18px;
      line-height: 1;
    }

    .hero {
      position: relative;
      min-height: 760px;
      background-image: url("https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1600&q=80");
      background-size: cover;
      background-position: center;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(36, 166, 254, 0.78) 0%, rgba(36, 166, 254, 0.66) 30%, rgba(36, 166, 254, 0.1) 100%);
    }

    .hero-section {
      position: relative;
      overflow: hidden;
      min-height: 520px;
      display: block;
      background: transparent;
    }

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

    .hero-inner {
      position: relative;
      z-index: 1;
      max-width: 1280px;
      margin: 0 auto;
      padding: 48px 24px 18px;
      display: grid;
      grid-template-columns: 1.3fr 0.7fr;
      align-items: center;
      gap: 20px;
      min-height: 520px;
    }

    .hero-copy {
      padding-top: 24px;
    }

    .eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 1rem;
      font-weight: 700;
      color: rgba(255,255,255,0.82);
      margin-bottom: 16px;
    }

    .hero h1 {
      margin: 0;
      color: #fff;
      font-size: clamp(3.2rem, 5.3vw, 6.1rem);
      line-height: 0.92;
      letter-spacing: -0.06em;
      font-family: "Cormorant Garamond", serif;
      font-weight: 700;
    }

    .hero p {
      max-width: 560px;
      color: rgba(255,255,255,0.9);
      font-size: clamp(1.05rem, 1.35vw, 1.7rem);
      line-height: 1.5;
      margin: 22px 0 26px;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      margin-bottom: 28px;
      flex-wrap: wrap;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 25px;
      border-radius: 12px;
      border: 1px solid transparent;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .button.primary {
      background: #fff;
      color: var(--theme-deep);
      border-color: rgba(255,255,255,0.8);
      box-shadow: 0 12px 24px rgba(10, 70, 130, 0.2);
    }

    .button.ghost {
      border-color: rgba(255,255,255,0.7);
      background: rgba(255,255,255,0.06);
      color: white;
    }

    .search-panel {
      width: min(100%, 760px);
      background: rgba(255,255,255,0.96);
      border-radius: 14px;
      box-shadow: 0 18px 30px rgba(5, 48, 85, 0.12);
      padding: 20px 18px 18px;
      color: var(--text);
    }

    .search-tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 14px;
      flex-wrap: wrap;
      justify-content: start;
    }

    .search-tabs .tab-button {
      border: none;
      background: rgba(255,255,255,0.9);
      color: #2b4b63;
      padding: 10px 16px;
      border-radius: 10px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(12,40,70,0.08);
      transition: transform 0.12s ease, box-shadow 0.12s ease;
    }

    .search-tabs .tab-button.is-active {
      background: #fff;
      color: var(--theme-deep);
      transform: translateY(-2px);
      box-shadow: 0 18px 30px rgba(10,70,130,0.12);
    }

    .search-row {
      display: grid;
      grid-template-columns: 2.2fr 1fr 1fr auto;
      gap: 10px;
      align-items: center;
    }

    .field {
      position: relative;
      display: flex;
      align-items: center;
      height: 52px;
      border: 1px solid rgba(17, 36, 54, 0.15);
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
    }

    .field input,
    .field select {
      width: 100%;
      height: 100%;
      border: none;
      padding: 0 16px;
      background: transparent;
      color: var(--text);
      font-size: 0.96rem;
      outline: none;
    }

    .field select {
      appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, #6b7d8f 50%), linear-gradient(135deg, #6b7d8f 50%, transparent 50%);
      background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
      background-size: 6px 6px, 6px 6px;
      background-repeat: no-repeat;
      padding-right: 34px;
    }

    .search-btn {
      background: var(--theme);
      border: none;
      color: #fff;
      min-height: 52px;
      border-radius: 10px;
      width: 132px;
      font-weight: 700;
      cursor: pointer;
    }

    .hero-flag {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 500px;
    }

    .flag {
      position: relative;
      width: min(100%, 540px);
      height: 420px;
      background: linear-gradient(180deg, #24A6FE 0%, #24A6FE 100%);
      transform: rotate(10deg);
      border-radius: 18px;
      box-shadow: 0 24px 35px rgba(8, 62, 110, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 24px;
    }

    .flag::before {
      content: "";
      position: absolute;
      inset: 12px 0 0 0;
      background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
    }

    .flag-inner {
      position: relative;
      z-index: 1;
      text-align: center;
      color: #fff;
    }

    .flag-mark {
      width: 90px;
      height: 90px;
      margin: 0 auto 18px;
      border: 3px solid rgba(255,255,255,0.8);
      border-radius: 20px;
      position: relative;
      background: rgba(255,255,255,0.08);
    }

    .flag-mark::before {
      content: "";
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 18px;
      height: 36px;
      background: rgba(255,255,255,0.85);
      clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    }

    .flag-text {
      font-size: clamp(2.4rem, 4.1vw, 4.3rem);
      font-weight: 800;
      letter-spacing: -0.06em;
      line-height: 0.9;
      font-family: "Cormorant Garamond", serif;
    }

    .flag-sub {
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.9rem;
      opacity: 0.9;
      margin-top: 8px;
    }

    .flag-note {
      font-size: clamp(2.4rem, 3.5vw, 4.1rem);
      letter-spacing: -0.05em;
      font-weight: 800;
      line-height: 0.95;
      margin-top: 18px;
      font-family: "Cormorant Garamond", serif;
    }

    .feature-strip {
      position: relative;
      z-index: 3;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
      max-width: 1240px;
      margin: 34px auto 0;
      padding: 0 14px 18px;
      transform: none;
      border-radius: 20px;
      overflow: hidden;
    }

    .feature-item {
      background: rgba(255,255,255,0.94);
      border: 1px solid rgba(12, 40, 70, 0.08);
      border-right: none;
      min-height: 132px;
      display: grid;
      grid-template-columns: 56px 1fr;
      align-items: center;
      gap: 16px;
      padding: 20px 22px;
      box-shadow: 0 22px 38px rgba(7, 40, 72, 0.12);
      border-radius: 0;
    }

    .feature-item:first-child {
      border-top-left-radius: 14px;
      border-bottom-left-radius: 14px;
    }

    .feature-item:last-child {
      border-right: 1px solid rgba(12, 40, 70, 0.08);
      border-top-right-radius: 14px;
      border-bottom-right-radius: 14px;
    }

    .feature-icon {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(53, 152, 235, 0.1);
      color: var(--theme);
      font-size: 1.3rem;
      font-weight: 700;
      border: 1px solid rgba(53, 152, 235, 0.18);
      box-shadow: inset 0 0 0 6px rgba(255,255,255,0.2);
    }

    .feature-copy h4 {
      margin: 0 0 4px;
      font-size: 1.04rem;
      color: var(--navy-2);
      font-weight: 700;
    }

    .feature-copy p {
      margin: 0;
      color: rgba(13, 26, 42, 0.74);
      font-size: 0.88rem;
      line-height: 1.45;
    }

    .content {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 20px 62px;
    }

    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin: 26px 0 22px;
    }

    .section-head h2 {
      margin: 0;
      font-size: clamp(2rem, 3vw, 3rem);
      letter-spacing: -0.06em;
      line-height: 1;
      color: var(--text);
      font-family: "Cormorant Garamond", serif;
      font-weight: 700;
    }

    .view-link {
      color: var(--theme-dark);
      font-weight: 700;
      white-space: nowrap;
    }

    .properties-wrap {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 28px;
      align-items: start;
    }

    .properties-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }

    .property-card {
      background: rgba(255,255,255,0.96);
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(17, 36, 54, 0.08);
      box-shadow: 0 16px 30px rgba(15, 34, 54, 0.06);
    }

    .property-image {
      position: relative;
      height: 220px;
      background-size: cover;
      background-position: center;
    }

    .property-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      background: rgba(255,255,255,0.88);
      color: var(--theme-dark);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      border-radius: 999px;
      padding: 7px 10px;
    }

    .property-fav {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255,255,255,0.9);
      display: grid;
      place-items: center;
      font-size: 1.2rem;
      color: #73879a;
    }

    .property-body {
      padding: 16px 16px 18px;
    }

    .price-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 12px;
      margin-bottom: 8px;
    }

    .price {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--text);
    }

    .location {
      font-size: 0.88rem;
      color: var(--muted);
      margin-bottom: 12px;
      line-height: 1.45;
    }

    .meta-row {
      display: flex;
      gap: 16px;
      color: var(--muted);
      font-size: 0.88rem;
      flex-wrap: wrap;
      padding-top: 12px;
      border-top: 1px solid rgba(17, 36, 54, 0.08);
    }

    .meta-item {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .meta-item::before {
      content: "•";
      color: var(--theme);
      font-weight: 700;
    }

    .agent-box {
      background: linear-gradient(180deg, #24A6FE 0%, var(--theme) 100%);
      border-radius: 18px;
      padding: 22px 18px 18px;
      color: white;
      box-shadow: var(--shadow);
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .agent-box::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
    }

    .agent-box > * {
      position: relative;
      z-index: 1;
    }

    .agent-photo {
      width: 190px;
      height: 190px;
      margin: 0 auto 16px;
      border-radius: 50%;
      background: url('https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=700&q=80') center/cover no-repeat;
      border: 6px solid rgba(255,255,255,0.32);
      box-shadow: 0 20px 30px rgba(37, 85, 129, 0.2);
    }

    .agent-box h3 {
      margin: 0;
      font-size: 2.2rem;
      letter-spacing: -0.06em;
      line-height: 1;
      font-family: "Cormorant Garamond", serif;
    }

    .agent-role {
      font-size: 0.96rem;
      font-weight: 700;
      opacity: 0.92;
      margin: 10px 0 18px;
    }

    .agent-box p {
      margin: 0 0 18px;
      color: rgba(255,255,255,0.92);
      line-height: 1.55;
      font-size: 0.93rem;
    }

    .agent-button {
      background: #fff;
      color: var(--theme-deep);
      border: none;
      min-height: 46px;
      padding: 0 22px;
      border-radius: 12px;
      font-weight: 800;
      cursor: pointer;
    }

    .cta-banner {
      margin-top: 32px;
      background: linear-gradient(180deg, rgba(53,152,235,0.9) 0%, var(--theme) 100%);
      border-radius: 18px;
      padding: 24px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      box-shadow: 0 18px 30px rgba(11, 86, 146, 0.18);
      position: relative;
      overflow: hidden;
    }

    .cta-banner::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
      opacity: 0.18;
      mix-blend-mode: screen;
    }

    .cta-copy, .cta-actions {
      position: relative;
      z-index: 1;
    }

    .cta-copy {
      font-size: clamp(2rem, 3vw, 3.2rem);
      line-height: 1;
      letter-spacing: -0.05em;
      font-family: "Cormorant Garamond", serif;
      color: white;
      font-weight: 700;
    }

    .cta-copy small {
      display: block;
      font-size: 0.72em;
      letter-spacing: 0.03em;
      margin-top: 8px;
      font-family: "Inter", sans-serif;
      font-weight: 600;
      opacity: 0.96;
    }

    .cta-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .mini-chip {
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.5);
      color: white;
      border-radius: 12px;
      min-height: 48px;
      padding: 0 18px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
    }

    .pill-link {
      background: white;
      color: var(--theme-deep);
      border-radius: 12px;
      min-height: 48px;
      padding: 0 22px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
    }

    @media (max-width: 1160px) {
      .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 52px;
      }

      .hero-flag {
        min-height: 380px;
      }

      .properties-wrap {
        grid-template-columns: 1fr;
      }

      .agent-box {
        max-width: 420px;
        margin: 0 auto;
      }
    }

    @media (max-width: 980px) {
      .topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
      }

      .nav {
        order: 2;
        width: 100%;
      }

      .top-actions {
        order: 3;
        width: 100%;
        justify-content: center;
      }

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

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

    @media (max-width: 700px) {
      .topbar {
        padding-left: 16px;
        padding-right: 16px;
      }

      .brand-name {
        font-size: 1.8rem;
      }

      .hero-inner {
        padding-left: 18px;
        padding-right: 18px;
      }

      .search-row {
        grid-template-columns: 1fr;
      }

      .search-btn {
        width: 100%;
      }

      .feature-strip {
        grid-template-columns: 1fr;
      }

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

      .cta-banner {
        flex-direction: column;
        align-items: flex-start;
      }

      .cta-actions {
        justify-content: flex-start;
      }
    }
  


    :root {
      --theme: #24A6FE;
      --theme-dark: #24A6FE;
      --navy: #081f3d;
      --navy-2: #0f2f5b;
      --navy-3: #0b2445;
      --panel: #112d4e;
      --text: #0d1a2a;
      --muted: #5c6f86;
      --light: #edf5ff;
      --white: #ffffff;
      --orange: #24A6FE;
      --shadow: 0 18px 42px rgba(10, 34, 63, 0.18);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Inter", Arial, sans-serif;
      background: #e9edf3;
      color: var(--text);
    }

    .brand-link {
      text-decoration: none;
      display: inline-flex;
      align-items: center;
    }

    .page-view,
    .app-view,
    .sell-view,
    .property-detail-view {
      display: none;
    }
    body[data-page="home"] #home-view,
    body[data-page="sell"] .sell-view,
    body[data-page="about"] .page-about,
    body[data-page="agents"] .page-agents,
    body[data-page="sold"] .page-sold,
    body[data-page="blog"] .page-blog,
    body[data-page="contact"] .page-contact,
    body[data-page="property"] .property-detail-view {
      display: block;
    }
    body[data-page="home"] .hero-section { display: flex; }
    body:not([data-page="home"]) .hero-section { display: none; }
    img { display: block; max-width: 100%; }
    .property-card { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
    .property-card:hover, .property-card:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(18,59,92,0.12); outline: none; }
    a { text-decoration: none; color: inherit; }
    button, input { font: inherit; }
    .page-shell {
      max-width: 1440px;
      margin: 0 auto;
      background: #f3f6fa;
      box-shadow: 0 0 0 1px rgba(14, 36, 55, 0.04);
    }

    .property-detail-view {
      background: #eef4f9;
      min-height: 100vh;
      padding: 32px 0 48px;
    }
    .property-detail-shell {
      width: min(1220px, calc(100% - 32px));
      margin: 0 auto;
      background: linear-gradient(180deg, #f9fcff 0%, #edf6ff 100%);
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 22px 46px rgba(11, 45, 72, 0.08);
      border: 1px solid rgba(13, 65, 106, 0.06);
    }
    .property-detail-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 28px;
      background: rgba(255,255,255,0.86);
      border-bottom: 1px solid rgba(18, 58, 88, 0.08);
      backdrop-filter: blur(4px);
    }
    .detail-back {
      border: none;
      background: transparent;
      color: var(--theme-dark);
      font-weight: 700;
      cursor: pointer;
    }
    .detail-tag {
      display: inline-block;
      font-size: .72rem;
      letter-spacing: .18em;
      font-weight: 800;
      color: var(--theme-dark);
      text-transform: uppercase;
    }
    .property-detail-hero {
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      background: linear-gradient(135deg, rgba(220, 240, 255, 0.6) 0%, rgba(239, 248, 255, 1) 100%);
      padding: 30px 28px 24px;
      gap: 26px;
      align-items: center;
    }
    .detail-hero-main {
      position: relative;
      padding: 18px 8px 18px 0;
    }
    .detail-badge {
      display: inline-block;
      background: rgba(37,167,253,.12);
      color: var(--theme-dark);
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-size: .7rem;
      padding: 9px 14px;
      border-radius: 999px;
      margin-bottom: 8px;
    }
    .detail-hero-word {
      margin: 8px 0 10px;
      font-size: clamp(4rem, 7vw, 9rem);
      line-height: 0.82;
      letter-spacing: -0.08em;
      font-weight: 900;
      color: rgba(10, 38, 60, 0.12);
      text-transform: uppercase;
      font-family: "Cormorant Garamond", serif;
      text-shadow: 0 6px 18px rgba(17, 71, 110, 0.06);
    }
    .detail-title {
      margin: -8px 0 0;
      font-size: clamp(2.5rem, 4.5vw, 5rem);
      line-height: .96;
      letter-spacing: -0.06em;
      color: #0f2439;
      font-family: "Cormorant Garamond", serif;
    }
    .detail-price {
      margin-top: 16px;
      font-size: clamp(2rem, 2.8vw, 2.8rem);
      font-weight: 800;
      color: var(--theme-dark);
    }
    .detail-address {
      margin-top: 8px;
      color: #4c647a;
      font-size: 1.05rem;
    }
    .detail-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }
    .detail-meta span {
      display: inline-flex;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(17, 71, 110, 0.06);
      color: #173d58;
      font-weight: 600;
      font-size: .82rem;
    }
    .detail-visual {
      min-height: 440px;
      border-radius: 28px;
      overflow: hidden;
      background: #dfe9f0;
      border: 1px solid rgba(17, 71, 110, 0.08);
      box-shadow: 0 22px 42px rgba(17, 71, 110, 0.12);
    }
    .detail-image {
      width: 100%;
      height: 100%;
      min-height: 440px;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      transform: scale(1.01);
    }
    .detail-content {
      display: grid;
      grid-template-columns: 1.45fr .8fr;
      gap: 28px;
      padding: 30px 28px 12px;
      align-items: start;
    }
    .detail-copy {
      background: rgba(255,255,255,0.96);
      border-radius: 22px;
      padding: 24px 22px;
      border: 1px solid rgba(17, 71, 110, 0.06);
      box-shadow: 0 12px 28px rgba(17, 71, 110, 0.04);
    }
    .detail-section-head {
      font-size: .74rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      font-weight: 800;
      color: var(--theme-dark);
      margin-bottom: 14px;
    }
    .detail-desc {
      margin: 0;
      color: #3d536b;
      line-height: 1.8;
      font-size: 1rem;
    }
    .detail-features {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }
    .detail-features span {
      padding: 10px 12px;
      border-radius: 999px;
      background: #edf7ff;
      color: #1b4d6d;
      font-size: .78rem;
      font-weight: 700;
    }
    .detail-side {
      display: grid;
      gap: 18px;
    }
    .agent-mini-card,
    .detail-stat-box {
      background: rgba(255,255,255,0.96);
      border: 1px solid rgba(17, 71, 110, 0.06);
      border-radius: 18px;
      padding: 18px 18px;
      box-shadow: 0 12px 26px rgba(17, 71, 110, 0.04);
    }
    .agent-mini-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 12px;
      padding: 22px 18px 18px;
    }
    .agent-avatar {
      width: 160px;
      height: 160px;
      border-radius: 50%;
      background: linear-gradient(135deg, #dbe9f8 0%, #b9d9f8 42%, #8ec9ff 100%);
      border: 4px solid rgba(37,167,253,.16);
      box-shadow: 0 14px 26px rgba(17, 71, 110, 0.12);
      background-image: url('https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=800&q=80');
      background-size: cover;
      background-position: center;
    }
    .agent-copy-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
    }
    .detail-agent-name {
      font-size: clamp(1.6rem, 2.2vw, 2.1rem);
      line-height: 1.1;
      color: #133b5a;
      font-weight: 700;
    }
    .detail-agent-role {
      color: #668095;
      font-size: .82rem;
      font-weight: 500;
      letter-spacing: 0.02em;
    }
    .detail-action {
      width: 100%;
      border: none;
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: #fff;
      border-radius: 14px;
      min-height: 56px;
      padding: 12px 14px;
      font-size: 1.08rem;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 12px 22px rgba(37,167,253,0.22);
    }
    .stat-box-label {
      font-size: .7rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--theme-dark);
      font-weight: 800;
    }
    .stat-box-value {
      margin-top: 8px;
      font-size: 1.15rem;
      font-weight: 700;
      color: #143d5d;
    }
    .detail-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
      padding: 18px 28px 0;
    }
    .detail-panel {
      background: #fff;
      border-radius: 18px;
      padding: 22px 20px;
      border: 1px solid rgba(17, 71, 110, 0.06);
    }
    .detail-panel h3 {
      margin: 0 0 18px;
      font-size: 1.2rem;
      color: #143d5d;
    }
    .detail-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 12px;
    }
    .detail-list li {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(17, 71, 110, 0.08);
      color: #405d76;
    }
    .detail-list li:last-child { border-bottom: none; padding-bottom: 0; }
    .detail-list strong { color: #173d58; }
    .detail-map-wrap {
      padding: 22px 28px 0;
    }
    .map-frame {
      height: 350px;
      width: 100%;
      border-radius: 20px;
      background:
        linear-gradient(0deg, rgba(13, 70, 115, 0.26), rgba(13, 70, 115, 0.26)),
        url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
      border: 1px solid rgba(17, 71, 110, 0.06);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
      position: relative;
      overflow: hidden;
    }
    .map-frame::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12), transparent 30%),
        linear-gradient(135deg, rgba(37,167,253,0.12), rgba(37,167,253,0.02));
    }
    .detail-contact-band {
      background: linear-gradient(135deg, var(--theme) 0%, var(--theme-dark) 100%);
      margin: 24px 28px 32px;
      border-radius: 24px;
      padding: 26px 28px;
      color: #fff;
      box-shadow: 0 16px 34px rgba(10, 90, 156, 0.18);
    }
    .contact-band-copy {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin-bottom: 18px;
    }
    .contact-band-copy span {
      font-size: .72rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      font-weight: 800;
      opacity: .9;
    }
    .contact-band-copy h3 {
      margin: 12px 0 0;
      font-size: clamp(1.8rem, 3vw, 2.8rem);
      line-height: 1.1;
      font-family: "Cormorant Garamond", serif;
    }
    .detail-contact-form {
      display: grid;
      gap: 16px;
    }
    .detail-form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }
    .detail-contact-form input {
      width: 100%;
      border: 1px solid rgba(255,255,255,0.4);
      background: rgba(255,255,255,0.18);
      border-radius: 12px;
      padding: 14px 16px;
      color: #fff;
      font-size: 1rem;
    }
    .detail-contact-form input::placeholder { color: rgba(255,255,255,0.8); }
    .detail-contact-form button {
      width: 100%;
      max-width: 220px;
      justify-self: center;
      margin-top: 8px;
      border: none;
      background: #fff;
      color: var(--theme-dark);
      font-weight: 800;
      padding: 14px 18px;
      border-radius: 12px;
      cursor: pointer;
    }

    @media (max-width: 980px) {
      .property-detail-hero,
      .detail-content,
      .detail-grid,
      .detail-form-grid {
        grid-template-columns: 1fr;
      }
      .property-detail-topbar {
        flex-direction: column;
        gap: 10px;
      }
    }

    @media (max-width: 680px) {
      .property-detail-shell {
        width: min(100% - 18px, 1220px);
      }
      .property-detail-hero,
      .detail-content,
      .detail-grid,
      .detail-map-wrap,
      .detail-contact-band {
        padding-left: 16px;
        padding-right: 16px;
      }
      .detail-title {
        font-size: 2.5rem;
      }
    }

    .site-header {
      background: linear-gradient(180deg, var(--theme-strong) 0%, var(--theme) 100%);
      color: var(--white);
      padding: 5px 18px;
      box-sizing: border-box;
    }
    .header-inner {
      max-width: 930px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 62px;
    }
    .brand-block {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 160px;
      line-height: 0;
      padding-top: 5px;
      padding-bottom: 5px;
    }
    .brand-logo {
      display: block;
      width: auto;
      max-width: 270px;
      height: 90px;
      object-fit: contain;
      filter: none;
      border-radius: 12px;
    }
    .footer-logo {
      display: block;
      width: 200px;
      height: auto;
      max-height: 62px;
      object-fit: contain;
      filter: brightness(0) invert(1);
    }
    .main-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 28px;
      flex-wrap: wrap;
      font-size: 0.92rem;
      font-weight: 600;
    }
    .main-nav a {
      position: relative;
      padding: 6px 0 10px;
      opacity: 0.96;
    }
    .main-nav a.active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2px;
      background: rgba(255,255,255,0.92);
      border-radius: 99px;
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .header-btn {
      border: 1px solid rgba(255,255,255,0.65);
      border-radius: 10px;
      background: rgba(255,255,255,0.06);
      color: var(--white);
      padding: 9px 15px;
      font-weight: 600;
      cursor: pointer;
    }

    .hero-section {
      position: relative;
      min-height: 620px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 36px 20px 16px;
      overflow: hidden;
      background: transparent;
    }
    .hero-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(37, 167, 253, 0.05) 0%, rgba(37, 167, 253, 0.04) 25%, rgba(37, 167, 253, 0.02) 100%);
      z-index: 1;
      pointer-events: none;
    }
    .hero-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      filter: brightness(1) saturate(1.05) contrast(1.05);
      transform: scale(1.06);
      transform-origin: center center;
      will-change: transform;
      z-index: 0;
    }
    .hero-inner {
      position: relative;
      z-index: 2;
      width: min(1280px, 100%);
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      align-items: center;
      gap: 20px;
      color: var(--white);
    }
    .hero-copy {
      max-width: 620px;
      padding-left: 12px;
      text-align: left;
    }
    .hero-kicker {
      font-size: 0.9rem;
      letter-spacing: 0.18em;
      font-weight: 700;
      text-transform: uppercase;
      color: rgba(255,255,255,0.8);
      margin-bottom: 12px;
    }
    .hero-copy h1 {
      margin: 0;
      font-size: clamp(3.2rem, 5vw, 6rem);
      line-height: 0.84;
      letter-spacing: -0.07em;
      font-weight: 800;
      font-family: "Inter", sans-serif;
      color: #ffffff;
    }
    .hero-copy p {
      margin: 18px 0 20px;
      max-width: 520px;
      font-size: 1.08rem;
      line-height: 1.55;
      color: rgba(255,255,255,0.88);
    }
    .search-tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 18px;
      flex-wrap: wrap;
    }
    .search-tabs button {
      border: none;
      background: rgba(255,255,255,0.12);
      color: #ffffff;
      padding: 10px 18px;
      border-radius: 10px 10px 0 0;
      font-weight: 700;
      cursor: pointer;
      min-width: 82px;
      transition: all 0.2s ease;
    }
    .search-tabs button.is-active {
      background: rgba(255,255,255,0.22);
      box-shadow: inset 0 -2px 0 rgba(255,255,255,0.8);
    }
    .search-panel {
      background: rgba(255,255,255,0.9);
      border-radius: 12px;
      padding: 18px 18px 14px;
      box-shadow: 0 20px 40px rgba(6, 28, 51, 0.20);
      width: min(100%, 650px);
    }
    .search-form {
      display: none;
      animation: fadeInSearch 0.2s ease;
    }
    .search-form.is-active {
      display: block;
    }
    @keyframes fadeInSearch {
      from { opacity: 0; transform: translateY(4px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .search-row {
      display: grid;
      align-items: center;
      gap: 12px;
    }
    .search-row--main {
      grid-template-columns: 1fr 56px;
      margin-bottom: 12px;
    }
    .search-row--main input {
      width: 100%;
      min-height: 52px;
      border: 1px solid rgba(17, 36, 54, 0.14);
      background: #fff;
      border-radius: 10px;
      padding: 0 16px;
      color: var(--text);
      outline: none;
      font-size: 0.96rem;
    }
    .search-icon {
      min-height: 52px;
      border: none;
      border-radius: 10px;
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: white;
      font-size: 1.4rem;
      cursor: pointer;
    }
    .search-row--filters {
      grid-template-columns: 1fr 1fr 1fr auto;
    }
    .field {
      position: relative;
      display: flex;
      align-items: center;
      height: 52px;
      border: 1px solid rgba(17, 36, 54, 0.15);
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
    }
    .field select {
      width: 100%;
      height: 100%;
      border: none;
      padding: 0 40px 0 16px;
      background: transparent;
      color: var(--text);
      font-size: 0.94rem;
      outline: none;
      appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, #6b7d8f 50%), linear-gradient(135deg, #6b7d8f 50%, transparent 50%);
      background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
      background-size: 6px 6px, 6px 6px;
      background-repeat: no-repeat;
    }
    .search-btn-mini {
      min-height: 52px;
      border: none;
      border-radius: 10px;
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: white;
      font-weight: 700;
      padding: 0 18px;
      cursor: pointer;
    }

    .hero-visual {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 520px;
      position: relative;
    }
    .hero-home-panel {
      position: relative;
      width: min(100%, 560px);
      height: 420px;
      margin-left: 20px;
    }
    .hero-house-image {
      position: absolute;
      inset: 0;
      border-radius: 18px 18px 0 0;
      background: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
      box-shadow: 0 25px 45px rgba(7, 36, 58, 0.22);
      transform: rotate(6deg);
    }
    .floating-banner {
      position: absolute;
      right: -18px;
      top: 84px;
      width: 270px;
      min-height: 270px;
      padding: 26px 18px 18px;
      background: linear-gradient(180deg, #24A6FE 0%, #24A6FE 100%);
      box-shadow: 0 20px 40px rgba(11, 79, 128, 0.28);
      transform: rotate(3deg);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: white;
      text-align: center;
    }
    .floating-mark {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: rgba(255,255,255,0.12);
      border: 2px solid rgba(255,255,255,0.7);
      display: grid;
      place-items: center;
      font-size: 1.8rem;
      margin-bottom: 8px;
    }
    .floating-brand {
      font-size: 2.3rem;
      line-height: 0.9;
      letter-spacing: -0.06em;
      font-weight: 800;
      font-family: "Cormorant Garamond", serif;
      margin-bottom: 6px;
    }
    .floating-brand span {
      font-size: 1rem;
      letter-spacing: 0.04em;
      display: block;
      text-transform: uppercase;
      font-family: "Inter", sans-serif;
      font-weight: 700;
      margin-top: 2px;
    }
    .floating-tag {
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      text-transform: lowercase;
      opacity: 0.95;
      font-weight: 600;
      border-top: 1px solid rgba(255,255,255,0.5);
      padding-top: 6px;
      margin-top: 6px;
    }
    .floating-title {
      margin-top: 18px;
      font-size: 3.2rem;
      line-height: 0.9;
      letter-spacing: -0.05em;
      font-weight: 800;
      font-family: "Cormorant Garamond", serif;
    }

    .feature-strip {
      width: min(1280px, calc(100% - 32px));
    margin: 20px auto 0;
    display: grid;
      grid-template-columns: repeat(4, minmax(0,1fr));
      background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(238,246,255,0.94));
      border: 1px solid rgba(17, 36, 54, 0.08);
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 16px 36px rgba(14, 48, 79, 0.09);
    }
    .feature-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 22px 18px;
      background: rgba(255,255,255,0.3);
      border-right: 1px solid rgba(17, 36, 54, 0.08);
    }
    .feature-item:last-child { border-right: none; }
    .feature-icon {
      width: 54px;
      height: 54px;
      border-radius: 50%;
      background: rgba(53, 152, 235, 0.12);
      border: 2px solid rgba(53, 152, 235, 0.45);
      color: #0e6ecb;
      display: grid;
      place-items: center;
      font-size: 1.4rem;
      flex-shrink: 0;
    }
    .feature-copy h4 {
      margin: 0 0 6px;
      font-size: 1.06rem;
      color: var(--navy-2);
    }
    .feature-copy p {
      margin: 0;
      color: var(--muted);
      line-height: 1.45;
      font-size: 0.88rem;
    }

    .listings-section {
      width: min(1280px, calc(100% - 32px));
      margin: 24px auto 0;
    }
    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 18px;
    }
    .section-head h2 {
      margin: 0;
      font-size: clamp(2.1rem, 2.8vw, 3.2rem);
      font-weight: 800;
      letter-spacing: -0.05em;
      color: var(--navy-2);
    }
    .section-head a {
      color: var(--theme-deep);
      font-weight: 700;
      font-size: 0.95rem;
    }
    .listing-grid {
      display: grid;
      grid-template-columns: minmax(0, 4fr) minmax(250px, 0.8fr);
      gap: 18px;
      align-items: start;
    }
    .property-column {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .property-stack {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      align-items: stretch;
    }
    .property-stack--secondary {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .property-card {
      background: rgba(255,255,255,0.96);
      border: 1px solid rgba(17, 36, 54, 0.08);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 16px 30px rgba(15, 34, 54, 0.06);
      transition: transform .25s ease, box-shadow .25s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .property-image {
      position: relative;
      min-height: 210px;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      padding: 14px 12px;
    }
    .property-image--one { background-image: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1200&q=80'); }
    .property-image--two { background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1200&q=80'); }
    .property-image--three { background-image: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1200&q=80'); }
    .property-image--four { background-image: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1200&q=80'); }
    .property-image--five { background-image: url('https://images.unsplash.com/photo-1448630360428-65456885c650?auto=format&fit=crop&w=1200&q=80'); }
    .property-image--six { background-image: url('https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=1200&q=80'); }
    .property-image--seven { background-image: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1200&q=80'); }
    .tag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      color: white;
      background: rgba(7, 114, 184, 0.8);
    }
    .fav-btn {
      width: 30px;
      height: 30px;
      border: 1px solid rgba(255,255,255,0.8);
      border-radius: 50%;
      background: rgba(255,255,255,0.25);
      color: white;
      font-size: 1.1rem;
      cursor: pointer;
    }
    .property-body {
      padding: 16px 14px 18px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .price-row {
      font-size: 1.02rem;
      color: var(--navy-2);
      margin-bottom: 8px;
      font-weight: 800;
    }
    .property-address {
      min-height: 48px;
      color: var(--muted);
      line-height: 1.5;
      font-size: 0.9rem;
      margin-bottom: 10px;
    }
    .meta-row {
      display: flex;
      align-items: center;
      gap: 18px;
      padding-top: 12px;
      margin-top: 10px;
      border-top: 1px solid rgba(17, 36, 54, 0.08);
      color: var(--muted);
      font-size: 0.8rem;
      font-weight: 600;
    }
    .agent-showcase {
      background: linear-gradient(180deg, #edf7ff 0%, #dfeeff 100%);
      border: 1px solid rgba(17, 36, 54, 0.08);
      padding: 16px 14px 18px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      justify-content: flex-start;
      min-height: 100%;
      border-radius: 20px;
      box-shadow: 0 18px 30px rgba(19, 66, 105, 0.08);
    }
    .agent-card-compact {
      width: 100%;
      background: rgba(255,255,255,0.6);
      border: 1px solid rgba(53, 152, 235, 0.28);
      border-radius: 16px;
      padding: 14px 12px 12px;
      box-shadow: 0 16px 22px rgba(18, 65, 103, 0.08), inset 0 0 0 1px rgba(255,255,255,0.3);
    }
    .agent-avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: url('https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
      border: 3px solid rgba(53, 152, 235, 0.4);
      box-shadow: 0 8px 20px rgba(12, 47, 83, 0.18);
      margin: 0 auto 12px;
    }
    .agent-role {
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      color: var(--theme-deep);
      margin-bottom: 6px;
    }
    .agent-showcase h3 {
      margin: 0 0 8px;
      font-size: 1.7rem;
      line-height: 1;
      color: var(--navy-2);
      letter-spacing: -0.04em;
    }
    .agent-divider {
      width: 60px;
      height: 2px;
      background: rgba(13, 41, 70, 0.35);
      margin: 0 auto 10px;
    }
    .agent-showcase p {
      margin: 0 0 14px;
      color: var(--muted);
      line-height: 1.5;
      font-size: 0.85rem;
    }
    .agent-btn {
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: white;
      border: none;
      border-radius: 10px;
      padding: 10px 16px;
      font-weight: 800;
      cursor: pointer;
    }
    .agent-card-small {
      width: 100%;
      margin-top: 12px;
      background: rgba(255,255,255,0.56);
      border: 1px solid rgba(17, 36, 54, 0.08);
      border-radius: 10px;
      padding: 8px 10px;
    }
    .mini-agent-row {
      display: flex;
      align-items: center;
      gap: 10px;
      text-align: left;
    }
    .mini-name {
      font-weight: 800;
      color: var(--navy-2);
      font-size: 0.8rem;
    }
    .mini-role {
      font-size: 0.68rem;
      color: var(--muted);
      margin-top: 2px;
    }
    .agent-stack-list {
      width: 100%;
      margin-top: 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .agent-card-small {
      width: 100%;
      margin-top: 0;
      background: rgba(255,255,255,0.56);
      border: 1px solid rgba(17, 36, 54, 0.08);
      border-radius: 10px;
      padding: 8px 10px;
      transition: all 0.35s ease;
      opacity: 0.9;
      transform: translateY(0);
      animation: agentCardFade 0.5s ease;
    }
    .agent-card-small--alt {
      background: rgba(255,255,255,0.46);
    }
    .agent-card-small.is-active {
      background: rgba(255,255,255,0.82);
      border-color: rgba(53, 152, 235, 0.52);
      box-shadow: 0 10px 20px rgba(19, 71, 119, 0.08);
      opacity: 1;
      transform: translateY(-2px);
      animation: agentCardLift 0.45s ease;
    }
    .mini-agent-row {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
    }
    .mini-agent-copy {
      flex: 1;
      text-align: left;
    }
    .mini-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background-size: cover;
      background-position: center;
      border: 2px solid rgba(53, 152, 235, 0.4);
      flex-shrink: 0;
    }
    .agent-btn--small {
      margin-top: 8px;
      padding: 7px 12px;
      font-size: 0.72rem;
      border-radius: 8px;
      width: auto;
      min-width: 0;
      background: linear-gradient(180deg, #24A6FE 0%, #24A6FE 100%);
      color: white;
    }
    .mini-one { background-image: url('https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=300&q=80'); }
    .mini-two { background-image: url('https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=300&q=80'); }
    .mini-three { background-image: url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=300&q=80'); }

    .agent-stack-list {
      width: 100%;
      margin-top: 12px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: stretch;
    }

    @keyframes agentCardFade {
      from { opacity: 0.35; transform: translateY(8px); }
      to { opacity: 0.9; transform: translateY(0); }
    }

    @keyframes agentCardLift {
      from { opacity: 0.65; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(-2px); }
    }

    .promo-banner {
      width: min(1280px, calc(100% - 32px));
      margin: 28px auto 18px;
      background: linear-gradient(135deg, rgba(8, 117, 185, 0.98), rgba(37, 167, 253, 0.96));
      color: white;
      min-height: 122px;
      border-radius: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 18px 22px;
      box-shadow: 0 22px 34px rgba(34, 116, 179, 0.18);
      position: relative;
      overflow: hidden;
    }
    .promo-banner::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.14));
      pointer-events: none;
    }
    .promo-copy, .promo-actions {
      position: relative;
      z-index: 1;
    }
    .promo-copy {
      display: flex;
      align-items: baseline;
      gap: 10px;
      flex-wrap: wrap;
      font-family: "Cormorant Garamond", serif;
      letter-spacing: -0.04em;
    }
    .promo-copy span {
      font-size: clamp(2rem, 2.8vw, 3.2rem);
      font-weight: 700;
    }
    .promo-copy strong {
      font-size: clamp(1.5rem, 2vw, 2.2rem);
      font-weight: 700;
      font-family: "Cormorant Garamond", serif;
    }
    .promo-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .mini-pill {
      min-height: 42px;
      padding: 0 18px;
      border: 1px solid rgba(255,255,255,0.5);
      background: rgba(255,255,255,0.08);
      color: white;
      border-radius: 999px;
      font-weight: 700;
      cursor: pointer;
    }
    .explore-btn {
      min-height: 42px;
      padding: 0 18px;
      border: none;
      border-radius: 999px;
      background: white;
      color: var(--theme-dark);
      font-weight: 800;
      cursor: pointer;
    }

    .results-panel {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 26px;
      width: min(1280px, calc(100% - 32px));
      margin: 30px auto 0;
      padding: 30px 32px;
      background: linear-gradient(135deg, rgba(8, 117, 185, 0.96), rgba(37, 167, 253, 0.94));
      color: var(--white);
      border-radius: 24px;
      align-items: center;
      box-shadow: 0 20px 38px rgba(11, 89, 140, 0.14);
      border: 1px solid rgba(255,255,255,0.08);
    }
    .results-left h2 {
      margin: 0;
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2.2rem, 3vw, 4rem);
      line-height: 0.9;
      letter-spacing: -0.06em;
      font-weight: 700;
    }
    .results-right {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
    }
    .results-right p {
      margin: 0;
      max-width: 660px;
      line-height: 1.6;
      color: rgba(255,255,255,0.9);
      font-size: 0.96rem;
    }
    .contact-button {
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: var(--white);
      border: none;
      border-radius: 10px;
      padding: 12px 18px;
      font-weight: 700;
      cursor: pointer;
      min-width: 140px;
      box-shadow: 0 12px 24px rgba(6, 52, 88, 0.18);
    }

    .services-grid {
      width: min(1280px, calc(100% - 32px));
      margin: 30px auto 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
    }
    .service-card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.96));
      border: 1px solid rgba(14, 36, 55, 0.08);
      overflow: hidden;
      min-height: 180px;
      border-radius: 18px;
      box-shadow: 0 18px 30px rgba(14, 36, 55, 0.05);
    }
    .service-image {
      min-height: 190px;
      background-size: cover;
      background-position: center;
    }
    .service-copy {
      padding: 22px 18px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .service-copy h3 {
      margin: 0 0 10px;
      font-size: 1.2rem;
      color: var(--navy-2);
      font-weight: 700;
    }
    .service-copy p {
      margin: 0;
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.6;
    }

    .agent-banner {
      width: min(1280px, calc(100% - 32px));
      margin: 30px auto 0;
      background: linear-gradient(90deg, rgba(25, 84, 150, 1), rgba(23, 68, 127, 0.96));
      color: var(--white);
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 18px;
      padding: 32px 32px 12px;
      align-items: center;
    }
    .agent-label {
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      font-weight: 700;
      margin-bottom: 12px;
      opacity: 0.9;
    }
    .agent-copy h2 {
      margin: 0 0 18px;
      font-family: "Cormorant Garamond", serif;
      font-weight: 700;
      letter-spacing: -0.04em;
      font-size: clamp(2.4rem, 3vw, 4rem);
      line-height: 0.9;
    }
    .agent-copy p {
      margin: 0 0 18px;
      line-height: 1.7;
      max-width: 700px;
      color: rgba(255,255,255,0.9);
      font-size: 0.96rem;
    }

    .agent-copy { position: relative; }
    .learn-btn {
      background: rgba(255,255,255,0.13);
      border: 1px solid rgba(255,255,255,0.5);
      color: var(--white);
      border-radius: 10px;
      padding: 12px 18px;
      font-weight: 700;
      cursor: pointer;
    }
    .agent-visual {
      display: flex;
      justify-content: center;
      align-items: end;
      min-height: 260px;
    }
    .agent-photo {
      width: min(100%, 400px);
      height: 330px;
      border-radius: 20px 20px 0 0;
      background: url('https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
      box-shadow: 0 18px 48px rgba(3, 19, 38, 0.22);
      border: 6px solid rgba(255,255,255,0.22);
    }

.appraisal-modal {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.25s ease, visibility 0.25s ease;
      z-index: 2000;
      overflow-y: auto;
      overscroll-behavior: contain;
    }
    .appraisal-modal.is-open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }
    .appraisal-modal__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(8, 18, 34, 0.58);
      backdrop-filter: blur(6px);
    }
    .appraisal-modal__dialog {
      position: relative;
      z-index: 1;
      width: min(700px, calc(100% - 8px));
      max-width: 700px;
      min-height: 470px;
      max-height: min(760px, calc(100dvh - 24px));
      background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,248,255,0.98));
      border: 1px solid rgba(20, 52, 86, 0.08);
      border-radius: 30px;
      box-shadow: 0 28px 68px rgba(4, 28, 49, 0.25);
      padding: 0 20px 20px;
      color: var(--navy-2);
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      overflow-y: auto;
      overflow-x: hidden;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      margin: auto;
    }
    .appraisal-modal__close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 38px;
      height: 38px;
      border: 1px solid rgba(255,255,255,0.7);
      border-radius: 50%;
      background: rgba(12, 44, 72, 0.55);
      color: #ffffff;
      font-size: 1.6rem;
      line-height: 1;
      cursor: pointer;
      z-index: 2;
      box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    }
    .appraisal-modal__image {
      width: calc(100% + 40px);
      margin: 0 -20px 18px;
      height: 165px;
      min-height: 165px;
      max-height: 190px;
      background:
        linear-gradient(135deg, rgba(7, 41, 72, 0.42), rgba(7, 41, 72, 0.18)),
        url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
      border-radius: 30px 30px 0 0;
      border-bottom: 1px solid rgba(255,255,255,0.18);
      flex-shrink: 0;
    }
    .appraisal-modal__badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(36, 166, 254, 0.1);
      color: var(--theme-dark);
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-weight: 800;
      width: fit-content;
    }
    .appraisal-modal__dialog h3 {
      margin: 18px 0 10px;
      font-size: clamp(2.1rem, 3.3vw, 3rem);
      line-height: 1.02;
      color: var(--navy-2);
      letter-spacing: -0.05em;
      font-family: "Cormorant Garamond", serif;
      flex-shrink: 0;
    }
    .appraisal-modal__dialog p {
      margin: 0 0 18px;
      color: rgba(19, 42, 64, 0.78);
      line-height: 1.7;
      flex-shrink: 0;
    }
    .appraisal-modal__form {
      display: grid;
      gap: 12px;
      width: 100%;
      margin-top: 0;
      flex: 1;
      align-content: start;
    }
    .appraisal-modal__row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    .appraisal-modal__row--three {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .appraisal-modal__field {
      display: grid;
      gap: 6px;
    }
    .appraisal-modal__field label {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(19, 42, 64, 0.72);
    }
    .appraisal-modal__field input,
    .appraisal-modal__field select,
    .appraisal-modal__field textarea {
      width: 100%;
      min-height: 48px;
      border: 1px solid rgba(19, 42, 64, 0.12);
      border-radius: 12px;
      background: rgba(255,255,255,0.9);
      color: var(--navy-2);
      padding: 0 14px;
      outline: none;
      box-sizing: border-box;
      font: inherit;
    }
    .appraisal-modal__field textarea {
      min-height: 80px;
      resize: vertical;
      padding: 12px 14px;
    }
    .appraisal-modal__field input::placeholder,
    .appraisal-modal__field textarea::placeholder {
      color: rgba(19, 42, 64, 0.56);
    }
    .appraisal-modal__field--full {
      grid-column: 1 / -1;
    }
    .appraisal-modal__actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-top: 4px;
      padding-top: 2px;
    }
    .appraisal-modal__consent {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: rgba(19, 42, 64, 0.8);
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      flex: 1;
    }
    .appraisal-modal__consent input {
      width: 16px;
      height: 16px;
      accent-color: var(--theme-dark);
      cursor: pointer;
      margin: 0;
    }
    .appraisal-modal__submit {
      min-height: 54px;
      min-width: 160px;
      border: none;
      border-radius: 14px;
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: var(--white);
      font-size: 1rem;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 18px 26px rgba(8, 99, 169, 0.22);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      padding: 0 24px;
    }
    .appraisal-modal__submit:hover {
      transform: translateY(-1px);
      box-shadow: 0 20px 28px rgba(8, 99, 169, 0.28);
    }

    @media (max-width: 900px) {
      .appraisal-modal__dialog {
        width: min(620px, calc(100% - 10px));
        max-height: calc(100dvh - 18px);
        border-radius: 24px;
        padding: 0 16px 16px;
      }
      .appraisal-modal__image {
        width: calc(100% + 32px);
        margin: 0 -16px 14px;
        height: 130px;
        min-height: 130px;
      }
      .appraisal-modal__row,
      .appraisal-modal__row--three {
        grid-template-columns: 1fr;
      }
      .appraisal-modal__actions {
        flex-direction: column;
        align-items: stretch;
      }
      .appraisal-modal__submit {
        width: 100%;
      }
    }

    @media (max-width: 520px) {
      .appraisal-modal {
        padding: max(12px, env(safe-area-inset-top)) 8px max(12px, env(safe-area-inset-bottom)) 8px;
      }
      .appraisal-modal__dialog {
        width: calc(100% - 4px);
        border-radius: 18px;
        padding: 0 12px 12px;
      }
      .appraisal-modal__close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
      }
      .appraisal-modal__badge {
        font-size: 0.64rem;
        letter-spacing: 0.08em;
      }
      .appraisal-modal__dialog h3 {
        margin-top: 14px;
        font-size: clamp(1.8rem, 6vw, 2.5rem);
      }
      .appraisal-modal__dialog p {
        font-size: 0.92rem;
      }
      .appraisal-modal__field label {
        font-size: 0.66rem;
      }
      .appraisal-modal__field input,
      .appraisal-modal__field select {
        min-height: 46px;
      }
      .appraisal-modal__actions {
        gap: 10px;
      }
    }

    @media (max-height: 620px) and (orientation: landscape) {
      .appraisal-modal {
        align-items: flex-start;
        padding-top: max(8px, env(safe-area-inset-top));
        padding-bottom: max(8px, env(safe-area-inset-bottom));
      }
      .appraisal-modal__dialog {
        width: min(820px, calc(100% - 8px));
        max-height: calc(100dvh - 16px);
        min-height: 0;
        padding-bottom: 12px;
      }
      .appraisal-modal__image {
        height: 110px;
        min-height: 110px;
      }
      .appraisal-modal__dialog h3 {
        margin-top: 12px;
        font-size: clamp(1.7rem, 4vw, 2.3rem);
      }
      .appraisal-modal__dialog p {
        margin-bottom: 12px;
      }
      .appraisal-modal__form {
        gap: 8px;
      }
      .appraisal-modal__row--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .appraisal-modal__field input,
      .appraisal-modal__field select,
      .appraisal-modal__field textarea {
        min-height: 42px;
      }
    }

    .sell-layout {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 20px 30px;
      background: #f6f8fb;
    }

    .sell-hero {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 24px;
      align-items: center;
      min-height: 440px;
      padding: 38px 0 18px;
      background: #f5f7fa;
    }

    .sell-copy {
      max-width: 560px;
      padding-left: 24px;
    }

    .sell-kicker {
      font-size: 1.1rem;
      letter-spacing: 0.16em;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 12px;
    }

    .sell-copy h2 {
      margin: 0;
      color: var(--navy);
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(3rem, 4vw, 5rem);
      line-height: 0.9;
      letter-spacing: -0.05em;
      font-weight: 700;
    }

    .sell-copy h2 span {
      color: var(--theme);
      display: inline-block;
    }

    .sell-copy p {
      margin: 18px 0 24px;
      font-size: 1.05rem;
      line-height: 1.7;
      color: rgba(13, 26, 42, 0.78);
      max-width: 520px;
    }

    .sell-start-btn {
      min-height: 46px;
      padding: 0 26px;
      border: none;
      border-radius: 999px;
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: white;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 10px 18px rgba(37, 167, 253, 0.22);
    }

    .sell-visual {
      min-height: 360px;
      border-radius: 18px;
      background: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
      box-shadow: 0 18px 40px rgba(10, 35, 57, 0.16);
    }

    .sell-assessment {
      padding: 12px 0 10px;
      text-align: center;
    }

    .sell-assessment h3 {
      margin: 0 0 26px;
      font-size: clamp(1.9rem, 2.3vw, 2.6rem);
      letter-spacing: -0.04em;
      font-weight: 800;
      color: var(--navy);
      font-family: "Cormorant Garamond", serif;
    }

    .assess-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
      align-items: stretch;
      text-align: left;
    }

    .assess-item {
      background: rgba(255,255,255,0.7);
      border: 1px solid rgba(18, 43, 63, 0.08);
      border-radius: 14px;
      padding: 16px 18px;
      min-height: 170px;
    }

    .assess-label {
      font-size: 1rem;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 10px;
    }

    .assess-item p {
      margin: 0;
      color: rgba(13, 26, 42, 0.72);
      line-height: 1.55;
      font-size: 0.92rem;
    }

    .assess-preview {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .tablet-card {
      width: min(100%, 250px);
      min-height: 100%;
      background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
      border: 1px solid rgba(18, 43, 63, 0.08);
      border-radius: 18px 18px 20px 20px;
      box-shadow: 0 14px 36px rgba(15, 46, 76, 0.12);
      padding: 18px 16px 14px;
      position: relative;
    }

    .tablet-thumb {
      height: 120px;
      border-radius: 10px;
      background: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=700&q=80') center/cover no-repeat;
      border: 1px solid rgba(18, 43, 63, 0.08);
      margin-bottom: 14px;
    }

    .tablet-brand {
      font-size: 1.4rem;
      font-weight: 800;
      font-family: "Cormorant Garamond", serif;
      line-height: 0.9;
      color: var(--navy);
      letter-spacing: -0.04em;
    }

    .tablet-brand span {
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      color: rgba(12, 35, 58, 0.72);
      display: block;
      margin-top: 6px;
      font-family: "Inter", sans-serif;
      font-weight: 700;
    }

    .tablet-tag {
      margin-top: 10px;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(12, 35, 58, 0.7);
      font-weight: 700;
    }

    .sell-form-wrap {
      margin-top: 30px;
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: white;
      border-radius: 18px;
      padding: 32px 20px 28px;
      text-align: center;
      box-shadow: 0 18px 38px rgba(14, 91, 146, 0.18);
    }

    .sell-form-head {
      font-size: clamp(2.1rem, 3vw, 3.2rem);
      font-weight: 800;
      letter-spacing: -0.05em;
      font-family: "Cormorant Garamond", serif;
      margin-bottom: 6px;
    }

    .sell-form-wrap p {
      margin: 0 0 20px;
      color: rgba(255,255,255,0.9);
      font-size: 0.96rem;
    }

    .sell-form {
      width: min(860px, 100%);
      margin: 0 auto;
      display: grid;
      gap: 16px;
    }

    .sell-input-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .sell-form input {
      min-height: 48px;
      border: 1px solid rgba(255,255,255,0.5);
      border-radius: 10px;
      background: rgba(255,255,255,0.15);
      color: white;
      padding: 0 14px;
      outline: none;
    }

    .sell-form input::placeholder {
      color: rgba(255,255,255,0.9);
    }

    .sell-submit-btn {
      width: 180px;
      min-height: 46px;
      margin: 8px auto 0;
      border: none;
      background: rgba(255,255,255,0.16);
      border: 1px solid rgba(255,255,255,0.7);
      border-radius: 999px;
      color: white;
      font-weight: 800;
      cursor: pointer;
    }

    .sell-steps {
      width: min(1280px, calc(100% - 32px));
      margin: 28px auto 0;
      padding: 18px 0 36px;
    }

    .steps-heading {
      text-align: center;
      margin-bottom: 24px;
    }

    .steps-heading h3 {
      margin: 0 0 8px;
      font-size: clamp(2.2rem, 3vw, 3.1rem);
      font-weight: 800;
      color: var(--navy);
      letter-spacing: -0.05em;
      font-family: "Cormorant Garamond", serif;
    }

    .steps-heading p {
      margin: 0;
      color: rgba(13, 26, 42, 0.7);
      font-size: 0.96rem;
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .step-card {
      background: rgba(255,255,255,0.82);
      border: 1px solid rgba(18, 43, 63, 0.08);
      border-radius: 14px;
      padding: 18px 18px 16px;
      min-height: 180px;
    }

    .step-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(53, 152, 235, 0.08);
      color: var(--theme);
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .step-card h4 {
      margin: 0 0 10px;
      font-size: 1rem;
      color: var(--navy);
    }

    .step-card p {
      margin: 0;
      color: rgba(13, 26, 42, 0.7);
      font-size: 0.9rem;
      line-height: 1.55;
    }

    .info-page {
      width: min(1280px, calc(100% - 32px));
      margin: 0 auto;
      padding: 52px 0 36px;
    }
    .info-intro {
      margin-bottom: 26px;
    }
    .info-label {
      font-size: 0.78rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 800;
      color: var(--theme);
      margin-bottom: 12px;
    }
    .info-intro h2 {
      margin: 0;
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2.4rem, 4vw, 4rem);
      line-height: 0.95;
      letter-spacing: -0.05em;
      color: var(--navy);
      max-width: 760px;
    }
    .info-grid,
    .team-grid,
    .sold-grid,
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }
    .info-card,
    .team-card,
    .sold-card,
    .blog-card {
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(18, 43, 63, 0.08);
      border-radius: 16px;
      padding: 22px 18px;
      box-shadow: 0 10px 18px rgba(16, 52, 82, 0.04);
    }
    .info-card h3,
    .team-card h3,
    .sold-card h3,
    .blog-card h3 {
      margin: 0 0 10px;
      color: var(--navy);
      font-size: 1.2rem;
    }
    .info-card p,
    .team-card p,
    .sold-card p {
      margin: 0;
      color: rgba(13, 26, 42, 0.72);
      line-height: 1.6;
    }
    .team-avatar,
    .sold-image,
    .blog-image {
      border-radius: 12px;
      margin-bottom: 14px;
      background-size: cover;
      background-position: center;
    }
    .team-avatar {
      width: 100%;
      height: 220px;
      background-image: url('https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=900&q=80');
    }
    .team-two { background-image: url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=900&q=80'); }
    .team-three { background-image: url('https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=900&q=80'); }
    .sold-image {
      height: 200px;
      background-size: cover;
    }
    .sold-one { background-image: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=900&q=80'); }
    .sold-two { background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=900&q=80'); }
    .sold-three { background-image: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=900&q=80'); }
    .blog-image {
      height: 180px;
      background-size: cover;
    }
    .blog-one { background-image: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=900&q=80'); }
    .blog-two { background-image: url('https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=900&q=80'); }
    .blog-three { background-image: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=900&q=80'); }
    .contact-page {
      padding-top: 34px;
    }
    .small-intro {
      text-align: center;
      margin-bottom: 20px;
    }
    .small-intro h2 {
      margin: 0 auto;
    }
    .contact-page-form {
      width: min(760px, 100%);
      margin: 0 auto;
      display: grid;
      gap: 16px;
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(18, 43, 63, 0.08);
      border-radius: 16px;
      padding: 26px 22px;
      box-shadow: 0 10px 18px rgba(16, 52, 82, 0.04);
    }
    .contact-page-form input,
    .contact-page-form textarea {
      width: 100%;
      border: 1px solid rgba(18, 43, 63, 0.12);
      border-radius: 10px;
      background: #f8fbff;
      padding: 14px 16px;
      font: inherit;
      color: var(--text);
      resize: vertical;
      min-height: 52px;
    }
    .contact-page-form textarea {
      min-height: 140px;
    }
    .contact-page-form button {
      width: 200px;
      min-height: 48px;
      border: none;
      border-radius: 999px;
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: white;
      font-weight: 800;
      cursor: pointer;
      margin: 0 auto;
    }

    .newsletter {
      background: linear-gradient(135deg, rgba(37,167,253,0.10) 0%, rgba(10,95,157,0.06) 100%);
      color: var(--ink-dark);
      padding: 30px 20px;
      border-top: 1px solid rgba(17, 36, 54, 0.08);
    }
    .newsletter-inner {
      width: min(1280px, calc(100% - 32px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 20px;
      align-items: center;
      background: rgba(255,255,255,0.84);
      border: 1px solid rgba(17, 36, 54, 0.08);
      border-radius: 22px;
      padding: 28px 24px;
      box-shadow: 0 18px 38px rgba(9, 73, 117, 0.08);
    }
    .newsletter-copy h3 {
      margin: 0 0 12px;
      font-size: clamp(1.8rem, 2vw, 2.8rem);
      letter-spacing: -0.04em;
      font-family: "Cormorant Garamond", serif;
      font-weight: 700;
      color: var(--theme-deep);
    }
    .newsletter-copy p {
      margin: 0;
      opacity: 0.9;
      line-height: 1.6;
      max-width: 560px;
      color: var(--muted);
    }
    .newsletter-form {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 12px;
      align-items: center;
    }
    .newsletter-form input {
      min-height: 52px;
      border-radius: 12px;
      border: 1px solid rgba(17, 36, 54, 0.12);
      background: #ffffff;
      padding: 0 14px;
      color: var(--ink-dark);
      outline: none;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
    }
    .newsletter-form input::placeholder { color: rgba(22, 59, 88, 0.58); }
    .newsletter-form button {
      min-height: 52px;
      border-radius: 12px;
      border: 1px solid rgba(10,95,157,0.18);
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: var(--white);
      padding: 0 22px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 12px 22px rgba(37, 167, 253, 0.22);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .newsletter-form button:hover {
      transform: translateY(-1px);
      box-shadow: 0 16px 26px rgba(37, 167, 253, 0.28);
    }

    .site-footer {
      background: linear-gradient(180deg, var(--theme) 0%, var(--theme-dark) 100%);
      color: rgba(255,255,255,0.96);
      display: grid;
      grid-template-columns: minmax(260px, 320px) repeat(3, minmax(160px, 1fr));
      align-items: start;
      gap: 28px;
      padding: 34px 40px 44px;
      border-top: 1px solid rgba(255,255,255,0.12);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
      margin-top: 28px;
    }
    .footer-brand-wrap {
      display: flex;
      flex-direction: column;
      gap: 18px;
      min-width: 260px;
    }
    .footer-brand { line-height: 1; }
    .footer-name {
      font-size: 2rem;
      font-family: "Cormorant Garamond", serif;
      font-weight: 700;
      letter-spacing: 0.06em;
    }
    .footer-sub {
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      font-weight: 700;
      margin-top: 2px;
      opacity: 0.9;
    }
    .footer-details {
      font-size: 0.82rem;
      line-height: 1.8;
      text-align: left;
      opacity: 0.9;
    }
    .footer-links-wrap {
      display: flex;
      justify-content: space-between;
      gap: 36px;
      flex: 1;
      flex-wrap: wrap;
      grid-column: 2 / 5;
      align-items: flex-start;
    }
    .footer-column {
      min-width: 150px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.09);
      border-radius: 14px;
      padding: 14px 16px;
    }
    .footer-column h4 {
      margin: 0 0 10px;
      font-size: 0.82rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      opacity: 0.95;
    }
    .footer-socials,
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 0.82rem;
    }
    .social-link,
    .footer-links a {
      color: rgba(255,255,255,0.9);
      text-decoration: none;
      transition: opacity 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      width: fit-content;
    }
    .social-icon {
      width: 18px;
      height: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.2);
      flex-shrink: 0;
    }
    .social-icon svg {
      width: 10px;
      height: 10px;
      fill: currentColor;
    }
    .footer-socials a:hover,
    .footer-links a:hover {
      opacity: 1;
      text-decoration: underline;
    }

    .reviews-section {
      width: min(1280px, calc(100% - 32px));
      margin: 30px auto 0;
      padding: 30px 28px 10px;
      background: linear-gradient(180deg, rgba(243,247,253,0.96), rgba(241,247,255,0.96));
      border: 1px solid rgba(14, 36, 55, 0.06);
      border-radius: 24px;
      box-shadow: 0 20px 40px rgba(17, 52, 84, 0.04);
    }
    .section-head--reviews {
      margin-bottom: 18px;
    }
    .section-head--reviews h2 {
      margin: 0;
      font-size: clamp(2rem, 3vw, 2.8rem);
      line-height: 1.1;
      color: var(--text);
    }
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
      padding-bottom: 18px;
    }
    .review-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.98));
      border: 1px solid rgba(18, 43, 63, 0.08);
      border-radius: 20px;
      padding: 24px 22px;
      box-shadow: 0 16px 30px rgba(17, 52, 84, 0.05);
    }
    .review-card--featured {
      background: linear-gradient(180deg, rgba(36, 166, 254, 0.08) 0%, rgba(255,255,255,1) 100%);
      border-color: rgba(36, 166, 254, 0.2);
      transform: translateY(-4px);
      line-height: 1.8;
      font-size: 0.96rem;
    }
    .reviewer {
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding-top: 16px;
      border-top: 1px solid rgba(18, 43, 63, 0.08);
      color: var(--text);
    }
    .reviewer-meta {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .reviewer-avatar {
      width: 46px;
      height: 46px;
      min-width: 46px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, rgba(36, 166, 254, 0.13), rgba(36, 166, 254, 0.25));
      border: 1px solid rgba(36, 166, 254, 0.18);
      overflow: hidden;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
    }


    
    .reviewer-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .reviewer-initials {
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      color: var(--primary);
      text-transform: uppercase;
    }
    .reviewer-details {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .reviewer strong {
      font-size: 1rem;
      font-weight: 700;
    }
    .reviewer span {
      color: var(--muted);
      font-size: 0.8rem;
    }

    @media (max-width: 1024px) {
      .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
      }
      .brand-block {
        min-width: auto;
      }
      .main-nav {
        order: 2;
        width: 100%;
        gap: 18px;
      }
      .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
      }
      .hero-section {
        min-height: 720px;
        padding-top: 26px;
      }
      .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
      }
      .hero-copy {
        max-width: 100%;
        padding-left: 0;
        text-align: center;
      }
      .hero-copy p {
        margin-left: auto;
        margin-right: auto;
      }
      .hero-visual {
        min-height: 360px;
      }
      .search-panel {
        width: min(100%, 620px);
        margin: 0 auto;
      }
      .feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .listing-grid {
        grid-template-columns: 1fr;
      }
      .property-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .property-stack--secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .agent-banner,
      .newsletter-inner {
        grid-template-columns: 1fr;
      }
      .results-panel, .services-grid { grid-template-columns: 1fr; }
      .footer-details { text-align: left; }
      .site-footer { flex-direction: column; align-items: flex-start; }
    }

    @media (max-width: 760px) {
      .site-header {
        padding-left: 18px;
        padding-right: 18px;
      }
      .brand-logo {
        max-width: 240px;
        height: 72px;
      }
      .main-nav {
        gap: 14px;
        font-size: 0.8rem;
      }
      .hero-section {
        min-height: 620px;
      }
      .hero-copy h1 {
        font-size: clamp(2.6rem, 10vw, 4.2rem);
      }
      .search-row--filters {
        grid-template-columns: 1fr;
      }
      .search-btn-mini {
        width: 100%;
      }
      .feature-strip,
      .property-stack,
      .property-stack--secondary,
      .info-grid,
      .team-grid,
      .sold-grid,
      .blog-grid,
      .input-row,
      .newsletter-form {
        grid-template-columns: 1fr;
      }
      .results-panel { padding-left: 18px; padding-right: 18px; }
      .results-right { align-items: flex-start; }
      .service-card { grid-template-columns: 1fr; }
      .submit-btn { width: 100%; }
      .hero-kicker { font-size: 2.1rem; }
      .newsletter-inner {
        padding: 18px 16px;
      }
      .newsletter-form {
        gap: 10px;
      }
    }
  


    /* ============================================================
       GILLCO MULTI-PAGE UI
       Primary brand color: #24A6FE
       Existing HTML / assets / JS are retained; these are additive
       page styles and controlled overrides.
       ============================================================ */
    :root {
      --brand: #24A6FE;
      --brand-dark: #24A6FE;
      --brand-deep: #24A6FE;
      --brand-soft: #EAF7FF;
      --brand-pale: #F4FBFF;
      --ink: #163B58;
      --ink-dark: #0D2F4A;
      --muted: #687D8E;
      --line-blue: rgba(36,166,254,.16);
      --page-shadow: 0 16px 40px rgba(10,67,103,.09);
    }

    /* Router */
    .app-view { display: none !important; }
    .app-view.is-active { display: block !important; }
    #home-view.app-view.is-active { display: block !important; }

    body { background: #F4FAFE; color: var(--ink); }
    .page-shell { background: #fff; }
    .main-nav a.active::after {
      background: var(--brand) !important;
    }
    .header-btn,
    .search-btn-mini,
    .search-icon,
    .agent-btn,
    .newsletter-form button {
      background: var(--brand) !important;
    }

    /* Header */
    .site-header {
      background: linear-gradient(135deg, #24A6FE 0%, #24A6FE 100%) !important;
      box-shadow: 0 8px 24px rgba(8,82,128,.16);
      position: relative;
      z-index: 50;
    }
    .main-nav a { cursor: pointer; transition: .2s ease; }
    .main-nav a:hover { opacity: 1; color: #fff; }

    /* Shared page */
    .page-view {
      background:
        radial-gradient(circle at 90% 0%, rgba(36,166,254,.09), transparent 28%),
        #F8FCFF;
      min-height: 100vh;
    }
    .inner-page {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
      padding: 72px 0 86px;
    }
    .page-kicker,
    .section-kicker {
      display: inline-block;
      color: var(--brand-deep);
      font-size: .75rem;
      letter-spacing: .18em;
      font-weight: 800;
      text-transform: uppercase;
    }
    .page-title-block {
      max-width: 820px;
      margin: 0 auto 48px;
      text-align: center;
    }
    .page-title-block h1 {
      margin: 12px 0 14px;
      font-size: clamp(3rem, 6vw, 5.7rem);
      line-height: .9;
      letter-spacing: -.065em;
      color: var(--ink-dark);
      font-family: "Cormorant Garamond", serif;
    }
    .page-title-block h1 span,
    .inner-hero h1 span,
    .contact-page-copy h1 span { color: var(--brand); }
    .page-title-block p {
      margin: 0 auto;
      max-width: 680px;
      color: var(--muted);
      line-height: 1.65;
      font-size: 1rem;
    }
    .page-primary-btn {
      border: 0;
      background: var(--brand);
      color: #fff;
      border-radius: 10px;
      padding: 13px 22px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 9px 18px rgba(36,166,254,.2);
      transition: .2s ease;
    }
    .page-primary-btn:hover {
      background: var(--brand-dark);
      transform: translateY(-1px);
    }
    .page-light-btn {
      border: 1px solid rgba(255,255,255,.72);
      background: #fff;
      color: var(--brand-deep);
      border-radius: 10px;
      padding: 13px 22px;
      font-weight: 800;
      cursor: pointer;
    }

    /* About */
    .inner-hero {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 58px;
      align-items: center;
      min-height: 570px;
    }
    .inner-hero-copy h1 {
      margin: 12px 0 18px;
      max-width: 600px;
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(3.4rem, 6vw, 6.2rem);
      line-height: .86;
      letter-spacing: -.065em;
      color: var(--ink-dark);
    }
    .inner-hero-copy p {
      max-width: 520px;
      color: var(--muted);
      font-size: 1.08rem;
      line-height: 1.7;
      margin: 0 0 26px;
    }
    .inner-hero-art {
      min-height: 470px;
      position: relative;
      display: grid;
      place-items: center;
    }
    .art-card {
      width: min(100%, 470px);
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--page-shadow);
      border: 1px solid #e0edf4;
      transform: rotate(2deg);
    }
    .art-card-image {
      height: 340px;
      background-size: cover;
      background-position: center;
    }
    .about-image {
      background-image: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1100&q=85');
    }
    .art-card-caption { padding: 18px 20px 20px; }
    .art-card-caption strong { display:block; color:var(--ink-dark); font-size:1.2rem; }
    .art-card-caption span { display:block; color:var(--muted); margin-top:5px; font-size:.9rem; }
    .art-stat {
      position: absolute;
      right: 0;
      bottom: 32px;
      width: 170px;
      padding: 22px;
      border-radius: 16px;
      background: var(--brand);
      color: #fff;
      box-shadow: 0 18px 34px rgba(8,112,174,.24);
    }
    .art-stat strong { display:block; font-size:1.8rem; }
    .art-stat span { font-size:.8rem; opacity:.9; }
    .stats-row {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      margin: 34px 0 86px;
      background: #fff;
      border: 1px solid #dfedf5;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--page-shadow);
    }
    .stats-row > div {
      padding: 24px;
      border-right: 1px solid #e5eef3;
      text-align:center;
    }
    .stats-row > div:last-child { border-right:0; }
    .stats-row strong { display:block; font-size:1.8rem; color:var(--brand-deep); }
    .stats-row span { display:block; color:var(--muted); margin-top:5px; font-size:.83rem; }
    .split-section {
      display:grid;
      grid-template-columns:.9fr 1.1fr;
      gap:80px;
      padding: 68px 0;
      border-top:1px solid #dfedf5;
      border-bottom:1px solid #dfedf5;
    }
    .split-section h2,
    .values-section h2,
    .office-team h2,
    .blue-cta h2 {
      margin: 10px 0 0;
      font-family:"Cormorant Garamond",serif;
      color:var(--ink-dark);
      font-size:clamp(2.4rem,4vw,4rem);
      line-height:.95;
      letter-spacing:-.05em;
    }
    .split-section p { color:var(--muted); line-height:1.75; margin:0 0 18px; }
    .values-section { padding:78px 0; }
    .section-heading-centered { text-align:center; max-width:760px; margin:0 auto 38px; }
    .section-heading-centered h2 { color:var(--ink-dark); }
    .section-heading-centered p { color:var(--muted); }
    .value-grid {
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:16px;
    }
    .value-card {
      background:#fff;
      border:1px solid #e0edf4;
      border-radius:16px;
      padding:26px 22px;
      box-shadow:0 9px 24px rgba(13,53,80,.05);
    }
    .value-icon {
      width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
      background:var(--brand-soft);color:var(--brand);font-weight:800;font-size:1.2rem;
      margin-bottom:18px;
    }
    .value-card h3 { margin:0 0 9px;color:var(--ink-dark); }
    .value-card p { margin:0;color:var(--muted);line-height:1.6;font-size:.9rem; }
    .social-showcase {
      padding: 30px 0 12px;
    }
    .social-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }
    .social-card {
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
      border: 1px solid #dfeaf5;
      border-radius: 20px;
      padding: 20px 18px 18px;
      box-shadow: 0 18px 30px rgba(14, 48, 76, 0.06);
      min-height: 250px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .social-card__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }
    .platform-tag {
      color: var(--brand-deep);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }
    .platform-pill {
      background: rgba(36, 166, 254, 0.09);
      color: var(--brand-deep);
      border-radius: 999px;
      padding: 6px 10px;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .social-card strong {
      color: var(--ink-dark);
      font-size: clamp(1.1rem, 2vw, 1.45rem);
      line-height: 1.2;
    }
    .social-stats {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
      color: var(--muted);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.04em;
    }
    .social-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.6;
      font-size: 0.9rem;
    }
    .social-preview {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: auto;
    }
    .mini-shot {
      display: block;
      height: 78px;
      border-radius: 14px;
      background-size: cover;
      background-position: center;
      border: 1px solid rgba(16, 46, 72, 0.08);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
    }
    .mini-shot--one { background-image: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--two { background-image: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--three { background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--four { background-image: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--five { background-image: url('https://images.unsplash.com/photo-1448630360428-65456885c650?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--six { background-image: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--seven { background-image: url('https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--eight { background-image: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--nine { background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--ten { background-image: url('https://images.unsplash.com/photo-1554469384-e58fac16e23a?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--eleven { background-image: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--twelve { background-image: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--thirteen { background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--fourteen { background-image: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--fifteen { background-image: url('https://images.unsplash.com/photo-1448630360428-65456885c650?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--sixteen { background-image: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--seventeen { background-image: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=400&q=80'); }
    .mini-shot--eighteen { background-image: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=400&q=80'); }
    .social-card--instagram { background: linear-gradient(180deg, #fff 0%, #f9f3ff 100%); }
    .social-card--facebook { background: linear-gradient(180deg, #fff 0%, #f4f9ff 100%); }
    .social-card--youtube { background: linear-gradient(180deg, #fff 0%, #fff2f2 100%); }
    .social-card--linkedin { background: linear-gradient(180deg, #fff 0%, #eff8ff 100%); }
    .social-card--tiktok { background: linear-gradient(180deg, #fff 0%, #fff8ef 100%); }
    .social-card--x { background: linear-gradient(180deg, #fff 0%, #f7f8ff 100%); }
    .blue-cta,
    .sold-result-banner {
      display:flex;align-items:center;justify-content:space-between;gap:24px;
      background:linear-gradient(105deg,#24A6FE,#24A6FE);
      color:#fff;border-radius:18px;padding:34px 38px;
      box-shadow:0 18px 36px rgba(8,93,145,.16);
    }
    .blue-cta span,
    .sold-result-banner span { font-size:.7rem;letter-spacing:.16em;font-weight:800;opacity:.9; }
    .blue-cta h2,
    .sold-result-banner h2 { color:#fff;font-size:clamp(2rem,3vw,3rem);margin-top:8px; }

    /* Agents */
    .team-filter-row {
      display:flex;justify-content:center;gap:8px;margin:0 auto 34px;flex-wrap:wrap;
    }
    .team-filter,.sold-filter {
      border:1px solid #d8e8f1;background:#fff;color:var(--ink);
      border-radius:999px;padding:10px 18px;font-weight:700;cursor:pointer;
    }
    .team-filter.is-active,.sold-filter.is-active {
      background:var(--brand);border-color:var(--brand);color:#fff;
    }
    .team-grid {
      display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
    }
    .team-card {
      background:#fff;border:1px solid #dfeaf1;border-radius:16px;overflow:hidden;
      box-shadow:0 10px 26px rgba(15,49,73,.055);transition:.22s ease;
    }
    .team-card:hover { transform:translateY(-4px);box-shadow:0 18px 34px rgba(8,93,145,.12); }
    .team-photo { height:300px;background-size:cover;background-position:center top; }
    .team-photo-one { background-image:url('https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=700&q=85'); }
    .team-photo-two { background-image:url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=700&q=85'); }
    .team-photo-three { background-image:url('https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=700&q=85'); }
    .team-photo-four { background-image:url('https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=700&q=85'); }
    .team-info { padding:20px; }
    .team-info > span { color:var(--brand-dark);font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em; }
    .team-info h3 { margin:6px 0 9px;color:var(--ink-dark);font-size:1.35rem; }
    .team-info p { margin:0 0 14px;color:var(--muted);font-size:.87rem;line-height:1.55; }
    .team-contact { border-top:1px solid #e4edf2;padding-top:12px;color:var(--muted);font-size:.72rem;line-height:1.6; }
    .team-info button { margin-top:14px;border:1px solid var(--brand);background:#fff;color:var(--brand-deep);border-radius:999px;padding:8px 13px;font-size:.75rem;font-weight:800;cursor:pointer; }
    .office-team { padding:90px 0 62px; }
    .office-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:34px 20px;max-width:850px;margin:0 auto; }
    .office-grid > div { text-align:center; }
    .office-avatar {
      width:112px;height:112px;margin:0 auto 10px;border-radius:50%;
      background-size:cover;background-position:center top;filter:saturate(.65);
      border:6px solid #eef8ff;
    }
    .office-one{background-image:url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=300&q=80')}
    .office-two{background-image:url('https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=300&q=80')}
    .office-three{background-image:url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=300&q=80')}
    .office-four{background-image:url('https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=300&q=80')}
    .office-five{background-image:url('https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=300&q=80')}
    .office-six{background-image:url('https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=300&q=80')}
    .office-seven{background-image:url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=300&q=80')}
    .office-eight{background-image:url('https://images.unsplash.com/photo-1501196354995-cbb51c65aaea?auto=format&fit=crop&w=300&q=80')}
    .office-grid strong{display:block;color:var(--ink-dark);font-size:.85rem}.office-grid span{display:block;color:var(--brand-dark);font-size:.68rem;margin-top:4px}

    /* Sold */
    .sold-toolbar {
      display:flex;align-items:center;justify-content:space-between;gap:20px;
      padding:18px 20px;margin-bottom:22px;background:#fff;border:1px solid #dfeaf1;
      border-radius:14px;box-shadow:0 8px 22px rgba(15,49,73,.04);
    }
    .sold-count strong { font-size:1.5rem;color:var(--brand-deep);margin-right:7px; }
    .sold-count span { color:var(--muted);font-size:.82rem; }
    .sold-filters { display:flex;gap:7px;flex-wrap:wrap; }
    .sold-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:20px; }
    .sold-card { background:#fff;border:1px solid #dfeaf1;border-radius:15px;overflow:hidden;box-shadow:0 9px 24px rgba(15,49,73,.05); }
    .sold-image { height:235px;background-size:cover;background-position:center;position:relative; }
    .sold-image span { position:absolute;top:14px;left:14px;background:var(--brand);color:#fff;border-radius:999px;padding:7px 11px;font-size:.68rem;font-weight:800;letter-spacing:.1em; }
    .sold-one{background-image:url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1000&q=85')}
    .sold-two{background-image:url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1000&q=85')}
    .sold-three{background-image:url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1000&q=85')}
    .sold-four{background-image:url('https://images.unsplash.com/photo-1448630360428-65456885c650?auto=format&fit=crop&w=1000&q=85')}
    .sold-five{background-image:url('https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=1000&q=85')}
    .sold-six{background-image:url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1000&q=85')}
    .sold-body { padding:18px;display:grid;grid-template-columns:1fr auto;gap:7px; }
    .sold-body small { color:var(--brand-dark);font-weight:700; }
    .sold-body h3 { margin:5px 0 0;color:var(--ink-dark);font-size:1.08rem; }
    .sold-body > strong { color:var(--brand-deep);font-size:1.05rem; }
    .sold-body p { grid-column:1/-1;margin:6px 0 0;color:var(--muted);font-size:.78rem; }
    .sold-result-banner { margin-top:44px; }

    /* Blog */
    .blog-grid { display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:18px; }
    .blog-card { background:#fff;border:1px solid #dfeaf1;border-radius:16px;overflow:hidden;box-shadow:0 9px 24px rgba(15,49,73,.05); }
    .blog-card > span,.blog-card > div:not(.blog-image) > span { display:block;color:var(--brand-dark);font-size:.68rem;font-weight:800;letter-spacing:.1em;margin:20px 20px 8px; }
    .blog-image { height:220px;background-size:cover;background-position:center; }
    .blog-one{background-image:url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1100&q=85')}
    .blog-two{background-image:url('https://images.unsplash.com/photo-1560185008-b033106af5c3?auto=format&fit=crop&w=900&q=85')}
    .blog-three{background-image:url('https://images.unsplash.com/photo-1554469384-e58fac16e23a?auto=format&fit=crop&w=900&q=85')}
    .blog-card h2,.blog-card h3 { color:var(--ink-dark);margin:6px 20px 10px;line-height:1.1; }
    .blog-card h2 { font-size:1.8rem; }
    .blog-card h3 { font-size:1.25rem; }
    .blog-card p { color:var(--muted);line-height:1.6;margin:0 20px 16px;font-size:.86rem; }
    .blog-card button { margin:0 20px 22px;border:0;background:none;color:var(--brand-deep);font-weight:800;cursor:pointer;padding:0; }

    /* Contact */
    .contact-page-card {
      display:grid;grid-template-columns:1fr 1fr;gap:0;background:#fff;border:1px solid #dfeaf1;
      border-radius:18px;overflow:hidden;box-shadow:var(--page-shadow);max-width:1050px;margin:0 auto;
    }
    .contact-page-copy { padding:58px 52px;background:linear-gradient(150deg,#f4fbff,#e9f7ff); }
    .contact-page-copy h1 { font-family:"Cormorant Garamond",serif;font-size:clamp(3.5rem,6vw,5.5rem);line-height:.85;letter-spacing:-.06em;color:var(--ink-dark);margin:12px 0 18px; }
    .contact-page-copy > p { color:var(--muted);line-height:1.7;max-width:440px; }
    .contact-details { margin-top:35px;display:grid;gap:18px; }
    .contact-details strong { display:block;color:var(--brand-deep);font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:4px; }
    .contact-details span { display:block;color:var(--ink);font-size:.88rem; }
    .contact-page-form { padding:52px; }
    .contact-page-form h2 { margin:0 0 24px;color:var(--ink-dark);font-family:"Cormorant Garamond",serif;font-size:2.3rem; }
    .contact-page-form input,.contact-page-form select,.contact-page-form textarea {
      width:100%;border:0;border-bottom:1px solid #b7cad7;background:transparent;padding:13px 2px;
      outline:none;color:var(--ink);margin-bottom:15px;
    }
    .contact-page-form input:focus,.contact-page-form select:focus,.contact-page-form textarea:focus { border-bottom-color:var(--brand); }
    .form-two { display:grid;grid-template-columns:1fr 1fr;gap:20px; }

    /* Footer remains consistent */
    .site-footer,.newsletter {
      --footer-brand: #24A6FE;
    }
    .newsletter-form button { background:var(--brand) !important; }

    /* Footer bottom separator and copyright */
    .footer-bottom {
      position: static;
      grid-column: 1 / -1;
      align-self: end;
      justify-self: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      padding: 0;
      margin: 0;
    }
    .footer-sep {
      border: 0;
      height: 1px;
      background: rgba(255,255,255,0.12);
      margin: 0 0 8px 0;
      width: 260px;
      max-width: 100%;
    }
    .footer-copyright {
      font-size: 0.95rem;
      opacity: 0.95;
      color: rgba(255,255,255,0.95);
      white-space: nowrap;
      text-align: center;
    }

    @media (max-width: 1024px) {
      .site-footer { grid-template-columns: 1fr; padding: 28px 20px; }
      .footer-brand-wrap { order: 0; }
      .footer-links-wrap { order: 1; width: 100%; display: flex; gap: 18px; justify-content: space-between; }
      .footer-column { min-width: auto; width: calc(33.333% - 12px); }
      .footer-bottom { grid-column: 1 / -1; align-self: center; justify-self: center; margin-top: 18px; }
      .footer-sep { width: 60%; }
    }

    @media (max-width: 600px) {
      .footer-links-wrap { flex-direction: column; gap: 12px; }
      .footer-column { width: 100%; }
      .footer-sep { width: 100%; }
    }

    /* ------------------------------------------------------------------
       Restore hero banner layout: enforce original two-column hero
       with centered content and responsive single-column fallback.
       This override fixes layout regressions introduced earlier.
       ------------------------------------------------------------------ */
    .hero-section {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 36px 20px 16px;
      min-height: 760px;
      position: relative;
      overflow: hidden;
      background: transparent;
    }

    .hero-inner {
      width: min(1280px, 100%);
      max-width: 1280px;
      margin: 0 auto;
      padding: 72px 40px 20px;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 28px;
      align-items: center;
      z-index: 2;
      color: var(--white);
    }

    .hero-copy {
      padding-top: 24px;
      max-width: 620px;
    }

    .hero-visual {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 520px;
    }

    /* Keep hero video covering the background */
    .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

    @media (max-width: 1160px) {
      .hero-inner { grid-template-columns: 1fr; padding-top: 52px; }
      .hero-visual { min-height: 380px; }
      .hero-copy { text-align: center; padding-top: 8px; }
    }

    @media (max-width: 700px) {
      .hero-inner { padding-left: 18px; padding-right: 18px; }
      .hero-copy h1 { font-size: clamp(2.6rem, 10vw, 4.2rem); }
      .hero-inner { gap: 18px; }
    }

    /* Responsive */
    @media (max-width: 1000px) {
      .inner-hero,.split-section,.contact-page-card { grid-template-columns:1fr; }
      .inner-hero { gap:30px; }
      .team-grid { grid-template-columns:repeat(2,1fr); }
      .value-grid { grid-template-columns:repeat(2,1fr); }
      .sold-grid { grid-template-columns:repeat(2,1fr); }
      .blog-grid { grid-template-columns:1fr 1fr; }
      .blog-feature { grid-column:1/-1; }
      .stats-row { grid-template-columns:repeat(2,1fr); }
      .stats-row > div:nth-child(2) { border-right:0; }
      .stats-row > div:nth-child(-n+2) { border-bottom:1px solid #e5eef3; }
      .contact-page-copy,.contact-page-form { padding:38px; }
    }
    @media (max-width: 700px) {
      .inner-page { width:min(100% - 28px,1180px);padding:48px 0 60px; }
      .inner-hero { min-height:auto; }
      .inner-hero-art { min-height:360px; }
      .art-card-image { height:260px; }
      .art-stat { right:0;bottom:5px; }
      .stats-row,.team-grid,.value-grid,.sold-grid,.blog-grid { grid-template-columns:1fr; }
      .stats-row > div { border-right:0;border-bottom:1px solid #e5eef3; }
      .stats-row > div:last-child { border-bottom:0; }
      .team-photo { height:340px; }
      .office-grid { grid-template-columns:repeat(2,1fr); }
      .sold-toolbar { align-items:flex-start;flex-direction:column; }
      .blue-cta,.sold-result-banner { flex-direction:column;align-items:flex-start;padding:26px; }
      .contact-page-card { border-radius:14px; }
      .contact-page-copy,.contact-page-form { padding:28px 22px; }
      .form-two { grid-template-columns:1fr;gap:0; }
      .blog-feature { grid-column:auto; }
    }
  

  /* =========================================================
     HOMEPAGE SEARCH UI
     Visual-only override: keeps the existing search markup,
     modes and functionality unchanged.
     ========================================================= */
  .hero-section .search-panel {
    width: min(760px, 100%);
    margin-top: 26px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-section .search-tabs {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 0 0 -1px 0;
    padding: 0;
    position: relative;
    z-index: 3;
  }

  .hero-section .tab-button {
    appearance: none;
    min-width: 96px;
    height: 48px;
    padding: 0 25px;
    border: 1px solid rgba(255,255,255,.38);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: rgba(255,255,255,.88);
    color: #173f63;
    font: 700 15px/1 Inter, sans-serif;
    cursor: pointer;
    transition: all .2s ease;
  }

  .hero-section .tab-button:hover {
    background: #fff;
    color: #25A7FD;
  }

  .hero-section .tab-button.is-active {
    background: #25A7FD;
    color: #fff;
    border-color: #25A7FD;
    box-shadow: 0 -2px 10px rgba(37,167,253,.18);
  }

  .hero-section .search-form {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 0 18px 18px 18px;
    box-shadow: 0 18px 38px rgba(0,0,0,.14);
  }

  .hero-section .search-form:not(.is-active) {
    display: none;
  }

  .hero-section .search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
  }

  .hero-section .search-row--main {
    height: 56px;
  }

  .hero-section .search-row--main input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 56px;
    box-sizing: border-box;
    padding: 0 18px;
    border: 1px solid #d8e0e8;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #173f63;
    font: 500 15px/1 Inter, sans-serif;
  }

  .hero-section .search-row--main input::placeholder {
    color: #7a8793;
    opacity: 1;
  }

  .hero-section .search-row--main input:focus {
    border-color: #25A7FD;
    box-shadow: 0 0 0 3px rgba(37,167,253,.12);
  }

  .hero-section .search-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #25A7FD;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
  }

  .hero-section .search-icon:hover,
  .hero-section .search-btn-mini:hover {
    background: #168fdc;
  }

  .hero-section .search-icon:hover {
    transform: translateY(-1px);
  }

  .hero-section .search-row--filters {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1.05fr;
    gap: 12px;
    margin-top: 12px;
  }

  .hero-section .search-row--filters .field {
    min-width: 0;
    width: 100%;
  }

  .hero-section .search-row--filters select,
  .hero-section .search-row--filters .field {
    box-sizing: border-box;
  }

  .hero-section .search-row--filters select {
    width: 100%;
    height: 52px;
    padding: 0 42px 0 16px;
    border: 1px solid #d8e0e8;
    border-radius: 11px;
    background-color: #fff;
    color: #173f63;
    font: 500 14px/1 Inter, sans-serif;
    outline: none;
    cursor: pointer;
  }

  .hero-section .search-row--filters select:focus {
    border-color: #25A7FD;
    box-shadow: 0 0 0 3px rgba(37,167,253,.10);
  }

  .hero-section .search-btn-mini {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 11px;
    background: #25A7FD;
    color: #fff;
    font: 700 15px/1 Inter, sans-serif;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
  }

  .hero-section .search-btn-mini:hover {
    transform: translateY(-1px);
  }

  @media (max-width: 760px) {
    .hero-section .search-panel {
      width: 100%;
    }

    .hero-section .search-row--filters {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 520px) {
    .hero-section .tab-button {
      min-width: 0;
      flex: 1 1 0;
      padding: 0 12px;
    }

    .hero-section .search-form {
      padding: 14px;
      border-radius: 0 14px 14px 14px;
    }

    .hero-section .search-row--main {
      height: 50px;
    }

    .hero-section .search-row--main input,
    .hero-section .search-icon {
      height: 50px;
    }

    .hero-section .search-icon {
      flex-basis: 50px;
      width: 50px;
    }

    .hero-section .search-row--filters {
      grid-template-columns: 1fr;
    }
  }


/* Footer newsletter (merged from the former home-page newsletter section) */
.footer-newsletter {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
}
.footer-newsletter__copy h4 {
  margin: 0 0 4px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-newsletter__copy p {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.9;
}
.footer-newsletter__form {
  display: flex;
  gap: 10px;
  flex: 0 1 560px;
}
.footer-newsletter__form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 10px;
  background: rgba(255,255,255,0.96);
  color: var(--ink-dark);
  font: inherit;
  font-size: 0.88rem;
}
.footer-newsletter__form input::placeholder { color: rgba(22,59,88,0.58); }
.footer-newsletter__form button {
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--brand);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(8,82,128,0.18);
  transition: transform .2s ease;
}
.footer-newsletter__form button:hover { transform: translateY(-1px); }
@media (max-width: 1024px) {
  .footer-newsletter { flex-direction: column; align-items: stretch; }
  .footer-links-wrap { grid-column: 1 / -1; }
  .footer-bottom { order: 2; }
  .footer-newsletter__form { flex-basis: auto; }
}
@media (max-width: 600px) {
  .footer-newsletter__form { flex-direction: column; }
  .footer-newsletter__form input { flex: none; }
}

/* Compact spacing: tightens vertical whitespace site-wide without changing colours, type or components */
.page-view,
.property-detail-view { min-height: 0; }
.inner-page { padding: 40px 0 48px; }
.inner-hero { min-height: 0; gap: 40px; }
.inner-hero-art { min-height: 400px; }
.art-card-image { height: 290px; }
.page-title-block { margin-bottom: 28px; }
.stats-row { margin: 24px 0 36px; }
.split-section { padding: 36px 0; gap: 56px; }
.values-section { padding: 44px 0; }
.section-heading-centered { margin-bottom: 26px; }
.office-team { padding: 44px 0 36px; }
.office-grid { gap: 24px 20px; }
.team-filter-row { margin-bottom: 24px; }
.contact-page-copy { padding: 40px 44px; }
.contact-page-form { padding: 36px 44px; }
.contact-page-form h2 { margin-bottom: 16px; }
.sell-hero { min-height: 0; padding: 28px 0 12px; }
.sell-form-wrap { margin-top: 20px; }
.sell-steps { margin-top: 20px; padding-bottom: 24px; }
.property-detail-view { padding: 24px 0 32px; }
.site-footer { margin-top: 24px; }

@media (max-width: 1024px) {
  .split-section { gap: 12px; padding: 28px 0; }
  .inner-hero { gap: 24px; }
}
@media (max-width: 700px) {
  .inner-page { padding: 28px 0 36px; }
  .inner-hero-art { min-height: 320px; }
  .art-card-image { height: 220px; }
  .stats-row { margin: 18px 0 28px; }
  .values-section { padding: 32px 0; }
  .office-team { padding: 32px 0 28px; }
  .contact-page-copy,
  .contact-page-form { padding: 24px 20px; }
}
.page-view ~ .site-footer,
.sell-view ~ .site-footer,
.property-detail-view ~ .site-footer { margin-top: 0; }
.contact-page-form { gap: 8px; }
.contact-page-form h2 { margin-bottom: 8px; }
.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea { min-height: 44px; padding: 10px 2px; margin-bottom: 6px; }
.contact-page-form textarea { min-height: 96px; }
.contact-page-form button { margin-top: 8px; }
.contact-details { margin-top: 24px; gap: 14px; }
.blog-image { height: 200px; }
.blog-card button { margin-bottom: 18px; }

/* Hero video slideshow */
.hero-video { opacity: 0; transition: opacity 1.4s ease; }
.hero-video.is-active { opacity: 1; animation: heroZoom 12s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.hero-dot.is-active { width: 26px; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero-video.is-active { animation: none; }
}

/* Properties page */
.properties-grid { margin-bottom: 36px; }
@media (max-width: 600px) {
  .properties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .properties-grid .property-image { height: 130px; min-height: 130px; padding: 8px; }
  .properties-grid .tag { min-height: 22px; padding: 0 7px; font-size: .6rem; }
  .properties-grid .fav-btn { width: 24px; height: 24px; font-size: .9rem; }
  .properties-grid .property-body { padding: 10px 10px 12px; }
  .properties-grid .price-row { font-size: .9rem; margin-bottom: 4px; }
  .properties-grid .property-address { min-height: 0; font-size: .74rem; line-height: 1.35; }
  .properties-grid .meta-row { font-size: .72rem; gap: 8px; }
}

/* Agent sidebar promos */
.agent-promos { width: 100%; margin-top: 12px; display: grid; gap: 10px; text-align: left; }
.promo-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(17, 36, 54, 0.08);
  color: var(--ink-dark);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.promo-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(19, 66, 105, 0.12); }
.promo-card strong { font-size: .98rem; line-height: 1.2; }
.promo-card__kicker { font-size: .62rem; font-weight: 800; letter-spacing: .14em; color: var(--brand); }
.promo-card__text { font-size: .78rem; line-height: 1.45; opacity: .9; }
.promo-card__cta { margin-top: 4px; font-size: .8rem; font-weight: 800; color: var(--brand); }
.promo-card--appraisal {
  min-height: 150px;
  justify-content: flex-end;
  color: #fff;
  border: 0;
  background:
    linear-gradient(180deg, rgba(13, 47, 74, 0.05) 0%, rgba(13, 47, 74, 0.85) 100%),
    url('../assets/property/facade-2.webp') center / cover;
}
.promo-card--appraisal .promo-card__kicker,
.promo-card--appraisal .promo-card__cta { color: #fff; }
.promo-card--appraisal .promo-card__cta {
  align-self: flex-start;
  margin-top: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand);
}
@media (max-width: 1024px) {
  .agent-promos { display: none; }
}

/* Logo sizing (cropped logo fills the existing header/footer space) */
.brand-logo { height: 90px; max-width: 250px; border-radius: 0; }
.footer-logo { width: auto; height: 84px; max-height: none; max-width: 100%; }
@media (max-width: 1024px) {
  .footer-logo { height: 62px; }
}
@media (max-width: 760px) {
  .brand-logo { height: 72px; max-width: 200px; }
}

/* Header: logo pinned left, partner logo pinned right */
.header-inner { max-width: none; padding: 0 12px; }
.main-nav { flex: 1; }
.partner-logo-link { display: flex; align-items: center; line-height: 0; }
.partner-logo { display: block; height: 90px; width: auto; max-width: 250px; object-fit: contain; }
@media (max-width: 1024px) {
  .header-inner { justify-content: space-between; }
  .partner-logo-link { order: 1; }
  .main-nav { flex: 0 0 100%; }
}
@media (max-width: 760px) {
  .header-inner { padding: 0; }
  .brand-logo { height: 60px; max-width: 160px; }
  .partner-logo { height: 60px; max-width: 160px; }
}

/* Partner listings: grouped collections */
.listing-group { margin-bottom: 36px; scroll-margin-top: 16px; }
.listing-group .section-head { align-items: flex-end; }
.listing-group__intro { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.listing-group .properties-grid { margin-bottom: 0; }
a.sold-filter { text-decoration: none; }

/* Hero: soft dark shade from the bottom-left corner for text contrast */
.hero-section::before {
  background: radial-gradient(ellipse 95% 130% at 0% 100%, rgba(6, 26, 44, 0.65) 0%, rgba(6, 26, 44, 0.35) 45%, rgba(6, 26, 44, 0) 78%);
}

/* Hero headline sizes */
.hero-copy .eyebrow { font-size: 1.25rem; }
.hero-copy h1.hero-title { font-size: clamp(3.6rem, 6.2vw, 7rem); }
@media (max-width: 700px) {
  .hero-copy .eyebrow { font-size: 0.8rem; }
  .hero-copy h1.hero-title { font-size: clamp(3rem, 12vw, 4.6rem); }
}

/* Hero search: wider panel so filter labels are never cut */
.hero-left { min-width: 0; }
.hero-section .search-panel { width: min(900px, 100%); }
.hero-section .search-row--filters { grid-template-columns: repeat(3, minmax(0, 1fr)) 132px; }
.hero-section .search-row--filters select { padding: 0 32px 0 14px; text-overflow: ellipsis; }
@media (min-width: 1161px) {
  .hero-inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
}
@media (max-width: 760px) {
  .hero-section .search-row--filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hero-section .search-row--filters { grid-template-columns: 1fr; }
}

/* Appraisal request form */
.appraisal-form { text-align: left; gap: 12px; }
.appraisal-form__group { margin-top: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.92); }
.sell-input-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sell-input-row--full { grid-template-columns: 1fr; }
.sell-form select,
.sell-form textarea {
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 10px;
  background-color: rgba(255,255,255,0.15);
  color: #fff;
  padding: 0 14px;
  font: inherit;
  outline: none;
}
.sell-form select option { color: #173f63; }
.sell-form textarea { padding: 12px 14px; resize: vertical; }
.sell-form textarea::placeholder { color: rgba(255,255,255,0.9); }
.sell-form input:focus,
.sell-form select:focus,
.sell-form textarea:focus { border-color: #fff; background-color: rgba(255,255,255,0.22); }
.sell-form .is-invalid { border-color: #ffd6d6; box-shadow: 0 0 0 2px rgba(255, 99, 99, 0.55); }
.appraisal-form .sell-submit-btn { width: 220px; background: #fff; color: var(--brand); }
.appraisal-form__error { margin: 0; text-align: center; font-weight: 700; color: #fff; }
.appraisal-success { width: min(760px, 100%); margin: 0 auto; text-align: center; }
.appraisal-success:focus { outline: none; }
.appraisal-success__icon { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 1.6rem; font-weight: 800; }
.appraisal-success h3 { margin: 0 0 6px; font-size: 1.6rem; }
.appraisal-success__steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; }
.appraisal-success__steps li { counter-increment: step; padding: 14px; border-radius: 12px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); }
.appraisal-success__steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 24px; height: 24px; margin-bottom: 8px; border-radius: 50%; background: #fff; color: var(--brand); font-weight: 800; font-size: .8rem; }
.appraisal-success__steps strong { display: block; margin-bottom: 4px; }
.appraisal-success__steps span { font-size: .85rem; opacity: .92; }
.appraisal-success__link { display: inline-grid; place-items: center; width: 220px; text-decoration: none; background: #fff; color: var(--brand); }
.listing-empty { margin: 0 0 32px; padding: 18px; text-align: center; color: var(--muted); background: #fff; border: 1px solid #dfeaf1; border-radius: 14px; }
.listing-empty a { color: var(--brand); font-weight: 700; }
@media (max-width: 700px) {
  .sell-input-row--3 { grid-template-columns: 1fr; }
  .sell-form .sell-input-row:not(.sell-input-row--3) { grid-template-columns: 1fr; }
  .appraisal-success__steps { grid-template-columns: 1fr; }
}

[hidden] { display: none !important; }

/* =========================================================
   Premium property detail page
   ========================================================= */
.pd { padding: 20px 0 40px; background: #F8FCFF; }
.pd-wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.pd-topbar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.pd-back { border: 0; background: none; padding: 0; color: var(--ink-dark); font-weight: 700; cursor: pointer; }
.pd-crumbs { display: flex; gap: 8px; color: var(--muted); font-size: .85rem; flex: 1; }
.pd-crumbs a { color: var(--muted); text-decoration: none; }
.pd-crumbs a:hover { color: var(--brand); }
.pd-actions { display: flex; gap: 8px; }
.pd-icon-btn { padding: 9px 14px; border: 1px solid #dfeaf1; border-radius: 999px; background: #fff; color: var(--ink-dark); font-weight: 700; cursor: pointer; }
.pd-icon-btn:hover, .pd-icon-btn[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); }

.pd-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: 20px; overflow: hidden; }
.pd-gallery__item { position: relative; padding: 0; border: 0; background: #e6f1f8; cursor: zoom-in; overflow: hidden; }
.pd-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.pd-gallery__item:hover img { transform: scale(1.04); }
.pd-gallery__item--main { grid-row: 1 / 3; }
.pd-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 32, 54, 0.55); color: #fff; font-size: 1.2rem; font-weight: 800; }
.pd-gallery__all { position: absolute; right: 16px; bottom: 16px; padding: 10px 16px; border: 0; border-radius: 999px; background: #fff; color: var(--ink-dark); font-weight: 800; box-shadow: 0 10px 24px rgba(8, 32, 54, 0.25); cursor: pointer; }

.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: 24px; align-items: start; }
.pd-header { padding-bottom: 20px; border-bottom: 1px solid #dfedf5; }
.pd-badges { display: flex; gap: 8px; margin-bottom: 10px; }
.pd-badge { padding: 5px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.pd-badge--light { background: var(--brand-soft); color: var(--brand); }
.pd-title { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; color: var(--ink-dark); }
.pd-address { margin: 6px 0 16px; color: var(--muted); font-size: 1rem; }
.pd-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pd-label { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pd-price { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink-dark); }
.pd-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.pd-stats li { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #dfeaf1; }
.pd-stats strong { color: var(--ink-dark); }
.pd-stats small { color: var(--muted); }

.pd-section { padding: 22px 0; border-bottom: 1px solid #dfedf5; }
.pd-section h2 { margin: 0 0 12px; font-size: 1.3rem; color: var(--ink-dark); }
.pd-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pd-desc { margin: 0; color: var(--muted); line-height: 1.8; }
.pd-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pd-features li { position: relative; padding: 10px 12px 10px 36px; border-radius: 10px; background: #fff; border: 1px solid #e3eef5; color: var(--ink); }
.pd-features li::before { content: "✓"; position: absolute; left: 12px; color: var(--brand); font-weight: 800; }
.pd-details { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pd-details div { padding: 12px; border-radius: 10px; background: #fff; border: 1px solid #e3eef5; }
.pd-details dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pd-details dd { margin: 4px 0 0; font-weight: 700; color: var(--ink-dark); }
.pd-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pd-photo { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #e6f1f8; cursor: zoom-in; }
.pd-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pd-photo:hover img { transform: scale(1.06); }
.pd-link-btn { border: 0; background: none; padding: 0; color: var(--brand); font-weight: 800; cursor: pointer; text-decoration: none; }
.pd-inspections { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-inspections li { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid #e3eef5; }
.pd-inspections span { color: var(--muted); }
.pd-map { border-radius: 14px; overflow: hidden; background: #e6f1f8; aspect-ratio: 16 / 7; }
.pd-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.pd-side { position: sticky; top: 16px; scroll-margin-top: 16px; }
.pd-agent-card { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #dfeaf1; box-shadow: 0 18px 36px rgba(13, 53, 80, 0.08); }
.pd-agent { display: flex; align-items: center; gap: 12px; }
.pd-agent-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem; }
.pd-agent strong { display: block; color: var(--ink-dark); font-size: 1.05rem; }
.pd-agent span { color: var(--muted); font-size: .85rem; }
.pd-agent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.pd-btn { display: inline-grid; place-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.pd-btn--light { background: var(--brand-soft); color: var(--brand); font-size: .82rem; }
.pd-enquiry { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid #e3eef5; }
.pd-enquiry h3 { margin: 0 0 4px; font-size: 1rem; color: var(--ink-dark); }
.pd-checks { display: grid; gap: 6px; margin-bottom: 4px; font-size: .85rem; color: var(--ink); }
.pd-checks label { display: flex; align-items: center; gap: 8px; }
.pd-enquiry input[type="text"], .pd-enquiry input[type="email"], .pd-enquiry input[type="tel"], .pd-enquiry textarea {
  width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1px solid #d8e4ec; border-radius: 10px; font: inherit; color: var(--ink); background: #F8FCFF; outline: none;
}
.pd-enquiry textarea { resize: vertical; }
.pd-enquiry input:focus, .pd-enquiry textarea:focus { border-color: var(--brand); }
.pd-enquiry .is-invalid { border-color: #e25555; }
.pd-form-error { margin: 0; color: #c0392b; font-size: .82rem; }
.pd-enquiry-success { padding: 16px; border-radius: 12px; background: var(--brand-soft); color: var(--ink-dark); }
.pd-enquiry-success strong { display: block; margin-bottom: 4px; }

.pd-similar { margin-top: 32px; }
.pd-similar .properties-grid { margin-bottom: 0; }

.pd-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto 1fr auto; background: rgba(5, 18, 30, 0.96); color: #fff; }
.pd-lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-weight: 700; }
.pd-lightbox__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.6rem; cursor: pointer; }
.pd-lightbox__stage { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; min-height: 0; padding: 0 12px; }
.pd-lightbox__stage img { max-width: 100%; max-height: 100%; margin: 0 auto; object-fit: contain; border-radius: 8px; }
.pd-lightbox__nav { width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.14); color: #fff; font-size: 2rem; cursor: pointer; }
.pd-lightbox__nav:hover, .pd-lightbox__close:hover { background: rgba(255,255,255,0.25); }
.pd-lightbox__thumbs { display: flex; gap: 8px; padding: 14px 20px 20px; overflow-x: auto; }
.pd-lightbox__thumbs button { flex: 0 0 96px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #0d2a40; opacity: .6; cursor: pointer; }
.pd-lightbox__thumbs button.is-active { border-color: var(--brand); opacity: 1; }
.pd-lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1024px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-side { position: static; }
  .pd-gallery { grid-template-rows: 180px 180px; }
}
@media (max-width: 700px) {
  .pd-wrap { width: calc(100% - 28px); }
  .pd-crumbs { display: none; }
  .pd-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 110px; border-radius: 14px; }
  .pd-gallery__item--main { grid-column: 1 / 3; grid-row: auto; }
  .pd-gallery__item:nth-child(n+4) { display: none; }
  .pd-gallery__all { right: 10px; bottom: 10px; padding: 8px 12px; font-size: .8rem; }
  .pd-features, .pd-details { grid-template-columns: 1fr 1fr; }
  .pd-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .pd-inspections li { grid-template-columns: 1fr auto; }
  .pd-inspections li span { grid-column: 1; grid-row: 2; }
  .pd-inspections li a { grid-row: 1 / 3; grid-column: 2; }
  .pd-map { aspect-ratio: 4 / 3; }
  .pd-lightbox__stage { grid-template-columns: 1fr; }
  .pd-lightbox__nav { display: none; }
}

/* ---------- Data-driven content & forms ---------- */

/* Spam honeypot: hidden from people, visible to naive bots. */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Content that is filled in from the API fades in once loaded. */
[aria-busy="true"] { opacity: 0; }
.pd-wrap, [data-article] { transition: opacity .25s ease; }

.form-status { margin: 4px 0 0; font-size: .85rem; font-weight: 600; color: var(--brand-dark); }
.form-status.is-error { color: #c0392b; }
.is-invalid { border-color: #c0392b !important; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12) !important; }

a.page-light-btn { display: inline-block; text-decoration: none; }
.footer-details a, .contact-details a { color: inherit; text-decoration: none; }
.footer-details a:hover, .contact-details a:hover { text-decoration: underline; }

.pd-missing { padding: 80px 0; text-align: center; }
.pd-missing h1 { margin-bottom: 12px; }
.article-body p + p { margin-top: 1em; }

/* The copyright line includes the company name from settings, so let it wrap on phones. */
@media (max-width: 600px) {
  .footer-copyright { white-space: normal; text-align: center; }
}
