/* @font-face {
  font-family: "Ulm Grotesk";
  src: url("/fonts/") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ulm Grotesk";
  src: url("fonts/UlmGrotesk-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
} */

:root {
  --background: #fff;
  --foreground: #0f0f11;
  --muted: #f3f3f3;
  --muted-foreground: #4d4d4d;
  --accent: #8c3131;
  --accent-strong: #8c3131;
  --border: #e1e1e1;
  --radius: 0.75rem;
  --font-sans: "Albert Sans", system-ui, sans-serif;
  --font-display: "Sora", system-ui, sans-serif;
  --font-hero: "Ulm Grotesk", "Sora", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.font-display {
  font-family: var(--font-display);
}

.font-hero {
  font-family: var(--font-hero);
}

.text-accent {
  color: var(--accent);
}

.bg-accent {
  background-color: var(--accent);
}

.bg-muted {
  background-color: var(--muted);
}

.border-line {
  border-color: var(--border);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header .logo-header {
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.site-header.is-scrolled .logo-header {
  filter: none;
}

.site-header .logo-brand {
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.site-header.is-scrolled .logo-brand {
  filter: none;
}

.header-phone,
.header-enquiry,
.header-menu-btn {
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.site-header:not(.is-scrolled) .header-phone {
  background: rgba(255, 255, 255, 0.95);
  color: #0f0f11;
}

.site-header.is-scrolled .header-phone {
  background: #0f0f11;
  color: #fff;
}

.site-header:not(.is-scrolled) .header-enquiry {
  background: #fff;
  color: #0f0f11;
}

.site-header.is-scrolled .header-enquiry {
  background: var(--accent);
  color: #fff;
}

.site-header:not(.is-scrolled) .header-menu-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.site-header.is-scrolled .header-menu-btn {
  background: #0f0f11;
  color: #fff;
  border-color: #0f0f11;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  /* inset: 0; */
  z-index: 60;
  background: #0f0f11;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  width: 100%;
  max-width: 500px;
  height: 100%;
  right: 0;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-color: #111;
  background-image: var(--hero-desktop);
  background-size: cover;
  background-position: center;
}

.bannerVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .hero-slide {
    background-image: var(--hero-mobile);
  }

  .hero {
    min-height: 75vh;
  }
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide picture {
  display: none;
}

.hero-slide img {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 1.25rem 2.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    justify-content: center;
    padding: 8rem 2.5rem 6rem;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    min-height: 100svh;
  }

  .hero-overlay {
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.15) 100%);
  }
}

.hero-title {
  font-family: var(--font-hero);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-size: clamp(2.75rem, 3.8vw, 5.5rem);
  /* text-transform: uppercase; */
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
  }
}

.hero-title .emph {
  font-weight: 400;
  /* display: block; */
}

.hero-dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.hero-dots button {
  width: 1.5rem;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
}

.hero-dots button.is-active {
  background: #fff;
  width: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: #fff;
  color: #0f0f11;
}

.btn-dark {
  background: #0f0f11;
  color: #fff;
}

.btn-dark:hover {
  background: #2a2a2e;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-strong);
}

.btn-outline {
  background: transparent;
  color: #0f0f11;
  border-color: #0f0f11;
}

.btn-outline:hover {
  background: #0f0f11;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Sections */
.section {
  padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 2.5rem;
  }
}

.section-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }
}

.eyebrow-center,
.section-title-center,
.lead-center {
  text-align: center;
  display: block;
}

.lead-center {
  max-width: 46rem !important;
}

.section-title em,
.section-title .accent {
  font-style: normal;
  color: var(--accent);
}

.lead {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
}

/* Snapshot stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-col {
  background: var(--background);
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
}

.pill-highlight {
  background: var(--muted);
  border-radius: 99px;
  padding: 10px 20px;
  font-weight: 600
}

@media (min-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.stat-label {
  margin-top: 0.4rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

/* Midpoint cards & Carousel styling */
.projects-carousel-wrapper {
  position: relative;
  padding: 0 2.5rem;
}

@media (max-width: 767px) {
  .projects-carousel-wrapper {
    padding: 0rem;
  }
}

.projects-carousel-container {
  overflow: hidden;
  width: 100%;
}

.projects-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.projects-carousel-track .carousel-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .projects-carousel-track .carousel-slide {
    flex: 0 0 50%;
    padding: 0 0.75rem;
  }
}

@media (min-width: 1024px) {
  .projects-carousel-track .carousel-slide {
    flex: 0 0 33.3333%;
    padding: 0 1rem;
  }
}

.projects-carousel-prev,
.projects-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: var(--foreground);
}

.projects-carousel-prev:hover,
.projects-carousel-next:hover {
  background: var(--background);
  transform: translateY(-50%) scale(1.05);
}

.projects-carousel-prev {
  left: 0;
}

.projects-carousel-next {
  right: 0;
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.feature-card .copy {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
  color: var(--foreground);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
  color: var(--foreground);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}

.feature-card .btn {
  margin-top: 0.75rem;
  align-self: stretch;
  text-align: center;
}

/* Difference chips */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .diff-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.diff-item {
  background: var(--muted);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* Location */
.loc-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .loc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.loc-cats {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .loc-cats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.loc-cat {
  background: var(--background);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
}

.loc-cat h4 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
}

.loc-cat ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.loc-cat li {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  padding: 0.2rem 0;
}

.map-frame {
  border-radius: 1rem;
  overflow: hidden;
  min-height: 320px;
  background: var(--muted);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
}

@media (max-width: 768px) {
  .map-frame iframe {
    min-height: 360px;
  }
}

/* Testimonials */
.testimonial-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.testimonial-card {
  flex: 0 0 min(100%, 360px);
  scroll-snap-align: start;
  background: var(--muted);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
}

.testimonial-card .name {
  font-family: var(--font-display);
  font-weight: 600;
}

.testimonial-card .role {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Walkthrough */
.walkthrough-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.walkthrough-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.walkthrough-card .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
}

.play-btn {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: #fff;
  color: #0f0f11;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
}

/* Master plan */
.masterplan-wrap {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--muted);
}

.masterplan-wrap img {
  width: 100%;
  display: block;
}

/* Gallery */
.gallery-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  justify-content: center;
}

.gallery-tab {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.gallery-tab.is-active {
  background: #0f0f11;
  color: #fff;
  border-color: #0f0f11;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: var(--muted);
}


.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-panel {
  display: none;
}

.gallery-panel.is-active {
  display: block;
}

/* Floor / pricing cards */
.unit-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .unit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .unit-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.unit-card {
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  padding: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.unit-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
  text-align: center;
}

.unit-card.is-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.unit-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.unit-card .price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.unit-card .size {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.unit-card .amount {
  font-weight: 600;
  font-size: 1.3rem;
}

.unit-card-content .btn {
  margin-top: auto;
}

.unit-lock-overlay {
  height: 160px;
  background: linear-gradient(180deg, #8c313195 0%, #8c3131 100% );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

.unit-lock-overlay:hover {
  opacity: 0.9;
}

.unit-lock-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Calculators */
.calc-panel {
  background: var(--muted);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .calc-panel {
    padding: 2rem;
  }
}

.calc-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.chip.is-active {
  background: #0f0f11;
  color: #fff;
  border-color: #0f0f11;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.form-field input,
.form-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: #fff;
}

.field input[type="range"] {
  padding: 0;
  border: 0;
  accent-color: var(--accent);
}

.calc-result {
  background: #0f0f11;
  color: #fff;
  border-radius: 1.15rem;
  padding: 1.5rem;
}

.calc-result .label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.calc-result .value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 0.35rem 0 1rem;
}

.calc-result .meta {
  display: grid;
  gap: 0.75rem;
}

.calc-result .meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Why Solcrest */
.why-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--muted);
}

.why-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.why-card .body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.why-card .tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0.4rem 0 0.5rem;
}

.why-card p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.55;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 48rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.1rem 1.2rem;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item .answer {
  display: none;
  padding: 0 1.2rem 1.15rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

.faq-item .chev {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.is-open .chev {
  transform: rotate(180deg);
}

/* About */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Projects */
.project-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .project-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.project-card {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--muted);
  display: block;
  transition: transform 0.25s ease;
}

.project-card:hover {
  transform: translateY(-3px);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card .body {
  padding: 1rem 1.1rem 1.2rem;
}

.project-card .status {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.project-card h3 {
  margin: 0.3rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.project-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Reserve form */
.reserve-grid {
  display: block;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .reserve-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.phone-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  background: #0f0f11;
  color: #fff;
  padding: 3.5rem 1.25rem 7rem;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 4.5rem 2.5rem 3rem;
  }
}

.footer-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: block;
  gap: 2rem;
}

/* @media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 3fr 1fr;
  }
} */

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 80rem;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  opacity: 0.75;
  line-height: 1.5;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1rem;
}

.partner-row img {
  height: 2rem;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Sticky bar */
.sticky-bar {
  position: fixed;
  right: 0%;
  bottom: 1rem;
  transform: translateX(-20%);
  z-index: 40;
  display: flex;
  background: #0f0f11;
  color: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.sticky-bar a,
.sticky-bar button {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  width: 100%;
  justify-content: center;
}

.sticky-bar .sep,
.footer-grid .sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  align-self: stretch;
}

@media (max-width: 768px) {
  .sticky-bar {
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateX(0);
    width: 100%;
    border-radius: 0;
    border: 1px solid #fff;
  }

  .footer-grid .sep {
    display: none;
  }
}

.wa {
  color: #25d366;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.is-open {
  display: flex;
  backdrop-filter: blur(10px);
}

.modal {
  background: #fff;
  width: min(100%, 440px);
  border-radius: 0rem;
  padding: 1.5rem;
  position: relative;
  max-height: calc(100vh - 2rem);
  /* overflow-y: auto; */
}

.modal.wide {
  width: min(100%, 920px);
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.4rem;
}

.modal .sub {
  color: var(--muted-foreground);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 0;
  background: var(--muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 0;
  background: var(--muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.modal-prev {
  left: 5px;
}

.modal-next {
  right: 5px;
}

@media (max-width: 768px) {
  .modal-prev {
    left: 0px;
    transform: translate(-30%, -50%);
  }

  .modal-next {
    right: 0px;
    transform: translate(30%, -50%);
  }

  .modal-close {
    top: 0;
    right: 0;
    transform: translate(30%, -30%);
  }
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0.75rem;
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  border-radius: 0rem;
}

/* Tools */
.tools-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tool-card {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  background: #fff;
}

.tool-card .tool-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.option-btn {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.7rem 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: left;
}

.option-btn.is-active {
  border-color: var(--accent);
  background: rgba(171, 88, 57, 0.08);
  color: var(--accent-strong);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

.emi-fields {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}


.emi-field {
  display: block;
}


.emi-field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  /* margin-bottom: 10px; */
}


.emi-field-label {
  color: var(--foreground);
  width: 50%;
}


.emi-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 142px;
  padding: 10px 0;
  font-size: 0.96rem;
  font-weight: 700;
  justify-content: flex-end;
}


.emi-input-wrap input {
  width: 50%;
  min-width: 0;
  padding: 5px;
  border: 0;
  outline: none;
  background: #cdcdcd45;
  color: var(--foreground);
  text-align: right;
  font: inherit;
  border-radius: 5px;
}


.emi-slider {
  width: 100%;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  border-radius: 999px;
  background: linear-gradient(90deg,
      var(--accent) 0%,
      var(--accent) var(--emi-progress, 0%),
      #cdcdcd var(--emi-progress, 0%),
      #cdcdcd 100%);
}


.emi-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 5px 16px var(--accent-strong);
}


.emi-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 5px 16px var(--accent-strong);
}


.emi-results-tag {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}


.emi-summary-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


.emi-summary-card {
  padding: 16px;
  /* border: 1px solid #cdcdcd; */
  border-radius: 15px;
  background: var(--background);
}


.emi-summary-label {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}


.emi-summary-value {
  margin: 10px 0 0;
  color: var(--foreground);
  font-weight: 700;
  line-height: 1.1;
}


#mEmiMonthlyValue {
  font-size: 1.95rem;
}


#mEmiInterestValue,
#mEmiTotalValue,
#mEmiPrincipalValue {
  font-size: 1.14rem;
}


.emi-chart-panel {
  margin-top: 14px;
  padding: 18px 16px 16px;
  /* border: 1px solid #cdcdcd; */
  border-radius: 24px;
  background: var(--background);
  text-align: center;
}


.m-emi-donut {
  --emi-interest-angle: 0deg;
  position: relative;
  width: 136px;
  height: 136px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg,
      var(--accent) var(--emi-interest-angle),
      #cdcdcd var(--emi-interest-angle),
      #cdcdcd 360deg);
}


.m-emi-donut::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: var(--background);
}


.emi-donut-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--foreground);
  font-size: 0.8rem;
}


.emi-donut-center strong {
  margin-top: 4px;
  color: var(--foreground);
  font-size: 0.98rem;
}


.emi-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--foreground);
  font-size: 0.77rem;
}


.emi-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}


.emi-legend-swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.emi-legend-item:first-of-type .emi-legend-swatch {
  background: var(--accent);
}

.emi-legend-item:last-of-type .emi-legend-swatch {
  background: #cdcdcd;
}


.emi-note {
  margin: 14px 0 15px;
  font-size: 0.76rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.emi-cta {
  margin-top: 5px;
  text-align: center;
}


@media (max-width: 900px) {
  .emi-panel {
    grid-template-columns: 1fr;
  }


  .emi-input-column {
    border-right: 0;
    border-bottom: 1px solid #cdcdcd;
  }
}


@media (max-width: 640px) {

  .emi-heading {
    font-size: 1.84rem;
  }


  .emi-field-top {
    align-items: center;
  }


  .emi-input-wrap {
    width: 100%;
  }


  .emi-summary-card {
    padding: 12px;
  }


  #mEmiMonthlyValue {
    font-size: 17px;
  }

  #mEmiInterestValue,
  #mEmiTotalValue,
  #mEmiPrincipalValue {
    font-size: 15px;
  }

  .emi-summary-label {
    font-size: 13px;
  }
}

.gallery-item:first-child {
  grid-column: 1 / span 2;
  aspect-ratio: 2 / 0.74;
  height: auto;
}

.gallery-item:nth-child(7) {
  grid-column: 2 / span 2;
  aspect-ratio: 2 / 0.74;
  height: auto;
}

@media (max-width: 768px) {
  .gallery-item:not(:nth-child(3), :nth-child(4)) {
    grid-column: 1 /span 2;
    aspect-ratio: 3 / 2;
  }

  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    aspect-ratio: 2 / 3;
  }
}