/* ============================================================
   SOWKHYA LIVING — MASTER STYLESHEET v2
   Warm Ivory + Champagne Gold luxury real estate theme
   ============================================================ */

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

/* ─── CSS VARIABLES ────────────────────────────────────────── */
:root {
  --gold:         #C9A84C;
  --gold-dark:    #A07830;
  --gold-light:   #E8C96B;
  --gold-mist:    #EDE0C8;
  --ivory:        #FAF7F2;
  --ivory-warm:   #F2EDE4;
  --ivory-deep:   #EAE0D0;
  --walnut:       #2C1F14;
  --walnut-light: #4A3728;
  --espresso:     #1C1410;
  --taupe:        #6B5E52;
  --taupe-light:  #9B8E84;
  --white:        #FFFFFF;
  --cream:        #FDF9F4;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-label:   'Montserrat', system-ui, sans-serif;

  --nav-height: 80px;
  --section-pad: 100px;
  --section-pad-sm: 60px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(44,31,20,0.08);
  --shadow-md: 0 8px 32px rgba(44,31,20,0.12);
  --shadow-lg: 0 20px 60px rgba(44,31,20,0.18);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.25);
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--espresso);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── UTILITY ────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.gold-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  display: block;
}
.section-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--espresso);
}
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--taupe);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--walnut);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-dark);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 0;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { color: var(--white); box-shadow: var(--shadow-gold); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--gold); color: var(--walnut); box-shadow: var(--shadow-gold); }

/* ─── PRELOADER ──────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--walnut);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo {
  width: 140px; height: 140px;
  object-fit: contain;
  animation: preloaderPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(201,168,76,0.5));
}
.preloader-bar {
  width: 200px; height: 2px;
  background: rgba(201,168,76,0.2);
  margin-top: 32px;
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  animation: preloaderFill 2s ease forwards;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}
@keyframes preloaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ─── NAVIGATION ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease, backdrop-filter 0.4s ease;
}

/* Transparent state — on hero pages before scroll */
#navbar.transparent {
  background: transparent;
}

/* FROSTED GLASS — scrolled state (FIX #5) */
#navbar.scrolled {
  background: rgba(250, 247, 242, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(44,31,20,0.06), 0 4px 20px rgba(44,31,20,0.05);
  height: 68px;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── LOGO — transparent PNG, works on all backgrounds ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 2;
  text-decoration: none;
}
.nav-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: height 0.4s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
#navbar.scrolled .nav-logo-img {
  height: 60px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15));
}

/* Footer logo */
.footer-brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* Preloader logo is defined in the preloader section above */

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
#navbar.scrolled .nav-links a { color: var(--walnut); }
#navbar.scrolled .nav-links a:hover { color: var(--gold); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: none;
}
@media (min-width: 1100px) { .nav-phone { display: block; } }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
#navbar.scrolled .nav-hamburger span { background: var(--walnut); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 100vw);
  height: 100vh;
  background: var(--walnut);
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px;
}
.nav-mobile.open { right: 0; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ivory);
  padding: 16px 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: color var(--transition);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav-mobile-overlay.open { opacity: 1; visibility: visible; }

/* ─── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrapper video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-wrapper video.desktop-video { display: block; }
.hero-video-wrapper video.mobile-video  { display: none; }
.hero-fallback {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-fallback.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,20,16,0.72) 0%, rgba(28,20,16,0.45) 50%, rgba(28,20,16,0.25) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.5s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.7s forwards;
}
.hero-title em { font-style: italic; color: var(--gold-light); display: block; }
.hero-divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 28px 0;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.9s forwards;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  max-width: 520px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 1.1s forwards;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 1.3s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 1.8s forwards;
}
.hero-scroll-text {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── STATS BAR ──────────────────────────────────────────────── */
#stats { background: var(--walnut); padding: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 44px 32px;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.5);
  margin-top: 8px;
  display: block;
}

/* ─── SERVICES ───────────────────────────────────────────────── */
#services {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}
.services-header {
  text-align: center;
  margin-bottom: 64px;
}
.services-header .gold-line { margin: 16px auto 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ivory-deep);
}
.service-card {
  position: relative;
  height: 460px;
  overflow: hidden;
  cursor: pointer;
}
.service-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover .service-card-img { transform: scale(1.06); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,20,16,0.92) 0%, rgba(28,20,16,0.5) 50%, rgba(28,20,16,0.1) 100%);
  transition: var(--transition);
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(28,20,16,0.96) 0%, rgba(28,20,16,0.65) 60%, rgba(28,20,16,0.2) 100%);
}
.service-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  transition: var(--transition);
}
.service-card-label {
  font-family: var(--font-label);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}
.service-card-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-top: 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}
.service-card:hover .service-card-desc { max-height: 120px; opacity: 1; }
.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}
.service-card-arrow::after { content: '→'; font-size: 14px; }
.service-card:hover .service-card-arrow { opacity: 1; transform: translateX(0); }

/* ─── ABOUT ───────────────────────────────────────────────────── */
#about {
  padding: var(--section-pad) 0;
  background: var(--ivory-warm);
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-image-accent {
  position: absolute;
  bottom: -32px; right: -32px;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--ivory-warm);
  box-shadow: var(--shadow-lg);
}
.about-gold-block {
  position: absolute;
  top: -20px; left: -20px;
  width: 120px; height: 120px;
  background: var(--gold);
  opacity: 0.12;
  z-index: -1;
}
.about-content { padding-right: 20px; }
.about-content .section-title { margin: 12px 0 20px; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}
.about-feature {
  padding: 20px;
  background: var(--white);
  border-left: 3px solid var(--gold);
}
.about-feature-title {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.about-feature-text { font-size: 0.85rem; color: var(--taupe); line-height: 1.6; }

/* ─── PROJECTS ───────────────────────────────────────────────── */
#projects { padding: var(--section-pad) 0; background: var(--ivory); }
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
  text-decoration: none;
  color: inherit;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-card-img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-card-img { transform: scale(1.04); }
.project-card-body { padding: 24px; }
.project-card-tag {
  font-family: var(--font-label);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 8px;
}
.project-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--espresso);
  line-height: 1.3;
  margin-bottom: 10px;
}
.project-card-desc { font-size: 0.875rem; color: var(--taupe); line-height: 1.65; }

.projects-coming-soon {
  text-align: center;
  padding: 100px 20px;
  background: var(--ivory-warm);
  display: none;
}
.projects-coming-soon.active { display: block; }
.coming-soon-line { width: 1px; height: 60px; background: var(--gold); margin: 0 auto 28px; }
.coming-soon-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 12px;
}
.coming-soon-subtitle { font-size: 1rem; color: var(--taupe); max-width: 400px; margin: 0 auto; }

/* ─── WHY CHOOSE US ──────────────────────────────────────────── */
#why-us { padding: var(--section-pad) 0; background: var(--walnut); }
.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-us-left .section-label { color: var(--gold); }
.why-us-left .section-title { color: var(--ivory); }
.why-us-left .section-subtitle { color: rgba(250,247,242,0.65); }
.why-us-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(201,168,76,0.1);
}
.why-item {
  padding: 36px 28px;
  background: rgba(44,31,20,0.6);
  border-top: 2px solid transparent;
  transition: var(--transition);
}
.why-item:hover { background: rgba(44,31,20,0.9); border-top-color: var(--gold); }
.why-item-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition);
}
.why-item:hover .why-item-number { color: rgba(201,168,76,0.4); }
.why-item-title {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.why-item-text { font-size: 0.875rem; color: rgba(250,247,242,0.65); line-height: 1.7; }

/* ─── DIRECTORS ──────────────────────────────────────────────── */
#directors { padding: var(--section-pad) 0; background: var(--ivory-warm); }
.directors-header { text-align: center; margin-bottom: 64px; }
.directors-header .gold-line { margin: 16px auto 0; }
.directors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.director-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.director-card:hover { box-shadow: var(--shadow-md); }
.director-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.director-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.director-card:hover .director-img-wrap img { transform: scale(1.04); }
.director-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,20,16,0.7) 0%, transparent 50%);
}
.director-body { padding: 28px; }
.director-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 4px;
}
.director-position {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ivory-deep);
}
.director-bio { font-size: 0.875rem; color: var(--taupe); line-height: 1.7; }

/* ─── CONTACT CTA BAND ───────────────────────────────────────── */
#contact-cta { position: relative; padding: 100px 0; overflow: hidden; }
.contact-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.contact-cta-overlay { position: absolute; inset: 0; background: rgba(28,20,16,0.8); }
.contact-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.contact-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin: 12px 0 20px;
}
.contact-cta-title em { font-style: italic; color: var(--gold-light); }
.contact-cta-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.contact-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ─── CONTACT PAGE ───────────────────────────────────────────── */
#contact-page { padding: var(--section-pad) 0; background: var(--ivory); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-info-block { margin-bottom: 36px; }
.contact-info-title {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-info-value { font-family: var(--font-display); font-size: 1.1rem; color: var(--espresso); line-height: 1.5; }
.contact-form { background: var(--white); padding: 48px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 0; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
}
.form-input, .form-select, .form-textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--ivory-deep);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--espresso);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); background: var(--white); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 12px; }
.form-success { display: none; text-align: center; padding: 32px; color: var(--gold-dark); font-family: var(--font-display); font-size: 1.4rem; }
.map-wrap { margin-top: 48px; height: 400px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
#footer { background: var(--espresso); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.footer-brand-logo { height: 56px; width: auto; object-fit: contain; margin-bottom: 20px; }
.footer-brand-desc { font-size: 0.875rem; color: rgba(250,247,242,0.5); line-height: 1.75; max-width: 280px; margin-bottom: 24px; }
.footer-heading {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(250,247,242,0.55);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before { content: '—'; color: var(--gold); font-size: 0.75rem; opacity: 0.6; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-item { display: flex; flex-direction: column; gap: 3px; margin-bottom: 16px; }
.footer-contact-label {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.6);
}
.footer-contact-value { font-size: 0.875rem; color: rgba(250,247,242,0.7); line-height: 1.5; transition: color var(--transition); }
a.footer-contact-value:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: rgba(250,247,242,0.3); font-family: var(--font-label); letter-spacing: 0.06em; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8rem; color: rgba(250,247,242,0.3); font-family: var(--font-label); letter-spacing: 0.06em; transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* ─── WHATSAPP FLOAT ─────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: waPulse 2.5s ease infinite;
}
.wa-float:hover { transform: scale(1.1); animation: none; }
.wa-float svg { width: 28px; height: 28px; fill: white; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.08); }
}

/* ─── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,20,16,0.85) 0%, rgba(28,20,16,0.4) 100%); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; color: var(--white); line-height: 1.1; }
.page-hero-crumb { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.page-hero-crumb a { color: var(--gold); }
.page-hero-crumb span { margin: 0 8px; }

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── ADMIN LINK ─────────────────────────────────────────────── */
.admin-link {
  position: fixed;
  bottom: 32px; left: 32px;
  z-index: 800;
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(44,31,20,0.25);
  transition: color var(--transition);
}
.admin-link:hover { color: var(--gold); }

/* ─── RESPONSIVE 1100px ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { gap: 24px; }
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ─── RESPONSIVE 900px ───────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-pad: var(--section-pad-sm); }
  .container { padding: 0 24px; }
  .nav-links, .nav-cta .btn-primary { display: none; }
  .nav-hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(201,168,76,0.15); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:nth-child(4) { border-right: none; border-bottom: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 500px; }
  .about-content { padding-right: 0; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-inner { grid-template-columns: 1fr; gap: 48px; }
  .directors-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── RESPONSIVE 600px (MOBILE) ──────────────────────────────── */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  /* FIX #3 — Safari iPhone autoplay: show mobile video */
  .hero-video-wrapper video.desktop-video { display: none; }
  .hero-video-wrapper video.mobile-video  { display: block; }

  /* FIX #2 — Services: 2 columns on mobile */
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 2px; }
  .service-card { height: 260px; }
  .service-card-title { font-size: 1.1rem; }
  .service-card-label { font-size: 8px; }
  /* Always show desc on mobile (no hover) */
  .service-card-desc { max-height: 80px; opacity: 1; font-size: 0.78rem; }
  .service-card-arrow { opacity: 1; transform: translateX(0); }
  .service-card-content { padding: 16px; }

  /* FIX #6 — About page values: 2 cols on mobile */
  .values-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .value-card { padding: 20px 16px !important; }
  .value-num { font-size: 2rem !important; margin-bottom: 10px !important; }
  .value-title { font-size: 9.5px !important; }
  .value-text { font-size: 0.78rem !important; }

  /* FIX #7 — Directors: side by side on mobile */
  .directors-grid {
    grid-template-columns: 1fr 1fr !important;
    max-width: 100% !important;
    gap: 12px !important;
  }
  .director-img-wrap { aspect-ratio: 1/1; }
  .director-body { padding: 14px; }
  .director-name { font-size: 1.1rem; }
  .director-bio { font-size: 0.75rem; line-height: 1.5; }
  .director-position { font-size: 8.5px; margin-bottom: 10px; padding-bottom: 10px; }

  /* Other mobile fixes */
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .project-card-img { height: 130px; }
  .project-card-body { padding: 12px; }
  .project-card-title { font-size: 1rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .project-card-desc { display: none; }
  .project-card-tag { font-size: 8px; margin-bottom: 4px; }
  .why-us-list { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > div:first-child {
  grid-column: 1 / -1;  /* Brand/logo block spans full width on top */
}
  .footer-bottom { flex-direction: column; text-align: center; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .contact-form { padding: 24px; }
  .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* ─── PRINT / REDUCED MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── SERVICES ALWAYS 2 COLUMNS (tablet + mobile) ───────────── */
/* Desktop: 3 cols. Tablet 900px down: 2 cols. Mobile: 2 cols */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .service-card { height: 320px; }
  .service-card-desc { max-height: 80px; opacity: 1; font-size: 0.8rem; }
  .service-card-arrow { opacity: 1; transform: translateX(0); }
}

@media (max-width: 600px) {
  /* SERVICE CARDS — clean, truncated, tap-friendly */
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 2px; }
  .service-card { height: 220px; }
  .service-card-title {
    font-size: 1rem;
    line-height: 1.25;
    /* Clamp title to 2 lines max */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .service-card-label { font-size: 7px; letter-spacing: 0.1em; }
  .service-card-desc {
    max-height: none;
    opacity: 1;
    font-size: 0.7rem;
    margin-top: 6px;
    line-height: 1.4;
    /* Clamp description to 2 lines, then fade with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .service-card-arrow { display: none; }
  .service-card-content { padding: 14px; }
}

@media (max-width: 600px) {
  /* DIRECTOR CARDS — clean truncated bio */
  .director-card { display: flex; flex-direction: column; }
  .director-img-wrap { aspect-ratio: 4/5; }
  .director-body {
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .director-name {
    font-size: 1.05rem;
    line-height: 1.2;
  }
  .director-position {
    font-size: 8px;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  .director-bio {
    font-size: 0.72rem;
    line-height: 1.55;
    /* Clamp bio to 4 lines on mobile, rest hidden gracefully */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* HOMEPAGE PROJECTS GRID — up to 4 items, 4 columns on large screens */
#homeProjectsGrid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  #homeProjectsGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  #homeProjectsGrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}



@media (max-width: 600px) {
  .nav-logo-img {
    height: 70px;   /* mobile hero logo size */
  }
  #navbar.scrolled .nav-logo-img {
    height: 60px;   /* mobile scrolled logo size */
  }
}

@media (max-width: 600px) {
  .project-full-title {
    font-size: 1.1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .project-full-desc {
    font-size: 0.8rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .project-full-img-wrap {
    height: 180px;
  }
  .project-full-body {
    padding: 16px;
  }
}
