/* =========================================================================
   Prestige Sunny Vista — site layer
   Loaded after style.css + responsive.css (the shared template). Holds only
   the blocks this site needs that the template does not ship: the image
   logo, the in-page section menu, icon highlights, amenity icons, plan
   cards and blog cards. Everything uses the template's design tokens.
   ========================================================================= */

/* ---------- Logo (image wordmark) ---------- */
.brand-logo{display:block;line-height:0}
.brand-logo img{height:40px;width:auto}
.footer-logo img{height:52px;width:auto;filter:invert(1) brightness(1.1)}
.mobile-nav__head .brand-logo img{height:34px}
@media (min-width:992px){.brand-logo img{height:46px}}

/* ---------- Text brand block: three-letter mark ---------- */
.brand-mark{width:auto;min-width:40px;padding:0 7px;font-size:.98rem;letter-spacing:.04em}
@media (min-width:992px){.brand-mark{min-width:46px;height:46px;font-size:1.1rem}}
.mobile-nav__head .brand-name{font-size:1.15rem}

/* ---------- Hero: clickable slides behind the overlay ---------- */
.hero-slide>a{display:block;height:100%}
.hero-slide::after{pointer-events:none}
.hero-body{pointer-events:none}
.hero-body a,.hero-body button{pointer-events:auto}
.hero h1{text-shadow:0 2px 24px rgba(0,0,0,.25)}

/* ---------- In-page section menu ---------- */
.subnav{
  position:sticky;top:var(--header-h);z-index:800;
  background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);
  -webkit-backdrop-filter:saturate(140%) blur(8px);backdrop-filter:saturate(140%) blur(8px);
}
.subnav__links{
  display:flex;gap:4px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;
  padding:8px 0;
}
.subnav__links::-webkit-scrollbar{display:none}
.subnav__links a{
  flex:0 0 auto;padding:8px 14px;border:1px solid transparent;border-radius:100px;
  font-size:.74rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);white-space:nowrap;
  transition:color var(--t),border-color var(--t),background var(--t);
}
.subnav__links a:hover{color:var(--ink);border-color:var(--line-2)}
.subnav__links a.is-active{color:#fff;background:var(--ink);border-color:var(--ink)}
html.has-subnav{scroll-padding-top:calc(var(--header-h) + 72px)}

/* ---------- Tighter vertical rhythm than the template default ---------- */
:root{--sec-y:40px}
@media (min-width:480px){:root{--sec-y:44px}}
@media (min-width:768px){:root{--sec-y:52px}}
@media (min-width:1024px){:root{--sec-y:58px}}
@media (min-width:1280px){:root{--sec-y:64px}}
.section-head,.section-head--center{margin-bottom:22px!important}
.section-intro{margin-bottom:26px!important}

/* ---------- Section heading + body copy ---------- */
.section-head h2{margin-bottom:0}
.section-head .rule{margin-top:18px}
.section-intro{max-width:78ch;margin:0 auto 34px;text-align:center}
.prose{max-width:none}
.prose>*:first-child{margin-top:0}
.prose ul{padding-left:1.2em}
.prose li::marker{color:var(--gold)}
.prose h3{margin-top:40px}
.prose .table-wrap{margin:8px 0 26px}
/* A paragraph that is nothing but bold text is a sub-heading in this copy
   (e.g. "Key Highlights and Unique Selling Points"). main.js tags those. */
.prose p.p-head{font-family:var(--display);font-size:1.3rem;font-weight:500;color:var(--ink);margin:30px 0 .5em;line-height:1.3}
.prose p.p-head strong{color:inherit;font-weight:inherit}
.prose p.p-head:first-child{margin-top:0}

/* ---------- Highlights with icons ---------- */
.stat--icon{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.stat--icon img{width:38px;height:38px;object-fit:contain;margin-bottom:10px}
.stat--icon .k{margin:0 0 6px;order:0}
.stat--icon .v{font-size:clamp(1.15rem,3.4vw,1.45rem);line-height:1.25}
@media (min-width:992px){.g-6{grid-template-columns:repeat(3,1fr)}}

/* ---------- Plan / image cards with a CTA ---------- */
.plan-card{display:flex;flex-direction:column;border:1px solid var(--line);background:var(--paper);transition:border-color var(--t),box-shadow var(--t),transform var(--t)}
.plan-card:hover{border-color:var(--gold-2);box-shadow:var(--shadow-lift);transform:translateY(-3px)}
.plan-card img{width:100%;height:auto;aspect-ratio:600/350;object-fit:cover;border-bottom:1px solid var(--line)}
.plan-card .btn{margin:16px;margin-top:auto}
.plan-card .btn:first-of-type{margin-top:16px}
.figure--center{max-width:720px;margin:0 auto 36px}
.figure--center img{width:100%}
.plan-center{max-width:640px;margin:0 auto 36px}

/* ---------- Amenity icons ---------- */
.ami-grid{display:grid;gap:12px;grid-template-columns:repeat(2,1fr);margin-bottom:40px}
.ami{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;
  border:1px solid var(--line);background:var(--paper);padding:22px 12px;
  transition:border-color var(--t),background var(--t);
}
.ami:hover{border-color:var(--gold-2);background:var(--gold-wash)}
.ami img{width:46px;height:46px;object-fit:contain}
.ami span{font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);line-height:1.35}
@media (min-width:600px){.ami-grid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:768px){.ami-grid{grid-template-columns:repeat(4,1fr);gap:16px}}
@media (min-width:1024px){.ami-grid{grid-template-columns:repeat(6,1fr)}}

/* ---------- Address block ---------- */
.dist-list .lbl{color:var(--muted);font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.dist-list .val{color:var(--ink-2);text-align:right}

/* ---------- Blog cards ---------- */
.post-card{display:flex;flex-direction:column;height:100%;border:1px solid var(--line);background:var(--paper);color:var(--ink);transition:border-color var(--t),box-shadow var(--t),transform var(--t)}
.post-card:hover{border-color:var(--gold-2);box-shadow:var(--shadow-lift);transform:translateY(-3px);color:var(--ink)}
.post-card img{width:100%;height:auto;aspect-ratio:600/350;object-fit:cover;border-bottom:1px solid var(--line)}
.post-card__title{display:block;padding:18px 20px 20px;font-family:var(--display);font-size:1.3rem;line-height:1.3;text-align:center}
.post-card:hover .post-card__title{color:var(--gold)}

/* ---------- Tables: keep long distance/price tables readable ---------- */
.table-wrap td a.btn{white-space:nowrap}
.table-wrap td.t-strong{white-space:nowrap;font-size:1.15rem}

/* ---------- Enquiry form (country code + mobile on one row) ---------- */
.phone-row{display:flex;gap:8px}
.phone-row select{flex:0 0 132px;width:132px}
.phone-row input{flex:1 1 auto;min-width:0}
.form-card .form-head h3{margin-bottom:0}

/* ---------- Footer (single centred block) ---------- */
.footer-top{display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}
.footer-nav ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;list-style:none;margin:0;padding:0}
.footer-nav li{margin:0}
.footer-nav a{color:#9aa1ab;font-size:.82rem;letter-spacing:.06em}
.footer-nav a:hover{color:var(--gold-2)}
.footer-disclaimer p{max-width:110ch;margin:0 auto 10px;text-align:center}
.footer-disclaimer p:last-child{margin-bottom:0}
.footer-legal{justify-content:center!important;text-align:center}
.footer-legal p{margin:0}
.footer-legal a{font-weight:600}
.footer-legal .links{display:block}

.sticky-cta a span{font-size:.78rem}

/* ---------- Hero: deeper shade so text reads on the bright aerial art ---------- */
.hero-slide::after{
  background:
    linear-gradient(90deg,rgba(12,14,17,.72) 0%,rgba(12,14,17,.35) 45%,rgba(12,14,17,0) 75%),
    linear-gradient(180deg,rgba(12,14,17,.45) 0%,rgba(12,14,17,.15) 40%,rgba(12,14,17,.85) 100%);
}

/* =========================================================================
   INNER PAGES — content markup carried over unchanged from the old theme.
   These rules restyle its classes in this template's design language, so
   the copy, headings and attributes stay exactly as published.
   ========================================================================= */

/* ---------- Grid (the small subset of the old 12-column grid in use) ---------- */
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter)}
.row{display:flex;flex-wrap:wrap;margin:0 -12px}
.row>[class*="col-"]{position:relative;width:100%;padding:0 12px;min-width:0}
.col-6{flex:0 0 50%;max-width:50%}
.col-12{flex:0 0 100%;max-width:100%}
@media (min-width:768px){
  .col-md-3{flex:0 0 25%;max-width:25%}
  .col-md-4{flex:0 0 33.333%;max-width:33.333%}
  .col-md-6{flex:0 0 50%;max-width:50%}
  .col-md-8{flex:0 0 66.666%;max-width:66.666%}
  .col-md-12{flex:0 0 100%;max-width:100%}
}
@media (min-width:992px){
  .col-lg-2{flex:0 0 16.666%;max-width:16.666%}
  .col-lg-3{flex:0 0 25%;max-width:25%}
  .col-lg-4{flex:0 0 33.333%;max-width:33.333%}
  .col-lg-6{flex:0 0 50%;max-width:50%}
  .col-lg-12{flex:0 0 100%;max-width:100%}
}
/* Empty spacer columns (col-md-3 | image | col-md-3) collapse on phones */
@media (max-width:767px){.row>[class*="col-md-3"]:empty{display:none}}
.justify-content-center{justify-content:center}
.text-center{text-align:center}
.img-fluid{max-width:100%;height:auto}
.gap-20{height:20px;clear:both}

/* ---------- Sections ---------- */
section.content,section.project-area{padding:var(--sec-y) 0}
.white-bg{background:var(--paper)}
.solid-bg{background:var(--sand)}
/* Back-to-back sections on the same ground read as one flowing page */
.white-bg+.white-bg,.solid-bg+.solid-bg{padding-top:0}
.border-page>p,.border-page>ul,.border-page>ol,.border-page>h3,.border-page>h4,
.border-page .col-md-12>p,.border-page .col-md-12>ul,.border-page .col-md-12>h3,.border-page .col-md-12>h4{max-width:860px;margin-left:auto;margin-right:auto}
.border-page ul{padding-left:1.2em}
.border-page li::marker{color:var(--gold)}
.border-page h3{margin-top:34px}
.border-page h4{margin-top:24px}
.border-page img{margin-left:auto;margin-right:auto}

/* ---------- Section titles ---------- */
.template-title{margin:0 0 22px}
.main-h2,.into-sub-title{font-size:clamp(1.72rem,5.1vw,2.6rem);margin:0 0 .35em;text-align:center}
h1.main-h2{font-size:clamp(2rem,6vw,3.2rem)}
.main-h2::after{content:"";display:block;width:52px;height:1px;background:var(--gold);margin:18px auto 0}
.published-date{text-align:center;color:var(--muted);font-size:.84rem;letter-spacing:.06em;margin:0 0 18px}

/* ---------- Breadcrumb bar ---------- */
.crumbs .breadcrumb-item.active{color:var(--ink-2);font-weight:500}

/* ---------- Links in running copy ---------- */
.brand-link{font-weight:700;color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--gold-2)}
.brand-link:hover{color:var(--gold)}

/* ---------- Tables ---------- */
.table-wrap{margin:8px auto 26px}
table.table{margin:0}
.border-page>table.table,.border-page .col-md-12>table.table{border:1px solid var(--line)}

/* ---------- Image + CTA cards ---------- */
.floor_plan_Sec{display:flex;flex-direction:column;border:1px solid var(--line);background:var(--paper);margin-bottom:24px;transition:border-color var(--t),box-shadow var(--t)}
.floor_plan_Sec:hover{border-color:var(--gold-2);box-shadow:var(--shadow-lift)}
.floor_plan_Sec img{width:100%;border-bottom:1px solid var(--line)}
.Common_btn,.enquery_now{
  display:flex;align-items:center;justify-content:center;margin:14px;min-height:46px;padding:11px 18px;
  background:var(--ink);color:#fff;border:1px solid var(--ink);
  font-size:.8rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;text-align:center;
  transition:background var(--t),border-color var(--t);
}
.Common_btn:hover,.enquery_now:hover{background:var(--gold);border-color:var(--gold);color:#fff}
.btn-dark{--btn-bg:var(--ink);--btn-bd:var(--ink)}
.all-clients>[class*="col-"]{margin-bottom:24px}
.all-clients img{border:1px solid var(--line)}

/* ---------- Amenity icon blocks ---------- */
.ami-block{height:100%;padding-bottom:16px}
.ami-container{
  height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;
  border:1px solid var(--line);background:var(--paper);padding:22px 12px;transition:border-color var(--t),background var(--t);
}
.ami-container:hover{border-color:var(--gold-2);background:var(--gold-wash)}
.ami-img{width:46px;height:46px;object-fit:contain}
.ami-title{font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);line-height:1.35}

/* ---------- Address / contact blocks ---------- */
.location_depath ul,.company-address ul{list-style:none;padding:0;margin:0 0 18px}
.location_depath li,.company-address li{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line);margin:0}
.step1{color:var(--muted);font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.step2{color:var(--ink-2);text-align:right}
.company-address{border:1px solid var(--line);background:var(--paper);padding:24px}

/* ---------- FAQ cards ---------- */
.sc_fs_faq{max-width:860px;margin:0 auto;border-top:1px solid var(--line);padding:18px 0 6px}
.sc_fs_faq:last-of-type{border-bottom:1px solid var(--line)}
.sc_fs_faq h3{font-size:1.18rem;margin:0 0 8px;line-height:1.35}
.sc_fs_faq p{margin-left:0!important;font-size:.96rem}

/* ---------- Blog card rows ---------- */
#blog .col-md-4{margin-bottom:24px}
#blog .col-md-4>a{display:flex;flex-direction:column;height:100%;border:1px solid var(--line);background:var(--paper);color:var(--ink);transition:border-color var(--t),box-shadow var(--t),transform var(--t)}
#blog .col-md-4>a:hover{border-color:var(--gold-2);box-shadow:var(--shadow-lift);transform:translateY(-3px)}
#blog .col-md-4>a img{aspect-ratio:600/350;object-fit:cover;border-bottom:1px solid var(--line)}
#blog .col-md-4>a label{display:block;padding:16px 18px 18px!important;font-family:var(--display);font-size:1.3rem!important;line-height:1.3;color:var(--ink);text-transform:none;letter-spacing:0;font-weight:500;cursor:pointer}
#blog .col-md-4>a:hover label{color:var(--gold)}
#blog .col-md-4>br{display:none}

/* ---------- Inline enquiry form (contact page) ---------- */
.form-card--inline{box-shadow:none}

/* Article tables carry inline row colours from the old theme; restyle them
   in the template's table look without touching the markup. */
.spe-table tr[style]{background:transparent!important}
.spe-table tr:first-child th,.spe-table tr:first-child td:only-child{background:var(--sand)}
.spe-table th{background:var(--sand);color:var(--ink);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600}
.spe-table tbody tr:hover{background:var(--sand)!important}
.location_depath,.location_depath+*{max-width:860px;margin-left:auto;margin-right:auto}
.form-head .h3{font-family:var(--display);color:var(--ink);font-weight:500;line-height:1.2}
