   @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

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

    :root {
      --gold: #C9A84C;
      --gold-light: #E8C97A;
      --gold-pale: #F5EDD6;
      /* --dark: #0F0D0A; */
      --dark: #001400;
      --dark2: #1A1710;
      --dark3: #252219;
      --text: #E8E2D6;
      --text-muted: rgba(232,226,214,0.5);
      --border: rgba(201,168,76,0.2);
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--dark);
      color: var(--text);
      font-family: 'Inter', sans-serif;
      overflow-x: hidden;
    }

    /* ───── SCROLLBAR ───── */
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: var(--dark); }
    ::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

    /* ───── UTILITIES ───── */
    .serif { font-family: 'Cormorant Garamond', serif; }
    .gold { color: var(--gold); }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 20px;
    }
    .section-label::before, .section-label::after {
      content: '';
      display: block;
      width: 28px;
      height: 1px;
      background: var(--gold);
    }

    .divider {
      width: 100%;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--border), transparent);
    }

    /* ───── HEADER ───── */
    header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 200;
      padding: 0 40px;
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(15,13,10,0.85);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    .logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 22px;
      font-weight: 600;
      letter-spacing: 1px;
      color: var(--text);
    }
    .logo span { color: var(--gold); }
    nav { display: flex; gap: 32px; }
    nav a {
      font-size: 13px;
      font-weight: 500;
      color: var(--text-muted);
      text-decoration: none;
      letter-spacing: 0.5px;
      transition: color 0.3s;
    }
    nav a:hover { color: var(--gold); }
    .header-cta {
      background: transparent;
      border: 1px solid var(--gold);
      border-radius: 2px;
      padding: 9px 22px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--gold);
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s;
    }
    .header-cta:hover {
      background: var(--gold);
      color: var(--dark);
    }

    /* ───── HERO ───── */
    .hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding-top: 72px;
      position: relative;
      overflow: hidden;
    }
    .hero-left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 80px 60px 80px 80px;
      position: relative;
      z-index: 2;
    }
    .hero-eyebrow {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .hero-eyebrow::before {
      content: '';
      display: block;
      width: 40px;
      height: 1px;
      background: var(--gold);
    }
    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 72px;
      font-weight: 300;
      line-height: 1.05;
      letter-spacing: -1px;
      margin-bottom: 32px;
      color: var(--text);
    }
    .hero-title em {
      font-style: italic;
      color: var(--gold);
    }
    .hero-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.8;
      max-width: 420px;
      margin-bottom: 48px;
    }
    .hero-btns {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-gold {
      background: var(--gold);
      color: var(--dark);
      border: none;
      border-radius: 2px;
      padding: 15px 36px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s;
      display: inline-block;
    }
    .btn-gold:hover {
      background: var(--gold-light);
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(201,168,76,0.3);
    }
    .btn-outline {
      background: transparent;
      color: var(--text);
      border: 1px solid rgba(232,226,214,0.2);
      border-radius: 2px;
      padding: 15px 36px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s;
      display: inline-block;
    }
    .btn-outline:hover {
      border-color: var(--gold);
      color: var(--gold);
    }
    .hero-stats {
      display: flex;
      gap: 40px;
      margin-top: 56px;
      padding-top: 40px;
      border-top: 1px solid var(--border);
    }
    .hero-stat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 42px;
      font-weight: 600;
      color: var(--gold);
      line-height: 1;
    }
    .hero-stat-label {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 4px;
      letter-spacing: 0.5px;
    }

    .hero-right {
      position: relative;
      overflow: hidden;
    }
    .hero-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      filter: grayscale(20%);
    }
    .hero-photo-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, var(--dark) 0%, transparent 30%),
                  linear-gradient(to top, var(--dark) 0%, transparent 25%);
    }
    .hero-bg-text {
      position: absolute;
      bottom: 40px;
      right: 30px;
      font-family: 'Cormorant Garamond', serif;
      font-size: 120px;
      font-weight: 700;
      color: rgba(201,168,76,0.05);
      line-height: 1;
      pointer-events: none;
      z-index: 1;
      white-space: nowrap;
    }

    /* ───── ABOUT ───── */
    #about {
      padding: 100px 80px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .about-img-wrap {
      position: relative;
    }
    .about-img {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      border-radius: 2px;
      filter: grayscale(15%);
    }
    .about-img-frame {
      position: absolute;
      top: -20px;
      left: -20px;
      right: 20px;
      bottom: 20px;
      border: 1px solid var(--border);
      border-radius: 2px;
      pointer-events: none;
    }
    .about-badge {
      position: absolute;
      bottom: -24px;
      right: -24px;
      background: var(--dark2);
      border: 1px solid var(--border);
      border-radius: 2px;
      padding: 20px 24px;
      text-align: center;
    }
    .about-badge-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 48px;
      font-weight: 600;
      color: var(--gold);
      line-height: 1;
    }
    .about-badge-text {
      font-size: 11px;
      color: var(--text-muted);
      letter-spacing: 1px;
      margin-top: 4px;
    }
    .about-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 52px;
      font-weight: 300;
      line-height: 1.15;
      margin-bottom: 24px;
    }
    .about-title em { font-style: italic; color: var(--gold); }
    .about-text {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.9;
      margin-bottom: 16px;
    }
    .about-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 32px;
    }
    .about-tag {
      border: 1px solid var(--border);
      border-radius: 2px;
      padding: 7px 16px;
      font-size: 12px;
      color: var(--gold);
      letter-spacing: 0.5px;
    }

    /* ───── SERVICES ───── */
    #services {
      padding: 100px 80px;
      background: var(--dark2);
    }
    #services .inner { max-width: 1100px; margin: 0 auto; }
    .services-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 60px;
    }
    .services-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 52px;
      font-weight: 300;
      line-height: 1.15;
    }
    .services-title em { font-style: italic; color: var(--gold); }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }
    .service-card {
      background: var(--dark3);
      padding: 40px 36px;
      transition: all 0.4s;
      cursor: default;
      position: relative;
      overflow: hidden;
    }
    .service-card::before {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 100%; height: 2px;
      background: var(--gold);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
    }
    .service-card:hover::before { transform: scaleX(1); }
    .service-card:hover { background: #2a2620; }
    .service-icon {
      font-size: 32px;
      margin-bottom: 20px;
    }
    .service-num {
      position: absolute;
      top: 24px; right: 24px;
      font-family: 'Cormorant Garamond', serif;
      font-size: 56px;
      font-weight: 700;
      color: rgba(201,168,76,0.06);
      line-height: 1;
    }
    .service-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 24px;
      font-weight: 500;
      margin-bottom: 14px;
    }
    .service-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.8;
    }

    /* ───── CATALOG ───── */
    #catalog {
      padding: 100px 80px;
    }
    #catalog .inner { max-width: 1200px; margin: 0 auto; }
    .catalog-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 48px;
    }
    .catalog-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 52px;
      font-weight: 300;
      line-height: 1.15;
    }
    .catalog-title em { font-style: italic; color: var(--gold); }
    .catalog-filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }
    .filter-btn {
      background: transparent;
      border: 1px solid var(--border);
      border-radius: 2px;
      padding: 8px 20px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.3s;
    }
    .filter-btn.active, .filter-btn:hover {
      border-color: var(--gold);
      color: var(--gold);
      background: rgba(201,168,76,0.05);
    }

    /* CAROUSEL */
    .carousel-wrap {
      position: relative;
    }
    .carousel-track-outer {
      overflow: hidden;
    }
    .carousel-track {
      display: flex;
      gap: 24px;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .property-card {
      flex: 0 0 calc(33.333% - 16px);
      background: var(--dark2);
      border: 1px solid var(--border);
      border-radius: 2px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.4s;
    }
    .property-card:hover {
      border-color: var(--gold);
      transform: translateY(-4px);
      box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    }
    .property-img-wrap {
      position: relative;
      overflow: hidden;
    }
    .property-img {
      width: 100%;
      height: 240px;
      object-fit: cover;
      transition: transform 0.6s ease;
    }
    .property-card:hover .property-img { transform: scale(1.05); }
    .property-badge {
      position: absolute;
      top: 16px; left: 16px;
      background: rgba(15,13,10,0.85);
      backdrop-filter: blur(8px);
      border: 1px solid var(--border);
      border-radius: 2px;
      padding: 4px 12px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--gold);
    }
    .property-roi {
      position: absolute;
      top: 16px; right: 16px;
      background: var(--gold);
      border-radius: 2px;
      padding: 4px 12px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      color: var(--dark);
    }
    .property-body {
      padding: 24px;
    }
    .property-location {
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .property-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 12px;
      line-height: 1.2;
    }
    .property-meta {
      display: flex;
      gap: 16px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }
    .property-meta span {
      font-size: 12px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .property-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 18px;
      border-top: 1px solid var(--border);
    }
    .property-price {
      font-family: 'Cormorant Garamond', serif;
      font-size: 26px;
      font-weight: 600;
      color: var(--gold);
    }
    .property-price span {
      font-size: 13px;
      color: var(--text-muted);
      font-family: 'Inter', sans-serif;
      font-weight: 400;
    }
    .property-btn {
      background: transparent;
      border: 1px solid var(--gold);
      border-radius: 2px;
      padding: 8px 16px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--gold);
      cursor: pointer;
      transition: all 0.3s;
    }
    .property-btn:hover {
      background: var(--gold);
      color: var(--dark);
    }

    .carousel-controls {
      display: flex;
      gap: 12px;
      justify-content: center;
      margin-top: 40px;
    }
    .carousel-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text);
      font-size: 18px;
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .carousel-btn:hover {
      border-color: var(--gold);
      color: var(--gold);
      background: rgba(201,168,76,0.08);
    }
    .carousel-dots {
      display: flex;
      gap: 8px;
      align-items: center;
    }
    .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--border);
      cursor: pointer;
      transition: all 0.3s;
    }
    .dot.active {
      width: 24px;
      border-radius: 3px;
      background: var(--gold);
    }

    /* ───── MODAL ───── */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.85);
      backdrop-filter: blur(8px);
      z-index: 500;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .modal-overlay.open { display: flex; }
    .modal {
      background: var(--dark2);
      border: 1px solid var(--border);
      border-radius: 2px;
      max-width: 800px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
    }
    .modal-img {
      width: 100%;
      height: 320px;
      object-fit: cover;
    }
    .modal-body { padding: 36px; }
    .modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
    .modal-close {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text-muted);
      width: 36px;
      height: 36px;
      border-radius: 2px;
      cursor: pointer;
      font-size: 18px;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .modal-close:hover { border-color: var(--gold); color: var(--gold); }
    .modal-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 32px;
      font-weight: 600;
      line-height: 1.2;
    }
    .modal-price-big {
      font-family: 'Cormorant Garamond', serif;
      font-size: 42px;
      font-weight: 600;
      color: var(--gold);
      margin-bottom: 24px;
    }
    .modal-details {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 24px;
    }
    .modal-detail {
      background: var(--dark3);
      border: 1px solid var(--border);
      border-radius: 2px;
      padding: 16px;
      text-align: center;
    }
    .modal-detail-val {
      font-family: 'Cormorant Garamond', serif;
      font-size: 22px;
      font-weight: 600;
      color: var(--gold);
    }
    .modal-detail-key {
      font-size: 11px;
      color: var(--text-muted);
      letter-spacing: 1px;
      margin-top: 4px;
    }
    .modal-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 28px;
    }
    .modal-cta {
      display: flex;
      gap: 12px;
    }

    /* ───── PROCESS ───── */
    #process {
      padding: 100px 80px;
      background: var(--dark2);
    }
    #process .inner { max-width: 1100px; margin: 0 auto; }
    .process-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 52px;
      font-weight: 300;
      line-height: 1.15;
      text-align: center;
      margin-bottom: 64px;
    }
    .process-title em { font-style: italic; color: var(--gold); }
    .process-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      position: relative;
    }
    .process-steps::before {
      content: '';
      position: absolute;
      top: 24px;
      left: 12.5%;
      right: 12.5%;
      height: 1px;
      background: linear-gradient(to right, var(--gold), var(--border), var(--gold));
    }
    .process-step {
      text-align: center;
      padding: 0 20px;
    }
    .process-step-num {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 1px solid var(--gold);
      background: var(--dark2);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px;
      font-family: 'Cormorant Garamond', serif;
      font-size: 20px;
      font-weight: 600;
      color: var(--gold);
      position: relative;
      z-index: 1;
    }
    .process-step-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 10px;
    }
    .process-step-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.8;
    }

    /* ───── CONTACT ───── */
    #contact {
      padding: 100px 80px;
    }
    #contact .inner {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }
    .contact-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 52px;
      font-weight: 300;
      line-height: 1.15;
      margin-bottom: 24px;
    }
    .contact-title em { font-style: italic; color: var(--gold); }
    .contact-text {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.9;
      margin-bottom: 40px;
    }
    .contact-links {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .contact-link {
      display: flex;
      align-items: center;
      gap: 16px;
      text-decoration: none;
      color: var(--text);
      font-size: 15px;
      transition: color 0.3s;
    }
    .contact-link:hover { color: var(--gold); }
    .contact-link-icon {
      width: 44px;
      height: 44px;
      border: 1px solid var(--border);
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
      transition: all 0.3s;
    }
    .contact-link:hover .contact-link-icon {
      border-color: var(--gold);
      background: rgba(201,168,76,0.08);
    }
    .form-group { margin-bottom: 20px; }
    .form-label {
      display: block;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 10px;
    }
    .form-input {
      width: 100%;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      border-radius: 2px;
      padding: 14px 18px;
      font-size: 14px;
      color: var(--text);
      font-family: 'Inter', sans-serif;
      outline: none;
      transition: all 0.3s;
    }
    .form-input::placeholder { color: var(--text-muted); }
    .form-input:focus {
      border-color: var(--gold);
      background: rgba(201,168,76,0.04);
    }
    textarea.form-input { resize: vertical; min-height: 120px; }
    .form-select {
      width: 100%;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      border-radius: 2px;
      padding: 14px 18px;
      font-size: 14px;
      color: var(--text);
      font-family: 'Inter', sans-serif;
      outline: none;
      transition: all 0.3s;
      cursor: pointer;
      appearance: none;
    }
    .form-select option { background: var(--dark2); }
    .form-select:focus { border-color: var(--gold); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

    /* ───── FOOTER ───── */
    footer {
      padding: 48px 80px;
      background: var(--dark2);
      border-top: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .footer-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 20px;
      font-weight: 600;
    }
    .footer-logo span { color: var(--gold); }
    .footer-text {
      font-size: 12px;
      color: var(--text-muted);
      text-align: center;
    }
    .footer-socials { display: flex; gap: 12px; }
    .footer-social {
      width: 36px;
      height: 36px;
      border: 1px solid var(--border);
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      text-decoration: none;
      transition: all 0.3s;
    }
    .footer-social:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }

    /* ───── SUCCESS ───── */
    #formSuccess {
      display: none;
      text-align: center;
      padding: 48px 24px;
    }
    #formSuccess .success-icon {
      font-size: 56px;
      margin-bottom: 16px;
    }

    /* ───── RESPONSIVE ───── */
    /* @media (max-width: 1024px) {
      .hero { grid-template-columns: 1fr; }
      .hero-right { display: none; }
      .hero-left { padding: 80px 40px; }
      #about { grid-template-columns: 1fr; padding: 80px 40px; gap: 60px; }
      .about-img-wrap { max-width: 400px; margin: 0 auto; }
      #services { padding: 80px 40px; }
      .services-grid { grid-template-columns: 1fr 1fr; }
      #catalog { padding: 80px 40px; }
      .property-card { flex: 0 0 calc(50% - 12px); }
      #process { padding: 80px 40px; }
      .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
      .process-steps::before { display: none; }
      #contact { padding: 80px 40px; }
      #contact .inner { grid-template-columns: 1fr; gap: 48px; }
      footer { flex-direction: column; gap: 20px; text-align: center; padding: 40px; }
    } */
     @media (max-width: 1024px) {
  .hero { 
    grid-template-columns: 1fr; 
  }
  .hero-right { 
    display: none; 
  }
  .hero-left { 
    padding: 80px 40px; 
  }
  #about { 
    grid-template-columns: 1fr; 
    padding: 80px 40px; 
    gap: 60px; 
  }
  .about-img-wrap { 
    max-width: 400px; 
    margin: 0 auto; 
  }
  #services { 
    padding: 80px 40px; 
  }
  .services-grid { 
    grid-template-columns: 1fr 1fr; 
  }
  #catalog { 
    padding: 80px 40px; 
  }
  .property-card { 
    flex: 0 0 calc(50% - 12px); 
  }
  #process { 
    padding: 80px 40px; 
  }
  .process-steps { 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
  }
  .process-steps::before { 
    display: none; 
  }
  #contact { 
    padding: 80px 40px; 
  }
  #contact .inner { 
    grid-template-columns: 1fr; 
    gap: 48px; 
  }
  footer { 
    flex-direction: column; 
    gap: 20px; 
    text-align: center; 
    padding: 40px; 
  }
}
/* ==================== УЛУЧШЕННАЯ МОБИЛЬНАЯ АДАПТАЦИЯ ==================== */
@media (max-width: 680px) {
  
  body {
    font-size: 15px;
    line-height: 1.75;
  }

  /* HERO */
  .hero-left {
    padding: 70px 24px 110px !important;
  }
  
  .hero-title {
    font-size: 48px !important;
    line-height: 1.08;
    margin-bottom: 28px;
  }

  .hero-desc {
    font-size: 15.5px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 16px;
  }

  .btn-gold, .btn-outline {
    width: 100%;
    padding: 17px 24px;
    font-size: 13.5px;
  }

  .hero-stats {
    gap: 28px;
    margin-top: 52px;
  }

  .hero-stat-num {
    font-size: 34px;
  }

  /* ABOUT */
  #about {
    padding: 80px 24px !important;
    gap: 48px;
  }

  .about-title {
    font-size: 42px !important;
  }

  /* SERVICES */
  #services {
    padding: 80px 24px !important;
  }
  
  .service-card {
    padding: 32px 24px;
  }

  .service-name {
    font-size: 21px;
  }

  /* CATALOG */
  #catalog {
    padding: 80px 24px !important;
  }

  .catalog-title {
    font-size: 42px !important;
  }

  .property-card {
    flex: 0 0 92vw !important;
    margin: 0 auto;
  }

  .property-img {
    height: 215px;
  }

  .property-name {
    font-size: 20px;
  }

  .property-price {
    font-size: 23px;
  }

  /* CAROUSEL */
  .carousel-controls {
    margin-top: 32px;
  }

  .carousel-btn {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  /* PROCESS & CONTACT */
  #process, #contact {
    padding: 80px 24px !important;
  }

  /* Яндекс-форма */
  iframe[src*="yandex.ru/cloud"] {
    height: 780px !important;
  }

  /* FOOTER */
  footer {
    padding: 40px 24px !important;
  }
}

/* Самые маленькие экраны */
@media (max-width: 380px) {
  .hero-title { font-size: 44px !important; }
  .about-title { font-size: 38px !important; }
  .property-card { flex: 0 0 95vw !important; }
}

/* Безопасные зоны для iPhone (Notch, Dynamic Island) */
@supports (padding: max(0px)) {
  header,
  .hero-left,
  #about, #services, #catalog, #process, #contact,
  footer {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}

    /* Анимация для формы */
.form-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 35px;
}

.form-wrapper.open {
  max-height: 1200px;     /* большая высота, чтобы форма полностью раскрылась */
  opacity: 1;
}

.form-inner {
  background: var(--dark2);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 2px;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-wrapper.open .form-inner {
  transform: translateY(0);
}
/* ==================== BURGER MENU ==================== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 210;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gold);
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  flex-direction: column;
  padding: 20px 0;
  z-index: 205;
}

.mobile-nav a {
  padding: 16px 40px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav.open {
  display: flex;
}

/* Анимация бургера */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Показываем бургер только на мобильных */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header-cta {
    display: none; /* прячем кнопку "Записаться" на планшетах и телефонах */
  }
}

@media (max-width: 680px) {
  .header-cta {
    display: none;
  }
}
@media (max-width: 680px) {
  
  #contact .inner {
    max-width: 100% !important;
    padding: 0 24px;
  }

  .contact-title {
    font-size: 42px !important;
  }

  .form-wrapper .form-inner {
    padding: 24px 20px;
  }

  /* Делаем форму удобнее на мобильных */
  iframe[src*="yandex.ru/cloud"] {
    height: 780px !important;   /* можно увеличить до 820px, если кнопка "Далее" всё равно не видно */
  }

  .contact-links {
    margin-top: 60px;
  }

  .contact-link {
    padding: 14px 0;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }

  .contact-link:last-child {
    border-bottom: none;
  }
}
/* ==================== BURGER MENU ==================== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gold);
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  flex-direction: column;
  z-index: 205;
}

.mobile-nav a {
  padding: 16px 40px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open {
  display: flex;
}

/* Анимация бургера */
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ==================== CONTACT RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .burger { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 680px) {
  #contact .inner {
    padding: 80px 24px;
  }

  .contact-desktop {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  .contact-links {
    order: 2;           /* контакты идут после формы */
  }

  iframe[src*="yandex.ru/cloud"] {
    height: 760px !important;
  }

  .form-inner {
    padding: 24px 20px;
  }
}

/* ПК и планшеты оставляем как было */
@media (min-width: 681px) {
  .contact-desktop {
    display: grid;
    grid-template-columns: 1.15fr 380px;
    gap: 70px;
    align-items: start;
  }
}

/* Final contact and burger overrides */
@media (min-width: 681px) {
  .contact-desktop {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 380px);
    gap: 48px;
  }

  .contact-links {
    width: 100%;
    justify-self: end;
  }
}

.form-wrapper {
  width: 100%;
  max-width: 100%;
}

.burger {
  margin-left: auto;
  z-index: 210;
}

.mobile-nav {
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  background: rgba(26,23,16,0.98);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  header {
    padding: 0 24px;
  }

  .contact-desktop {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }
}

@media (max-width: 680px) {
  #contact .inner {
    max-width: 100% !important;
    padding: 0;
  }

  .contact-desktop {
    gap: 60px;
  }

  .contact-links {
    order: 2;
    margin-top: 0;
  }
}

@media (min-width: 681px) {
  #contact .inner {
    max-width: 1180px;
    display: block;
  }

  .contact-desktop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    column-gap: 92px;
    align-items: start;
  }

  .contact-main {
    min-width: 0;
    max-width: 640px;
  }

  .contact-main .contact-text {
    max-width: 520px;
    margin-bottom: 0;
  }

  .contact-main > div[style*="margin: 45px 0 50px"] {
    margin: 42px 0 46px !important;
  }

  .form-wrapper {
    width: 100%;
    max-width: 600px;
  }

  .form-inner {
    padding: 20px 18px;
  }

  .contact-links {
    width: 360px;
    justify-self: end;
    gap: 18px;
    padding-top: 2px;
  }

  .contact-link {
    align-items: flex-start;
    gap: 16px;
  }

  .contact-link-icon {
    width: 44px;
    height: 44px;
  }
}

@media (min-width: 681px) and (max-width: 1024px) {
  #contact {
    padding: 88px 40px;
  }

  .contact-desktop {
    grid-template-columns: minmax(0, 1fr) 320px;
    column-gap: 52px;
  }

  .contact-main {
    max-width: 100%;
  }

  .form-wrapper {
    max-width: 100%;
  }

  .contact-links {
    width: 320px;
  }
}

.form-wrapper.open {
  max-height: 784px;
}

@media (min-width: 681px) {
  .form-wrapper.open {
    overflow: visible;
    padding-bottom: 1px;
  }
}

@media (max-width: 1024px) {
  .form-wrapper.open {
    max-height: 804px;
  }
}

@media (max-width: 680px) {
  iframe[src*="yandex.ru/cloud"] {
    height: 700px !important;
  }

  .form-wrapper.open {
    max-height: 760px;
  }
}

.consent-control {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 560px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.consent-control input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.consent-link {
  display: inline;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#openFormButton[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

#openFormButton[disabled]:hover {
  background: var(--gold);
  color: var(--dark);
  box-shadow: none;
  transform: none;
}

.policy-notice {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 650;
}

.policy-notice.open {
  display: flex;
}

.policy-notice-card {
  position: relative;
  width: min(560px, 100%);
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 28px 28px 24px;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.policy-notice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 2px;
  font-size: 18px;
}

.policy-notice-close:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.policy-notice-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.policy-notice-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 18px;
}

.policy-notice-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.policy-notice-text:last-child {
  margin-bottom: 0;
}
