/* =========================================================
   KEYS99 - INDEX.HTML STYLES
   Self-contained: no shared stylesheet. Safe to edit without
   affecting search.html or property-details.html.
========================================================= */

:root{
  --green:#006b5b;
  --green-dark:#004f45;
  --green-soft:#eaf7f3;

  --gold:#e1a400;
  --gold-dark:#bd8300;

  --ink:#092c3d;
  --muted:#6c7d86;
  --line:#e7eceb;

  --cream:#fff9ed;
  --white:#fff;

  --shadow:0 12px 35px rgba(8,45,56,.09);

  --radius:22px;

  /* Type scale - every text size on the site uses one of these.
     label: badges, uppercase labels, counters (the minimum)
     small: secondary text - breadcrumbs, locations, dates, captions
     ui:    navigation, buttons, chips, menus, table cells
     body:  paragraphs, descriptions, FAQ answers
     lead:  card titles, FAQ questions, small headings
     input: text fields - 16px stops iPhones zooming in on focus
     h4/h3: headings inside articles, guides and cards
     Page and section titles keep their own larger sizes. */
  --fs-label:12px;
  --fs-small:13px;
  --fs-ui:14px;
  --fs-body:15px;
  --fs-lead:16px;
  --fs-input:16px;
  --fs-h4:18px;
  --fs-h3:22px;
}

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

/* Smooth scrolling for in-page links (#types, #why, ...). The
   padding stops the target below the sticky header (78px; 68px on
   phones) instead of underneath it. Visitors who ask their device to
   reduce motion get an instant jump. */
html{
  scroll-behavior:smooth;
  scroll-padding-top:90px;
}

@media (max-width:900px){
  html{ scroll-padding-top:80px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
}

body{
  font-family:"DM Sans",sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.5;
  overflow-x:hidden;
}

button,
input,
select{
  font:inherit;
}

button{
  cursor:pointer;
}

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

.container{
  width:min(1200px,calc(100% - 48px));
  margin:auto;
}


/* =========================================================
   HEADER
========================================================= */

.header{
  height:78px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid #edf1f0;

  display:flex;
  align-items:center;

  position:sticky;
  top:0;
  z-index:50;

  backdrop-filter:blur(14px);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}


/* LOGO */

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:max-content;
}

.logo-link{
  display:flex;
  align-items:center;
}

/* assets/logo-wide.png is the logo cropped to its edges (logo.png
   carries wide empty margins), so these widths are all logo. */
.header-logo{
  width:180px;
  height:auto;
  object-fit:contain;
  display:block;
}


/* NAVIGATION */

.nav-links{
  display:flex;
  align-items:center;
  gap:28px;

  font-size:var(--fs-ui);
  font-weight:500;
}

.nav-links a{
  padding:28px 0;
  position:relative;
}

.nav-links a.active,
.nav-links a:hover{
  color:var(--green);
}

.nav-links a.active:after{
  content:"";

  position:absolute;
  bottom:15px;
  left:0;
  right:0;

  height:2px;

  background:var(--green);
}


/* ACTIONS */

.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.menu-btn{
  width:42px;
  height:42px;

  border-radius:12px;
  border:0;

  background:var(--green);
  color:#fff;

  display:none;
  place-items:center;

  font-size:20px;
}

.login-btn{
  border:1px solid #d7e0de;
  background:#fff;

  border-radius:25px;

  padding:10px 17px;

  font-size:var(--fs-ui);
  font-weight:600;

  color:var(--ink);
}

.mobile-menu{
  display:none;
}


/* =========================================================
   HERO
========================================================= */

.hero{
  min-height:430px;

  position:relative;

  display:flex;
  align-items:center;

  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.82) 36%,
      rgba(255,255,255,.05) 72%
    ),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=85")
    center/cover;
}

.hero-content{
  padding:55px 0 78px;
  max-width:650px;
}

.eyebrow,
.section-kicker{
  color:var(--green);

  font-size:var(--fs-label);
  font-weight:700;
  letter-spacing:3px;

  text-transform:uppercase;

  display:flex;
  align-items:center;

  gap:10px;

  margin-bottom:10px;
}

.eyebrow:before,
.section-kicker:before{
  content:"";

  width:28px;
  height:2px;

  background:var(--gold);
}

.hero h1{
  font-size:clamp(42px,5vw,65px);

  line-height:1.05;

  letter-spacing:-2px;

  margin-bottom:17px;
}

.hero h1 span{
  color:var(--gold);
}

.hero p{
  font-size:17px;
  color:#254653;
  max-width:550px;
}


/* =========================================================
   SEARCH
========================================================= */

.search-wrap{
  position:absolute;

  bottom:-28px;

  left:0;
  right:0;

  z-index:4;
}

.search-bar{
  background:#fff;

  border:1px solid #e6ecea;

  border-radius:24px;

  box-shadow:var(--shadow);

  display:grid;

  grid-template-columns:
    1.7fr
    1fr
    1fr
    auto
    auto;

  align-items:center;

  padding:8px;

  position:relative;
}

.search-field{
  min-height:48px;

  display:flex;
  align-items:center;

  gap:11px;

  padding:0 18px;

  border-right:1px solid var(--line);

  color:var(--muted);
}

.search-field-main{
  position:relative;
}

.search-field input,
.search-field select{
  border:0;
  outline:0;

  width:100%;

  color:var(--ink);

  background:transparent;
}

.search-field input::placeholder{
  color:#8b9aa0;
}

.search-icon{
  font-size:21px;
  color:var(--green);
}

.search-button{
  height:48px;

  border:0;

  border-radius:18px;

  background:var(--green);

  color:#fff;

  padding:0 27px;

  font-weight:700;

  display:flex;
  align-items:center;
  gap:8px;

  transition:.25s;

  /* Main call to action: the larger end of the scale. */
  font-size:var(--fs-lead);
}

.search-button:hover{
  background:var(--green-dark);
  transform:translateY(-1px);
}


/* =========================================================
   SEARCH SUGGESTIONS DROPDOWN
========================================================= */

.suggest-dropdown{
  position:absolute;

  top:calc(100% + 10px);
  left:0;
  right:0;

  background:#fff;

  border:1px solid var(--line);

  border-radius:16px;

  box-shadow:var(--shadow);

  padding:8px;

  max-height:300px;
  overflow-y:auto;

  z-index:20;
}

.suggest-dropdown:not([hidden]){
  display:block;
}

.suggest-item{
  display:flex;
  align-items:center;

  gap:10px;

  padding:10px 12px;

  border-radius:10px;

  font-size:var(--fs-ui);
  color:var(--ink);

  cursor:pointer;
}

.suggest-item:hover,
.suggest-item.active{
  background:var(--green-soft);
  color:var(--green-dark);
}

.suggest-icon{
  color:var(--green);
  font-size:15px;
  width:18px;
  text-align:center;
}

.suggest-type{
  margin-left:auto;

  font-size:var(--fs-label);
  font-weight:700;

  text-transform:uppercase;
  letter-spacing:.5px;

  color:var(--muted);
}


/* =========================================================
   FILTER TOGGLE + HERO FILTER PANEL
========================================================= */

.filter-toggle-btn{
  height:48px;

  padding:0 20px;

  border:1px solid var(--line);

  border-radius:18px;

  background:#fff;

  color:var(--ink);

  font-weight:700;
  font-size:var(--fs-ui);

  display:flex;
  align-items:center;
  gap:8px;

  transition:.2s;
}

.filter-toggle-btn svg{
  width:17px;
  height:17px;
  color:var(--green);
}

.filter-toggle-btn:hover,
.filter-toggle-btn.active{
  border-color:var(--green);
  color:var(--green);
  background:var(--green-soft);
}

.hero-filter-panel{
  position:absolute;

  top:calc(100% + 10px);
  right:0;

  width:min(560px,92vw);

  background:#fff;

  border:1px solid var(--line);

  border-radius:20px;

  box-shadow:var(--shadow);

  padding:18px;

  gap:12px;

  z-index:15;
}

.hero-filter-panel:not([hidden]){
  display:grid;
  grid-template-columns:repeat(3,1fr);
}

.hero-filter-panel .filter-field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.hero-filter-panel .filter-field label{
  font-size:var(--fs-label);
  font-weight:700;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.5px;
}

.hero-filter-panel select{
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 11px;
  font-size:var(--fs-ui);
  color:var(--ink);
  background:#fafcfb;
  outline:0;
}

.hero-filter-panel select:focus{
  border-color:var(--green);
}

.hero-filter-actions{
  grid-column:1/-1;

  display:flex;
  gap:10px;
  justify-content:flex-end;

  margin-top:4px;
}

.btn-primary,
.btn-ghost{
  border-radius:10px;
  padding:11px 20px;
  font-weight:700;
  font-size:var(--fs-ui);
  white-space:nowrap;
  transition:.2s;
}

.btn-primary{
  background:var(--green);
  color:#fff;
  border:0;
}

.btn-primary:hover{
  background:var(--green-dark);
}

.btn-ghost{
  background:#fff;
  border:1px solid var(--line);
  color:var(--ink);
}

.btn-ghost:hover{
  border-color:var(--green);
  color:var(--green);
}


/* =========================================================
   STATS
========================================================= */

.stats{
  margin-top:60px;

  background:#fff;

  border:1px solid var(--line);

  border-radius:22px;

  box-shadow:0 8px 30px rgba(0,0,0,.04);

  display:grid;

  grid-template-columns:repeat(4,1fr);
}

.stat{
  padding:22px 15px;

  text-align:center;

  border-right:1px solid var(--line);
}

.stat:last-child{
  border:0;
}

.stat-icon{
  font-size:25px;

  color:var(--green);

  margin-bottom:3px;
}

.stat strong{
  display:block;
  font-size:20px;
}

.stat span{
  font-size:var(--fs-small);
  color:var(--muted);
}


/* =========================================================
   GENERAL
========================================================= */

/* Each section's top and bottom padding together make the gap
   between sections: 40px on desktop, 28px on phones. */
section{
  padding:20px 0;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;

  margin-bottom:23px;
}

.section-title{
  font-size:30px;
  line-height:1.15;
}

.view-all{
  border:0;
  background:none;
  text-decoration:none;

  font-size:var(--fs-ui);
  font-weight:700;

  color:var(--green);

  display:flex;
  gap:8px;
  align-items:center;

  padding:5px 0;

  transition:.2s;
}

.view-all:hover{
  gap:12px;
}

.property-state{
  padding:26px 0;
  text-align:center;
  color:var(--muted);
  font-size:var(--fs-ui);
}

.property-state.property-error{
  color:#b3403a;
}


/* =========================================================
   TYPE CARDS
========================================================= */

.type-grid{
  display:grid;

  /* All six types in a single row. */
  grid-template-columns:repeat(6,1fr);

  gap:14px;
}

.type-card{
  display:block;
  color:inherit;
  text-decoration:none;

  border:1px solid var(--line);

  border-radius:14px;

  overflow:hidden;

  background:#fff;

  cursor:pointer;

  transition:.3s;

  box-shadow:0 5px 20px rgba(0,0,0,.03);
}

.type-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}

/* "Coming soon" types have no link (no href), so they should not
   look clickable either. */
.type-card[aria-disabled="true"]{
  cursor:default;
}

.type-card[aria-disabled="true"]:hover{
  transform:none;
  box-shadow:0 5px 20px rgba(0,0,0,.03);
}

.type-card[aria-disabled="true"]:hover img{
  transform:none;
}

.type-card[aria-disabled="true"] .arrow{
  visibility:hidden;
}

.type-img{
  aspect-ratio:5 / 3;

  position:relative;

  overflow:hidden;
}

.type-img img{
  width:100%;
  height:100%;

  object-fit:cover;

  transition:.5s;
}

.type-card:hover img{
  transform:scale(1.06);
}

.type-body{
  padding:10px 10px 12px;
  text-align:center;
}

.type-body h3{
  font-size:15px;
  margin-bottom:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.type-body p{
  font-size:var(--fs-small);
  color:var(--muted);
}

/* The whole card is the link, so the arrow button is hidden and the
   title and count are centred. */
.type-row{
  display:block;
}

.type-card .arrow{
  display:none;
}

.arrow{
  width:31px;
  height:31px;

  border-radius:50%;

  background:#eff7f5;

  display:grid;
  place-items:center;

  color:var(--green);

  font-weight:700;
}


/* =========================================================
   TOP CITIES
========================================================= */

.city-grid{
  display:grid;

  /* Six to a row, the same size as the property type cards. */
  grid-template-columns:repeat(6,1fr);

  gap:14px;
}

/* City cards, locality chips and card titles are anchors so that
   crawlers can follow them to the generated pages. They are grid
   and flex children, which blockifies them, so only the link
   colour and underline need resetting - no layout change. */
.city-card,
.locality-chip,
.card-link{
  text-decoration:none;
  color:inherit;
}

.city-card{
  border:1px solid var(--line);

  border-radius:14px;

  padding:22px 18px;

  background:linear-gradient(135deg,var(--green-soft),#fff);

  cursor:pointer;

  transition:.3s;

  box-shadow:0 5px 20px rgba(0,0,0,.03);
}

.city-card:hover,
.city-card:focus-visible{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
  outline:none;
}

.city-icon{
  width:44px;
  height:44px;

  border-radius:50%;

  background:#fff;

  display:grid;
  place-items:center;

  color:var(--green);

  font-size:19px;

  margin-bottom:14px;

  box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.city-card strong{
  display:block;
  font-size:var(--fs-lead);
  margin-bottom:3px;
}

.city-card span{
  font-size:var(--fs-small);
  color:var(--muted);
}


/* =========================================================
   TOP LOCALITIES
========================================================= */

.locality-scroll{
  display:flex;

  overflow-x:auto;

  gap:10px;

  padding:2px 2px 12px;

  scrollbar-width:none;
}

.locality-scroll::-webkit-scrollbar{
  display:none;
}

.locality-chip{
  flex:0 0 auto;

  min-width:150px;

  text-align:center;

  border:1px solid var(--line);

  border-radius:14px;

  padding:10px 12px 11px;

  background:#fff;

  cursor:pointer;

  transition:.25s;

  box-shadow:0 5px 16px rgba(0,0,0,.03);
}

.locality-chip:hover,
.locality-chip:focus-visible{
  border-color:var(--green);
  transform:translateY(-3px);
  outline:none;
}

.locality-chip strong{
  display:block;
  font-size:var(--fs-ui);
  margin-bottom:2px;
}

.locality-chip span{
  display:block;
  font-size:var(--fs-label);
  color:var(--muted);
}

.locality-chip .count{
  display:inline-block;

  margin-top:6px;

  font-size:var(--fs-label);
  font-weight:700;

  color:var(--green);

  background:var(--green-soft);

  padding:3px 9px;

  border-radius:20px;
}


/* =========================================================
   REELS STRIP (written by build/extra-pages.js)
   Tall, phone-shaped video cards in a sideways-scrolling row:
   five on desktop, two and a bit on phones. Each opens its video
   on /reels; the last card links to every video.
========================================================= */

.home-reel-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 4 * 16px) / 5);
  gap:16px;

  overflow-x:auto;
  scroll-snap-type:x mandatory;
  /* Room for the cards' shadow, which the scroll box would clip. */
  padding:8px 6px 24px;
  margin:-8px -6px -10px;

  scrollbar-width:thin;
  scrollbar-color:#cfdcd8 transparent;
}

.home-reel{
  position:relative;
  overflow:hidden;
  isolation:isolate;

  display:flex;
  flex-direction:column;
  justify-content:flex-end;

  aspect-ratio:9/14;
  padding:14px;

  border-radius:18px;
  background:#0b1f26;
  color:#fff;
  text-decoration:none;

  box-shadow:0 10px 18px rgba(8,45,56,.16);
  scroll-snap-align:start;

  transition:transform .3s ease, box-shadow .3s ease;
}

.home-reel img{
  position:absolute;
  inset:0;
  z-index:-2;

  width:100%;
  height:100%;
  object-fit:cover;

  transition:transform .6s ease;
}

/* Dark fade at the bottom so the title always reads. */
.home-reel:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg, rgba(4,22,28,.25) 0%, rgba(4,22,28,0) 30%, rgba(4,22,28,.55) 62%, rgba(4,22,28,.92) 100%);
}

.home-reel:hover{
  transform:translateY(-5px);
  box-shadow:0 14px 22px rgba(8,45,56,.24);
}

.home-reel:hover img{ transform:scale(1.07); }

.home-reel-tag{
  position:absolute;
  top:12px;
  left:12px;

  padding:5px 10px;

  border:1px solid rgba(255,255,255,.28);
  border-radius:20px;
  background:rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);

  font-size:11px;
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase;
}

.home-reel-play{
  position:absolute;
  top:50%;
  left:50%;

  width:54px;
  height:54px;
  margin:-27px 0 0 -27px;

  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 0 rgba(225,164,0,.55);

  animation:reelPulse 2.4s ease-out infinite;
  transition:transform .3s ease;
}

/* Play triangle. */
.home-reel-play:before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  margin:-9px 0 0 -5px;
  border-style:solid;
  border-width:9px 0 9px 15px;
  border-color:transparent transparent transparent #fff;
}

.home-reel:hover .home-reel-play{ transform:scale(1.12); }

@keyframes reelPulse{
  0%   { box-shadow:0 0 0 0 rgba(225,164,0,.55); }
  70%  { box-shadow:0 0 0 16px rgba(225,164,0,0); }
  100% { box-shadow:0 0 0 0 rgba(225,164,0,0); }
}

.home-reel-body{
  display:grid;
  gap:3px;
}

.home-reel-body strong{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;

  font-size:var(--fs-lead);
  line-height:1.3;
}

.home-reel-body span{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;

  font-size:var(--fs-small);
  color:rgba(255,255,255,.8);
}

/* Last card: "Watch all videos". */
.home-reel-more{
  justify-content:center;
  align-items:center;
  gap:6px;

  padding:20px;
  text-align:center;

  background:
    radial-gradient(circle at 80% 10%, rgba(225,164,0,.35), transparent 45%),
    linear-gradient(150deg, var(--green) 0%, var(--green-dark) 100%);
}

.home-reel-more:after{ display:none; }

.home-reel-more-icon{
  display:grid;
  place-items:center;

  width:56px;
  height:56px;
  margin-bottom:8px;

  border:2px solid rgba(255,255,255,.5);
  border-radius:50%;

  font-size:20px;
  color:#ffd66b;
}

.home-reel-more strong{ font-size:17px; }

.home-reel-more span:last-child{
  font-size:var(--fs-small);
  color:rgba(255,255,255,.8);
}

@media (max-width:900px){
  .home-reel-track{
    grid-auto-columns:42%;
    gap:12px;
    scrollbar-width:none;
  }

  .home-reel-track::-webkit-scrollbar{ display:none; }

  .home-reel{ padding:12px; border-radius:16px; }

  .home-reel:hover{ transform:none; }

  .home-reel-play{
    width:46px;
    height:46px;
    margin:-23px 0 0 -23px;
  }

  .home-reel-body strong{ font-size:var(--fs-ui); }

  .home-reel-body span{ font-size:var(--fs-label); }
}

@media (prefers-reduced-motion:reduce){
  .home-reel,
  .home-reel img,
  .home-reel-play{ transition:none; animation:none; }
}


/* =========================================================
   WHY KEYS99 - YOUR TRUSTED REAL ESTATE PARTNER
   A warm promise panel (heading, three ticks, actions) beside a
   3 x 2 grid of trust cards. Stacks on tablets; one card per row
   on phones.
========================================================= */

.assure-wrap{
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(0, 1.55fr);
  gap:20px;
  align-items:stretch;
}

.assure-promise{
  position:relative;
  overflow:hidden;

  display:flex;
  flex-direction:column;

  padding:30px 28px;

  border:1px solid #f3e2b8;
  border-radius:var(--radius);

  background:
    radial-gradient(circle at 100% 0%, rgba(225,164,0,.18), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(0,107,91,.08), transparent 45%),
    var(--cream);
}

/* Faint shield watermark, decoration only. */
.assure-promise:after{
  content:"";
  position:absolute;
  right:-34px;
  bottom:-40px;

  width:190px;
  height:190px;

  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e1a400' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.2 8.4 7.5 9.5 4.3-1.1 7.5-4.9 7.5-9.5V6L12 3Z'/%3E%3Cpath d='m8.8 12.2 2.2 2.2 4.3-4.6'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity:.16;
  pointer-events:none;
}

.assure-promise h2{
  font-size:28px;
  line-height:1.2;
  margin-bottom:10px;
}

.assure-promise > p{
  font-size:var(--fs-body);
  line-height:1.65;
  color:#4f626b;
}

.assure-checks{
  list-style:none;
  display:grid;
  gap:10px;

  margin:18px 0 24px;
  padding:0;
}

.assure-checks li{
  position:relative;
  padding-left:32px;

  font-size:var(--fs-body);
  font-weight:600;
  color:var(--ink);
}

.assure-checks li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:-1px;

  display:grid;
  place-items:center;

  width:22px;
  height:22px;

  border-radius:50%;
  background:var(--gold);
  color:#fff;
  font-size:12px;
  font-weight:800;
}

.assure-actions{
  position:relative;
  z-index:1;

  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 18px;

  margin-top:auto;
}

.assure-btn{
  display:inline-block;
  padding:12px 22px;

  border-radius:25px;
  background:var(--green);
  color:#fff;

  font-size:var(--fs-ui);
  font-weight:700;
  text-decoration:none;

  box-shadow:0 8px 18px rgba(0,107,91,.25);
  transition:background .2s, transform .2s;
}

.assure-btn:hover{
  background:var(--green-dark);
  transform:translateY(-2px);
}

.assure-link{
  font-size:var(--fs-ui);
  font-weight:700;
  color:var(--green);
  text-decoration:none;
}

.assure-link:hover{ text-decoration:underline; }

.assure-grid{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;

  margin:0;
  padding:0;
}

.assure-card{
  padding:20px 18px;

  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;

  transition:border-color .25s, box-shadow .25s, transform .25s;
}

.assure-card:hover{
  border-color:#bfe0d7;
  box-shadow:var(--shadow);
  transform:translateY(-3px);
}

.assure-icon{
  display:grid;
  place-items:center;

  width:46px;
  height:46px;
  margin-bottom:14px;

  border-radius:14px;
  background:var(--green-soft);
  color:var(--green);

  transition:background .25s, color .25s;
}

.assure-icon svg{
  width:24px;
  height:24px;
}

.assure-card:hover .assure-icon{
  background:var(--green);
  color:#fff;
}

.assure-card strong{
  display:block;
  margin-bottom:5px;

  font-size:var(--fs-lead);
  line-height:1.3;
  color:var(--ink);
}

.assure-card p{
  margin:0;
  font-size:var(--fs-small);
  line-height:1.55;
  color:#5b6c75;
}

.assure-card p strong{
  display:inline;
  font-size:inherit;
  color:var(--green);
}

.assure-card a{
  color:var(--green);
  font-weight:700;
  text-decoration:none;
}

.assure-card a:hover{ text-decoration:underline; }

@media (max-width:1024px){
  .assure-wrap{ grid-template-columns:1fr; }

  .assure-promise:after{
    width:150px;
    height:150px;
  }
}

@media (max-width:600px){
  .assure-promise{ padding:22px 18px; }

  .assure-promise h2{ font-size:18px; line-height:1.25; }

  .assure-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .assure-card{ padding:14px 12px; }

  .assure-icon{
    width:38px;
    height:38px;
    margin-bottom:10px;
    border-radius:12px;
  }

  .assure-icon svg{
    width:20px;
    height:20px;
  }

  .assure-card strong{ font-size:var(--fs-ui); }

  .assure-card:hover{ transform:none; }
}

@media (prefers-reduced-motion:reduce){
  .assure-card,
  .assure-btn{ transition:none; }
}


/* =========================================================
   TESTIMONIALS
   A deep green panel with a gold glow and a large quote mark
   behind the heading. Three cards side by side on desktop; on
   phones they scroll sideways, one card and a peek of the next.
========================================================= */

.testi-panel{
  position:relative;
  overflow:hidden;

  padding:34px 32px 32px;

  border-radius:var(--radius);

  background:
    radial-gradient(circle at 92% 8%, rgba(225,164,0,.28), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(135deg, var(--green) 0%, var(--green-dark) 55%, #033a33 100%);

  color:#fff;
}

/* Oversized quote mark, decoration only. */
.testi-panel:before{
  content:"\201C";
  position:absolute;
  top:-48px;
  right:28px;

  font-family:Georgia, "Times New Roman", serif;
  font-size:260px;
  line-height:1;

  color:rgba(255,255,255,.07);
  pointer-events:none;
}

.testi-head{
  position:relative;

  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;

  margin-bottom:24px;
}

.testi .section-kicker{ color:#ffd66b; }

.testi .section-title{ color:#fff; }

.testi-intro{
  margin-top:6px;
  font-size:var(--fs-body);
  color:rgba(255,255,255,.78);
}

.testi .view-all{
  flex:none;
  color:#ffd66b;
}

.testi-track{
  position:relative;

  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

.testi-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:16px;

  margin:0;
  padding:24px 22px 20px;

  border:1px solid rgba(255,255,255,.65);
  border-radius:18px;

  background:rgba(255,255,255,.96);
  color:var(--ink);

  box-shadow:0 18px 40px rgba(0,30,26,.28);

  transition:transform .25s ease, box-shadow .25s ease;
}

.testi-card:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 56px rgba(0,30,26,.4);
}

.testi-card blockquote{
  position:relative;
  flex:1;
  margin:0;
  padding-top:34px;

  font-size:var(--fs-body);
  line-height:1.7;
  color:#22414f;
}

.testi-card blockquote:before{
  content:"\201C";
  position:absolute;
  top:-6px;
  left:-3px;

  font-family:Georgia, "Times New Roman", serif;
  font-size:60px;
  line-height:1;

  color:var(--gold);
}

.testi-card blockquote p{ margin:0; }

.testi-card figcaption{
  display:flex;
  align-items:center;
  gap:12px;

  padding-top:16px;
  border-top:1px dashed #d8e5e1;

  font-size:var(--fs-ui);
  line-height:1.4;
}

.testi-card figcaption strong{
  display:block;
  color:var(--ink);
}

.testi-avatar{
  flex:none;
  display:grid;
  place-items:center;

  width:44px;
  height:44px;

  border-radius:50%;
  border:2px solid #fff;

  background:linear-gradient(135deg, var(--gold) 0%, var(--green) 100%);
  box-shadow:0 0 0 2px var(--gold), 0 6px 14px rgba(0,60,50,.25);
  font-size:17px;

  color:#fff;
  font-weight:800;
}

.testi-meta{
  display:block;
  font-size:var(--fs-small);
  color:#5b6c75;
}

/* Card top row: what the buyer valued, and the "Sample" tag. Shared
   with the /testimonials cards (css/legal.css). */
.testi-top,
.testimonial-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.testi-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;

  padding:5px 11px;
  border-radius:999px;

  background:#fbf3de;
  color:#6b4d00;
  font-size:var(--fs-label);
  font-weight:800;
  letter-spacing:.01em;
  white-space:nowrap;
}

/* Marks a sample quote until a real buyer's review replaces it.
   build/generate.js blocks an indexable build while any remain. */
.testi-sample{
  flex:none;
  padding:3px 8px;
  border:1px dashed #b9c8c4;
  border-radius:999px;

  color:#6b7f86;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.testi-where,
.testimonial-where{
  display:block;
  margin-top:2px;
  font-size:var(--fs-label);
  font-weight:700;
  color:var(--green);
}

@media (max-width:900px){

  /* Full-bleed on phones and tablets: the panel breaks out of the
     centred .container to the screen edges, square-cornered. Its
     content lines up with the rest of the page through --testi-gutter,
     the same left edge the container gives (min 20px). */
  .testi-panel{
    --testi-gutter:max(20px, calc((100vw - 700px) / 2));
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    padding:28px 0 24px;
    border-radius:0;
  }

  .testi-panel:before{
    top:-30px;
    right:10px;
    font-size:180px;
  }

  .testi-head{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    padding:0 var(--testi-gutter);
    margin-bottom:18px;
  }

  /* One card at a time, with the next one peeking in. */
  .testi-track{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:82%;
    gap:14px;

    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-padding:0 var(--testi-gutter);
    padding:4px var(--testi-gutter) 14px;

    scrollbar-width:none;
  }

  .testi-track::-webkit-scrollbar{ display:none; }

  .testi-card{
    scroll-snap-align:start;
    box-shadow:0 12px 28px rgba(0,30,26,.28);
  }

  .testi-card:hover{ transform:none; }
}

@media (prefers-reduced-motion:reduce){
  .testi-card{ transition:none; }
}


/* =========================================================
   CTA
========================================================= */

.cta{
  margin-top:16px;

  border-radius:18px;

  overflow:hidden;

  min-height:90px;

  padding:16px 26px;

  /* The photo is lazy-loaded: js/home.js adds .bg-ready when the
     banner nears the screen, so the cream gradient shows until then. */
  background:
    linear-gradient(
      90deg,
      rgba(255,247,229,.96),
      rgba(255,247,229,.82)
    )
    center/cover;

  display:flex;

  align-items:center;

  justify-content:space-between;

  gap:20px;
}

.cta.bg-ready{
  background:
    linear-gradient(
      90deg,
      rgba(255,247,229,.96),
      rgba(255,247,229,.82)
    ),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1200&q=80")
    center/cover;
}


.cta small{
  font-size:var(--fs-label);

  color:#8a5f00;

  font-weight:700;

  letter-spacing:1.5px;
}

.cta h2{
  font-size:26px;
  margin:4px 0;
}

.cta p{
  font-size:var(--fs-body);
  color:#5b6c75;
}

.cta-btn{
  display:inline-block;
  text-decoration:none;

  background:var(--green);

  color:#fff;

  border:0;

  border-radius:25px;

  padding:13px 24px;

  font-weight:700;

  white-space:nowrap;

  /* Main call to action: the larger end of the scale. */
  font-size:var(--fs-lead);
}


/* =========================================================
   FOOTER
========================================================= */

footer{
  background:#eaf6f1;
  border-top:1px solid #cfe5dc;

  margin-top:15px;

  padding:38px 0 18px;
}

.footer-grid{
  display:grid;

  grid-template-columns:1.4fr 1fr 1fr 1fr;

  gap:30px;
}

/* Sizes: 14px text and 15px headings keep the footer readable on a
   phone; links get vertical padding so each is an easy tap target. */
.footer-col h4,
.footer-col .footer-title{
  margin:0 0 10px;
  font-size:var(--fs-lead);
  line-height:1.3;
}

.footer-col a,
.footer-col p{
  display:block;

  /* Darker than --muted (4.3:1) so small text meets the 4.5:1
     contrast minimum on white. */
  color:#5b6c75;

  font-size:var(--fs-ui);

  line-height:1.5;

  margin:6px 0;
}

.footer-col a{
  margin:0;
  padding:5px 0;
}

.socials{
  display:flex;
  gap:8px;
}

.socials a{
  width:36px;
  height:36px;

  font-size:16px;

  border:1px solid var(--line);

  border-radius:50%;

  display:grid;
  place-items:center;

  color:var(--green);
  transition:background .15s, color .15s, border-color .15s;
}

.socials a:hover,
.socials a:focus-visible{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}

.copyright{
  border-top:1px solid var(--line);

  margin-top:25px;

  padding-top:14px;

  color:#5b6c75;

  font-size:var(--fs-small);

  display:flex;

  flex-wrap:wrap;

  justify-content:center;

  gap:4px 24px;

  text-align:center;
}


/* =========================================================
   BOTTOM NAVIGATION
   Desktop: a small floating pill, centred at the bottom of the
   screen. Mobile (below): a full-width bar fixed to the bottom.
========================================================= */

.bottom-nav{
  display:none;
}

@media(min-width:901px){

  body{ padding-bottom:84px; }

  .bottom-nav{
    display:flex;
    position:fixed;
    left:50%;
    bottom:14px;
    transform:translateX(-50%);
    z-index:60;
    gap:2px;
    padding:5px;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border:1px solid var(--line);
    border-radius:999px;
    box-shadow:0 10px 30px rgba(8,45,56,.14);
  }

  .bottom-nav button{
    width:68px;
    height:48px;
    border:0;
    border-radius:999px;
    background:none;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:1px;
    color:#7ba89d;
    font-size:11px;
    font-weight:600;
    transition:color .2s, background .2s;
  }

  .bottom-nav button:hover,
  .bottom-nav button:focus-visible{
    color:var(--green);
    background:var(--green-soft);
    outline:none;
  }

  .bottom-nav .bn-icon{
    width:34px;
    height:24px;
    display:grid;
    place-items:center;
    border-radius:12px;
    transition:background .25s, transform .25s;
  }

  .bottom-nav .bn-icon svg{
    width:19px;
    height:19px;
    display:block;
  }

  .bottom-nav button.bn-active{
    color:var(--green);
  }

  .bottom-nav button.bn-active .bn-icon{
    background:var(--green-soft);
  }
}


/* "NEW" badge on the Reels tab, to draw visitors to the reels.
   Added with CSS so every page's copy of the navigation gets it. */
.bottom-nav button[data-target="reels"] .bn-icon{
  position:relative;
}

.bottom-nav button[data-target="reels"] .bn-icon::after{
  content:"NEW";
  position:absolute;
  top:-3px;
  left:calc(50% + 4px);
  padding:2px 5px 1px;
  border-radius:20px;
  background:#d93b30;
  color:#fff;
  font-size:8.5px;
  font-weight:800;
  line-height:1.1;
  letter-spacing:.4px;
  box-shadow:0 0 0 2px #fff, 0 2px 6px rgba(217,59,48,.35);
  animation:bnNewPulse 2.4s ease-in-out infinite;
  pointer-events:none;
}

@keyframes bnNewPulse{
  0%, 70%, 100%{ transform:scale(1); }
  80%{ transform:scale(1.15); }
  90%{ transform:scale(.95); }
}

@media (prefers-reduced-motion:reduce){
  .bottom-nav button[data-target="reels"] .bn-icon::after{ animation:none; }
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:900px){

  .container{
    width:min(100% - 28px,700px);
  }

  .header{
    height:68px;
  }

  .nav-links,
  .login-btn{
    display:none;
  }

  .menu-btn{
    display:grid;
  }


  /* MOBILE LOGO */

  .header-logo{
    width:160px;
  }


  /* MOBILE MENU */

  .mobile-menu{
    position:fixed;

    top:68px;
    left:0;
    right:0;

    background:#fff;

    padding:18px 20px;

    border-bottom:1px solid var(--line);

    box-shadow:var(--shadow);

    z-index:49;
  }

  .mobile-menu.open{
    display:block;
  }

  .mobile-menu a{
    display:block;

    padding:12px;

    border-bottom:1px solid #f1f3f2;

    font-weight:600;
  }


  /* HERO */

  /* Phones and small tablets: the hero sizes to its content, with
     the search box in the normal flow under the text, instead of a
     fixed 520px block with the search pinned below it (which left a
     large empty gap above the title). */
  .hero{
    min-height:0;

    padding:16px 0 16px;

    flex-direction:column;

    align-items:stretch;

    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.92) 0%,
        rgba(255,255,255,.72) 42%,
        rgba(255,255,255,.15) 70%
      ),
      url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1000&q=85")
      center/cover;
  }

  .hero-content{
    padding:0 0 14px;
    max-width:100%;
  }

  .hero h1{
    font-size:34px;
    letter-spacing:-1px;
    margin-bottom:10px;
  }

  .hero p{
    font-size:var(--fs-body);
    line-height:1.5;
  }


  /* SEARCH */

  .search-wrap{
    position:static;
  }

  /* Compact two-column layout: the text search on its own row,
     Property Type and BHK side by side, then Search and Filters
     side by side - three short rows instead of five tall ones. */
  .search-bar{
    grid-template-columns:1fr 1fr;
    column-gap:6px;
    padding:6px;
    border-radius:16px;
  }

  .search-field{
    border-right:0;

    border-bottom:1px solid var(--line);

    min-height:40px;

    gap:6px;

    padding:0 6px;

    min-width:0;

    font-size:var(--fs-ui);
  }

  .search-field-main{
    grid-column:1 / -1;
  }

  .search-icon{
    font-size:18px;
  }

  .search-button,
  .filter-toggle-btn{
    width:100%;

    justify-content:center;

    margin-top:6px;

    height:40px;

    padding:0 12px;

    border-radius:12px;
  }

  .search-button{
    font-size:var(--fs-ui);
  }

  .hero-filter-panel{
    left:0;
    right:0;

    width:auto;
  }

  .hero-filter-panel:not([hidden]){
    grid-template-columns:1fr 1fr;
  }


  /* STATS */

  /* The search box is in the hero's flow now, so no room needs
     leaving for it to overlap. */
  /* Phones and tablets: the four stats in one compact row (they took
     a tall 2x2 block before). */
  .stats{
    margin-top:20px;

    grid-template-columns:repeat(4,minmax(0,1fr));

    border-radius:16px;
  }

  .stat{
    padding:12px 4px;
  }

  .stat-icon{
    font-size:16px;
    margin-bottom:2px;
  }

  .stat strong{
    font-size:18px;
    line-height:1.2;
  }

  .stat span{
    display:block;
    font-size:var(--fs-label);
    line-height:1.3;
  }

  .stats-section{
    padding-bottom:16px;
  }


  /* SECTIONS */

  section{
    padding:14px 0;
  }

  .section-title{
    font-size:25px;
  }

  .section-head{
    align-items:center;
  }


  /* TYPE HORIZONTAL */

  .type-grid{
    display:flex;

    overflow-x:auto;

    gap:13px;

    padding:2px 2px 10px;

    scroll-snap-type:x mandatory;

    scrollbar-width:none;
  }

  .type-grid::-webkit-scrollbar{
    display:none;
  }

  /* Two cards per screen (the next one peeks in), illustration scaled
     to the card's width, so the row is about half its former height. */
  .type-card{
    flex:0 0 46%;

    scroll-snap-align:start;

    border-radius:14px;
  }

  .type-body p{
    font-size:var(--fs-label);
  }


  /* TOP CITIES HORIZONTAL */

  .city-grid{
    display:flex;

    overflow-x:auto;

    gap:13px;

    padding:2px 2px 10px;

    scroll-snap-type:x mandatory;

    scrollbar-width:none;
  }

  .city-grid::-webkit-scrollbar{
    display:none;
  }

  /* About two and a half cities per screen, with a tighter caption,
     so the row is about two-thirds its former height. */
  .city-card{
    flex:0 0 38%;

    scroll-snap-align:start;

    border-radius:14px;
  }


  .cta h2{
    font-size:23px;
  }


  /* CTA */

  .cta{
    display:block;
    padding:20px;
  }

  .cta-btn{
    margin-top:13px;
    width:100%;
  }


  /* FOOTER */

  .footer-grid{
    grid-template-columns:1fr 1fr;

    gap:25px;
  }

  .footer-grid .footer-brand{
    grid-column:1/-1;
  }

  /* Follow & Contact takes the full width, so the email and address stay on one line. */
  .footer-grid .footer-col:last-child{
    grid-column:1/-1;
  }

  .copyright{
    display:block;
    line-height:1.8;
  }

  .copyright span{
    display:block;
  }


  /* BOTTOM NAV */

  body{
    padding-bottom:64px;
  }

  .bottom-nav{
    display:flex;

    position:fixed;

    bottom:0;
    left:0;
    right:0;

    height:60px;

    background:#fff;

    border-top:1px solid var(--line);

    box-shadow:0 -8px 24px rgba(8,45,56,.08);

    z-index:60;

    justify-content:space-around;

    align-items:center;
  }

  .bottom-nav button{
    flex:1;

    height:100%;

    border:0;

    background:none;

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:3px;

    color:#7ba89d;

    font-size:var(--fs-label);
    font-weight:600;
  }

  .bottom-nav .bn-icon{
    width:42px;
    height:27px;

    display:grid;
    place-items:center;

    border-radius:14px;

    transition:background .25s, transform .25s;
  }

  .bottom-nav .bn-icon svg{
    width:21px;
    height:21px;
    display:block;
  }

  .bottom-nav .bn-label{
    transition:color .25s;
  }

  .bottom-nav button.bn-active{
    color:var(--green);
  }

  .bottom-nav button.bn-active .bn-icon{
    background:var(--green-soft);
    transform:translateY(-1px);
  }

}


@media(max-width:420px){

  .hero h1{
    font-size:36px;
  }

  .header-logo{
    width:150px;
  }

}


/* =========================================================
   SCROLL HINT
========================================================= */

.scroll-hint{
  display:none;
}

@media(max-width:900px){

  .scroll-hint{
    display:block;

    text-align:right;

    font-size:var(--fs-label);

    color:#91a0a4;

    /* No margin of its own: every row ends exactly 10px below its
       cards (padding on .type-grid and .city-grid; padding minus the
       shadow margin on .property-scroll), so the hint sits the same
       distance under the cards in every section. */
    margin-top:0;

    margin-bottom:8px;
  }

}

@keyframes propertyReveal{

  from{
    opacity:0;
    transform:translateY(10px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }

}

/* The smallest phones (320px): cards are ~250px wide. */



/* ---------- FAQs (homepage guide + hub pages) ---------- */

.hub-faqs{
  display:grid;
  gap:10px;
  max-width:860px;
}

.hub-faq{
  border:1px solid #d3e0dc;
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}

.hub-faq summary{
  position:relative;
  padding:14px 40px 14px 16px;
  font-size:var(--fs-lead);
  font-weight:700;
  color:var(--ink);
  cursor:pointer;
  list-style:none;
}

.hub-faq summary::-webkit-details-marker{ display:none; }

.hub-faq summary:after{
  content:"+";
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  font-size:18px;
  color:var(--green);
}

.hub-faq[open] summary:after{ content:"–"; }

.hub-faq p{
  margin:0;
  padding:0 16px 15px;
  font-size:var(--fs-body);
  line-height:1.6;
  color:#3d5560;
}

/* ---------- Homepage guide ---------- */

/* ---------- Buyer's guide (written by build/homepage.js) ----------
   One compact panel: heading and intro, a strip of four headline
   numbers, a list of "browse" rows (a label, then link chips), and
   the FAQs in two columns. On phones each row's chips scroll
   sideways on one line, so the list stays short. */

.guide-panel{
  position:relative;
  overflow:hidden;
  padding:28px 32px;
  border:1px solid #dcebe6;
  border-radius:22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(225,164,0,.10), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(0,107,91,.08), transparent 38%),
    linear-gradient(180deg, #f3faf7 0%, #fbfdfc 100%);
}

.guide-head{
  max-width:900px;
}

.guide-head .section-title{
  margin:4px 0 8px;
}

.home-guide-intro{
  margin:0;
  font-size:var(--fs-ui);
  line-height:1.65;
  color:#3d5560;
}

/* Headline numbers: one strip of four */
.guide-stats{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  margin:18px 0;
  border:1px solid #dcebe6;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}

.guide-stat{
  padding:12px 16px;
  text-align:center;
}

.guide-stat + .guide-stat{
  border-left:1px solid #e6efec;
}

.guide-stat dt{
  font-size:11px;
  font-weight:700;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:#5b6c75;
}

.guide-stat dd{
  margin:3px 0 0;
  font-size:19px;
  font-weight:700;
  line-height:1.2;
  color:var(--green-dark);
}

.guide-stat small{
  display:block;
  font-size:var(--fs-label);
  color:#5b6c75;
}

/* Browse rows: label on the left, chips on the right */
.guide-browse{
  border:1px solid #e1eeea;
  border-radius:14px;
  background:#fff;
}

.guide-group{
  display:grid;
  grid-template-columns:210px minmax(0, 1fr);
  align-items:center;
  gap:12px;
  padding:10px 16px;
}

.guide-group + .guide-group{
  border-top:1px solid #edf3f1;
}

.guide-group h3{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-size:var(--fs-ui);
  color:var(--ink);
}

.guide-icon{
  flex:none;
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:8px;
  background:var(--green-soft);
  color:var(--green);
  font-size:13px;
  font-weight:700;
}

.guide-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.guide-chip{
  flex:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border:1px solid #d6e8e2;
  border-radius:999px;
  background:#fff;
  color:var(--green-dark);
  font-size:var(--fs-small);
  font-weight:600;
  white-space:nowrap;
  text-decoration:none;
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}

.guide-chip span{
  min-width:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--green-soft);
  color:var(--green);
  font-size:11px;
  font-weight:700;
  text-align:center;
}

.guide-chip:hover,
.guide-chip:focus-visible{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}

.guide-chip:hover span,
.guide-chip:focus-visible span{
  background:rgba(255,255,255,.2);
  color:#fff;
}

.guide-chip-more{
  border-style:dashed;
  color:var(--green);
}

/* FAQs: two columns on wide screens, compact questions */
.guide-faq{
  margin-top:20px;
}

.home-guide .guide-faq h3{
  margin:0 0 10px;
  font-size:var(--fs-lead);
  color:var(--ink);
}

.guide-faq .hub-faqs{
  max-width:none;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  align-items:start;
  gap:8px;
}

/* An odd last question spans both columns instead of leaving a gap */
.guide-faq .hub-faq:last-child:nth-child(odd){
  grid-column:1 / -1;
}

.guide-faq .hub-faq summary{
  padding:11px 36px 11px 14px;
  font-size:var(--fs-ui);
}

.guide-faq .hub-faq p{
  padding:0 14px 12px;
  font-size:var(--fs-ui);
}

@media (max-width:1024px){
  .guide-group{ grid-template-columns:170px minmax(0, 1fr); }
}

@media (max-width:760px){
  .guide-panel{
    padding:18px 14px;
    border-radius:18px;
  }
  .home-guide-intro{
    font-size:var(--fs-small);
    line-height:1.6;
  }
  .guide-stats{
    margin:14px 0;
    border-radius:12px;
  }
  /* Two by two, so labels and prices stay on one line */
  .guide-stats{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .guide-stat{ padding:9px 6px; }
  .guide-stat:nth-child(odd){ border-left:0; }
  .guide-stat:nth-child(n+3){ border-top:1px solid #e6efec; }
  .guide-stat dt{ font-size:10px; letter-spacing:.3px; }
  .guide-stat dd{ font-size:15px; white-space:nowrap; }
  .guide-stat small{ display:none; }

  /* Label above, chips on one line that scrolls sideways */
  .guide-browse{ border-radius:12px; }
  .guide-group{
    grid-template-columns:minmax(0, 1fr);
    gap:7px;
    padding:10px 0 10px 12px;
  }
  .guide-group h3{ font-size:var(--fs-small); }
  .guide-icon{
    width:22px;
    height:22px;
    border-radius:7px;
    font-size:11px;
  }
  .guide-chips{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-right:12px;
    scrollbar-width:none;
    overscroll-behavior-x:contain;
  }
  .guide-chips::-webkit-scrollbar{ display:none; }
  .guide-chip{ padding:4px 9px; }

  .guide-faq{ margin-top:16px; }
  .home-guide .guide-faq h3{ font-size:var(--fs-lead); }
  .guide-faq .hub-faqs{ grid-template-columns:minmax(0, 1fr); }
  .guide-faq .hub-faq summary{
    padding:10px 34px 10px 12px;
    font-size:var(--fs-small);
  }
  .guide-faq .hub-faq p{
    padding:0 12px 11px;
    font-size:var(--fs-small);
  }
}


/* ---------- City cards with a monument picture ---------- */

.city-card{
  display:flex;
  flex-direction:column;
  padding:0;
  overflow:hidden;
  background:#fff;
}

.city-img{
  display:block;
  aspect-ratio:8/5;
  background:var(--green-soft);
  overflow:hidden;
}

.city-img img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s;
}

.city-card:hover .city-img img,
.city-card:focus-visible .city-img img{
  transform:scale(1.04);
}

/* .city-card span (the project count) is muted grey; the wrapper and
   the picture frame are spans too, so they reset it. */
.city-card .city-body{
  display:block;
  padding:10px 10px 12px;
  text-align:center;
  font-size:inherit;
  color:var(--ink, #092c3d);
}

.city-card .city-body strong{ font-size:15px; color:var(--ink, #092c3d); }
/* Project count: the same green badge as the locality chips' count. */
.city-card .city-body span{
  display:inline-block;
  margin-top:6px;
  padding:3px 9px;
  border-radius:20px;
  background:var(--green-soft);
  color:var(--green);
  font-size:var(--fs-label);
  font-weight:700;
}

/* Phones: compact city cards and locality chips, about two and a half
   per screen. (Their content is centred on every screen size.) */
@media (max-width:900px){
  .city-card .city-body{ padding:8px 10px 10px; }
  .city-card .city-body strong{ font-size:15px; margin-bottom:1px; }
  .city-card .city-body span{ font-size:var(--fs-label); }

  .locality-scroll{
    gap:10px;
    scroll-snap-type:x mandatory;
  }

  .locality-chip{
    flex:0 0 38%;
    min-width:0;
    padding:10px 8px 11px;
    border-radius:14px;
    scroll-snap-align:start;
  }

  .locality-chip strong{
    font-size:var(--fs-ui);
    line-height:1.3;
  }

  .locality-chip .count{
    display:inline-block;
    margin-top:6px;
  }
}

/* Sideways-scrolling rows clip anything outside their box, which
   would cut the shadow off; give it room without moving the cards. */


/* Header "Saved" button: number of saved projects (js/compare-tray.js) */
.saved-count{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;padding:0 5px;border-radius:999px;background:#e1a400;color:#082d38;font-size:var(--fs-label);font-weight:800;line-height:1}
.saved-count[hidden]{display:none}


/* =========================================================
   HOME LOAN PARTNERS
   Every logo sits in the same white card at the same height,
   so wide and narrow logos read as one even row.
========================================================= */

.loan-partners-intro{
  margin-top:8px;
  color:var(--muted);
  font-size:var(--fs-body);
}

.loan-partner-grid{
  list-style:none;

  /* Flex rather than grid so a short last row is centred. */
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}

/* Desktop: all nine logos in one compact row. */
.loan-partner{
  flex:0 0 calc((100% - 8 * 12px) / 9);
  height:72px;
}

/* Each logo links to the EMI calculator (home-loans#emi). On hover or
   keyboard focus the card lifts, its border turns green, the logo
   grows slightly and a "Calculate EMI" label slides up. */
.loan-partner-link{
  position:relative;
  overflow:hidden;

  height:100%;
  padding:12px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;

  text-decoration:none;

  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.loan-partner-link::after{
  content:"Calculate EMI →";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:5px 0;
  background:var(--green);
  color:#fff;
  font-size:var(--fs-label);
  font-weight:700;
  text-align:center;
  white-space:nowrap;
  transform:translateY(100%);
  transition:transform .25s ease;
}

/* Narrower desktop cards: a shorter label that fits on one line. */
@media (min-width:901px) and (max-width:1199px){
  .loan-partner-link::after{ content:"Check EMI →"; }
}

.loan-partner-link:hover,
.loan-partner-link:focus-visible{
  transform:translateY(-5px);
  border-color:var(--green);
  box-shadow:0 14px 30px rgba(0,107,91,.16);
  outline:none;
}

.loan-partner-link:hover::after,
.loan-partner-link:focus-visible::after{
  transform:translateY(0);
}

.loan-partner img{
  max-width:100%;
  max-height:38px;
  width:auto;
  height:auto;
  object-fit:contain;
  transition:transform .25s ease;
}

.loan-partner-link:hover img,
.loan-partner-link:focus-visible img{
  transform:scale(1.06) translateY(-5px);
}

@media (prefers-reduced-motion:reduce){
  .loan-partner-link,
  .loan-partner-link::after,
  .loan-partner img{ transition:none; }
}

@media(max-width:900px){
  .loan-partner-grid{
    gap:10px;
  }

  .loan-partner{
    flex-basis:calc((100% - 2 * 10px) / 3);
    height:72px;
  }

  .loan-partner-link{
    padding:12px;
    border-radius:12px;
  }

  .loan-partner img{
    max-height:38px;
  }
}


/* =========================================================
   PHONE HEADINGS (600px and below)
   One heading scale for phones, so titles fit the screen
   without crowding: hero 26px, page titles 21px, section
   titles 18px, subheadings 17/16px. Kickers keep 12px but with
   tighter spacing, and "View All" stays on one line. Article
   pages (css/legal.css) follow the same sizes.
========================================================= */

@media (max-width:600px){

  .hero h1{
    font-size:26px;
    letter-spacing:-.6px;
    line-height:1.1;
  }

  .hub-head h1{
    font-size:21px;
  }

  .section-title,
  .cta h2{
    font-size:18px;
    line-height:1.25;
  }

  .hub-guide h3{
    font-size:16px;
  }

  .eyebrow,
  .section-kicker{
    letter-spacing:1.5px;
  }

  .section-head{
    gap:12px;
    margin-bottom:16px;
  }

  .view-all{
    flex:none;
    white-space:nowrap;
  }
}


/* =========================================================
   APP-STYLE TILES ON PHONES AND TABLETS
   Property types: a 3-per-row grid of rounded illustration tiles
   with the label underneath. Top cities: a swipeable row of round
   "story" icons. Desktop keeps the full cards above. Last in the
   file so it overrides the earlier phone rules for these cards.
========================================================= */

@media (max-width:900px){

  /* ---- Property types ---- */
  /* Three per row on phones; tiles never grow past app size, so a
     tablet fits all six in one row instead of stretching three. */
  .type-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(96px, 1fr));
    gap:14px 10px;
    overflow:visible;
    padding:2px 0 4px;
    scroll-snap-type:none;
  }

  .type-card{
    border:0;
    border-radius:0;
    overflow:visible;
    background:transparent;
    box-shadow:none;
    transition:transform .15s ease;
    -webkit-tap-highlight-color:transparent;
  }

  .type-card:hover,
  .type-card[aria-disabled="true"]:hover{
    transform:none;
    box-shadow:none;
  }

  .type-card:not([aria-disabled="true"]):active{ transform:scale(.96); }

  /* The illustrations carry their own tinted background, so they
     fill the tile edge to edge (a 4:3 crop of the 5:3 drawing). */
  .type-img{
    aspect-ratio:4 / 3;
    border-radius:16px;
    border:1px solid #e3efeb;
    box-shadow:0 4px 12px rgba(0, 60, 50, .07);
  }

  .type-img img{ object-fit:cover; }

  .type-card:hover img{ transform:none; }

  /* "Coming soon" types: dimmed tile, label still readable. */
  .type-card[aria-disabled="true"] .type-img{ opacity:.55; }

  .type-body{ padding:7px 2px 0; }

  .type-body h3{
    font-size:13px;
    line-height:1.25;
    margin-bottom:1px;
  }

  .type-body p{
    font-size:11px;
    line-height:1.3;
  }

  /* Nothing scrolls sideways any more. */
  #typesHint{ display:none; }

  /* ---- Top cities ---- */
  .city-grid{
    gap:14px;
    padding:6px 4px 8px;
    scroll-snap-type:x proximity;
  }

  .city-card{
    flex:0 0 76px;
    border:0;
    border-radius:0;
    overflow:visible;
    background:transparent;
    box-shadow:none;
    transition:transform .15s ease;
    -webkit-tap-highlight-color:transparent;
  }

  .city-card:hover,
  .city-card:focus-visible{
    transform:none;
    box-shadow:none;
  }

  .city-card:focus-visible .city-img{ outline:2px solid var(--green); outline-offset:3px; }

  .city-card:active{ transform:scale(.96); }

  .city-img{
    width:68px;
    height:68px;
    aspect-ratio:auto;
    margin:0 auto;
    border-radius:50%;
    background:var(--green-soft);
    box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--gold), 0 6px 14px rgba(0, 60, 50, .12);
  }

  .city-card:hover .city-img img,
  .city-card:focus-visible .city-img img{ transform:none; }

  .city-card .city-body{ padding:9px 0 0; }

  .city-card .city-body strong{
    font-size:12.5px;
    line-height:1.25;
    margin:0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* Count as plain text under the name (the green pill is desktop only). */
  .city-card .city-body span{
    display:block;
    margin-top:1px;
    padding:0;
    background:none;
    color:var(--muted);
    font-size:11px;
    font-weight:600;
  }
}

/* Profile tab: the logged-in visitor's photo or initial (js/account.js). */
.bottom-nav .bn-avatar{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#e1a400;color:#082d38;font-size:12px;font-weight:800;line-height:1;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(0,107,91,.35)}
.bottom-nav .bn-avatar img{width:100%;height:100%;object-fit:cover;display:block}

/* =========================================================
   FOOTER LINKS (build/footer-links.js): a page's own city's
   listing pages, or a "Popular Cities" line.
========================================================= */
.footer-links{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.footer-links-title{margin:0 0 6px;font-size:var(--fs-lead);color:var(--ink)}
.fl-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:4px 28px}
.fl-group h3{margin:10px 0 6px;font-size:var(--fs-small);font-weight:800;color:var(--ink);text-transform:uppercase;letter-spacing:.04em}
.fl-group ul{list-style:none;margin:0;padding:0}
.fl-group li a,.fl-inline a{display:block;padding:4px 0;color:#5b6c75;font-size:var(--fs-small);line-height:1.45;text-decoration:none}
.fl-inline{display:flex;flex-wrap:wrap;gap:2px 22px;margin:4px 0 0}
.fl-group li a:hover,.fl-group li a:focus-visible,.fl-inline a:hover,.fl-inline a:focus-visible{color:var(--green);text-decoration:underline}
@media(max-width:600px){
  .fl-groups{grid-template-columns:1fr 1fr;gap:2px 16px}
  .fl-group li a,.fl-inline a{padding:5px 0}
}

/* The footer links sit in a band just above the footer, not inside it. */
.footer-links-band{padding:34px 0 10px;background:#f2faf7;border-top:1px solid #dcece6}
.footer-links-band + footer{margin-top:0}
.footer-links-band .footer-links{margin-top:0;padding-top:0;border-top:0}
.fl-tabs{display:flex;gap:8px;overflow-x:auto;padding:6px 0 12px;scrollbar-width:none}
.fl-tabs::-webkit-scrollbar{display:none}
.fl-tab{flex:none;border:1px solid #d3e0dc;background:#fff;color:#35525c;border-radius:999px;padding:7px 16px;font:inherit;font-size:var(--fs-small);font-weight:700;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.fl-tab:hover{border-color:var(--green)}
.fl-tab[aria-selected="true"]{background:var(--green);border-color:var(--green);color:#fff}
.fl-panel[hidden]{display:none}
@media(max-width:900px){
  /* The link groups under a city tab scroll sideways (swipe). */
  .footer-links-band .fl-groups{display:flex;gap:4px 28px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;padding-bottom:12px;scrollbar-width:thin}
  .footer-links-band .fl-group{flex:0 0 auto;width:min(210px,62vw);scroll-snap-align:start}
}


/* =========================================================
   TRUSTED DEVELOPERS
========================================================= */

.developer-scroll{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding:2px 2px 12px;
  scrollbar-width:none;
}

.developer-scroll::-webkit-scrollbar{
  display:none;
}

.developer-card{
  flex:0 0 190px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:4px;
  --dev-pad-x:14px;
  --dev-pad-top:0px;
  padding:var(--dev-pad-top) var(--dev-pad-x) 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:inherit;
  text-decoration:none;
  box-shadow:0 5px 16px rgba(0,0,0,.03);
  overflow:hidden;
  transition:.25s;
}

.developer-card:hover,
.developer-card:focus-visible{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  outline:none;
}

.developer-mark{
  /* Full width of the card: bleeds through the card's side padding. */
  width:calc(100% + 2 * var(--dev-pad-x));
  height:96px;
  margin:0 calc(-1 * var(--dev-pad-x)) 10px;
  border-bottom:1px solid var(--line);
  background:var(--green-soft);
  display:grid;
  place-items:center;
  overflow:hidden;
  position:relative;
}

/* The logo spans the card's full width and is fitted whole, never
   cropped. Pinned to the box so a tall logo is scaled down, not left
   to stretch it. */
.developer-mark img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}

.developer-initial{
  font-size:26px;
  font-weight:800;
  color:var(--green);
}

.developer-card strong{
  font-size:var(--fs-lead);
  line-height:1.25;
}

.developer-meta{
  font-size:var(--fs-small);
  color:var(--muted);
}

.developer-verified{
  margin-top:auto;
  position:relative;
  top:6px;
  padding:2px 9px;
  border-radius:999px;
  background:var(--green-soft);
  color:var(--green);
  font-size:var(--fs-label);
  font-weight:700;
}

@media (max-width:900px){
  .developer-scroll{
    gap:10px;
    scroll-snap-type:x mandatory;
  }

  .developer-card{
    flex:0 0 44%;
    scroll-snap-align:start;
    --dev-pad-x:10px;
    padding-bottom:14px;
  }

  .developer-mark{
    height:80px;
  }
}

/* Featured projects: a small mint-on-green tag at the foot of the photo. */
.feat-badge{position:absolute;left:7px;bottom:7px;z-index:2;padding:2px 7px;border-radius:999px;background:var(--green);color:#fff;font-size:10px;font-weight:700;line-height:1.3;box-shadow:0 2px 8px rgba(0,0,0,.18);pointer-events:none}


/* =========================================================
   ADVERTISEMENT BANNERS
   Auto-scrolling carousel under the stats bar (js/ad-banner.js).
   Without JavaScript the first banner simply shows.
========================================================= */

.ad-banner{
  padding:0 0 28px;
}

.ad-banner[hidden]{
  display:none;
}

.ad-viewport{
  position:relative;
  overflow:hidden;
  transition:height .4s ease;
  border-radius:var(--radius);
  box-shadow:0 10px 30px rgba(8,45,56,.12);
  background:var(--green-soft);
}

.ad-track{
  display:flex;
  align-items:flex-start;
  transition:transform .6s cubic-bezier(.22,.7,.2,1);
  will-change:transform;
  touch-action:pan-y;
}

.ad-slide{
  position:relative;
  flex:0 0 100%;
  display:block;
  background:var(--green-soft);
}

.ad-slide img{
  width:100%;
  /* Without JavaScript the banner takes the image's own shape. */
  height:auto;
  display:block;
  /* js/ad-banner.js sets the height (70% of the image's own shape); the
     image fills the full width and is squeezed to that height: nothing
     is cropped and no gaps are left. */
  object-fit:fill;
  -webkit-user-drag:none;
  user-select:none;
}

/* "Ad" label in a corner of every ad: no background, so a soft
   shadow keeps the white text readable on any image. */
.ad-tag{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  padding:3px 9px;
  background:transparent;
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  line-height:1.4;
  text-transform:uppercase;
  text-shadow:0 1px 3px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.5);
  pointer-events:none;
}

@media (max-width:640px){
  .ad-tag{ top:8px; left:8px; padding:2px 8px; font-size:10px; }
}

.ad-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:var(--ink);
  font-size:26px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow:0 4px 14px rgba(8,45,56,.2);
  opacity:0;
  transition:opacity .2s;
}

.ad-prev{ left:12px; }
.ad-next{ right:12px; }

.ad-viewport:hover .ad-arrow,
.ad-arrow:focus-visible{
  opacity:1;
}

.ad-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:10px;
  display:flex;
  justify-content:center;
  gap:6px;
}

.ad-dot{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.6);
  cursor:pointer;
  transition:width .25s, background .25s;
}

.ad-dot[aria-selected="true"]{
  width:22px;
  background:#fff;
}

/* Fewer than two banners: nothing to scroll */
.ad-banner[data-single] .ad-arrow,
.ad-banner[data-single] .ad-dots{
  display:none;
}

@media (max-width:640px){
  .ad-banner{ padding-bottom:20px; }
  .ad-viewport{ border-radius:16px; }
  .ad-arrow{ display:none; }
}

@media (prefers-reduced-motion:reduce){
  .ad-track{ transition:none; }
}


/* =========================================================
   FEATURED PROJECTS - gold card
   A dark-gold card in a glossy gold frame: the photo on top with a gold
   wave under it, then a panel with the name in serif, the place, "By" the
   developer, two facts (BHK sizes, starting price) and a gold "View
   Project" button. The same size as every other project card (four to a
   row, see css/cards.css). Markup: createFeaturedCard() in js/home.js.
========================================================= */

#featuredProjects{
  background:linear-gradient(180deg, #fff9ed 0%, #ffffff 75%);
}

#featuredProjects .section-kicker{ color:#b8860b; }

#featuredList .property-card.is-featured{
  position:relative;
  display:flex;
  flex-direction:column;
  height:354px;
  min-height:0;
  border:2px solid transparent;
  border-radius:22px;
  color:#092c3d;
  background:
    linear-gradient(#eaf6f1, #eaf6f1) padding-box,
    linear-gradient(135deg, #fff1b8 0%, #e0a82e 26%, #bd8300 50%, #f4cf6a 74%, #fff1b8 100%) border-box;
  box-shadow:0 14px 30px rgba(8, 45, 56, .16);
}

#featuredList .property-card.is-featured:hover{
  transform:translateY(-4px);
  border-color:transparent;
  box-shadow:0 22px 40px rgba(8, 45, 56, .24), 0 0 0 1px rgba(247, 215, 116, .45);
}

/* Photo, with the gold wave along its bottom edge */
#featuredList .fc-photo{
  position:relative;
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
}

#featuredList .fc-photo > img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s;
}

#featuredList .property-card.is-featured:hover .fc-photo > img{ transform:scale(1.05); }

#featuredList .fc-wave{
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  width:100%;
  height:26px;
  pointer-events:none;
}

#featuredList .fc-tag,
#featuredList .fc-rera,
#featuredList .fav{ z-index:3; }

/* "Featured": a gold pill, top left */
#featuredList .fc-tag{
  position:absolute;
  top:10px;
  left:0;
  padding:4px 12px 4px 11px;
  border:0;
  border-radius:0 999px 999px 0;
  background:linear-gradient(135deg, #fbe38a 0%, #e0a21a 55%, #c98f06 100%);
  color:#3b2406;
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.07em;
  line-height:1.2;
  text-transform:uppercase;
  white-space:nowrap;
  box-shadow:3px 3px 8px rgba(0, 0, 0, .3);
}

/* RERA: a small frosted pill at the foot of the photo */
#featuredList .fc-rera{
  order:2;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  align-self:center;
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#2b2f33;
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.01em;
}

#featuredList .fc-tick{
  display:inline-grid;
  place-items:center;
  width:13px;
  height:13px;
  flex:none;
  border-radius:50%;
  background:#0a8f5a;
  color:#fff;
  font-size:8px;
  font-style:normal;
  font-weight:800;
  line-height:1;
}

#featuredList .fc-rera-text{ min-width:0; overflow:hidden; text-overflow:ellipsis; line-height:1.2; }

#featuredList .fc-rera b{ color:inherit; font-weight:800; }

#featuredList .fav{ top:10px; right:10px; }

/* Panel */
#featuredList .fc-panel{
  position:relative;
  flex:none;
  padding:3px 14px 12px;
  background:#eaf6f1;   /* one flat colour, the same as the wave above it */
}

#featuredList .fc-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

#featuredList .fc-main{ min-width:0; flex:1; }

#featuredList .fc-panel h3{
  margin:0;
  font-family:"Playfair Display", "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size:17px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.1px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

#featuredList .fc-panel .card-link{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  background:linear-gradient(135deg, #006b5b 0%, #006b5b 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}

#featuredList .fc-loc{
  display:flex;
  align-items:center;
  gap:5px;
  margin:3px 0 0;
  color:#3f5560;
  font-size:14px;
  line-height:1.25;
}

#featuredList .fc-loc svg{ flex:none; color:#bd8300; }
#featuredList .fc-loc span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

#featuredList .fc-by{
  flex:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  max-width:84px;
  padding-left:10px;
  border-left:1px solid rgba(189, 131, 0, .4);
  color:#3f5560;
  font-size:10.5px;
  line-height:1.1;
  text-align:center;
}

#featuredList .fc-by-logo{
  display:block;
  width:72px;
  height:34px;
  object-fit:contain;
}

#featuredList .fc-by-name{
  font-family:Georgia, "Times New Roman", serif;
  font-size:11px;
  font-weight:700;
  color:#bd8300;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

#featuredList .fc-rule{
  height:1px;
  margin:8px 0;
  background:linear-gradient(90deg, rgba(189, 131, 0, .55), rgba(189, 131, 0, .05));
}

#featuredList .fc-facts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

#featuredList .fc-fact{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}

#featuredList .fc-ico{
  flex:none;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid rgba(247, 215, 116, .65);
  border-radius:50%;
  background:#fff;
  color:#bd8300;
}

#featuredList .fc-fact strong{
  display:block;
  color:#092c3d;
  font-size:12.5px;
  font-weight:800;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#featuredList .fc-fact small{
  display:block;
  color:#5b6c75;
  font-size:10.5px;
  line-height:1.2;
}

/* "View Project" and "Compare", side by side, slim */
#featuredList .fc-actions{
  display:flex;
  align-items:stretch;
  gap:8px;
  margin-top:9px;
}

#featuredList .fc-cta{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  height:26px;
  padding:0 10px;
  border:1px solid #fff0b0;
  border-radius:999px;
  background:linear-gradient(180deg, #fbe38a 0%, #e0a21a 100%);
  color:#3b2406;
  font-size:11.5px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 4px 10px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition:filter .15s, transform .15s;
}

#featuredList .fc-cta:hover,
#featuredList .fc-cta:focus-visible{
  filter:brightness(1.06);
  transform:translateY(-1px);
  outline:none;
}

/* Compare: the same gold and slim height as View Project */
#featuredList .fc-actions .compare-toggle{
  position:static;
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  height:26px;
  padding:0 11px;
  border:0;
  border-radius:999px;
  background:linear-gradient(180deg, #fbe38a 0%, #e0a21a 100%);
  color:#3b2406;
  font-size:11.5px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 4px 10px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition:filter .15s, transform .15s;
}

#featuredList .fc-actions .compare-toggle:hover,
#featuredList .fc-actions .compare-toggle:focus-visible{
  filter:brightness(1.06);
  transform:translateY(-1px);
  outline:none;
}

/* Already in the compare tray: a deeper gold with white text */
#featuredList .fc-actions .compare-toggle.is-compared{
  background:linear-gradient(180deg, #d79a0c 0%, #a87400 100%);
  border-color:#fff0b0;
  color:#092c3d;
}

@media (max-width:900px){
  #featuredList .property-card.is-featured{ height:331px; }
  #featuredList .fc-panel h3{ font-size:19px; }
}

#featuredList .fc-actions .compare-toggle{ order:1; }
#featuredList .fc-actions .compare-toggle:only-child{ flex:1; }

/* Testimonial with the buyer's photo (build/testimonials.js): the photo
   covers the initial; if it fails to load, the initial shows. */
.testi-avatar.has-photo{ position:relative; overflow:hidden; }
.testi-avatar.has-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* Advertisement slots further down the homepage (js/ad-banner.js):
   a little room above, so the banner sits evenly between sections. */
.ad-banner[data-ad-slot]:not([data-ad-slot="top"]){
  padding-top:8px;
}

/* Strip after Featured (placement after_featured): full width like the
   other banners (the image is stretched to fit); only the corners are
   rounded a little less. */
.ad-banner--narrow .ad-viewport{
  border-radius:12px;
}
