/* Base */
    html, body {
      height: 100%;
      scroll-behavior: smooth;
    }
    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      color: var(--ink);
      background: #000;
      margin: 0;
      overflow-x: hidden;
    }
    
    /* HERO fixed background */
    .bg-hero {
      position: fixed;
      inset: 0;
      z-index: -2;
      background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=2000&q=80&auto=format&fit=crop') center/cover no-repeat;
      filter: saturate(110%) contrast(102%);
      will-change: transform;
    }
    .bg-veil {
      position: fixed;
      inset: 0;
      z-index: -1;
      background: linear-gradient(180deg, rgba(0,0,0,.40) 0%, rgba(255,255,255,.78) 38%, rgba(255,255,255,.88) 100%);
    }
    
    /* Header */
    .smart-header {
      transition: transform .35s ease, background-color .2s ease, box-shadow .2s ease;
      background: rgba(255,255,255,.85);
      backdrop-filter: saturate(140%) blur(8px);
    }
    .smart-header.hide {
      transform: translateY(-100%);
    }
    .smart-header.scrolled {
      box-shadow: 0 10px 25px rgba(0,0,0,.08);
      background: rgba(255,255,255,.92);
    }
    
    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .55rem;
      padding: .9rem 1.2rem;
      border-radius: 1rem;
      font-weight: 800;
      transition: all .3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .btn-primary {
      background: linear-gradient(135deg, #003366, #0a4d99);
      color: #fff;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(0,51,102,.25);
      background: linear-gradient(135deg, #0a4d99, #003366);
    }
    .btn-outline {
      border: 2px solid var(--brand);
      color: var(--brand);
      background: transparent;
    }
    .btn-outline:hover {
      background: var(--brand);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Cards */
    .card {
      background: #fff;
      border-radius: 1.25rem;
      box-shadow: 0 10px 30px rgba(0,0,0,.08);
      overflow: hidden;
      transition: transform .3s ease, box-shadow .3s ease;
    }

    /* Property image carousel */
    .property-carousel {
      position: relative;
      height: 16rem;
      overflow: hidden;
    }
    .property-carousel-inner {
      display: flex;
      transition: transform 0.5s ease;
      height: 100%;
    }
    .property-carousel-img {
      flex: 0 0 100%;
      height: 100%;
      object-fit: cover;
    }
    .property-carousel-nav {
      position: absolute;
      bottom: 1rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 0.5rem;
      z-index: 2;
    }
    .property-carousel-dot {
      width: 0.5rem;
      height: 0.5rem;
      border-radius: 50%;
      background: rgba(255,255,255,0.5);
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .property-carousel-dot.active {
      background: white;
      width: 1rem;
      border-radius: 0.25rem;
    }
    .property-carousel-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 2rem;
      height: 2rem;
      background: rgba(255,255,255,0.8);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 2;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .property-carousel:hover .property-carousel-arrow {
      opacity: 1;
    }
    .property-carousel-arrow.prev {
      left: 1rem;
    }
    .property-carousel-arrow.next {
      right: 1rem;
    }
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 35px rgba(0,0,0,.12);
    }
    .card-img {
      transition: transform .5s ease;
    }
    .card:hover .card-img {
      transform: scale(1.05);
    }
    
    /* Badges */
    .property-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background-color: rgba(255,255,255,.9);
      padding: .25rem .75rem;
      border-radius: 9999px;
      font-weight: 700;
      font-size: .75rem;
      letter-spacing: .05em;
      text-transform: uppercase;
      box-shadow: 0 2px 4px rgba(0,0,0,.1);
    }
    .property-type {
      position: absolute;
      bottom: 1rem;
      left: 1rem;
      background-color: var(--brand);
      color: #fff;
      padding: .25rem .75rem;
      border-radius: 9999px;
      font-weight: 700;
      font-size: .75rem;
      box-shadow: 0 2px 4px rgba(0,0,0,.1);
    }
    
    /* Property details grid */
    .property-details {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: .5rem;
      margin-top: 1rem;
    }
    .property-detail {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: .5rem;
      background: #f3f4f6;
      border-radius: .5rem;
      transition: all .2s ease;
    }
    .property-detail:hover {
      background: #e5e7eb;
      transform: translateY(-2px);
    }
    .property-detail i {
      color: var(--accent);
      margin-bottom: .25rem;
    }
    .property-detail span {
      font-size: .75rem;
      color: var(--muted);
    }
    .property-detail strong {
      font-weight: 700;
      color: var(--ink);
    }
    @media (max-width: 768px) {
      .property-details {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    
    /* Inputs */
    .field {
      border: 1px solid #E5E7EB;
      border-radius: .9rem;
      padding: .85rem 1rem;
      background: #fff;
      outline: none;
      transition: all .2s ease;
    }
    .field:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(42,157,143,.15);
    }

    /* Enhanced search bar */
    .search-container {
      position: relative;
      width: 100%;
      max-width: 600px;
    }
    .search-input {
      width: 100%;
      padding: 1rem 1.5rem;
      padding-left: 3.5rem;
      border-radius: 2rem;
      border: 2px solid #E5E7EB;
      font-size: 1rem;
      transition: all 0.3s ease;
    }
    .search-input:focus {
      border-color: var(--brand);
      box-shadow: 0 5px 15px rgba(0,51,102,0.1);
    }
    .search-icon {
      position: absolute;
      left: 1.5rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
    }
    .search-results {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border-radius: 1rem;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      margin-top: 0.5rem;
      overflow: hidden;
      z-index: 100;
      display: none;
    }
    .search-result-item {
      padding: 1rem 1.5rem;
      cursor: pointer;
      transition: background 0.2s;
    }
    .search-result-item:hover {
      background: #f3f4f6;
    }
    
    /* Reveal on scroll */
    .reveal {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity .7s ease, transform .7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* Mobile menu animation */
    #mobile-menu {
      overflow: hidden;
      max-height: 0;
      transition: max-height .35s ease;
    }
    #mobile-menu.open {
      max-height: 320px;
    }
    
    /* Floating animation */
    .floating {
      animation: float 6s ease-in-out infinite;
    }
    
    /* Pulse animation */
    .pulse {
      animation: pulse-slow 3s infinite;
    }
    
    /* Custom scrollbar */
    ::-webkit-scrollbar {
      width: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #f1f1f1;
    }
    ::-webkit-scrollbar-thumb {
      background: var(--brand);
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #0a4d99;
    }
    
    /* Gradient text */
    .gradient-text {
      background: linear-gradient(90deg, #003366, #2A9D8F);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    
    /* Shine animation */
    @keyframes shine {
      0% { transform: translateX(-100%) rotate(15deg); }
      100% { transform: translateX(100%) rotate(15deg); }
    }
    .animate-shine {
      animation: shine 3s ease-in-out infinite;
    }
    
    /* Text shadow */
    .text-shadow-lg {
      text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    
    /* Custom checkbox */
    .custom-checkbox {
      position: relative;
      padding-left: 1.75rem;
      cursor: pointer;
    }
    .custom-checkbox input {
      position: absolute;
      opacity: 0;
      cursor: pointer;
      height: 0;
      width: 0;
    }
    .checkmark {
      position: absolute;
      top: 0;
      left: 0;
      height: 1.25rem;
      width: 1.25rem;
      background-color: #fff;
      border: 2px solid var(--brand);
      border-radius: 4px;
    }
    .custom-checkbox:hover input ~ .checkmark {
      background-color: #f1f1f1;
    }
    .custom-checkbox input:checked ~ .checkmark {
      background-color: var(--brand);
    }
    .checkmark:after {
      content: "";
      position: absolute;
      display: none;
    }
    .custom-checkbox input:checked ~ .checkmark:after {
      display: block;
    }
    .custom-checkbox .checkmark:after {
      left: 5px;
      top: 1px;
      width: 5px;
      height: 10px;
      border: solid white;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }
    
    /* Testimonial carousel */
    .testimonial-carousel {
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
    }
    .testimonial-slide {
      scroll-snap-align: start;
      flex: 0 0 100%;
    }
    @media (min-width: 768px) {
      .testimonial-slide {
        flex: 0 0 calc(33.333% - 1rem);
      }
    }
    
    /* Property counter */
    .counter {
      font-variant-numeric: tabular-nums;
    }
    
    /* Watermark effect */
    .watermark {
      position: relative;
    }
    .watermark::after {
      content: "TYT";
      position: absolute;
      bottom: 1rem;
      right: 1rem;
      font-size: 6rem;
      font-weight: 800;
      color: rgba(0, 51, 102, 0.05);
      z-index: 0;
      font-family: 'Montserrat', sans-serif;
    }