/*
Theme Name: Ananta Vilasa
Theme URI: https://example.com
Author: Homeseek Realators
Author URI: https://example.com
Description: One-page luxury real-estate landing theme for Ananta Vilasa, Sector 56, Gurgaon. Ported from the original static HTML build.
Version: 1.0.0
License: Proprietary
Text Domain: ananta-vilasa
*/

    :root {
      --ink: #14100a;
      --muted: #6a6357;
      --line: #e7dfce;
      --paper: #fff;
      --cream: #faf5e9;
      --deep: #1c2a1d;         /* forest green */
      --gold: #b0873e;         /* gold */
      --gold-soft: #ecd6a7;
      --rose: #b83b3b;         /* accent */
      --shadow: 0 22px 60px rgba(20, 25, 18, .16);
      --radius: 22px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }
    body.modal-open { overflow: hidden; }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    .serif { font-family: "Playfair Display", Georgia, "Times New Roman", serif; letter-spacing: -.01em; }

    /* --- Topbar --- */
    .topbar {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 50;
      background: rgba(255,255,255,.94);
      border-bottom: 1px solid rgba(231,224,212,.85);
      backdrop-filter: blur(14px);
    }
    .nav {
      width: min(1220px, calc(100% - 32px));
      margin: auto;
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }
    .brand {
      display: flex; align-items: center; gap: 12px;
      font-weight: 800; color: var(--deep);
      letter-spacing: .04em; text-transform: uppercase; font-size: 15px;
    }
    .brand-text span {
      font-family: "Playfair Display", Georgia, "Times New Roman", serif;
      color: var(--deep); font-weight: 700; font-size: 20px;
      letter-spacing: .02em; text-transform: none;
    }
    .nav-links { display: flex; align-items: center; gap: 24px;
      color: #30342f; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
    .nav-links a { position: relative; padding: 4px 0; }
    .nav-links a::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
      height: 1px; background: var(--gold); transform: scaleX(0);
      transform-origin: left; transition: transform .22s ease;
    }
    .nav-links a:hover::after { transform: scaleX(1); }
    .nav-cta {
      border: 0; color: #fff;
      background: linear-gradient(135deg, var(--deep) 0%, #2f4a30 100%);
      padding: 13px 22px; border-radius: 999px;
      font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px;
      box-shadow: 0 10px 24px rgba(21,61,43,.25);
      cursor: pointer;
    }
    .nav-cta:hover { filter: brightness(1.1); }

    /* --- Desktop sidebar --- */
    .desktop-enquiry {
      position: fixed;
      z-index: 55;
      top: 72px;
      right: 20px;
      width: 320px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .side-actions {
      display: grid; grid-template-columns: 1fr 1fr;
      background: var(--deep);
    }
    .side-actions > * {
      background: transparent; color: #fff; border: 0;
      border-right: 1px solid rgba(255,255,255,.16);
      padding: 12px; font-size: 12px; font-weight: 700; text-align: center;
      cursor: pointer; text-decoration: none;
    }
    .side-actions > *:last-child { border-right: 0; }
    .instant-btn {
      display: block; margin: 14px auto 6px; width: calc(100% - 32px);
      padding: 11px 12px; border: 0; border-radius: 8px;
      background: var(--gold); color: #fff; font-weight: 800; font-size: 14px;
      letter-spacing: .04em; cursor: pointer;
    }
    .sidebar-form { padding: 6px 16px 18px; }
    .sidebar-form h3 {
      margin: 4px 0 12px; text-align: center; color: var(--deep);
      font-size: 13px; font-weight: 800; letter-spacing: .05em;
    }
    .sidebar-form input, .sidebar-form select {
      width: 100%; height: 40px; margin-bottom: 8px;
      border: 1px solid var(--line); border-radius: 8px;
      padding: 0 12px; background: #fff; color: var(--ink); outline: none;
    }
    .sidebar-form input:focus, .sidebar-form select:focus {
      border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,135,62,.15);
    }
    .phone-row { display: grid; grid-template-columns: 105px 1fr; gap: 6px; }
    .sidebar-form button[type="submit"] {
      display: block; width: 100%; margin: 6px auto 0;
      padding: 11px; border: 0; border-radius: 8px;
      background: var(--deep); color: #fff; font-weight: 800;
      letter-spacing: .06em; cursor: pointer;
    }

    /* --- Hero --- */
    .hero {
      min-height: 100vh;
      padding: 88px 0 0;
      background: #fff;
      border-bottom: 1px solid var(--line);
      position: relative;
      overflow: hidden;
    }
    .hero-wrap {
      width: min(1220px, calc(100% - 32px));
      margin: auto;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
      gap: 40px;
      align-items: center;
      padding: 40px 0 60px;
    }
    .hero-copy { padding-right: 0; }
    .eyebrow {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 8px 14px; border: 1px solid var(--gold-soft);
      border-radius: 999px; background: var(--cream);
      color: var(--deep); font-size: 11px;
      text-transform: uppercase; letter-spacing: .16em; font-weight: 800;
    }
    .pulse-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--rose); box-shadow: 0 0 0 6px rgba(184,59,59,.18);
    }
    h1.hero-title {
      margin: 22px 0 12px;
      font-size: clamp(40px, 6.6vw, 82px);
      line-height: .96;
      color: var(--deep);
      font-weight: 600;
    }
    h1.hero-title em { color: var(--gold); font-style: italic; font-weight: 400; }
    .hero-sub {
      margin: 0 0 24px;
      color: #453f34;
      font-size: clamp(16px, 1.9vw, 20px);
      max-width: 560px;
    }
    .price-strip {
      display: grid; grid-template-columns: repeat(3, 1fr);
      border: 1px solid var(--line); border-radius: 16px;
      overflow: hidden; margin: 26px 0;
      background: linear-gradient(180deg,#fff,#fbf6ea);
    }
    .price-strip div { padding: 16px; border-right: 1px solid var(--line); }
    .price-strip div:last-child { border-right: 0; }
    .price-strip b { display: block; color: var(--deep); font-size: 20px; line-height: 1.1; font-weight: 700; }
    .price-strip span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }

    .offer-box {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
      margin: 0 0 26px;
    }
    .offer-box p {
      margin: 0; padding: 12px 14px;
      background: var(--cream); border: 1px dashed var(--gold-soft);
      border-radius: 12px; color: #3c352a; font-weight: 700; font-size: 13px;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .primary-btn, .ghost-btn {
      border: 0; border-radius: 999px; padding: 14px 22px;
      font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
      font-size: 12px; cursor: pointer;
    }
    .primary-btn {
      color: #fff; background: linear-gradient(135deg, var(--deep), #2f4a30);
      box-shadow: 0 18px 32px rgba(21,61,43,.24);
    }
    .primary-btn:hover { filter: brightness(1.08); }
    .ghost-btn {
      background: #fff; color: var(--deep); border: 1px solid var(--gold-soft);
    }
    .ghost-btn:hover { background: var(--cream); }
    .review {
      display: inline-flex; align-items: center; gap: 8px;
      margin-top: 24px; color: var(--muted); font-size: 13px;
    }
    .stars { color: var(--gold); letter-spacing: .1em; font-size: 15px; }

    /* Hero media */
    .hero-media {
      position: relative;
      border-radius: 26px;
      overflow: hidden;
      min-height: 560px;
      box-shadow: var(--shadow);
      background: var(--cream);
    }
    .hero-media img {
      position: absolute; inset: 0;
      width: 100%; height: 100%; object-fit: cover;
      opacity: 0; animation: heroFade 12s infinite;
    }
    .hero-media img:nth-child(2) { animation-delay: 4s; }
    .hero-media img:nth-child(3) { animation-delay: 8s; }
    .hero-media::after {
      content: ""; position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55));
    }
    .photo-caption {
      position: absolute; z-index: 2;
      left: 20px; right: 20px; bottom: 20px;
      padding: 16px 18px; border-radius: 16px;
      background: rgba(255,255,255,.9);
      backdrop-filter: blur(12px);
      color: var(--deep); font-weight: 800;
      box-shadow: var(--shadow);
    }
    .photo-caption small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
    @keyframes heroFade {
      0%, 4% { opacity: 0; transform: scale(1.03); }
      12%, 30% { opacity: 1; transform: scale(1); }
      36%, 100% { opacity: 0; transform: scale(1.05); }
    }

    /* --- Sections --- */
    section { padding: 84px 0; background: #fff; }
    .wrap { width: min(1220px, calc(100% - 32px)); margin: auto; }
    .section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
    .section-kicker { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
    h2 { margin: 8px 0 0; color: var(--deep); font-size: clamp(30px, 4.6vw, 56px); line-height: 1.05; font-weight: 600; }
    .lead { max-width: 880px; color: #4c463b; font-size: 17px; }

    /* Overview */
    .overview { background: linear-gradient(180deg,#fff, #fbf6ea 100%); }
    .about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: stretch; }
    .about-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: #fff; box-shadow: 0 15px 45px rgba(0,0,0,.05); }
    .about-card p { color: #4d453a; margin: 0 0 14px; }
    .fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
    .fact { padding: 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--gold-soft); }
    .fact b { display: block; color: var(--deep); font-size: 20px; }
    .fact span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
    .side-photo {
      border-radius: var(--radius);
      position: relative; overflow: hidden; box-shadow: var(--shadow);
      background: var(--cream);
      align-self: stretch;
      min-height: 320px;
    }
    .side-photo img {
      display: block; width: 100%; height: 100%; object-fit: cover;
    }
    .side-photo::after {
      content: "Sector 56 · Gurgaon";
      position: absolute; left: 20px; right: 20px; bottom: 20px;
      color: #fff; font-weight: 800;
      padding: 16px; border: 1px solid rgba(255,255,255,.36);
      border-radius: 14px; background: rgba(0,0,0,.34);
      backdrop-filter: blur(10px);
    }

    /* Pricing */
    .pricing { background: #fff; }
    .price-table {
      width: 100%; border-collapse: separate; border-spacing: 0;
      overflow: hidden; border: 1px solid var(--line);
      border-radius: var(--radius); background: #fff;
      box-shadow: 0 16px 50px rgba(0,0,0,.06);
    }
    .price-table th, .price-table td {
      text-align: left; padding: 20px; border-bottom: 1px solid var(--line);
    }
    .price-table th {
      background: linear-gradient(135deg, var(--deep), #2f4a30); color: #fff;
      text-transform: uppercase; letter-spacing: .12em; font-size: 12px;
    }
    .price-table tr:last-child td { border-bottom: 0; }
    .price-table td:last-child { text-align: right; }
    .mini-btn {
      border: 1px solid var(--gold); background: #fff9ee; color: var(--deep);
      padding: 9px 14px; border-radius: 999px; font-weight: 800;
      cursor: pointer; white-space: nowrap; font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
    }
    .download-panel { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .plan-card {
      position: relative; min-height: 340px; border-radius: var(--radius);
      overflow: hidden; border: 1px solid var(--line);
      box-shadow: var(--shadow); background: #ddd;
    }
    .plan-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95); }
    .plan-overlay {
      position: absolute; inset: 0;
      display: flex; flex-direction: column; justify-content: end; gap: 12px;
      padding: 24px; color: #fff;
      background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75));
    }
    .plan-overlay b { font-size: 26px; line-height: 1.1; }
    .hover-reveal {
      opacity: 0; transform: translateY(10px);
      transition: opacity .28s ease, transform .28s ease;
      width: fit-content;
    }
    .plan-card:hover .hover-reveal,
    .plan-card:focus-within .hover-reveal { opacity: 1; transform: translateY(0); }
    @media (max-width: 980px) {
      .hover-reveal { opacity: 1; transform: none; }
    }

    /* Amenities */
    .amenities { background: linear-gradient(180deg,#fbf6ea,#fff); }
    .amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .amenity {
      border: 1px solid var(--line); border-radius: 18px;
      overflow: hidden; background: #fff;
      box-shadow: 0 10px 26px rgba(0,0,0,.05);
      transition: transform .25s ease, box-shadow .25s ease;
    }
    .amenity:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
    .amenity img { width: 100%; height: 170px; object-fit: cover; }
    .amenity b { display: block; padding: 14px 16px 16px; color: var(--deep); }
    .amenity-icon {
      display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
      border: 1px solid var(--line); border-radius: 18px;
      padding: 30px 16px; background: #fff;
      box-shadow: 0 10px 26px rgba(0,0,0,.05);
      transition: transform .25s ease, box-shadow .25s ease;
    }
    .amenity-icon:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
    .icon-circle {
      width: 64px; height: 64px; border-radius: 50%;
      display: grid; place-items: center;
      background: var(--cream); border: 1px solid var(--gold-soft);
      color: var(--deep);
    }
    .amenity-icon b { color: var(--deep); font-size: 14px; font-weight: 700; }

    /* Gallery */
    .gallery-grid {
      display: grid;
      grid-template-columns: 1.25fr .75fr .75fr;
      grid-template-rows: 240px 240px;
      gap: 16px;
    }
    .gallery-grid figure {
      margin: 0; position: relative; overflow: hidden;
      border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cream);
    }
    .gallery-grid figure:first-child { grid-row: span 2; }
    .gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
    .gallery-grid figure:hover img { transform: scale(1.05); }
    .gallery-grid figcaption {
      position: absolute; left: 16px; bottom: 16px;
      color: #fff; background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.24);
      backdrop-filter: blur(10px); padding: 8px 14px;
      border-radius: 999px; font-weight: 800; font-size: 13px;
    }

    /* Location */
    .location { background: #fbf7ef; }
    .location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .loc-card {
      padding: 20px; border-radius: 16px; background: #fff;
      border: 1px solid var(--line);
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
    }
    .loc-card span { color: var(--muted); font-size: 14px; }
    .loc-card b { color: var(--deep); font-size: 15px; }

    /* Developer */
    .developer {
      display: grid; grid-template-columns: 220px 1fr; gap: 30px;
      align-items: center;
      border: 1px solid var(--line); border-radius: var(--radius);
      padding: 32px; background: #fff;
      box-shadow: 0 16px 44px rgba(0,0,0,.05);
    }
    .dev-logo {
      min-height: 160px; display: grid; place-items: center;
      border-radius: 18px;
      background: linear-gradient(135deg, var(--cream), #fff);
      border: 1px solid var(--gold-soft);
      color: var(--deep); font-weight: 900; text-align: center; padding: 20px;
      font-size: 22px; letter-spacing: .1em;
    }

    /* Footer */
    footer {
      background: var(--deep); color: rgba(255,255,255,.82);
      padding: 46px 0 118px; font-size: 13px;
    }
    footer b { color: #fff; }
    footer a { text-decoration: underline; text-underline-offset: 3px; }
    footer .foot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
    footer h4 { margin: 0 0 12px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .14em; }
    footer .disc { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.68); }

    /* Mobile bottom bar */
    .bottom-bar {
      position: fixed; z-index: 45; left: 50%; transform: translateX(-50%);
      bottom: 14px; width: min(760px, calc(100% - 24px));
      display: grid; grid-template-columns: repeat(3, 1fr);
      background: #fff; border: 1px solid var(--line); border-radius: 18px;
      overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.18);
    }
    .bottom-bar button, .bottom-bar a {
      min-height: 62px; border: 0; background: #fff; color: var(--deep);
      font-weight: 800; border-right: 1px solid var(--line);
      cursor: pointer; font-size: 12px; display: grid; place-items: center; text-align: center;
    }
    .bottom-bar > *:last-child { border-right: 0; background: linear-gradient(135deg, var(--deep), #2f4a30); color: #fff; }

    /* Modal */
    .modal {
      position: fixed; inset: 0; z-index: 100;
      display: none; place-items: center; padding: 18px;
      background: rgba(8,14,10,.6); backdrop-filter: blur(8px);
    }
    .modal.show { display: grid; }
    .modal-card {
      width: min(420px, calc(100vw - 28px));
      max-height: calc(100vh - 28px);
      border-radius: 22px; overflow: hidden;
      background: #fff; box-shadow: 0 35px 100px rgba(0,0,0,.33);
      animation: popIn .28s ease both;
    }
    @keyframes popIn { from { transform: translateY(18px) scale(.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
    .modal-head {
      position: relative; padding: 16px 24px 14px; color: #fff;
      background:
        linear-gradient(135deg, rgba(21,42,29,.94), rgba(21,42,29,.78)),
        url("assets/modal-bg.jpg") center/cover;
    }
    .close-modal {
      position: absolute; z-index: 20; right: 12px; top: 12px;
      width: 36px; height: 36px; border: 0; border-radius: 50%;
      background: rgba(255,255,255,.94); color: var(--deep);
      font-size: 22px; line-height: 1; cursor: pointer;
    }
    .modal-head small {
      display: inline-block; padding: 6px 12px; border-radius: 999px;
      background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.24);
      text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 900;
    }
    .modal-head h3 { margin: 8px 42px 4px 0; font-size: 24px; line-height: 1.1; font-weight: 600; }
    .modal-head p { margin: 6px 0 0; color: rgba(255,255,255,.85); font-size: 13px; }
    form.modal-form { padding: 14px 24px 16px; }
    .field { display: grid; gap: 4px; margin-bottom: 8px; }
    .field label { color: var(--deep); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
    .field input, .field select, .field textarea {
      width: 100%; border: 1px solid var(--line); border-radius: 10px;
      padding: 8px 12px; background: #fff; color: var(--ink); outline: none;
    }
    .field input:focus, .field select:focus, .field textarea:focus {
      border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176,135,62,.14);
    }
    .submit-btn {
      width: 100%; border: 0; border-radius: 12px;
      padding: 10px 16px; color: #fff;
      background: linear-gradient(135deg, var(--deep), #2f4a30);
      font-weight: 900; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
    }
    .consent { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
    .form-status {
      display: none; margin-top: 12px; padding: 12px;
      border-radius: 12px; background: #eef8f1;
      color: #1b6b32; font-weight: 800; font-size: 13px;
    }
    .form-status.show { display: block; }

    /* Responsive */
    @media (min-width: 1081px) {
      body { padding-right: 360px; }
    }
    @media (max-width: 1080px) {
      .desktop-enquiry { display: none; }
      .hero-copy { padding-right: 0 !important; }
    }
    @media (max-width: 980px) {
      .nav-links { display: none; }
      .hero-wrap { grid-template-columns: 1fr; }
      .hero-media { min-height: 400px; }
      .about-grid, .download-panel, .developer { grid-template-columns: 1fr; }
      .amenities-grid { grid-template-columns: repeat(2, 1fr); }
      .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 200px); }
      .gallery-grid figure:first-child { grid-row: span 1; grid-column: span 2; }
      .location-grid { grid-template-columns: 1fr; }
      footer .foot-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 980px) {
      .nav-phone, .nav-wa { display: none; }
    }
    @media (max-width: 640px) {
      .brand-text span { font-size: 15px; }
      .nav-cta { padding: 10px 14px; font-size: 11px; }
      .wa-float { bottom: 90px; }
      .price-strip, .offer-box, .fact-list, .amenities-grid { grid-template-columns: 1fr; }
      .price-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
      .price-strip div:last-child { border-bottom: 0; }
      .section-head { display: block; }
      .price-table th, .price-table td { padding: 14px 12px; font-size: 13px; }
      .price-table td:last-child { text-align: left; }
      .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 200px); }
      .gallery-grid figure:first-child { grid-column: span 1; }
      footer { padding-bottom: 130px; }
    }
