/* Full-bleed hero banner */
.hero-banner {
  position: relative;
  min-height: 68vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video iframe,
.hero-video .yt-cover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 16/9;
  pointer-events: none;
}

/* Ensure full coverage on wider screens */
@media (min-aspect-ratio: 16/9) {
  .hero-video iframe,
  .hero-video .yt-cover {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio: 16/9) {
  .hero-video iframe,
  .hero-video .yt-cover {
    width: auto;
    height: 100%;
  }
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  /* left-to-right dark overlay to keep text readable */
  background: linear-gradient(
    90deg,
    rgba(43, 49, 63, 0.80) 0%,
    rgba(43, 49, 63, 0.65) 35%,
    rgba(43, 49, 63, 0.40) 60%,
    rgba(43, 49, 63, 0.18) 80%,
    rgba(43, 49, 63, 0.00) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content .text-veil {
  background: rgba(28, 32, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 960px;
}

.hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  margin-top: 10px;
}

.hero-content p {
  color: #eef1f6;
}

.badge-invert {
  background: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.85);
}

.btn-light {
  background: #ffffff;
  color: var(--color-heading);
  border-color: #ffffff;
}

@media (max-width: 720px) {
  .hero-banner {
    min-height: 56vh;
    background-position: center;
  }
}

/* Tablet / iPad styles */
@media (max-width: 1024px) and (min-width: 721px) {
  .navbar {
    padding: 14px 24px;
  }
  
  .nav-brand img {
    height: 42px;
  }
  
  .nav-links {
    gap: 18px;
  }
  
  .nav-links a {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content .text-veil {
    padding: 28px 36px;
  }
}

:root {
  --color-base: #fafaf9;
  --color-sand: #f5f5f4;
  --color-text: #1c1917;
  --color-heading: #0c0a09;
  --color-accent: #d97706;
  --color-accent-2: #44403c;
  --color-success: #059669;
  --color-border: #e7e5e4;
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --max-width: 1200px;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
  box-sizing: border-box;
}

html {
  font-size: 15px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

body {
  margin: 0 0 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  color: var(--color-accent);
}

  background: var(--color-accent);
  color: var(--color-text);
  border-color: var(--color-accent);
  display: block;
}

  background: #c0892b;
  border-color: #c0892b;
  border-bottom: 1px solid var(--color-border);

.btn-primary:active { transform: translateY(1px); }
  position: sticky;
  top: 0;
  background: transparent;
  border-color: var(--color-heading);
  color: var(--color-heading);
}

.btn-ghost:hover {
  background: rgba(43, 49, 63, 0.06);
  border-color: var(--color-heading);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 119, 6, 0.12);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.nav-brand:hover {
  transform: scale(1.02);
}

.nav-brand img {
  height: 48px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a:not(.btn):hover {
  background: rgba(217, 119, 6, 0.08);
  color: var(--color-accent);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-heading);
  margin: 0 auto;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-heading);
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #c0892b;
  border-color: #c0892b;
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--color-heading);
  color: var(--color-heading);
}

.btn-ghost:hover {
  background: rgba(43, 49, 63, 0.06);
  border-color: var(--color-heading);
}

.section {
  padding: 80px 24px;
}

.section-tight {
  padding: 60px 24px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #f1e8d9);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 96px 24px 88px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: radial-gradient(circle at 15% 20%, rgba(205, 153, 51, 0.18), transparent 36%),
    radial-gradient(circle at 80% 10%, rgba(65, 80, 106, 0.16), transparent 32%);
  opacity: 0.9;
}

/* Dark overlay for hero with background-image */
.hero[style*="background-image"]::before {
  background: linear-gradient(
    135deg,
    rgba(12, 10, 9, 0.88) 0%,
    rgba(28, 25, 23, 0.82) 40%,
    rgba(41, 37, 36, 0.75) 70%,
    rgba(28, 25, 23, 0.82) 100%
  );
  opacity: 1;
}

.hero::after {
  background: radial-gradient(circle at 70% 85%, rgba(43, 49, 63, 0.08), transparent 45%);
  opacity: 0.6;
}

/* Disable after overlay for hero with background images */
.hero[style*="background-image"]::after {
  display: none;
}

/* Ensure content appears above overlay */
.hero > .container {
  position: relative;
  z-index: 1;
}

/* Light text on dark hero backgrounds */
.hero[style*="background-image"] h1,
.hero[style*="background-image"] h2,
.hero[style*="background-image"] h3,
.hero[style*="background-image"] h4,
.hero[style*="background-image"] p,
.hero[style*="background-image"] li {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Override white text for content inside cards - cards have light backgrounds */
.hero[style*="background-image"] .card h1,
.hero[style*="background-image"] .card h2,
.hero[style*="background-image"] .card h3,
.hero[style*="background-image"] .card h4,
.hero[style*="background-image"] .card p,
.hero[style*="background-image"] .card li {
  color: var(--color-text);
  text-shadow: none;
}

.hero[style*="background-image"] .badge {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--color-heading);
}

/* Stat boxes visibility on dark backgrounds */
.hero[style*="background-image"] .stat {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-heading);
  font-weight: 700;
}

/* Make ghost buttons visible on dark hero backgrounds */
.hero[style*="background-image"] .btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero[style*="background-image"] .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
  background: linear-gradient(160deg, rgba(43, 49, 63, 0.12), rgba(205, 153, 51, 0.1));
  min-height: 320px;
}

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

.media-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.media-secondary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.media-secondary img {
  border-radius: 14px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  height: 120px;
  object-fit: cover;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p {
  margin: 0 0 12px;
  font-size: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #e0dbcf;
  background: #fff;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 6px;
}

.badge-available {
  color: var(--color-success);
  border-color: rgba(15, 169, 88, 0.25);
  background: rgba(15, 169, 88, 0.08);
}

.badge-sold {
  color: #9c1c28;
  border-color: rgba(156, 28, 40, 0.25);
  background: rgba(156, 28, 40, 0.08);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.card.project-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.project-card .card-content {
  padding: 24px;
}

.card-content .meta {
  margin-bottom: 12px;
}

.card-content .btn {
  margin-top: 16px;
  display: inline-block;
}

.access-info {
  margin-top: 12px;
}

.card-thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f4, #e7e5e4);
  position: relative;
}

.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}

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

.project-card:hover .card-thumb img {
  transform: scale(1.08);
}

.card-ghost {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 250, 249, 0.95));
  backdrop-filter: blur(8px);
  padding: 36px;
  border: 1px solid rgba(231, 229, 228, 0.8);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.service-icon lottie-player {
  width: 100%;
  height: 100%;
}

/* Fallback icon styles when Lottie doesn't load */
.service-icon::before {
  content: '🏢';
  display: block;
  line-height: 1;
}

.service-icon:has(lottie-player)::before {
  display: none;
}

.card h3 {
  margin-top: 0;
}

.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.95rem;
}

.card .meta {
  margin-bottom: 8px;
}

.card .btn {
  margin-top: 16px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 10px;
}

.list li::before {
  content: "•";
  color: var(--color-accent);
  margin-right: 8px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}
.split-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.split-header h2 {
  margin: 0;
}

.grid-spaced {
  margin-top: 24px;
}

.logo-row {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.logo-row img {
  height: 28px;
}

.cta-spacing {
  margin-top: 16px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.section-heading p {
  max-width: 640px;
  color: #4b5566;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0 -20px;
}

.testimonials-carousel::before,
.testimonials-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-base) 0%, transparent 100%);
}

.testimonials-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-base) 0%, transparent 100%);
}

.testimonials-track {
  display: flex;
  gap: 20px;
  padding: 0 24px;
  animation: scroll 30s linear infinite;
  will-change: transform;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 10px)); }
}

.testimonials-track .testimonial {
  flex: 0 0 420px;
  max-width: 420px;
}

.carousel-controls {
  display: none;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
}

.carousel-btn:active {
  transform: scale(0.96);
}

.testimonial {
  border-left: 4px solid var(--color-accent);
  padding: 0 0 0 18px;
  font-style: italic;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f1e8d9;
  aspect-ratio: 16/10;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  background: var(--color-heading);
  color: #fff;
  padding: 56px 24px 40px;
  margin-top: 40px;
}

.footer a {
  color: #f8e7c7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 40px;
}

.small-text {
  font-size: 0.95rem;
  color: #525a6a;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.card .hero-cta,
.list + .hero-cta {
  margin-top: 16px;
}

.table-like {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.stat {
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #e0dbcf;
  font-weight: 600;
  font-size: 0.9rem;
}

.section-accent {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-white {
  background: #fff;
}

.hero-cta-end {
  justify-content: flex-end;
}

.footer-copy {
  color: #d8dce8;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  font-weight: 700;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}

.form textarea {
  min-height: 120px;
}

@media (max-width: 720px) {
  html { font-size: 14px; }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  
  .section {
    padding: 60px 20px;
  }
  
  .section-tight {
    padding: 48px 20px;
  }
  
  .hero {
    padding: 72px 20px 68px;
  }
  
  .hero-content .text-veil {
    padding: 24px 28px;
  }
  
  .card-ghost {
    padding: 24px;
  }
  
  .project-card .card-content {
    padding: 20px;
  }
  
  .navbar {
    padding: 12px 20px;
    flex-direction: row;
    align-items: center;
  }
  
  .nav-brand img {
    height: 40px;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(215, 119, 6, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    justify-content: flex-start;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
  }
  
  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }
  
  .nav-links a:not(.btn)::after {
    display: none;
  }
  
  .menu-toggle { 
    display: inline-block;
    margin-left: auto;
  }
  
  .nav-open .nav-links { 
    display: flex;
  }
  
  .btn {
    padding: 8px 14px;
    font-size: 0.88rem;
  }
  
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
