
/* ---------- Base polish ---------- */
:root{
  --annuva-orange:#ff6600;
  --annuva-orange-dark:#e65b00;
  --annuva-navy:#0b1c2e;
  --annuva-navy-2:#17304b;
  --annuva-text:#0f1720;
  --annuva-muted:#6b7280;
  --annuva-surface:#ffffff;
  --annuva-surface-2:#f7f8fb;
  --annuva-radius:18px;
  --annuva-shadow:0 16px 40px rgba(11,28,46,.12);
}

body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

h1,h2,h3,h4,h5,h6{
  letter-spacing:.01em;
  text-wrap:balance;
}

p,li{
  text-wrap:pretty;
}

/* ---------- Header / navigation ---------- */
.site-header,
header.site-header,
.main-header,
header{
  backdrop-filter:saturate(140%) blur(8px);
}

.site-branding img + .site-title,
.navbar-brand img + span,
.custom-logo-link + .site-title,
.logo-text{
  display:none !important;
}

.site-header .menu-toggle,
.navbar-toggler,
.mobile-menu-toggle{
  margin-left:auto !important;
}

@media (max-width: 991px){
  .site-header .main-navigation,
  .navbar-collapse,
  .mobile-nav{
    display:none;
  }

  .site-header .main-navigation.is-open,
  .navbar-collapse.show,
  .mobile-nav.is-open{
    display:block;
  }

  .site-header .current-menu-item > a,
  .site-header .current_page_item > a,
  .site-header .current-menu-ancestor > a,
  .mobile-nav .current-menu-item > a,
  .mobile-nav a[aria-current="page"]{
    background:rgba(255,102,0,.12);
    color:var(--annuva-orange) !important;
    border-radius:12px;
  }
}

/* ---------- Hero shared ---------- */
.hero-section,
.page-hero,
.inner-hero,
.hero-banner{
  position:relative;
  overflow:hidden;
}

.hero-section > *,
.page-hero > *,
.inner-hero > *,
.hero-banner > *{
  position:relative;
  z-index:2;
}

.hero-section::before,
.page-hero::before,
.inner-hero::before,
.hero-banner::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
}

/* Homepage hero only: real image + overlay */
.home .hero-section,
.home .page-hero,
.home .hero-banner{
  background-image:url('../images/homepage-hero.jpg');
  background-size:cover;
  background-position:right center;
  background-repeat:no-repeat;
}

.home .hero-section::before,
.home .page-hero::before,
.home .hero-banner::before{
  background:linear-gradient(90deg,
    rgba(11,28,46,.96) 0%,
    rgba(11,28,46,.90) 34%,
    rgba(11,28,46,.74) 56%,
    rgba(11,28,46,.36) 76%,
    rgba(11,28,46,.15) 100%);
}

/* Inner-page heroes: gradient only. Properties page intentionally untouched */
body:not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .page-hero:not(.hero-section),
body:not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .inner-hero,
body:not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero-banner:not(.hero-section){
  background:linear-gradient(135deg, var(--annuva-navy) 0%, var(--annuva-navy-2) 68%, rgba(255,102,0,.14) 100%);
}

body:not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .page-hero:not(.hero-section)::before,
body:not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .inner-hero::before,
body:not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero-banner:not(.hero-section)::before{
  background:linear-gradient(135deg, rgba(11,28,46,.28), rgba(11,28,46,.08));
}

.home .hero-section h1,
.home .page-hero h1,
.home .hero-banner h1{
  color:#fff;
  max-width:12ch;
  line-height:1.04;
  letter-spacing:.02em;
  text-shadow:0 2px 18px rgba(0,0,0,.24);
}

.home .hero-section p,
.home .page-hero p,
.home .hero-banner p{
  color:rgba(255,255,255,.88);
  max-width:38rem;
  text-shadow:0 2px 14px rgba(0,0,0,.2);
}

.page-hero h1,
.inner-hero h1,
.hero-banner h1{
  color:#fff;
  text-shadow:0 2px 14px rgba(0,0,0,.18);
}

.page-hero p,
.inner-hero p,
.hero-banner p{
  color:rgba(255,255,255,.84);
}

/* Bring hero text back left a bit without hugging edge */
.home .hero-section .container,
.home .page-hero .container,
.home .hero-banner .container{
  padding-left:clamp(20px,4vw,48px);
  padding-right:clamp(20px,4vw,48px);
}

@media (min-width: 992px){
  .home .hero-section,
  .home .page-hero,
  .home .hero-banner{
    min-height:72vh;
    display:flex;
    align-items:center;
  }

  .home .hero-section h1,
  .home .page-hero h1,
  .home .hero-banner h1{
    font-size:clamp(2.55rem, 4vw, 4.2rem) !important;
  }

  .home .hero-section .eyebrow,
  .home .hero-section .trust-line,
  .home .hero-section .hero-trust,
  .home .page-hero .trust-line{
    font-size:.92rem !important;
  }
}

@media (max-width: 991px){
  .home .hero-section,
  .home .page-hero,
  .home .hero-banner{
    background-position:center center;
    min-height:62vh;
  }
  .home .hero-section::before,
  .home .page-hero::before,
  .home .hero-banner::before{
    background:linear-gradient(180deg,
      rgba(11,28,46,.95) 0%,
      rgba(11,28,46,.88) 42%,
      rgba(11,28,46,.64) 100%);
  }
  .home .hero-section h1,
  .home .page-hero h1,
  .home .hero-banner h1{
    font-size:clamp(1.95rem, 8vw, 2.65rem) !important;
    max-width:15ch;
  }
  .home .hero-section p,
  .home .page-hero p,
  .home .hero-banner p{
    font-size:1rem;
  }
}

/* ---------- Buttons ---------- */
.btn,
.button,
.wp-element-button,
input[type="submit"],
button[type="submit"]{
  border-radius:14px;
  transition:all .25s ease;
}

.btn-primary,
.button-primary,
a.btn-primary,
input[type="submit"],
button[type="submit"]{
  background:var(--annuva-orange) !important;
  border-color:var(--annuva-orange) !important;
  color:#fff !important;
}

.btn-primary:hover,
.button-primary:hover,
a.btn-primary:hover,
input[type="submit"]:hover,
button[type="submit"]:hover{
  background:var(--annuva-orange-dark) !important;
  border-color:var(--annuva-orange-dark) !important;
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(255,102,0,.18);
}

.btn-secondary,
a.btn-secondary,
.button-secondary{
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.32);
  backdrop-filter:blur(8px);
}

.btn-secondary:hover,
a.btn-secondary:hover,
.button-secondary:hover{
  background:rgba(255,255,255,.16);
  color:#fff;
}

/* ---------- Homepage section headings ---------- */
.section-heading h2,
.home section h2{
  letter-spacing:.02em;
}

.path-card h3,
.audience-card h3,
.choice-card h3,
.process-card h3,
.land-card h3,
.card h3{
  letter-spacing:.015em;
}

/* More colorful CTA cards / pills */
.path-card .btn,
.audience-card .btn,
.choice-card .btn{
  background:linear-gradient(135deg, var(--annuva-orange), #ff8c2f);
  color:#fff !important;
  border:none;
}

.land-tag,
.land-pill,
.location-pill,
.location-badge{
  background:linear-gradient(135deg, rgba(255,102,0,.12), rgba(255,102,0,.22));
  color:#8a3a00;
  border:1px solid rgba(255,102,0,.16);
  border-radius:999px;
  padding:.55rem .9rem;
  display:inline-flex;
  gap:.35rem;
  align-items:center;
}

/* ---------- Property archive spacing ---------- */
.post-type-archive-property .property-filters,
.tax-property_type .property-filters,
.properties-archive .property-filters{
  margin-bottom:2rem;
}

.post-type-archive-property .property-grid,
.tax-property_type .property-grid,
.properties-archive .property-grid{
  row-gap:2rem !important;
  column-gap:1.5rem !important;
  margin-top:1.25rem;
}

.post-type-archive-property .property-card,
.tax-property_type .property-card,
.properties-archive .property-card{
  margin-top:.25rem;
}

/* ---------- Stats / testimonials ---------- */
.stats-card,
.stat-card{
  background:linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
  border:1px solid rgba(11,28,46,.06);
  box-shadow:var(--annuva-shadow);
}

.testimonial-card{
  border:1px solid rgba(11,28,46,.06);
  box-shadow:var(--annuva-shadow);
}

/* ---------- Mortgage FAQ accordion ---------- */
.faq-item,
.accordion-item{
  border:1px solid rgba(11,28,46,.08);
  border-radius:16px;
  margin-bottom:12px;
  overflow:hidden;
  background:#fff;
}

.faq-question,
.accordion-button{
  cursor:pointer;
}

.faq-answer,
.accordion-content{
  display:none;
  color:#475467;
}

.faq-item.is-open .faq-answer,
.accordion-item.is-open .accordion-content{
  display:block;
}

/* ---------- Footer ---------- */
.site-footer .footer-contact li,
footer .footer-contact li{
  display:flex;
  align-items:flex-start;
  gap:.65rem;
}

.site-footer .footer-contact .icon,
footer .footer-contact .icon{
  width:18px;
  flex:0 0 18px;
  color:var(--annuva-orange);
}

.site-footer,
footer.site-footer,
footer{
  font-size:.96rem;
}

@media (min-width: 992px){
  .site-footer .footer-grid > :first-child{
    padding-left:1.2rem;
  }
}

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp,
.whatsapp-float{
  transform:scale(.88);
  transform-origin:bottom right;
}

/* ---------- Single property CTA buttons ---------- */
.single-property .btn-primary,
.single-property input[type="submit"],
.single-property button[type="submit"]{
  background:var(--annuva-orange) !important;
  border-color:var(--annuva-orange) !important;
}

/* ---------- Utilities ---------- */
.text-muted-on-dark{
  color:rgba(255,255,255,.78) !important;
}


/* ===== v1.2 targeted refinements ===== */

/* 1) Make sure the homepage hero uses the NEW image on both desktop and mobile */
.home .hero-section,
.home .page-hero,
.home .hero-banner{
  background-image:url('../images/homepage-hero.jpg') !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
}

/* 2) Remove any lingering brochure/background images from INNER PAGE heroes,
   while preserving the premium brand gradient. Leave main properties page untouched. */
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .page-hero,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .inner-hero,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero-banner{
  background-image:none !important;
  background:
    linear-gradient(135deg, #0b1c2e 0%, #17304b 68%, rgba(255,102,0,.14) 100%) !important;
}

body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .page-hero::after,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .inner-hero::after,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero-banner::after{
  content:none !important;
}

/* If the parent theme injects hero images via nested wrappers, neutralize them */
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .page-hero [style*="background-image"],
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .inner-hero [style*="background-image"],
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero-banner [style*="background-image"]{
  background-image:none !important;
}

/* 3) Spread out the "Choose your path" 3-column headings a bit more on web and mobile */
.path-card h3,
.audience-card h3,
.choice-card h3,
.home .path-card h3,
.home .audience-card h3,
.home .choice-card h3{
  letter-spacing:.02em !important;
  line-height:1.12 !important;
  word-spacing:.04em;
  max-width:12ch;
}

@media (max-width: 991px){
  .path-card h3,
  .audience-card h3,
  .choice-card h3,
  .home .path-card h3,
  .home .audience-card h3,
  .home .choice-card h3{
    letter-spacing:.018em !important;
    line-height:1.15 !important;
    max-width:13ch;
  }
}

/* Make the section heading feel a touch more open without disturbing layout */
.home .section-heading h2,
.home .choose-path-section h2,
.home .audience-paths h2{
  letter-spacing:.01em !important;
  line-height:1.06 !important;
}

/* Keep hero text sharp above the homepage image */
.home .hero-section h1,
.home .page-hero h1,
.home .hero-banner h1{
  text-shadow:0 2px 18px rgba(0,0,0,.28) !important;
}
.home .hero-section p,
.home .page-hero p,
.home .hero-banner p{
  text-shadow:0 2px 14px rgba(0,0,0,.24) !important;
}


/* ===== v1.3 hero/image hard override + featured cta ===== */

/* Hard force homepage hero to use ONLY the new image on desktop and mobile */
.home .hero-section,
.home .page-hero,
.home .inner-hero.hero-section,
.home .inner-hero,
.home .hero-banner,
.home .hero,
.home .banner-hero{
  background:
    linear-gradient(90deg,
      rgba(11,28,46,.95) 0%,
      rgba(11,28,46,.90) 34%,
      rgba(11,28,46,.72) 58%,
      rgba(11,28,46,.32) 78%,
      rgba(11,28,46,.10) 100%),
    url('../images/homepage-hero.jpg') right center / cover no-repeat !important;
}

/* neutralize any older brochure image layers in homepage hero */
.home .hero-section::before,
.home .page-hero::before,
.home .inner-hero::before,
.home .hero-banner::before,
.home .hero::before,
.home .banner-hero::before{
  background:none !important;
}
.home .hero-section::after,
.home .page-hero::after,
.home .inner-hero::after,
.home .hero-banner::after,
.home .hero::after,
.home .banner-hero::after{
  content:none !important;
}
/* remove nested wrappers that may still carry an old image */
.home .hero-section [style*="background-image"],
.home .page-hero [style*="background-image"],
.home .inner-hero [style*="background-image"],
.home .hero-banner [style*="background-image"],
.home .hero [style*="background-image"],
.home .banner-hero [style*="background-image"]{
  background-image:none !important;
}

/* mobile homepage hero */
@media (max-width: 991px){
  .home .hero-section,
  .home .page-hero,
  .home .inner-hero.hero-section,
  .home .inner-hero,
  .home .hero-banner,
  .home .hero,
  .home .banner-hero{
    background:
      linear-gradient(180deg,
        rgba(11,28,46,.96) 0%,
        rgba(11,28,46,.88) 44%,
        rgba(11,28,46,.68) 100%),
      url('../images/homepage-hero.jpg') center center / cover no-repeat !important;
  }
}

/* inner page heroes: keep gradient only, strip any old image remnants */
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .page-hero,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .inner-hero,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero-banner,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .banner-hero{
  background:linear-gradient(135deg, #0b1c2e 0%, #17304b 68%, rgba(255,102,0,.14) 100%) !important;
  background-image:none !important;
}
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .page-hero::before,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .inner-hero::before,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero-banner::before,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero::before,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .banner-hero::before{
  background:none !important;
}
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .page-hero::after,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .inner-hero::after,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero-banner::after,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero::after,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .banner-hero::after{
  content:none !important;
}

/* featured section CTA button */
.featured-properties-cta,
.section-cta .view-all-properties-btn,
.view-all-properties-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:18px;
  padding:14px 24px;
  border-radius:999px;
  background:var(--annuva-orange);
  color:#fff !important;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 12px 26px rgba(255,102,0,.18);
  transition:all .25s ease;
}
.featured-properties-cta:hover,
.section-cta .view-all-properties-btn:hover,
.view-all-properties-btn:hover{
  background:var(--annuva-orange-dark);
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(255,102,0,.24);
}

/* featured section heading width */
.featured-properties .section-heading,
.home .featured-properties .section-heading{
  max-width:960px;
}

/* ===== v5 targeted fixes ===== */
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .page-hero,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .inner-hero,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero-banner{
  position: relative !important;
  background: linear-gradient(135deg, #0b1c2e 0%, #17304b 68%, rgba(255,102,0,.14) 100%) !important;
  background-image: linear-gradient(135deg, #0b1c2e 0%, #17304b 68%, rgba(255,102,0,.14) 100%) !important;
  background-size: cover !important;
  background-repeat:no-repeat !important;
}
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .page-hero *,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .inner-hero *,
body:not(.home):not(.post-type-archive-property):not(.tax-property_type):not(.single-property):not(.page-template-page-properties) .hero-banner *{
  position: relative;
  z-index: 2;
}
.home .hero-section .container,
.home .page-hero .container,
.home .hero-banner .container{
  max-width: 1280px !important;
}
.home .hero-section .hero-content,
.home .page-hero .hero-content,
.home .hero-banner .hero-content{
  max-width: 560px !important;
  margin-left: 0 !important;
  padding-left: clamp(24px, 4vw, 72px) !important;
  padding-right: 24px !important;
  position: relative;
  z-index: 3;
}
.home .hero-section h1,
.home .page-hero h1,
.home .hero-banner h1{
  max-width: 10.5ch !important;
}
.home .hero-section p,
.home .page-hero p,
.home .hero-banner p{
  max-width: 46ch !important;
}
.home .hero-section,
.home .page-hero,
.home .hero-banner{
  background-position: right center !important;
}
.home .hero-section::before,
.home .page-hero::before,
.home .hero-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(7,22,38,0.96) 0%, rgba(7,22,38,0.92) 34%, rgba(7,22,38,0.82) 50%, rgba(7,22,38,0.54) 68%, rgba(7,22,38,0.18) 100%) !important;
  z-index:1;
}
@media (max-width: 768px){
  .home .hero-section,
  .home .page-hero,
  .home .hero-banner{
    min-height: calc(100svh - 72px) !important;
    display:flex !important;
    align-items:center !important;
    background-position: center right !important;
  }
  .home .hero-section .hero-content,
  .home .page-hero .hero-content,
  .home .hero-banner .hero-content{
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
  .home .hero-section h1,
  .home .page-hero h1,
  .home .hero-banner h1{
    max-width: 8.8ch !important;
  }
  .home .hero-section p,
  .home .page-hero p,
  .home .hero-banner p{
    max-width: 30ch !important;
  }
  .home .hero-section::before,
  .home .page-hero::before,
  .home .hero-banner::before{
    background: linear-gradient(180deg, rgba(7,22,38,0.94) 0%, rgba(7,22,38,0.88) 38%, rgba(7,22,38,0.78) 64%, rgba(7,22,38,0.50) 100%) !important;
  }
}

/* ===== v6 targeted fixes ===== */

/* Desktop only: move homepage hero text further left so it stays away from the hero image */
@media (min-width: 769px){
  .home .hero-section .hero-content,
  .home .page-hero .hero-content,
  .home .hero-banner .hero-content{
    padding-left: clamp(18px, 2.4vw, 40px) !important;
    max-width: 520px !important;
  }

  .home .hero-section h1,
  .home .page-hero h1,
  .home .hero-banner h1{
    max-width: 9.8ch !important;
  }

  .home .hero-section p,
  .home .page-hero p,
  .home .hero-banner p{
    max-width: 42ch !important;
  }
}

/* Mortgage FAQ fallback visibility/interaction styling */
.mortgage-faq .faq-item,
.mortgage-faq .accordion-item,
.mortgage-faq .faq-card,
.faq-section .faq-item,
.faq-section .accordion-item{
  border: 1px solid rgba(15,42,68,.12);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 14px;
}

.mortgage-faq .faq-question,
.mortgage-faq .accordion-title,
.mortgage-faq .accordion-trigger,
.faq-section .faq-question,
.faq-section .accordion-title,
.faq-section .accordion-trigger{
  display: block;
  width: 100%;
  padding: 18px 22px;
  font-weight: 700;
  color: #13233b;
  cursor: pointer;
}

.mortgage-faq .faq-answer,
.mortgage-faq .accordion-content,
.faq-section .faq-answer,
.faq-section .accordion-content{
  display: none;
  padding: 0 22px 18px;
  color: #5f6f87;
}

.mortgage-faq .faq-item.is-open .faq-answer,
.mortgage-faq .accordion-item.is-open .accordion-content,
.faq-section .faq-item.is-open .faq-answer,
.faq-section .accordion-item.is-open .accordion-content,
.mortgage-faq .faq-item.active .faq-answer,
.mortgage-faq .accordion-item.active .accordion-content,
.faq-section .faq-item.active .faq-answer,
.faq-section .accordion-item.active .accordion-content{
  display: block;
}

/* ===== v7 preserve user-approved homepage hero CSS ===== */

/* Homepage hero – widen text (desktop only) */
@media (min-width: 1024px) {
  .home .hero .container.hero__content {
    max-width: 860px !important;
    width: 860px !important;
    margin-left: 32px !important;
  }

  .home .hero h1 {
    max-width: 14ch !important;
    line-height: 1.05 !important;
    letter-spacing: -0.5px !important;
  }

  .home .hero p {
    max-width: 52ch !important;
  }
}

/* Homepage hero mobile height fix */
@media (max-width: 768px) {
  .home .hero {
    min-height: 100svh !important;
    padding-bottom: 40px !important;
    display: flex !important;
    align-items: center !important;
    background-size: cover !important;
    background-position: 90% center !important;
    background-repeat: no-repeat !important;
  }

  .home .hero .container.hero__content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 28px 24px 36px !important;
  }

  .home .hero h1 {
    max-width: 9.5ch !important;
    line-height: 1.05 !important;
  }

  .home .hero p {
    max-width: 100% !important;
  }
}

/* ===== v7 property gallery styling ===== */
.annuva-property-gallery {
  padding: 72px 0;
}

.annuva-property-gallery .section-kicker,
.annuva-property-gallery .eyebrow {
  color: #ff6600;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.annuva-property-gallery h2 {
  color: #142033;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  max-width: 760px;
}

.annuva-property-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.annuva-property-gallery__item {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(20,32,51,.08);
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 30, 55, .08);
  aspect-ratio: 4/3;
}

.annuva-property-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}

.annuva-property-gallery__item:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.02);
}

@media (max-width: 991px) {
  .annuva-property-gallery {
    padding: 52px 0;
  }

  .annuva-property-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .annuva-property-gallery__grid {
    grid-template-columns: 1fr;
  }

  .annuva-property-gallery__item {
    border-radius: 22px;
  }
}

/* ===== v8 forced gallery visibility ===== */
.single-property .annuva-property-gallery,
body.single-property .annuva-property-gallery {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #fff;
  position: relative;
  z-index: 2;
}

#annuva-forced-property-gallery {
  display: block;
}

/* ===== v9 gallery placement + lightbox polish ===== */
.annuva-property-gallery {
  padding-top: 64px !important;
  padding-bottom: 48px !important;
}

.annuva-property-gallery__item {
  cursor: zoom-in;
}

.annuva-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 14, 26, .88);
  backdrop-filter: blur(10px);
  padding: 24px;
}

.annuva-lightbox.is-open {
  display: flex;
}

.annuva-lightbox__image {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.annuva-lightbox__close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

body.annuva-lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .annuva-property-gallery .section-kicker,
  .annuva-property-gallery .eyebrow {
    display: none !important;
  }

  .annuva-property-gallery h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .annuva-lightbox__image {
    max-width: 94vw;
    max-height: 80vh;
    border-radius: 18px;
  }
}

/* ===== v10 final forced gallery/lightbox styles ===== */
.single-property .annuva-property-gallery {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.annuva-property-gallery__item[target] {
  cursor: zoom-in !important;
}

.annuva-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(5, 14, 26, .9) !important;
  backdrop-filter: blur(10px);
  padding: 24px;
}

.annuva-lightbox.is-open {
  display: flex !important;
}

.annuva-lightbox__image {
  max-width: min(1100px, 92vw) !important;
  max-height: 86vh !important;
  object-fit: contain !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.45) !important;
}

.annuva-lightbox__close {
  position: fixed !important;
  top: 22px !important;
  right: 24px !important;
  width: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  font-size: 32px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

@media (max-width: 768px) {
  .single-property .annuva-property-gallery .section-kicker,
  .single-property .annuva-property-gallery .eyebrow {
    display: none !important;
  }
}

/* ===== v11 mobile gallery slider ===== */
.annuva-gallery-mobile-note {
  display: none;
}

@media (max-width: 768px) {
  .single-property .annuva-property-gallery {
    padding-top: 44px !important;
    padding-bottom: 34px !important;
    overflow: hidden;
  }

  .single-property .annuva-property-gallery h2 {
    margin-bottom: 10px !important;
  }

  .annuva-gallery-mobile-note {
    display: block;
    margin: 0 0 18px;
    color: #6c788c;
    font-size: 15px;
    line-height: 1.5;
  }

  .single-property .annuva-property-gallery__grid {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 18px;
    margin-right: -20px;
    scrollbar-width: none;
  }

  .single-property .annuva-property-gallery__grid::-webkit-scrollbar {
    display: none;
  }

  .single-property .annuva-property-gallery__item {
    min-width: 82vw !important;
    width: 82vw !important;
    max-width: 82vw !important;
    aspect-ratio: 4 / 3 !important;
    flex: 0 0 auto !important;
    scroll-snap-align: start;
    border-radius: 22px !important;
    cursor: zoom-in !important;
  }

  .single-property .annuva-property-gallery__item img {
    height: 100% !important;
    object-fit: cover !important;
  }

  .annuva-lightbox {
    touch-action: manipulation;
  }

  .annuva-lightbox.is-open {
    display: flex !important;
  }

  .annuva-lightbox__image {
    max-width: 94vw !important;
    max-height: 78vh !important;
    border-radius: 18px !important;
  }

  .annuva-lightbox__close {
    top: 16px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 30px !important;
  }
}

/* ===== v12 mobile gallery slider force ===== */
@media (max-width: 768px) {
  body.single-property .annuva-property-gallery {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding-top: 42px !important;
    padding-bottom: 34px !important;
  }

  body.single-property .annuva-property-gallery .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  body.single-property .annuva-property-gallery .section-kicker,
  body.single-property .annuva-property-gallery .eyebrow {
    display: none !important;
  }

  body.single-property .annuva-gallery-mobile-note {
    display: block !important;
    margin: 0 20px 16px 0 !important;
    color: #6c788c !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body.single-property .annuva-property-gallery__grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    padding: 6px 20px 18px 0 !important;
    margin: 0 !important;
    scrollbar-width: none !important;
  }

  body.single-property .annuva-property-gallery__grid::-webkit-scrollbar {
    display: none !important;
  }

  body.single-property .annuva-property-gallery__item {
    display: block !important;
    flex: 0 0 82vw !important;
    min-width: 82vw !important;
    width: 82vw !important;
    max-width: 82vw !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    scroll-snap-align: start !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    cursor: zoom-in !important;
    touch-action: manipulation !important;
  }

  body.single-property .annuva-property-gallery__item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}

/* v12 lightbox force */
#annuva-gallery-lightbox-v12.annuva-lightbox-v12,
.annuva-lightbox-v12 {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(5, 14, 26, .92) !important;
  backdrop-filter: blur(10px);
  padding: 22px !important;
}

#annuva-gallery-lightbox-v12.annuva-lightbox-v12.is-open,
.annuva-lightbox-v12.is-open {
  display: flex !important;
}

.annuva-lightbox-v12__image {
  max-width: 94vw !important;
  max-height: 82vh !important;
  object-fit: contain !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.45) !important;
}

.annuva-lightbox-v12__close {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  font-size: 30px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

html.annuva-lightbox-open,
body.annuva-lightbox-open {
  overflow: hidden !important;
}

/* ===== v14 mobile gallery interaction polish ===== */
@media (max-width: 900px) {
  .annuva-property-gallery__grid {
    scroll-behavior: smooth !important;
  }

  .annuva-property-gallery__item {
    -webkit-tap-highlight-color: transparent;
  }
}

/* ===== v15 property details/features/amenities/investment styling ===== */
.annuva-property-details-block {
  padding: 56px 0 72px;
  background: #fff;
}

.annuva-property-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.annuva-property-info-card,
.annuva-property-investment-card,
.annuva-title-card {
  border-radius: 30px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(20,32,51,.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 22px 60px rgba(15, 30, 55, .08);
}

.annuva-property-info-card--dark {
  background: linear-gradient(135deg, #0b1c2e 0%, #17304b 72%, rgba(255,102,0,.15) 100%);
  color: #fff;
}

.annuva-property-info-card .section-kicker,
.annuva-property-investment-card .section-kicker {
  color: #ff6600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 14px;
}

.annuva-property-info-card--dark .section-kicker {
  color: #ffb380;
}

.annuva-property-info-card h2,
.annuva-property-investment-card h2 {
  margin: 0 0 24px;
  color: #142033;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.annuva-property-info-card--dark h2 {
  color: #fff;
}

.annuva-property-info-card ul,
.annuva-property-investment-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.annuva-property-info-card li,
.annuva-property-investment-card li {
  position: relative;
  padding-left: 30px;
  color: #5f6f87;
  line-height: 1.55;
}

.annuva-property-info-card--dark li {
  color: rgba(255,255,255,.82);
}

.annuva-property-info-card li::before,
.annuva-property-investment-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255,102,0,.12);
  color: #ff6600;
  font-size: 12px;
  font-weight: 900;
}

.annuva-property-info-card--dark li::before {
  background: rgba(255,255,255,.12);
  color: #ffb380;
}

.annuva-property-investment-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  gap: 24px;
  margin-top: 24px;
}

.annuva-title-card {
  background: #101c2e;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.annuva-title-card span {
  color: #ffb380;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}

.annuva-title-card strong {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 14px;
}

.annuva-title-card p {
  color: rgba(255,255,255,.72);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .annuva-property-details-block {
    padding: 44px 0 56px;
  }

  .annuva-property-duo,
  .annuva-property-investment-row {
    grid-template-columns: 1fr;
  }

  .annuva-property-info-card,
  .annuva-property-investment-card,
  .annuva-title-card {
    border-radius: 24px;
    padding: 26px;
  }
}

/* ===== v16 premium property details redesign ===== */
.single-property .annuva-property-details-block {
  display: none !important;
}

.annuva-premium-property-details {
  padding: 72px 0 86px;
  background:
    radial-gradient(circle at top right, rgba(255,102,0,.08), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.annuva-premium-details__intro {
  max-width: 820px;
  margin-bottom: 34px;
}

.annuva-premium-details__intro .section-kicker {
  color: #ff6600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
  margin: 0 0 14px;
}

.annuva-premium-details__intro h2 {
  margin: 0 0 14px;
  color: #101c2e;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.045em;
}

.annuva-premium-details__intro p {
  margin: 0;
  color: #64748b;
  font-size: 18px;
  line-height: 1.65;
  max-width: 650px;
}

.annuva-premium-details__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.annuva-premium-detail-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 30px;
  border: 1px solid rgba(16,28,46,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(15, 30, 55, .08);
  min-height: 100%;
}

.annuva-premium-detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,102,0,.08), transparent 38%);
  pointer-events: none;
}

.annuva-premium-detail-card--accent {
  background: linear-gradient(180deg, #fff7f1 0%, #fff 100%);
}

.annuva-premium-detail-card--dark {
  background: linear-gradient(135deg, #0b1c2e 0%, #17304b 72%, rgba(255,102,0,.18) 100%);
  color: #fff;
}

.annuva-premium-detail-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.annuva-premium-detail-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  background: #ff6600;
  color: #fff;
  font-size: 21px;
  box-shadow: 0 14px 35px rgba(255,102,0,.24);
  flex: 0 0 auto;
}

.annuva-premium-detail-card--dark .annuva-premium-detail-card__icon {
  background: rgba(255,255,255,.12);
  box-shadow: none;
}

.annuva-premium-detail-card__top p {
  margin: 0 0 6px;
  color: #ff6600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}

.annuva-premium-detail-card--dark .annuva-premium-detail-card__top p {
  color: #ffb380;
}

.annuva-premium-detail-card__top h3 {
  margin: 0;
  color: #101c2e;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.annuva-premium-detail-card--dark .annuva-premium-detail-card__top h3 {
  color: #fff;
}

.annuva-premium-detail-card ul {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.annuva-premium-detail-card li {
  position: relative;
  padding-left: 28px;
  color: #5f6f87;
  line-height: 1.55;
  font-size: 15.5px;
}

.annuva-premium-detail-card--dark li {
  color: rgba(255,255,255,.82);
}

.annuva-premium-detail-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6600;
  box-shadow: 0 0 0 5px rgba(255,102,0,.12);
}

.annuva-premium-detail-card--dark li::before {
  background: #ffb380;
  box-shadow: 0 0 0 5px rgba(255,179,128,.12);
}

.annuva-premium-title-strip {
  margin-top: 24px;
  border-radius: 28px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.5fr);
  gap: 24px;
  align-items: center;
  background: #101c2e;
  color: #fff;
  box-shadow: 0 24px 70px rgba(15, 30, 55, .12);
}

.annuva-premium-title-strip span {
  display: block;
  color: #ffb380;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.annuva-premium-title-strip strong {
  display: block;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.annuva-premium-title-strip p {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .annuva-premium-details__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .annuva-premium-property-details {
    padding: 52px 0 64px;
  }

  .annuva-premium-detail-card {
    border-radius: 26px;
    padding: 24px;
  }

  .annuva-premium-detail-card__top h3 {
    font-size: 21px;
  }

  .annuva-premium-title-strip {
    grid-template-columns: 1fr;
    border-radius: 24px;
    padding: 24px;
  }
}

/* ===== v18 safe premium accordion property details ===== */
.single-property .annuva-premium-property-details,
.single-property .annuva-property-details-block {
  display: none !important;
}

.annuva-safe-accordion-details {
  padding: 70px 0 86px;
  background: radial-gradient(circle at 15% 0%, rgba(255,102,0,.09), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.annuva-safe-accordion-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.annuva-safe-accordion-head .section-kicker {
  color: #ff6600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
  margin: 0 0 12px;
}

.annuva-safe-accordion-head h2 {
  margin: 0;
  color: #101c2e;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -.045em;
  max-width: 820px;
}

.annuva-safe-brochure-btn,
.annuva-safe-title-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #ff6600;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 16px 35px rgba(255,102,0,.22);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}

.annuva-safe-brochure-btn:hover,
.annuva-safe-title-card a:hover {
  transform: translateY(-2px);
  background: #e85d00;
  box-shadow: 0 20px 45px rgba(255,102,0,.28);
}

.annuva-safe-accordion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .55fr);
  gap: 24px;
  align-items: start;
}

.annuva-safe-accordion-list {
  display: grid;
  gap: 16px;
}

.annuva-safe-accordion-item {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(16,28,46,.08);
  box-shadow: 0 20px 65px rgba(15,30,55,.07);
}

.annuva-safe-accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 54px minmax(0,1fr) 32px;
  gap: 16px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: #101c2e;
}

.annuva-safe-accordion-icon {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,102,0,.11);
  color: #ff6600;
  font-size: 23px;
}

.annuva-safe-accordion-trigger small {
  display: block;
  color: #ff6600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 5px;
}

.annuva-safe-accordion-trigger strong {
  display: block;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.annuva-safe-accordion-trigger em {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #101c2e;
  color: #fff;
  font-style: normal;
  font-size: 22px;
  transition: transform .25s ease, background .25s ease;
}

.annuva-safe-accordion-item.is-open .annuva-safe-accordion-trigger em {
  transform: rotate(45deg);
  background: #ff6600;
}

.annuva-safe-accordion-panel {
  display: none;
  padding: 0 24px 24px 94px;
}

.annuva-safe-accordion-item.is-open .annuva-safe-accordion-panel {
  display: block;
}

.annuva-safe-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.annuva-safe-pill-grid span {
  display: inline-flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: 999px;
  background: #f3f6fa;
  color: #4d5e73;
  font-size: 14.5px;
  line-height: 1.35;
  border: 1px solid rgba(16,28,46,.06);
}

.annuva-safe-title-card {
  position: sticky;
  top: 96px;
  border-radius: 30px;
  padding: 30px;
  background: linear-gradient(135deg, #0b1c2e 0%, #17304b 70%, rgba(255,102,0,.18) 100%);
  color: #fff;
  box-shadow: 0 26px 75px rgba(15,30,55,.18);
  overflow: hidden;
}

.annuva-safe-title-card span {
  display:block;
  color:#ffb380;
  font-weight:900;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.annuva-safe-title-card strong {
  display:block;
  font-size:clamp(26px,3vw,42px);
  line-height:1.05;
  letter-spacing:-.035em;
  margin-bottom:14px;
}

.annuva-safe-title-card p {
  color:rgba(255,255,255,.75);
  line-height:1.65;
  margin:0 0 22px;
}

@media (max-width: 980px) {
  .annuva-safe-accordion-layout,
  .annuva-safe-accordion-head {
    display:grid;
    grid-template-columns:1fr;
    align-items:start;
  }

  .annuva-safe-title-card {
    position:relative;
    top:auto;
  }
}

@media (max-width: 768px) {
  .annuva-safe-accordion-details {
    padding:52px 0 64px;
  }

  .annuva-safe-accordion-trigger {
    grid-template-columns:46px minmax(0,1fr) 30px;
    padding:18px;
    gap:12px;
  }

  .annuva-safe-accordion-icon {
    width:46px;
    height:46px;
    border-radius:16px;
  }

  .annuva-safe-accordion-panel {
    padding:0 18px 20px 18px;
  }

  .annuva-safe-pill-grid {
    display:grid;
    grid-template-columns:1fr;
  }

  .annuva-safe-pill-grid span {
    border-radius:16px;
    padding:12px 14px;
  }
}

/* ===== v19 premium note-card property details ===== */
.single-property .annuva-safe-accordion-details,
.single-property .annuva-premium-property-details,
.single-property .annuva-property-details-block {
  display: none !important;
}

.annuva-note-details {
  padding: 74px 0 88px;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.annuva-note-details__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.annuva-note-details__header .section-kicker {
  color: #ff6600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
  margin: 0 0 12px;
}

.annuva-note-details__header h2 {
  margin: 0;
  color: #101c2e;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 850px;
}

.annuva-note-brochure-btn,
.annuva-note-paper__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #ff6600;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 16px 35px rgba(255,102,0,.22);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}

.annuva-note-brochure-btn:hover,
.annuva-note-paper__link:hover {
  transform: translateY(-2px);
  background: #e85d00;
  box-shadow: 0 20px 45px rgba(255,102,0,.28);
}

.annuva-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.annuva-note-card {
  border-radius: 28px;
  padding: 24px;
  border: 1px solid rgba(16,28,46,.08);
  box-shadow: 0 22px 65px rgba(15, 30, 55, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.annuva-note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(15, 30, 55, .12);
}

.annuva-note-card--pink { background: #fdeaf2; }
.annuva-note-card--blue { background: #eaf0ff; }
.annuva-note-card--green { background: #eaf9e7; }
.annuva-note-card--cream { background: #fff3e7; }

.annuva-note-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.annuva-note-card__top h3 {
  margin: 0;
  color: #101c2e;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.annuva-note-card__top span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.55);
  color: #101c2e;
  font-size: 22px;
  font-weight: 700;
}

.annuva-note-paper {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px;
  padding: 22px;
  min-height: 260px;
  box-shadow: inset 0 -1px 0 rgba(16,28,46,.04), 0 12px 28px rgba(15,30,55,.06);
}

.annuva-note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.annuva-note-tags small {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f2f6e9;
  color: #3b5c1a;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.annuva-note-card--blue .annuva-note-tags small { background: #eef3ff; color: #1c4078; }
.annuva-note-card--green .annuva-note-tags small { background: #edf8e8; color: #2a6629; }
.annuva-note-card--cream .annuva-note-tags small { background: #fff0df; color: #8a430a; }

.annuva-note-paper h4 {
  margin: 0 0 14px;
  color: #101c2e;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.annuva-note-paper ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.annuva-note-paper li {
  position: relative;
  padding-left: 18px;
  color: #344055;
  line-height: 1.45;
  font-size: 15px;
}

.annuva-note-paper li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .67em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6600;
}

.annuva-note-paper p {
  margin: 0 0 18px;
  color: #4c5a70;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .annuva-note-details__header {
    display: grid;
    align-items: start;
  }

  .annuva-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .annuva-note-details {
    padding: 54px 0 66px;
  }

  .annuva-note-card {
    padding: 18px;
    border-radius: 24px;
  }

  .annuva-note-paper {
    min-height: auto;
    border-radius: 18px;
    padding: 18px;
  }

  .annuva-note-brochure-btn {
    width: fit-content;
  }
}

/* ===== v20 structured property details ===== */
.single-property .annuva-note-details,
.single-property .annuva-safe-accordion-details,
.single-property .annuva-premium-property-details,
.single-property .annuva-property-details-block {
  display: none !important;
}

.annuva-structured-details {
  padding: 64px 0 84px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.annuva-structured-card {
  border: 1px solid rgba(16,28,46,.08);
  background: rgba(255,255,255,.96);
  border-radius: 32px;
  padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 24px 70px rgba(15, 30, 55, .08);
}

.annuva-structured-card--large {
  margin-bottom: 26px;
}

.annuva-structured-card .section-kicker,
.annuva-brochure-cta .section-kicker {
  color: #ff6600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
  margin: 0 0 22px;
}

.annuva-structured-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 70px);
}

.annuva-structured-column h2,
.annuva-structured-card--investment h2,
.annuva-structured-card--document h2 {
  margin: 0 0 22px;
  color: #101c2e;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.annuva-structured-column ul,
.annuva-structured-card--investment ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.annuva-structured-column li,
.annuva-structured-card--investment li {
  position: relative;
  padding-left: 28px;
  color: #4f5f75;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
}

.annuva-structured-column li::before,
.annuva-structured-card--investment li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  background: #ff6600;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(255,102,0,.1);
}

.annuva-structured-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 26px;
  margin-bottom: 26px;
}

.annuva-structured-card--document {
  background: linear-gradient(135deg, #0b1c2e 0%, #17304b 72%, rgba(255,102,0,.16) 100%);
  color: #fff;
}

.annuva-structured-card--document .section-kicker {
  color: #ffb380;
}

.annuva-structured-card--document h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 56px);
}

.annuva-structured-card--document p {
  margin: 0;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  font-size: 17px;
}

.annuva-structured-card--investment {
  background: #fff7f1;
  border-color: rgba(255,102,0,.12);
}

.annuva-brochure-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 32px;
  background: linear-gradient(135deg, #071626 0%, #0b1c2e 58%, #17304b 100%);
  box-shadow: 0 28px 80px rgba(7,22,38,.18);
  color: #fff;
}

.annuva-brochure-cta h2 {
  color: #fff;
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.annuva-brochure-cta p:not(.section-kicker) {
  color: rgba(255,255,255,.76);
  margin: 0;
  max-width: 720px;
  line-height: 1.7;
  font-size: 17px;
}

.annuva-brochure-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 25px;
  border-radius: 999px;
  background: #ff6600;
  color: #fff !important;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 18px 40px rgba(255,102,0,.28);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.annuva-brochure-cta a:hover {
  transform: translateY(-2px);
  background: #e85d00;
  box-shadow: 0 24px 50px rgba(255,102,0,.34);
}

@media (max-width: 900px) {
  .annuva-structured-two-col,
  .annuva-structured-grid,
  .annuva-brochure-cta {
    grid-template-columns: 1fr;
  }

  .annuva-brochure-cta a {
    width: fit-content;
  }
}

@media (max-width: 768px) {
  .annuva-structured-details {
    padding: 48px 0 64px;
  }

  .annuva-structured-card,
  .annuva-brochure-cta {
    border-radius: 24px;
    padding: 24px;
  }

  .annuva-structured-card .section-kicker,
  .annuva-brochure-cta .section-kicker {
    margin-bottom: 16px;
  }

  .annuva-structured-column li,
  .annuva-structured-card--investment li {
    font-size: 16px;
  }
}

/* ===== v21 real single-property template override styling ===== */
/* Hide older injected sections from previous patch attempts */
.single-property .annuva-structured-details,
.single-property .annuva-note-details,
.single-property .annuva-safe-accordion-details,
.single-property .annuva-premium-property-details,
.single-property .annuva-property-details-block {
  display: none !important;
}

.single-property .annuva-template-details .annuva-template-card {
  border-radius: 32px;
  padding: clamp(28px, 4vw, 46px);
}

.single-property .annuva-template-two-col {
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.single-property .annuva-template-card h3 {
  margin: 0 0 20px;
  color: #101c2e;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.single-property .annuva-template-list {
  display: grid;
  gap: 16px;
}

.single-property .annuva-template-list li {
  position: relative;
  padding-left: 28px;
  color: #4f5f75;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
}

.single-property .annuva-template-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  background: #ff6600;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(255,102,0,.1);
}

.single-property .annuva-template-secondary-grid {
  margin-top: 26px;
  gap: 26px;
}

.single-property .annuva-template-document {
  background: linear-gradient(135deg, #0b1c2e 0%, #17304b 72%, rgba(255,102,0,.16) 100%);
  color: #fff;
}

.single-property .annuva-template-document .eyebrow {
  color: #ffb380;
}

.single-property .annuva-template-document h3 {
  color: #fff;
  font-size: clamp(32px, 4vw, 56px);
}

.single-property .annuva-template-document p {
  margin: 0;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  font-size: 17px;
}

.single-property .annuva-template-investment {
  background: #fff7f1;
  border-color: rgba(255,102,0,.12);
}

.single-property .annuva-template-brochure-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 30px;
  align-items: center;
  margin-top: 26px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 32px;
  background: linear-gradient(135deg, #071626 0%, #0b1c2e 58%, #17304b 100%);
  box-shadow: 0 28px 80px rgba(7,22,38,.18);
  color: #fff;
}

.single-property .annuva-template-brochure-cta .eyebrow {
  color: #ffb380;
}

.single-property .annuva-template-brochure-cta h2 {
  color: #fff;
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.single-property .annuva-template-brochure-cta p {
  color: rgba(255,255,255,.76);
  margin: 0;
  max-width: 720px;
  line-height: 1.7;
  font-size: 17px;
}

.single-property .annuva-template-brochure-cta .btn {
  white-space: nowrap;
  min-height: 54px;
  padding-inline: 25px;
}

.single-property .annuva-why-card {
  max-width: none;
}

.single-property .annuva-why-points {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

@media (max-width: 900px) {
  .single-property .annuva-template-brochure-cta {
    grid-template-columns: 1fr;
  }

  .single-property .annuva-template-brochure-cta .btn {
    width: fit-content;
  }
}

@media (max-width: 768px) {
  .single-property .annuva-template-details .annuva-template-card,
  .single-property .annuva-template-brochure-cta {
    border-radius: 24px;
    padding: 24px;
  }

  .single-property .annuva-template-list li {
    font-size: 16px;
  }
}

/* ===== v22 premium individual property page redesign ===== */

/* Hide duplicate galleries injected by old footer patches; keep the first/template gallery visible */
.single-property .annuva-property-gallery ~ .annuva-property-gallery {
  display: none !important;
}

/* Hide previous patch detail sections permanently */
.single-property .annuva-structured-details,
.single-property .annuva-note-details,
.single-property .annuva-safe-accordion-details,
.single-property .annuva-premium-property-details,
.single-property .annuva-property-details-block {
  display: none !important;
}

.single-property .annuva-template-details {
  padding-top: 72px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,102,0,.07), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.annuva-premium-section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.annuva-premium-section-head .eyebrow {
  color: #ff6600;
}

.annuva-premium-section-head h2 {
  margin: 0;
  color: #101c2e;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.annuva-premium-card-grid {
  display: grid;
  gap: 24px;
}

.annuva-premium-card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.annuva-premium-secondary {
  margin-top: 26px;
}

.annuva-premium-property-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(26px, 3.5vw, 38px);
  border: 1px solid rgba(16,28,46,.08);
  box-shadow: 0 24px 70px rgba(15, 30, 55, .08);
  min-height: 100%;
}

.annuva-premium-property-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  right: -110px;
  top: -110px;
  background: rgba(255,255,255,.45);
  pointer-events: none;
}

.annuva-premium-property-card--orange {
  background: linear-gradient(135deg, #fff7f1 0%, #ffffff 75%);
}

.annuva-premium-property-card--blue {
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 75%);
}

.annuva-premium-property-card--green {
  background: linear-gradient(135deg, #ecf8ee 0%, #ffffff 75%);
}

.annuva-premium-property-card--navy {
  background: linear-gradient(135deg, #071626 0%, #0b1c2e 58%, #17304b 100%);
  color: #fff;
}

.annuva-premium-property-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  display: inline-grid;
  place-items: center;
  background: #ff6600;
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px;
  box-shadow: 0 16px 35px rgba(255,102,0,.22);
  position: relative;
  z-index: 1;
}

.annuva-premium-property-card--navy .annuva-premium-property-card__icon {
  background: rgba(255,255,255,.12);
  box-shadow: none;
}

.annuva-premium-property-card span {
  display: block;
  position: relative;
  z-index: 1;
  color: #ff6600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 8px;
}

.annuva-premium-property-card--navy span {
  color: #ffb380;
}

.annuva-premium-property-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: #101c2e;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.annuva-premium-property-card--navy h3 {
  color: #fff;
}

.annuva-premium-chip-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.annuva-premium-chip-list p {
  margin: 0;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,28,46,.06);
  color: #4f5f75;
  line-height: 1.45;
  font-size: 15.5px;
}

.annuva-premium-property-card--navy .annuva-premium-chip-list p {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  border-color: rgba(255,255,255,.1);
}

.annuva-premium-card-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.76);
  line-height: 1.7;
  font-size: 17px;
}

/* Brochure CTA styled more like the premium mortgage CTA */
.annuva-premium-brochure-cta {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 36px;
  align-items: center;
  padding: clamp(34px, 5vw, 62px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,102,0,.18), transparent 26%),
    linear-gradient(135deg, #071626 0%, #0b1c2e 58%, #142844 100%);
  box-shadow: 0 30px 90px rgba(7,22,38,.20);
  color: #fff;
  overflow: hidden;
}

.annuva-premium-brochure-cta .eyebrow {
  color: #ff7a1a;
}

.annuva-premium-brochure-cta h2 {
  color: #fff;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 760px;
}

.annuva-premium-brochure-cta p {
  color: rgba(255,255,255,.72);
  margin: 0;
  max-width: 760px;
  line-height: 1.7;
  font-size: 18px;
}

.annuva-premium-brochure-cta__action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.annuva-premium-brochure-cta .btn {
  min-height: 58px;
  padding: 16px 28px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 18px 45px rgba(255,102,0,.30);
}

@media (max-width: 1100px) {
  .annuva-premium-card-grid--two,
  .annuva-premium-brochure-cta {
    grid-template-columns: 1fr;
  }

  .annuva-premium-brochure-cta__action {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .single-property .annuva-template-details {
    padding-top: 54px;
  }

  .annuva-premium-property-card,
  .annuva-premium-brochure-cta {
    border-radius: 24px;
    padding: 24px;
  }

  .annuva-premium-chip-list {
    grid-template-columns: 1fr;
  }

  .annuva-premium-chip-list p {
    border-radius: 16px;
    padding: 13px 14px;
  }

  .annuva-premium-brochure-cta .btn {
    width: 100%;
  }
}

/* ===== v23 refined premium property details cards ===== */

/* Keep only template-controlled property details */
.single-property .annuva-structured-details,
.single-property .annuva-note-details,
.single-property .annuva-safe-accordion-details,
.single-property .annuva-premium-property-details,
.single-property .annuva-property-details-block {
  display: none !important;
}

.single-property .annuva-template-details {
  padding-top: 70px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,102,0,.055), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* override older v22 card visuals */
.single-property .annuva-premium-feature-wrap,
.single-property .annuva-premium-secondary,
.single-property .annuva-premium-brochure-cta {
  display: none !important;
}

.annuva-refined-property-section {
  margin-bottom: 30px;
}

.annuva-refined-section-head {
  max-width: 860px;
  margin-bottom: 28px;
}

.annuva-refined-section-head .eyebrow,
.annuva-refined-proof-card .eyebrow,
.annuva-refined-brochure-cta .eyebrow {
  color: #ff6600;
  font-weight: 900;
  letter-spacing: .16em;
}

.annuva-refined-section-head h2 {
  margin: 0 0 14px;
  color: #101c2e;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.annuva-refined-section-head p {
  margin: 0;
  max-width: 760px;
  color: #64748b;
  font-size: 18px;
  line-height: 1.7;
}

.annuva-refined-card-grid {
  display: grid;
  gap: 26px;
}

.annuva-refined-card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.annuva-refined-card {
  border-radius: 34px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(16,28,46,.08);
  box-shadow: 0 24px 75px rgba(15,30,55,.08);
  overflow: hidden;
  position: relative;
}

.annuva-refined-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -130px;
  top: -130px;
  border-radius: 50%;
  background: rgba(255,255,255,.52);
  pointer-events: none;
}

.annuva-refined-card--features {
  background: linear-gradient(135deg, #fff4ec 0%, #fff 72%);
}

.annuva-refined-card--amenities {
  background: linear-gradient(135deg, #edf4ff 0%, #fff 72%);
}

.annuva-refined-card__label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,102,0,.11);
  color: #ff6600;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.annuva-refined-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  color: #101c2e;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.07;
  letter-spacing: -.04em;
  max-width: 620px;
}

.annuva-refined-detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.annuva-refined-mini-card {
  min-height: 96px;
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,28,46,.06);
  box-shadow: inset 0 -1px 0 rgba(16,28,46,.03);
}

.annuva-refined-mini-card span {
  display: block;
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: #ff6600;
  margin-bottom: 12px;
}

.annuva-refined-card--amenities .annuva-refined-mini-card span {
  background: #17304b;
}

.annuva-refined-mini-card p {
  margin: 0;
  color: #435168;
  line-height: 1.48;
  font-size: 15.5px;
}

.annuva-refined-proof-card {
  border-radius: 34px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(16,28,46,.08);
  box-shadow: 0 24px 75px rgba(15,30,55,.08);
}

.annuva-refined-proof-card--title {
  background: linear-gradient(135deg, #071626 0%, #0b1c2e 58%, #17304b 100%);
  color: #fff;
}

.annuva-refined-proof-card--title .eyebrow {
  color: #ffb380;
}

.annuva-refined-proof-card--investment {
  background: linear-gradient(135deg, #effbea 0%, #fff 74%);
}

.annuva-refined-proof-card h3 {
  margin: 0 0 16px;
  color: #101c2e;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.annuva-refined-proof-card--title h3 {
  color: #fff;
}

.annuva-refined-proof-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
  font-size: 17px;
}

.annuva-refined-proof-card--title p {
  color: rgba(255,255,255,.74);
}

.annuva-refined-investment-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.annuva-refined-investment-list div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,28,46,.06);
}

.annuva-refined-investment-list strong {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #ff6600;
  color: #fff;
  font-size: 19px;
  line-height: 1;
}

.annuva-refined-investment-list p {
  margin: 0;
  color: #435168;
  line-height: 1.55;
}

/* Brochure CTA - closer to mortgage CTA style */
.annuva-refined-brochure-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 40px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(38px, 5vw, 68px);
  border-radius: 0;
  background:
    radial-gradient(circle at 88% 22%, rgba(255,102,0,.16), transparent 25%),
    linear-gradient(135deg, #071626 0%, #0b1c2e 58%, #132640 100%);
  color: #fff;
  box-shadow: 0 32px 90px rgba(7,22,38,.18);
}

.annuva-refined-brochure-cta .eyebrow {
  color: #ff7a1a;
}

.annuva-refined-brochure-cta h2 {
  color: #fff;
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 780px;
}

.annuva-refined-brochure-cta p {
  margin: 0;
  color: rgba(255,255,255,.74);
  max-width: 740px;
  font-size: 18px;
  line-height: 1.7;
}

.annuva-refined-brochure-cta__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.annuva-refined-brochure-cta .btn {
  min-height: 56px;
  padding: 15px 26px;
  border-radius: 999px;
  white-space: nowrap;
}

.annuva-refined-brochure-cta .btn-secondary {
  background: #fff;
  color: #101c2e !important;
  border-color: #fff;
}

@media (max-width: 1180px) {
  .annuva-refined-card-grid--two,
  .annuva-refined-brochure-cta {
    grid-template-columns: 1fr;
  }

  .annuva-refined-brochure-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .single-property .annuva-template-details {
    padding-top: 54px;
  }

  .annuva-refined-card,
  .annuva-refined-proof-card {
    border-radius: 26px;
    padding: 24px;
  }

  .annuva-refined-detail-grid {
    grid-template-columns: 1fr;
  }

  .annuva-refined-mini-card {
    min-height: auto;
    border-radius: 18px;
  }

  .annuva-refined-brochure-cta {
    padding: 32px 24px;
  }

  .annuva-refined-brochure-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .annuva-refined-brochure-cta .btn {
    width: 100%;
  }
}

/* ===== v24 stable property page reset/fixes ===== */

/* Hide old experiment sections */
.single-property .annuva-structured-details,
.single-property .annuva-note-details,
.single-property .annuva-safe-accordion-details,
.single-property .annuva-premium-property-details,
.single-property .annuva-property-details-block,
.single-property .annuva-refined-property-section,
.single-property .annuva-refined-brochure-cta,
.single-property .annuva-premium-feature-wrap,
.single-property .annuva-premium-secondary,
.single-property .annuva-premium-brochure-cta {
  display: none !important;
}

/* Keep only first gallery */
.single-property .annuva-property-gallery ~ .annuva-property-gallery {
  display: none !important;
}

.single-property .annuva-why-card {
  max-width: none;
}

.single-property .annuva-why-card h2 {
  max-width: 1100px;
}

.single-property .annuva-why-points {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.single-property .annuva-why-brochure-inline {
  margin-top: 4px;
  padding: 26px;
  border-radius: 24px;
  background: #fff7f1;
  border-left: 5px solid #ff6600;
}

.single-property .annuva-why-brochure-inline strong {
  display: block;
  color: #101c2e;
  font-size: 22px;
  margin-bottom: 8px;
}

.single-property .annuva-why-brochure-inline p {
  margin: 0 0 16px;
  max-width: 720px;
  color: #64748b;
}

/* simple detail cards */
.single-property .annuva-simple-details {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.single-property .annuva-simple-detail-card {
  border-radius: 30px;
  padding: clamp(26px, 4vw, 42px);
}

.single-property .annuva-simple-detail-card h3 {
  margin: 0 0 20px;
  color: #101c2e;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.single-property .annuva-simple-detail-card ul {
  display: grid;
  gap: 14px;
}

.single-property .annuva-simple-detail-card li {
  position: relative;
  padding-left: 28px;
  color: #4f5f75;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}

.single-property .annuva-simple-detail-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6600;
  box-shadow: 0 0 0 6px rgba(255,102,0,.1);
}

.single-property .annuva-simple-detail-card--title {
  background: linear-gradient(135deg, #071626 0%, #0b1c2e 60%, #17304b 100%);
  color: #fff;
}

.single-property .annuva-simple-detail-card--title .eyebrow {
  color: #ffb380;
}

.single-property .annuva-simple-detail-card--title h3 {
  color: #fff;
}

.single-property .annuva-simple-detail-card--title p {
  color: rgba(255,255,255,.75);
}

/* Gallery lightbox */
.annuva-v24-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(5,14,26,.92) !important;
  backdrop-filter: blur(10px);
  padding: 22px !important;
}

.annuva-v24-lightbox.is-open {
  display: flex !important;
}

.annuva-v24-lightbox img {
  max-width: 94vw !important;
  max-height: 84vh !important;
  object-fit: contain !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.45) !important;
}

.annuva-v24-lightbox button {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  font-size: 30px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

body.annuva-v24-lightbox-open {
  overflow: hidden !important;
}

/* Mobile gallery slider restored */
@media (max-width: 900px) {
  .single-property .annuva-property-gallery {
    overflow: hidden !important;
  }

  .single-property .annuva-property-gallery .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .single-property .annuva-property-gallery .section-kicker,
  .single-property .annuva-property-gallery .eyebrow {
    display: none !important;
  }

  .single-property .annuva-property-gallery__grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    padding: 4px 20px 18px 0 !important;
    scrollbar-width: none !important;
  }

  .single-property .annuva-property-gallery__grid::-webkit-scrollbar {
    display: none !important;
  }

  .single-property .annuva-property-gallery__item {
    flex: 0 0 82vw !important;
    min-width: 82vw !important;
    width: 82vw !important;
    max-width: 82vw !important;
    aspect-ratio: 4 / 3 !important;
    scroll-snap-align: start !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  .single-property .annuva-property-gallery__item img {
    height: 100% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 768px) {
  .single-property .annuva-simple-detail-card,
  .single-property .annuva-why-brochure-inline {
    border-radius: 22px;
    padding: 24px;
  }
}

/* v26 gallery-only fallback */
.single-property .annuva-property-gallery ~ .annuva-property-gallery{display:none!important}.single-property .annuva-property-gallery__item{cursor:zoom-in!important}
