* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  font-family: 'Outfit', sans-serif; 
  background: #F9F9F7; 
  color: #1E293B; 
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  line-height: 1.2;
}

/* ===== NAVBAR ===== */
.hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(249, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  padding: 0 5%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(30, 41, 59, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
  color: #1E293B;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
}
.logo-icon { 
  width: 140px; 
  object-fit: contain; 
}
.navicon-light {
  filter: brightness(0) invert(1);
}

.right-group { display: flex; align-items: center; gap: 40px; }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #64748B;
  transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: #1E293B; }

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

.btn-signin {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1E293B;
  background: transparent;
  border: none;
  cursor: pointer;
}
.btn-signin:hover { color: #B45309; }

.btn-join {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  background: #1E293B;
  border: none;
  padding: 14px 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 30px;
}
.btn-join:hover { background: #B45309; }

.hamburger { display: none; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 5%;
  right: 5%;
  z-index: 999;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: rgba(249, 249, 247, 0.98);
  border: 1px solid rgba(30, 41, 59, 0.1);
  box-shadow: 0 24px 48px rgba(16, 24, 39, 0.18);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-decoration: none;
  text-transform: uppercase;
}
.mobile-actions {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(30, 41, 59, 0.1);
}

@media (max-width: 768px) {
  .right-group { display: none; }
  .nav-links { display: none; }
  .hamburger { 
    display: flex; flex-direction: column; gap: 6px; cursor: pointer; 
    background: none; border: none; 
  }
  .hamburger span { display: block; width: 30px; height: 1px; background: #1E293B; }
}

/* ===== HERO ===== */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  min-height: 100vh;
  padding: 132px 6% 100px; /* Increased bottom padding pushes the vertically-centered content UP */
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #101827;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 39, 0.92) 0%, rgba(16, 24, 39, 0.78) 36%, rgba(16, 24, 39, 0.42) 63%, rgba(16, 24, 39, 0.1) 100%),
    linear-gradient(180deg, rgba(16, 24, 39, 0.42) 0%, rgba(16, 24, 39, 0.08) 42%, rgba(16, 24, 39, 0.72) 100%),
    url('images/herobg.png') center right/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  z-index: -1;
}

.hero > .hero-nav {
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.72), rgba(16, 24, 39, 0.18));
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.hero > .hero-nav .logo,
.hero > .hero-nav .nav-links a,
.hero > .hero-nav .btn-signin {
  color: #fff;
}

.hero > .hero-nav .logo-icon {
  filter: brightness(0) invert(1);
}

.hero > .hero-nav .nav-links a {
  color: rgba(255, 255, 255, 0.76);
}

.hero > .hero-nav .nav-links a:hover,
.hero > .hero-nav .nav-links a.active,
.hero > .hero-nav .btn-signin:hover {
  color: #F4B86A;
}

.hero > .hero-nav .btn-join {
  background: #fff;
  color: #101827;
}

.hero > .hero-nav .btn-join:hover {
  background: #B45309;
  color: #fff;
}

.hero > .hero-nav .hamburger span {
  background: #fff;
}
.hero-left {
  position: relative;
  z-index: 10;
  width: 100%;
  animation: fadeUpAnim 1s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: #F4B86A;
  padding: 8px 16px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 184, 106, 0.28);
  backdrop-filter: blur(10px);
  border-radius: 30px;
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.2rem, 5.1vw, 5rem);
  color: #fff;
  line-height: 1.02;
  max-width: 900px;
  margin-bottom: 10px;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  color: #F4B86A;
}

.hero p {
  font-size: clamp(15px, 1.15vw, 18px);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0px; /* Removed negative margin to keep layout clean */
}

.btn-hero-primary {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  min-height: 58px;
  padding: 0 18px;
  color: #111827;
  background: linear-gradient(to right, #d3a96b, #c49655);
  border: 1px solid #d3a96b;
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, #e2bb82, #d3a96b);
  border-color: #e2bb82;
}

.btn-hero-ghost {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  min-height: 58px;
  padding: 0 34px;
  color: #d3a96b;
  background: transparent;
  border: 1px solid #d3a96b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn-hero-ghost:hover {
  transform: translateY(-2px);
  background: rgba(211, 169, 107, 0.1);
  color: #e2bb82;
  border-color: #e2bb82;
}

.hero-metrics {
  margin-top: 18px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(20, 27, 39, 0.9), rgba(9, 14, 23, 0.84));
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}

.hero-metric { 
  display: flex; 
  align-items: center; 
  gap: 16px;
  min-width: 0;
  min-height: 132px;
  padding: 28px 32px;
  position: relative;
}

.hero-metric::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-metric:hover::before {
  opacity: 1;
}

/* .hero-metric:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.09);
} */

.hero-metric-icon {
  position: relative;
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  display: block;
  background: radial-gradient(circle, rgba(211, 169, 107, 0.16), rgba(211, 169, 107, 0.04));
  border: 1px solid rgba(211, 169, 107, 0.78);
  border-radius: 50%;
  box-shadow: inset 0 0 18px rgba(211, 169, 107, 0.14), 0 0 20px rgba(211, 169, 107, 0.07);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-metric:hover .hero-metric-icon {
  transform: translateY(-3px);
  border-color: rgba(211, 169, 107, 0.8);
  box-shadow: inset 0 0 20px rgba(211, 169, 107, 0.2), 0 0 20px rgba(211, 169, 107, 0.15);
}

.hero-metric-icon-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  object-fit: contain;
  /* Converts black to #D3A96B (gold) */
  filter: brightness(0) saturate(100%) invert(72%) sepia(28%) saturate(632%) hue-rotate(350deg) brightness(89%) contrast(88%);
}

.hero-metric-content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero-metric strong {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.3vw, 34px);
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 0.95;
  margin-bottom: 8px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.hero-metric-content span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  display: block;
  position: relative;
  padding-bottom: 17px;
}

.hero-metric-content span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 1px;
  background: #d3a96b;
}

/* ===== PAGE SECTIONS STACKING ===== */
/* This ensures all content sections slide OVER the sticky hero smoothly */
section:not(.hero), .site-footer {
  position: relative;
  z-index: 10;
}

section:not(.hero)#home {
  z-index: 1000;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
  padding: 30px 5% 120px;
  background: #F9F9F7;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.15); /* Adds a subtle shadow above it so it looks like it's sliding *over* the hero */
}

.featured-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.1);
  padding-bottom: 20px;
}

.featured-eyebrow, .why-eyebrow, .process-eyebrow, .reviews-eyebrow, .faq-eyebrow {
  display: inline-block;
  position: relative;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #c49655; /* Premium gold */
  margin-bottom: 15px;
  padding-bottom: 8px;
}

.featured-eyebrow::after, .why-eyebrow::after, .process-eyebrow::after, .reviews-eyebrow::after, .faq-eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 2px;
  background: #c49655;
}

.featured-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1E293B;
}
.featured-title span {
  color: #c49655;
}

.featured-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1E293B;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #1E293B;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.featured-link:hover { color: #B45309; border-color: #B45309; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.property-card {
  background: #ffffff;
  border: 1px solid rgba(30, 41, 59, 0.08);
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}
.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.property-thumb {
  height: 280px;
  position: relative;
  overflow: hidden;
}
.property-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.property-card:hover .property-thumb img { transform: scale(1.05); }

.property-tag {
  position: absolute; top: 20px; left: 20px;
  background: #2e343d; color: #fff;
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 8px 16px; font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
}
.property-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #c49655; /* Premium gold dot */
  border-radius: 50%;
}
.property-price {
  position: absolute; top: 20px; right: 20px;
  background: #1E293B; color: #fff;
  font-size: 12px; letter-spacing: 1px;
  padding: 8px 16px;
}

.property-body { padding: 30px; }

.property-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #0F172A;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.property-loc {
  font-size: 13px; color: #64748B; margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.property-loc::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23c49655" d="M192 0C86 0 0 86 0 192c0 77.4 27 101.5 168.1 298.8 11.2 15.6 36.6 15.6 47.8 0C357 293.5 384 269.4 384 192 384 86 298 0 192 0zm0 288c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.property-meta {
  display: flex; gap: 8px; flex-wrap: wrap; flex: 1; margin-right: 15px;
}
.property-meta span {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500;
  color: #1E293B; background: rgba(30, 41, 59, 0.05); padding: 6px 12px; border-radius: 20px;
}

.property-footer { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid rgba(30, 41, 59, 0.08); padding-top: 20px;}

.wishlist-btn {
  background: transparent;
  border: 1px solid rgba(30, 41, 59, 0.2);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.wishlist-btn:hover {
  background: rgba(30, 41, 59, 0.05);
  color: #1E293B;
}

/* ===== WHY SECTION ===== */
.why-section { 
  padding: 80px 5% 120px; 
  background: #0f1623; 
  color: #F9F9F7; 
  position: relative;
  z-index: 1;
  overflow: hidden; /* to contain the wide grid pseudo-element */
}
.why-top { margin-bottom: 60px; text-align: center; }
.why-eyebrow {
  padding-bottom: 20px;
}
.why-eyebrow::after {
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 150, 85, 0.8), transparent);
}
.why-eyebrow::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: #c49655;
}
.why-title { 
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 5vw, 4rem); 
  margin-bottom: 30px; 
  font-weight: 400;
  line-height: 1.15;
}
.why-title span { 
  display: block;
  color: #c49655; 
}
.why-grid { 
  counter-reset: why-card-counter;
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px; 
  position: relative;
  z-index: 2;
  margin-top: 60px;
}

.why-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50vw;
  width: 200vw;
  height: 2000px;
  background: #F9F9F7;
  z-index: -1;
}

.why-card { 
  counter-increment: why-card-counter;
  background: #F9F9F7;
  border-radius: 12px;
  position: relative;
  text-align: center;
  padding: 65px 20px 40px; 
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border: none;
  transition: transform 0.4s ease;
  z-index: 2;
}

.why-card:hover {
  transform: translateY(-10px);
}



.why-icon { 
  position: absolute;
  top: 0; 
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: #1a2333; 
  border: 1px solid rgba(196, 150, 85, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #c49655;
  z-index: 2; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.why-card h3 { 
  font-family: 'Cinzel', serif;
  font-size: 19px; 
  color: #1E293B; 
  padding-bottom: 18px;
  margin-bottom: 18px; 
  position: relative;
  z-index: 2;
  font-weight: 600;
  line-height: 1.4;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.why-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 2px;
  background: #c49655;
}

.why-card p { 
  font-size: 14px; 
  color: #475569; 
  line-height: 1.6;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}



/* ===== PROCESS SECTION ===== */
.process-section { padding: 60px 5% 120px; background: #F9F9F7; }
.process-top { text-align: center; margin-bottom: 40px; }
.process-copy { margin-top: 20px; font-size: 16px; color: #475569; }
.process-eyebrow, .faq-eyebrow { padding-bottom: 20px; }
.process-eyebrow::after, .faq-eyebrow::after {
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 150, 85, 0.8), transparent);
}
.process-eyebrow::before, .faq-eyebrow::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: #c49655;
}
.process-title { font-family: 'Cinzel', serif; font-size: clamp(2.5rem, 5vw, 3.5rem); color: #1E293B; line-height: 1.2; font-weight: 400; }
.process-title span { color: #c49655; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
.process-card {
  position: relative;
  background: #0f1623;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}
.process-card:hover {
  transform: translateY(-5px);
}
.process-card:not(:last-child)::after {
  content: "\203A";
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  color: #c49655;
  font-size: 24px;
  font-family: Arial, sans-serif;
}
.process-step { 
  font-family: 'Cinzel', serif; 
  font-size: 24px; 
  color: #c49655; 
  position: absolute;
  top: 20px;
  left: 20px;
  line-height: 1; 
}
.process-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 40px auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #c49655;
  box-shadow: inset 0 -2px 10px rgba(196, 150, 85, 0.3);
  border: 1px solid rgba(255,255,255,0.05);
}
.process-card h3 { 
  font-family: 'Cinzel', serif;
  font-size: 16px; 
  color: #fff; 
  margin-bottom: 15px; 
  position: relative;
  padding-bottom: 15px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 2px;
  background: #c49655;
}
.process-card p { font-size: 13px; color: #94A3B8; line-height: 1.6; }

/* ===== REVIEWS ===== */
.reviews-section { padding: 60px 5% 120px; background: #F3EFEA; }
.reviews-top { 
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.1);
  padding-bottom: 20px;
}
.reviews-title { font-size: clamp(2rem, 4vw, 3rem); color: #1E293B; margin-bottom: 10px; }
.reviews-title span{color:#c49655}
.feedback-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.feedback-card { 
  background: #fff; 
  padding: 40px; 
  border-radius: 4px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 3px solid #c49655;
  z-index: 1;
}
.feedback-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.feedback-card::before {
  content: "❞";
  position: absolute;
  bottom: -10px;
  right: 20px;
  font-size: 100px;
  color: rgba(196, 150, 85, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}
.feedback-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.05);
}
.feedback-user { 
  font-family: 'Cinzel', serif; 
  font-size: 17px; 
  color: #1E293B; 
  font-weight: 600;
}
.feedback-date {
  font-size: 12px;
  color: #94A3B8;
  font-family: 'Outfit', sans-serif;
}
.feedback-stars { color: #D4AF37; margin-bottom: 15px; font-size: 13px; letter-spacing: 2px; }
.feedback-comment { font-size: 15px; color: #475569; line-height: 1.7; }

/* ===== FAQ ===== */
.faq-section { padding: 60px 5% 120px; background: #F9F9F7; }
.faq-top { text-align: center; margin-bottom: 60px; }
.faq-title { 
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem); 
  color: #1E293B; 
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
}
.faq-title span
{
  color: #c49655;
}
.faq-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: #c49655;
}
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { 
  background: #fdfbf7;
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
}
.faq-item.open {
  border-color: #c49655;
}
.faq-q { 
  width: 100%; 
  text-align: left; 
  padding: 20px 30px; 
  background: none; 
  border: none; 
  font-family: 'Outfit', sans-serif;
  text-transform: none;
  font-size: 17px; 
  font-weight: 500; 
  color: #1E293B; 
  cursor: pointer; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
}
.faq-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #c49655;
  color: #c49655;
  font-size: 18px;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-item.open .faq-icon {
  background: #c49655;
  color: #fff;
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { 
  padding: 0 30px 24px; 
  color: #64748B; 
  font-size: 15px; 
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer { background: #1E293B; color: #F9F9F7; padding: 50px 5% 20px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 0px; }
.footer-brand { 
  font-family: 'Cinzel', serif; 
  font-size: 28px; 
  color: #fff; 
  text-decoration: none; 
  display: inline-flex; 
  align-items: center;
  gap: 15px;
  margin-bottom: 16px; 
}
.footer-note { 
  font-size: 15px; 
  color: #94A3B8; 
  max-width: 360px; 
  line-height: 1.7;
  margin-top: 8px;
}
.footer-title { 
  font-family: 'Cinzel', serif;
  font-size: 15px; 
  font-weight: 600;
  text-transform: uppercase; 
  letter-spacing: 2px; 
  color: #c49655; 
  margin-bottom: 24px; 
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: #c49655;
}
/* Quick Links & Services */
.footer-links { list-style: none; }
.footer-links li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 12px 0;
}
.footer-links li:last-child { border-bottom: none; }
.footer-links a {
  display: flex;
  align-items: center;
  color: #F9F9F7;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}
.footer-links a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c49655' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.3s;
}
.footer-links a:hover { color: #c49655; }
.footer-links a:hover::before { transform: translateX(4px); }

/* Contact Section */
.footer-contact { list-style: none; }
.footer-contact li {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.5;
}
.footer-contact li:last-child { border-bottom: none; }
.footer-contact li::before {
  content: "";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #c49655;
  margin-right: 15px;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}
.footer-contact li:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c49655' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
}
.footer-contact li:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c49655' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
}
.footer-contact li:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c49655' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}
.footer-contact a {
  color: #c49655;
  text-decoration: none;
  transition: opacity 0.3s;
}
.footer-contact a:hover {
  opacity: 0.8;
}

/* Footer Divider */
.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  color: #c49655;
  font-family: 'Cinzel', serif;
  font-size: 18px;
}
.footer-divider::before,
.footer-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(196, 150, 85, 0.4);
}
.footer-divider::before { margin-right: 25px; }
.footer-divider::after { margin-left: 25px; }

.footer-bottom { 
  padding-top: 0px; 
  display: flex; 
  flex-direction: row;
  justify-content: space-between;
  align-items: center; 
  gap: 15px;
  font-size: 14px; 
  color: #94A3B8; 
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-legal a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover {
  color: #fff;
}
.footer-legal a:not(:last-child)::after {
  content: "|";
  color: #c49655;
  margin-left: 15px;
}

/* ANIMATIONS */
@keyframes fadeUpAnim {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-aos] { opacity: 0; }
[data-aos].aos-animate { animation: fadeUpAnim 0.8s ease forwards; }
[data-aos-delay="100"].aos-animate { animation-delay: 0.1s; }
[data-aos-delay="200"].aos-animate { animation-delay: 0.2s; }

/* MISC BUTTONS */
.wishlist-btn {
  background: transparent;
  border: 1px solid #1E293B;
  color: #1E293B;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; cursor: pointer; transition: all 0.3s;
}
.wishlist-btn:hover, .wishlist-btn.active {
  background: #1E293B; color: #fff;
}
.process-actions { text-align: center; margin-top: 60px; }
.btn-process-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px; padding: 16px 36px;
  color: #fff; background: linear-gradient(135deg, #a8763e, #d49f55); border: none; cursor: pointer;
  border-radius: 4px; transition: opacity 0.3s ease; margin-right: 10px;
}
.btn-process-primary:hover { opacity: 0.9; }

.btn-process-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px; padding: 14px 34px;
  color: #c49655; background: transparent; border: 1px solid #c49655;
  cursor: pointer; border-radius: 4px; transition: all 0.3s ease;
}
.btn-process-ghost:hover { background: #c49655; color: #fff; }

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 126px 6% 54px;
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(16, 24, 39, 0.9) 0%, rgba(16, 24, 39, 0.76) 50%, rgba(16, 24, 39, 0.38) 100%),
      linear-gradient(180deg, rgba(16, 24, 39, 0.48) 0%, rgba(16, 24, 39, 0.12) 36%, rgba(16, 24, 39, 0.82) 100%),
      url('images/herobg.png') center right/cover no-repeat;
  }
  .hero-left {
    width: min(100%, 620px);
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* .hero-metric:not(:last-child)::after {
    display: none;
  }
  .hero-metric:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }
  .hero-metric:nth-child(2) {
    border-right: none;
  }
  .hero-metric:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  } */
  .featured-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero {
    position: relative; /* Disable sticky on mobile because tall content gets trapped off-screen */
    padding: 130px 6% 80px;
    min-height: 100vh;
    align-items: flex-start; /* Flow naturally from the top */
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(16, 24, 39, 0.9) 0%, rgba(16, 24, 39, 0.7) 48%, rgba(16, 24, 39, 0.92) 100%),
      url('images/herobg.png') 62% center/cover no-repeat;
  }
  .hero-badge {
    font-size: 9px;
    letter-spacing: 1.2px;
    line-height: 1.4;
    margin-bottom: 16px;
    padding: 6px 12px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.35rem);
    line-height: 1.06;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .hero-cta,
  .btn-hero-primary,
  .btn-hero-ghost {
    width: 100%;
  }
  .btn-hero-primary,
  .btn-hero-ghost {
    justify-content: center;
    padding-left: 18px;
    padding-right: 18px;
    min-height: 54px;
    letter-spacing: 2px;
    text-align: center;
  }
  .hero-metrics {
    margin-top: 32px;
    grid-template-columns: 1fr;
  }
  .hero-metric {
    padding: 24px;
    min-height: auto;
  }
  .hero-metric,
  .hero-metric:nth-child(2),
  .hero-metric:nth-child(odd),
  .hero-metric:nth-child(-n + 2) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .hero-metric:last-child {
    border-bottom: none;
  }
  .logo-icon {
    width: 108px;
  }
  .logo-word {
    display: none;
  }
  .featured-grid, .why-grid, .process-grid { grid-template-columns: 1fr; }
  .featured-section { padding: 30px 5% 80px; }
  .why-section { padding: 60px 5% 80px; }
  .featured-head, .reviews-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }
  .process-section { padding: 40px 5% 60px; }
  .process-card:not(:last-child)::after {
    top: auto;
    bottom: -25px;
    right: 50%;
    transform: translateX(50%) rotate(90deg);
  }
  .process-actions { margin-top: 40px; }
  .btn-process-primary, .btn-process-ghost {
    display: flex;
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  
  /* Show only 3 feedback cards on mobile */
  .feedback-card:nth-child(n+4) {
    display: none;
  }
}

/* ===== DEDICATED BUILDING PLANS PAGE STYLES ===== */
.plans-top-banner {
  text-align: center;
  margin-bottom: 40px;
}

.featured-subtitle {
  font-size: 16px;
  color: #64748B;
  max-width: 650px;
  margin: 15px auto 0;
  line-height: 1.6;
}

.plans-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.plan-filter-btn {
  background: #fff;
  color: #64748B;
  border: 1px solid rgba(30, 41, 59, 0.15);
  padding: 10px 22px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.plan-filter-btn:hover, .plan-filter-btn.active {
  background: #1E293B;
  color: #fff;
  border-color: #1E293B;
  box-shadow: 0 6px 16px rgba(30, 41, 59, 0.15);
}

.plans-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1040px;
  margin: 0 auto;
}

.plan-card {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(30, 41, 59, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.plan-card-thumb {
  flex: 0 0 250px;
  width: 250px;
  min-height: 350px;
  height: auto;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  border-right: 1px solid rgba(30, 41, 59, 0.08);
  border-bottom: none;
}

/* Adjust thumbnail width for landscape PDFs to eliminate black bars */
.plan-card[data-category="Duplex Residential"] .plan-card-thumb {
  flex: 0 0 490px;
  width: 490px;
}

.plan-pdf-wrapper {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  pointer-events: none;
  overflow: hidden;
}

.plan-pdf-thumb-frame {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

.plan-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 39, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.plan-thumb-overlay span {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: #101827;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(196, 150, 85, 0.4);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.plan-card-thumb:hover .plan-thumb-overlay {
  opacity: 1;
}

.plan-card-thumb:hover .plan-pdf-thumb-frame {
  transform: scale(1.05);
}

.plan-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #101827;
  color: #c49655;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: 2px;
  border: 1px solid rgba(196, 150, 85, 0.3);
}

.plan-floors-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #1E293B;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.plan-card-body {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.plan-dim-bar {
  font-size: 12px;
  font-weight: 600;
  color: #B45309;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.plan-card-title {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  color: #1E293B;
  margin-bottom: 12px;
  line-height: 1.3;
  text-transform: uppercase;
}

.plan-card-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.65;
  margin-bottom: 16px;
}

.plan-card-features {
  list-style: none;
  margin-bottom: 4px;
}

.plan-card-features li {
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-card-footer {
  display: flex;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #F1F5F9;
  max-width: 440px;
  margin-top: auto;
}

.btn-plan-preview {
  flex: 1;
  background: #1E293B;
  color: #fff;
  border: none;
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 20px;
}

.btn-plan-preview:hover {
  background: #B45309;
}

.btn-plan-download {
  flex: 1;
  background: transparent;
  color: #1E293B;
  border: 1px solid #1E293B;
  padding: 11px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 2px;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 20px;
}

.btn-plan-download:hover {
  background: #1E293B;
  color: #fff;
}

.custom-plan-cta {
  margin-top: 70px;
  background: linear-gradient(135deg, #101827 0%, #1E293B 100%);
  color: #fff;
  padding: 50px 6%;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(244, 184, 106, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.custom-cta-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  color: #c49655;
  margin-bottom: 10px;
}

.custom-cta-content p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 650px;
  line-height: 1.6;
}

.btn-custom-call {
  background: linear-gradient(to right, #d3a96b, #c49655);
  color: #111827;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  padding: 16px 30px;
  text-decoration: none;
  border-radius: 50px;
  white-space: nowrap;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(196, 150, 85, 0.25);
}

.btn-custom-call:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, #e2bb82, #d3a96b);
}

/* ===== PDF LIGHTBOX MODAL ===== */
.pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 25, 0.84);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pdf-modal-container {
  background: #ffffff;
  width: 92vw;
  max-width: 1100px;
  height: 88vh;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.pdf-modal-header {
  background: #1E293B;
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pdf-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-badge-icon {
  font-size: 20px;
}

#pdf-modal-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 500;
  color: #c49655;
}

.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-pdf-download-action {
  background: #B45309;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.btn-pdf-download-action:hover {
  background: #d97706;
}

.pdf-modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pdf-modal-close:hover {
  color: #ef4444;
}

.pdf-modal-body {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  background: #f8fafc;
}

#pdf-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 992px) {
  .plan-card {
    flex-direction: column;
  }
  .plan-card-thumb {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.41; /* Perfectly fits portrait PDFs */
    border-right: none;
    border-bottom: 1px solid rgba(30, 41, 59, 0.08);
  }
  .plan-card[data-category="Duplex Residential"] .plan-card-thumb {
    aspect-ratio: 1.65 / 1; /* Perfectly fits landscape PDFs */
  }
  .plan-card-body {
    padding: 24px;
  }
  .plan-card-footer {
    max-width: 100%;
  }
  .custom-plan-cta { flex-direction: column; text-align: center; }
  .custom-cta-content p { margin: 0 auto; }
}

@media (max-width: 640px) {
  .pdf-modal-container { width: 98vw; height: 92vh; }
  .pdf-modal-header { padding: 12px 16px; }
  #pdf-modal-title { font-size: 15px; }
}


