@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap");

/* ── CSS Variables (from Tailwind/shadcn theme) ── */
:root {
  --background: 160 30% 6%;
  --foreground: 40 20% 92%;
  --card: 160 25% 9%;
  --card-foreground: 40 20% 92%;
  --primary: 145 40% 42%;
  --primary-foreground: 40 20% 96%;
  --secondary: 160 20% 14%;
  --secondary-foreground: 40 20% 85%;
  --muted: 160 15% 12%;
  --muted-foreground: 160 10% 50%;
  --accent: 38 60% 55%;
  --accent-foreground: 160 30% 6%;
  --border: 160 15% 16%;
  --input: 160 15% 18%;
  --ring: 145 40% 42%;
  --radius: 0.375rem;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

input,
textarea {
  font: inherit;
  color: inherit;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background-image: linear-gradient(to right, #769b73, #c4a159);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-border {
  box-shadow: 0 0 20px -5px hsl(var(--primary) / 0.3);
}

.input-glow:focus {
  box-shadow:
    0 0 0 2px hsl(var(--primary) / 0.2),
    0 0 20px -5px hsl(var(--primary) / 0.15);
}

/* ── Animated Section (scroll reveal) ── */
.anim-section {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.anim-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Loader (keyhole) ── */
body.is-loader {
  overflow: hidden;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: #152620;
  opacity: 1;
  transition: opacity 0.7s ease-out;
}

.loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader.hide {
  display: none;
}

.loader::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110%;
  content: "";
  background: url("assets/avira-elevation-1.png") 50% 50% no-repeat;
  background-size: cover;
}

.loader-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("assets/key-bg.svg") 50% 50% no-repeat;
  background-size: cover;
  transition: transform 2s ease-in;
}

.loader.animate .loader-bg {
  transform: scale(22);
}

.loader-box {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 80px;
  width: max(350px, 40vw);
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #f2f1ed;
}

.loader-key-wrap {
  overflow: hidden;
  margin: 40px 0 0;
}

.loader-key {
  width: 126px;
  height: 40px;
  margin: 0 auto;
  background: url("assets/key.svg") 50% 50% no-repeat;
  background-size: contain;
  transition: transform 0.5s cubic-bezier(0.12, 0, 0.39, 0);
}

.line {
  overflow: hidden;
}

.line-inner {
  transition: transform 0.5s cubic-bezier(0.12, 0, 0.39, 0);
}

.loader.animate .line-inner,
.loader.animate .loader-key {
  transform: translateY(100%);
}

@media (max-width: 768px) {
  .loader::before {
    background-image: url("assets/avira-elevation-1.png");
  }

  .loader.animate .loader-bg {
    transform: scale(12);
  }

  .loader-box {
    bottom: 70px;
  }

  .loader-key-wrap {
    margin: 16px 0 0;
  }

  .loader-key {
    width: 48px;
    height: 15px;
  }
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transform: translateY(-100%);
  animation: nav-slide-down 0.6s ease-out forwards;
  transition:
    background 0.5s,
    border-color 0.5s,
    backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}

@keyframes nav-slide-down {
  to {
    transform: translateY(0);
  }
}

.navbar.scrolled {
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: hsl(var(--border));
}

/* Ensure inner pages' content starts below fixed navbar */
body.is-inner .main-content {
  padding-top: 7rem;
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  padding: 0 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .nav-inner {
    padding: 0 3rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    justify-content: flex-start;
  }

  /* Equal halves so the logo can sit at true viewport center (see .nav-logo) */
  .nav-inner > .nav-links {
    flex: 1 1 0;
    min-width: 0;
  }

  /* Push the right-side nav (Joint Venture, Careers, Contact, WhatsApp) to the far right */
  .nav-inner .nav-links:last-of-type {
    justify-content: flex-end;
  }

  /* Keep link text out of the centered logo hit area */
  .nav-inner > .nav-links:first-of-type {
    padding-right: clamp(5rem, 10vw, 7.5rem);
  }

  .nav-inner > .nav-links:last-of-type {
    padding-left: clamp(5rem, 10vw, 7.5rem);
  }

  /* Center logo on the bar; removed from flex flow so link counts don’t shift it */
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.99rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.85);
  transition: color 0.3s;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: hsl(var(--primary));
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / 0.5);
  margin-left: 0.1rem;
  padding: 0.15rem;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.2s;
}

.nav-whatsapp img {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
}

.nav-whatsapp:hover {
  background: hsl(var(--foreground) / 0.08);
  border-color: hsl(var(--primary));
  transform: translateY(-1px);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: hsl(var(--foreground));
}

.nav-logo-sub {
  font-size: 9px;
  font-family: var(--font-body);
  letter-spacing: 0.3em;
  color: hsl(var(--foreground) / 0.85);
  text-transform: uppercase;
}

.nav-logo-img {
  display: block;
  height: 4rem;
  width: auto;
  max-width: min(68vw, 17rem);
  object-fit: contain;
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground) / 0.85);
}

@media (min-width: 768px) {
  .nav-phone {
    display: flex;
  }
}

.nav-phone svg {
  width: 14px;
  height: 14px;
  color: hsl(var(--primary));
}

.mobile-toggle {
  display: block;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: hsl(var(--background) / 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  max-height: 400px;
  opacity: 1;
  padding: 1.5rem;
}

.mobile-menu a {
  font-size: 1.125rem;
  font-family: var(--font-body);
  color: hsl(var(--muted-foreground));
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: hsl(var(--foreground));
}

.mobile-menu .phone-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.mobile-menu .phone-row svg {
  width: 16px;
  height: 16px;
  color: hsl(var(--primary));
}

/* ── Hero Section ── */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1.1s ease-out,
    transform 6s linear;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0.62),
    rgb(0 0 0 / 0.42),
    rgb(0 0 0 / 0.78)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.5rem 5rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 0 4rem 5rem;
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 500;
  line-height: 1.05;
  color: #fff;
  max-width: 48rem;
  opacity: 0;
  transform: translateY(56px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.main-content.main-revealed .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero-right {
    align-items: flex-end;
  }
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  max-width: 24rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.75s ease-out,
    transform 0.75s ease-out;
}

.main-content.main-revealed .hero-tagline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

@media (min-width: 768px) {
  .hero-tagline {
    text-align: right;
  }
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid hsl(var(--foreground) / 0.4);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  transition:
    background 0.3s,
    opacity 0.75s ease-out,
    transform 0.75s ease-out;
  opacity: 0;
  transform: translateY(40px);
}

.main-content.main-revealed .hero-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}

.hero-cta:hover {
  background: hsl(var(--foreground) / 0.1);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero carousel controls */
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-arrow {
  color: hsl(var(--foreground) / 0.6);
  transition: color 0.3s;
}

.hero-arrow:hover {
  color: hsl(var(--foreground));
}

.hero-arrow svg {
  width: 24px;
  height: 24px;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 2rem;
  height: 1px;
  background: hsl(var(--foreground) / 0.2);
  transition: background 0.5s;
}

.hero-dot.active {
  background: hsl(var(--primary));
}

/* ── Developments Section ── */
.developments-section {
  padding: 8rem 2rem 6rem 4rem;
  background: #ffffff;
  color: #363346;
}

@media (min-width: 768px) {
  .developments-section {
    padding-left: 5rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1200px) {
  .developments-section {
    padding-left: 6rem;
    padding-right: 4rem;
  }
}

.developments-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .developments-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 4rem;
  }
}

.developments-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  padding-left: 0;
  padding-right: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.developments-carousel::-webkit-scrollbar {
  display: none;
}

.development-card {
  flex: 0 0 85%;
  max-width: 650px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .development-card {
    flex: 0 0 60%;
    max-width: none;
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 1024px) {
  .development-card {
    flex: 0 0 52%;
    aspect-ratio: 16 / 10;
  }
}

.development-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.development-card:hover img {
  transform: scale(1.05);
}

.development-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #ffffff;
}

.development-card-info {
  width: 100%;
}

.development-card-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.development-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.development-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f1f1f1;
}

@media (min-width: 640px) {
  .development-details {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ── Contact Section ── */
.contact {
  padding: 8rem 1.5rem;
}

.contact-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.75rem 0;
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: hsl(var(--primary));
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 2rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition:
    background 0.3s,
    transform 0.15s;
}

.submit-btn:hover {
  background: hsl(var(--primary) / 0.9);
  transform: scale(1.02);
}

.submit-btn:active {
  transform: scale(0.98);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-inner img {
  height: 2rem;
  width: auto;
}

.footer-inner p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.05em;
}

/* ── SVG Icons inline ── */
.icon {
  display: inline-block;
  vertical-align: middle;
}

/* ── Responsive text helpers ── */
@media (min-width: 768px) {
  #subtitle-text {
    font-size: 12px;
  }
}

/* ══════════════════════════════════════════
   PROJECT DETAIL PAGE
   ══════════════════════════════════════════ */

/* ── Detail Hero ── */
.detail-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: detail-zoom 1.5s ease-out forwards;
  transform: scale(1.1);
}

@keyframes detail-zoom {
  to {
    transform: scale(1);
  }
}

.detail-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsl(var(--background)),
    hsl(var(--background) / 0.4),
    transparent
  );
}

.detail-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 0 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.8s ease-out 0.3s forwards;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.back-link:hover {
  color: hsl(var(--foreground));
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.detail-status {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  padding: 0.35rem 1rem;
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.detail-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(
    180deg,
    hsl(var(--foreground)),
    hsl(var(--foreground) / 0.7)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop spacing so first letter (e.g. "J") is never clipped */
@media (min-width: 768px) {
  .detail-hero-title {
    margin-left: 40px;
  }
}

/* Mobile-friendly layout adjustments (do NOT affect desktop) */
@media (max-width: 767px) {
  .detail-hero {
    height: 60vh;
    min-height: 360px;
  }

  .detail-hero-content {
    padding: 2rem 1.25rem 2.5rem;
  }

  .detail-hero-title {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
    text-align: center;
    margin-left: 0;
  }

  .detail-hero-sub {
    text-align: center;
  }

  .developments-section {
    padding: 5rem 1.25rem 4rem 1.25rem;
  }

  .expertise-container {
    padding: 0 1.5rem;
  }

  /* Developments carousel: make cards feel full-width and centered on mobile */
  .developments-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .developments-carousel {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .developments-carousel a {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .development-card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
}

.detail-hero-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}

/* ── Detail Stats Bar ── */
.detail-stats {
  border-bottom: 1px solid hsl(var(--border));
  padding: 2rem 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

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

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-block-value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  background: linear-gradient(180deg, #e8c96e, #c9943e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-block-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.rera-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.rera-badge {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status-badge {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

/* ── Detail Content Sections ── */
.detail-section {
  padding: 5rem 1.5rem;
}

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

.detail-section-alt {
  background: hsl(var(--secondary) / 0.3);
}

.detail-content {
  max-width: 64rem;
  margin: 0 auto;
}

.detail-text-block {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 1.05rem;
  line-height: 1.8;
}

.detail-text-block strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.lifestyle-tagline {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-style: italic;
  color: hsl(var(--accent));
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* ── Amenities Grid ── */
.amenities-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

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

.amenity-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px hsl(var(--primary) / 0.08);
}

.amenity-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  margin-bottom: 1.25rem;
}

.amenity-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.amenity-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

/* ── FAQ Accordion ── */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid hsl(var(--border));
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: hsl(var(--primary));
}

.faq-question svg {
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
  transition: transform 0.3s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
  padding: 0 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.faq-answer a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.faq-answer a:hover {
  color: hsl(var(--accent));
}

/* ── CTA Buttons ── */
.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition:
    background 0.3s,
    transform 0.15s;
  box-shadow: 0 0 20px -5px hsl(var(--primary) / 0.3);
}

.cta-btn-primary:hover {
  background: hsl(var(--primary) / 0.85);
  transform: scale(1.02);
}

.cta-btn-primary:active {
  transform: scale(0.98);
}

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: 1px solid hsl(var(--foreground) / 0.3);
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition:
    background 0.3s,
    border-color 0.3s;
}

.cta-btn-outline:hover {
  background: hsl(var(--foreground) / 0.08);
  border-color: hsl(var(--foreground) / 0.5);
}

/* ── PROJECT INFO SECTION ── */
.project-info-section {
  padding: 4rem 1.5rem;
  background: #ffffff;
}

.project-info-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .project-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.project-text-card {
  background-color: #ebebeb;
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 350px;
}

.ptc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.ptc-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 500;
  color: #363346;
  line-height: 1;
}

.ptc-status {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7a7a7a;
}

.ptc-divider {
  width: 100%;
  height: 1px;
  background-color: #cccccc;
  margin-bottom: 1.5rem;
}

.ptc-location {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #7a7a7a;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ptc-divider-thin {
  width: 100%;
  height: 1px;
  background-color: #d9d9d9;
  margin-bottom: 1.5rem;
}

.ptc-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #999999;
  margin-bottom: 0.5rem;
}

.ptc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #3f3b52;
  color: #ffffff;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background-color 0.3s,
    transform 0.3s;
  width: fit-content;
  position: absolute;
  top: 3rem;
  right: 3rem;
}

.ptc-btn:hover {
  background-color: #2a2638;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .ptc-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .ptc-btn {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 2rem;
  }
}

.project-image-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
}

.project-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-image-card:hover img {
  transform: scale(1.05);
}

/* ── BLOG & ABOUT SECTION ── */
.blog-about-section {
  padding: 2rem 1.5rem 8rem;
  background: #ffffff;
}

.blog-about-grid {
  display: grid;
  gap: 2rem;
}

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

.ba-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 450px;
}

.ba-blog {
  background-color: #e6e5e5;
  display: flex;
  flex-direction: column;
}

.ba-blog-content {
  padding: 3rem;
  flex-grow: 1;
}

.ba-blog-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #7a7a7a;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.ba-blog-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: #363346;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.ba-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #3f3b52;
  color: #ffffff;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.ba-btn:hover {
  background-color: #2a2638;
  transform: translateY(-2px);
}

.ba-blog-img {
  height: 200px;
  margin: 0 3rem;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.ba-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-about {
  display: flex;
}

.ba-about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ba-about:hover .ba-about-bg {
  transform: scale(1.05);
}

.ba-about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 3rem;
  text-align: right;
  color: #ffffff;
}

.ba-about-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.ba-about-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.ba-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #ffffff;
  color: #363346;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.ba-btn-light:hover {
  background-color: #f1f1f1;
  transform: translateY(-2px);
}

/* ── CUSTOM FOOTER ── */
.custom-footer {
  background: linear-gradient(to right, #0e3a2f, #0b2f27);
  /* Match provided green gradient */
  color: hsl(var(--foreground) / 0.8);
  font-family: var(--font-body);
  padding: 4rem 1.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.cf-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .cf-container {
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
  }
}

.cf-logo h2 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  letter-spacing: 0;
}

.cf-logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0.35rem;
}

.cf-logo-img {
  display: block;
  height: 3.5rem;
  width: auto;
  max-width: min(100%, 16rem);
  object-fit: contain;
}

.cf-logo p {
  color: #a8a5b8;
  font-size: 0.65rem;
  text-transform: lowercase;
  letter-spacing: 0.2em;
  margin-bottom: 3rem;
}

.cf-heading {
  color: #8b87a8;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.cf-mt {
  margin-top: 3rem;
}

.cf-text {
  color: #d1cedb;
  line-height: 1.8;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.cf-text a {
  color: #d1cedb;
  text-decoration: none;
  transition: color 0.3s;
}

.cf-text a:hover {
  color: #ffffff;
}

.cf-nav-wrapper {
  margin-top: 1rem;
}

.cf-nav-grid {
  display: flex;
  gap: 3rem;
}

.cf-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf-nav-list a {
  color: #d1cedb;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.3s;
}

.cf-nav-list a:hover {
  color: #ffffff;
}

.cf-social-links {
  display: flex;
  gap: 0.75rem;
}

.cf-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #5a567a;
  border-radius: 50%;
  color: #d1cedb;
  font-size: 0.65rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

.cf-social-links a.cf-social-icon {
  font-size: 0;
}

.cf-social-links a.cf-social-icon svg {
  flex-shrink: 0;
  display: block;
}

.cf-social-links a:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.cf-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf-newsletter input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #5a567a;
  padding: 0.5rem 0;
  color: #ffffff;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.3s;
}

.cf-newsletter input:focus {
  border-bottom-color: #ffffff;
}

.cf-newsletter button {
  align-self: flex-start;
  background-color: #8b87a8;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 0.5rem;
}

.cf-newsletter button:hover {
  background-color: #a8a5b8;
}

.cf-bottom {
  max-width: 1400px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #5a567a;
  font-size: 0.6rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .cf-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.cf-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.cf-bottom a:hover {
  color: #a8a5b8;
}

/* ── ADJUSTMENTS FOR PROJECT CARDS ── */
.project-text-card {
  padding: 3rem 2.5rem !important;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ptc-header {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.ptc-btn {
  position: static !important;
  margin-top: auto;
  align-self: flex-end;
}

.ptc-desc-container {
  display: flex;
  flex-direction: column;
}

.ptc-row2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* ── PROJECT UNIFIED CARD ── */
.project-unified-card {
  border-radius: 30px;
  overflow: hidden;
  background-color: #ededed;
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}

.puc-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

@media (min-width: 768px) {
  .puc-image {
    aspect-ratio: 16 / 10;
  }
}

.puc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-unified-card:hover .puc-image img {
  transform: scale(1.03);
}

.puc-info {
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.puc-left {
  display: flex;
  flex-direction: column;
  max-width: 60%;
}

.puc-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: #363346;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.puc-location {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: #7a7a7a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.puc-divider-thin {
  width: 100%;
  max-width: 300px;
  height: 1px;
  background-color: #555366;
  margin: 1rem 0 1.5rem 0;
}

.puc-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #8c8c8c;
  margin-bottom: 1rem;
}

.puc-desc-small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #b3b3b3;
}

.puc-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
}

.puc-status {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: #7a7a7a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: auto;
}

.puc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  background-color: #3f3b52;
  color: #ffffff;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.puc-btn:hover {
  background-color: #2a2638;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .puc-info {
    flex-direction: column;
    gap: 3rem;
    padding: 2.5rem 1.5rem;
  }

  .puc-left {
    max-width: 100%;
  }

  .puc-right {
    align-items: flex-start;
    gap: 2rem;
  }

  .puc-status {
    margin-bottom: 0;
  }
}

/* --- FOOTER FONT OVERRIDES --- */
.custom-footer {
  font-family:
    "Neue Haas Grotesk Display Pro 45", "Inter", "Helvetica Neue", sans-serif !important;
  background: linear-gradient(to right, #0e3a2f, #0b2f27) !important;
}

.custom-footer .cf-text,
.custom-footer .cf-nav-list a,
.custom-footer .cf-bottom,
.custom-footer .cf-bottom a,
.custom-footer .cf-text a {
  color: rgba(217, 217, 217, 0.75) !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.custom-footer .cf-text a:hover,
.custom-footer .cf-nav-list a:hover,
.custom-footer .cf-bottom a:hover {
  color: #ffffff !important;
}

.custom-footer .cf-heading {
  color: rgba(217, 217, 217, 0.75) !important;
  font-size: 12px !important;
}

.custom-footer .cf-logo p {
  color: rgba(217, 217, 217, 0.75) !important;
  font-size: 11px !important;
}

.custom-footer .cf-social-links a {
  color: rgba(217, 217, 217, 0.75) !important;
  border-color: rgba(217, 217, 217, 0.3) !important;
}

.custom-footer .cf-social-links a:hover {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.custom-footer .cf-bottom {
  border-top: 1px solid rgba(217, 217, 217, 0.1) !important;
}

/* --- INLINE OVERRIDES FOR MAIN PAGE CAROUSEL --- */
.developments-carousel {
  gap: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow-x: hidden !important;
}

.carousel-spacer {
  flex: 0 0 3rem;
  min-width: 3rem;
}

@media (min-width: 768px) {
  .carousel-spacer {
    flex: 0 0 4rem;
    min-width: 4rem;
  }
}

@media (min-width: 1200px) {
  .carousel-spacer {
    flex: 0 0 5rem;
    min-width: 5rem;
  }
}

.development-card {
  border-radius: 25px !important;
  aspect-ratio: 16 / 9 !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 42vh !important;
  min-height: 300px !important;
  max-width: 100% !important;
}

.developments-carousel > a {
  flex: 0 0 100% !important;
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-width: 100% !important;
}

@media (min-width: 768px) {
  .developments-carousel > a {
    flex: 0 0 100% !important;
  }

  .development-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 47vh !important;
    min-height: 357px !important;
    max-width: 100% !important;
  }
}

@media (min-width: 1200px) {
  .development-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 51vh !important;
    min-height: 425px !important;
    max-width: 100% !important;
  }
}

.development-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 30%,
    transparent 60%
  ) !important;
  padding: 2.5rem 3rem !important;
}

.development-card-title {
  font-size: 2.2rem !important;
  font-weight: 400 !important;
  margin-bottom: 1rem !important;
}

.development-divider {
  display: block !important;
  height: 1px !important;
  width: 100% !important;
  background-color: rgba(255, 255, 255, 0.4) !important;
  margin-bottom: 0.8rem !important;
}

.development-details {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  width: 100% !important;
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  color: #fff !important;
}

.development-details span {
  font-size: 0.8rem !important;
  letter-spacing: 0.05em !important;
  font-weight: 500 !important;
}

/* --- GRID LAYOUT FOR PROJECTS PAGE UNIFIED CARDS --- */
.projects-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .projects-page-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.project-unified-card {
  margin-bottom: 0 !important;
  border-radius: 24px !important;
  overflow: hidden;
  background: #ededed;
}

/* Project card image area: 630×315 proportion (2:1 ratio) */
.puc-image {
  aspect-ratio: 2 / 1 !important;
  width: 100%;
  overflow: hidden;
  border-radius: 24px 24px 0 0 !important;
}

.puc-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.puc-image img {
  display: block;
  border-radius: 24px 24px 0 0 !important;
}

.puc-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
}

.puc-info {
  padding: 1.25rem 1.75rem 1.5rem !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  border-radius: 0 0 24px 24px !important;
  background: #ededed;
}

.puc-left,
.puc-right {
  width: 100% !important;
  max-width: 100% !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
}

.puc-right {
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 0.5rem !important;
  gap: 1rem !important;
}

.puc-status {
  margin-bottom: 0 !important;
}

.project-unified-card .puc-title {
  font-size: 1.75rem !important;
  margin-bottom: 0.25rem !important;
}

.project-unified-card .puc-divider-thin {
  margin: 0.5rem 0 !important;
}

.project-unified-card .puc-desc {
  margin-bottom: 0 !important;
}

.project-unified-card .puc-location {
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .puc-info {
    padding: 1rem 1.1rem 1.25rem !important;
  }

  .puc-right {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* ── Our Expertise (Premium) ── */
.expertise-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
}

.expertise-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
}

.expertise-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.expertise-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  color: #2d2d38;
  margin: 0 0 1.25rem 0;
  letter-spacing: 0.02em;
}

.expertise-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #5c5c6d;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.expertise-card {
  background: #ffffff;
  padding: 0 2.5rem 3.25rem 2.5rem;
  border-radius: 16px;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.expertise-card-image {
  margin: 0 -2.5rem 1.5rem -2.5rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.expertise-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #39384c 0%, #5c5c6d 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 24px 56px rgba(0, 0, 0, 0.1);
}

.expertise-card:hover::before {
  opacity: 1;
}

.expertise-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: #2d2d38;
  margin: 0 0 1rem 0;
  letter-spacing: 0.01em;
}

.expertise-card-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #39384c, transparent);
  margin-bottom: 1.5rem;
}

.expertise-card-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #5c5c6d;
  line-height: 1.65;
  margin: 0;
}

.expertise-card-cta {
  margin-top: 1.25rem;
}

.expertise-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #ffffff;
  background: #39384c;
  border: 1px solid #39384c;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.expertise-card-btn:hover {
  background: #2a2a38;
  border-color: #2a2a38;
  color: #ffffff;
}

a.expertise-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.expertise-card-link:hover {
  color: inherit;
  text-decoration: none;
}

/* ── Global Mobile Responsiveness Hardening ── */
@media (max-width: 1024px) {
  .developments-section {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .developments-carousel a {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .expertise-container {
    padding: 0 2rem;
  }

  .cf-nav-grid {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    height: 4.5rem;
    padding: 0 1rem;
  }

  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: max-content;
    max-width: min(92vw, 100%);
    pointer-events: auto;
  }

  .mobile-toggle {
    position: relative;
    z-index: 3;
  }

  .nav-logo-text {
    font-size: 1.05rem;
  }

  .nav-logo-img {
    height: 3.5rem;
    max-width: min(72vw, 15rem);
  }

  .hero {
    height: 88svh;
    min-height: 640px;
  }

  .hero-content {
    padding: 0 1rem 2.25rem;
  }

  .hero-controls {
    margin-top: 1rem;
    gap: 0.6rem;
  }

  .hero-dot {
    width: 1.1rem;
  }

  .developments-title {
    font-size: clamp(2rem, 9vw, 2.8rem) !important;
  }

  .developments-desc {
    font-size: 1rem !important;
  }

  .developments-header > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .development-card {
    flex: 0 0 100% !important;
    min-height: 260px !important;
    height: auto !important;
  }

  .development-card-overlay {
    padding: 1.25rem !important;
  }

  .development-card-title {
    font-size: 1.5rem !important;
  }

  .development-details {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }

  .expertise-section {
    padding: 4.5rem 0;
  }

  .expertise-container {
    padding: 0 1.25rem;
  }

  .expertise-header {
    margin-bottom: 2.5rem;
  }

  .expertise-title {
    font-size: 2.1rem;
  }

  .expertise-subtitle {
    font-size: 1rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .expertise-card {
    padding: 0 1.25rem 2rem 1.25rem;
  }

  .expertise-card-image {
    margin: 0 -1.25rem 1.15rem -1.25rem;
  }

  .cf-container {
    gap: 2rem;
  }

  .cf-nav-grid {
    flex-direction: column;
    gap: 1.25rem;
  }

  .cf-newsletter button {
    width: 100%;
    text-align: center;
  }
}
