/* ============================================
   PM GRAND INTERIOR — Premium CSS
   ============================================ */

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

/* ---- CSS Variables ---- */
:root {
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --dark: #141414;
  --white: #ffffff;
  --cream: #f5f0e8;
  --beige: #ede8de;
  --gold: #c9a84c;
  --gold-light: #e2c27a;
  --gold-dark: #a07832;
  --muted: #888;
  --border: rgba(201,168,76,0.2);
  --border-light: rgba(255,255,255,0.08);
  --transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  --shadow: 0 20px 60px rgba(0,0,0,0.3);
  --radius: 2px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.1;
}
h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.8; }

/* ---- Utilities ---- */
.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.gold { color: var(--gold); }
.text-center { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}
.section-title { color: var(--white); margin-bottom: 20px; }
.section-sub { max-width: 560px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border-radius: var(--radius);
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201,168,76,0.3);
}
.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

/* ---- Gold Divider ---- */
.gold-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}
.gold-line.center { margin: 24px auto; }

/* ---- Page Hero ---- */
.page-hero {
  padding: 180px 0 100px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 60%);
}
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.page-hero-label::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); color: var(--white); }
.page-hero p { margin-top: 16px; font-size: 1rem; max-width: 600px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.nav-logo img.logo-img {
  height: 54px;
  width: 54px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15), 0 4px 16px rgba(0,0,0,0.4);
  transition: var(--transition);
}
.nav.scrolled .nav-logo img.logo-img { height: 44px; width: 44px; }
.nav-logo img.logo-img:hover {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.25), 0 6px 24px rgba(201,168,76,0.3);
  transform: scale(1.05);
}
/* Legacy fallback (footer uses text logo) */
.logo-emblem {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.logo-text { line-height: 1; }
.logo-text .l1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.logo-text .l2 {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 10px 28px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 0.72rem !important;
  transition: var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}
.nav-cta::after { display: none !important; }

/* Mobile Menu logo */
.nav-mobile img { display: block; }

/* Nav transparent top — ensure logo visible */
.nav:not(.scrolled) { background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, transparent 100%); }


  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: var(--white);
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--white);
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile-close {
  position: absolute;
  top: 30px; right: 40px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
}

/* ============================================
   HOME — HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/proj4.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.3) 60%, rgba(10,10,10,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 1s ease forwards 0.3s;
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 50px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-desc {
  margin-top: 28px;
  font-size: 1rem;
  max-width: 480px;
  color: rgba(255,255,255,0.6);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  animation: bounce 2s ease infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 50px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.hero-stats {
  position: absolute;
  bottom: 60px; right: 60px;
  z-index: 2;
  display: flex;
  gap: 40px;
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* ============================================
   HOME — ABOUT INTRO
   ============================================ */
.about-intro {
  background: var(--charcoal);
  padding: 120px 0;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-intro-img {
  position: relative;
}
.about-intro-img img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-intro-img::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  right: 20px; bottom: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 0;
}
.about-intro-img img { position: relative; z-index: 1; }
.about-intro-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  z-index: 2;
  background: var(--gold);
  color: var(--black);
  padding: 24px 28px;
  text-align: center;
  border-radius: var(--radius);
}
.about-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-lbl {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.about-intro-text .section-sub { max-width: 100%; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-feat-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.about-feat-lbl {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}
.about-feat-desc { font-size: 0.82rem; }

/* ============================================
   HOME — SERVICES
   ============================================ */
.services-home { background: var(--black); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  aspect-ratio: 3/4;
  cursor: pointer;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  opacity: 0.6;
}
.service-card:hover img { transform: scale(1.08); opacity: 0.8; }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.service-card:hover .service-icon { opacity: 1; transform: translateY(0); }
.service-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.service-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.82rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.service-card:hover p { max-height: 100px; opacity: 1; }
.service-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 16px;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* ============================================
   HOME — FEATURED PROJECTS
   ============================================ */
.featured-projects { background: var(--charcoal); }
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 3px;
}
.feat-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.feat-item:first-child { grid-row: 1 / 3; }
.feat-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feat-item:hover img { transform: scale(1.06); }
.feat-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background 0.4s ease;
}
.feat-item:hover .feat-item-overlay { background: rgba(10,10,10,0.55); }
.feat-item-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  margin-bottom: 4px;
}
.feat-item h4 {
  font-size: 1.1rem;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition) 0.05s;
}
.feat-item:hover .feat-item-label,
.feat-item:hover h4 { opacity: 1; transform: translateY(0); }

/* ============================================
   HOME — TESTIMONIALS
   ============================================ */
.testimonials { background: var(--black); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.testi-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  padding: 40px 36px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.testi-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
}
.testi-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 0.5;
  margin-bottom: 20px;
}
.testi-card p {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.testi-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 20px; }
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
}
.testi-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}
.testi-role { font-size: 0.72rem; color: var(--gold); margin-top: 1px; }

/* ============================================
   HOME — CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/proj5.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--black) 0%, rgba(10,10,10,0.7) 50%, var(--black) 100%);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { margin-bottom: 16px; }
.cta-content p { margin: 0 auto 40px; max-width: 520px; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-whatsapp:hover { background: #20b958; transform: translateY(-2px); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story { background: var(--black); }
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-story-imgs {
  position: relative;
  height: 560px;
}
.about-story-img1 {
  position: absolute;
  top: 0; left: 0;
  width: 72%; height: 75%;
  object-fit: cover;
  border-radius: var(--radius);
  z-index: 1;
}
.about-story-img2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%; height: 55%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--black);
  z-index: 2;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.why-item {
  background: var(--charcoal);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.why-item:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-3px); }
.why-item-icon { font-size: 1.8rem; margin-bottom: 16px; }
.why-item h4 { font-size: 1rem; color: var(--white); margin-bottom: 8px; font-family: 'Jost', sans-serif; font-weight: 600; }
.why-item p { font-size: 0.82rem; }

/* Vision Mission */
.vision-mission { background: var(--charcoal); }
.vm-grid-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 16px;
}
.vm-card-about {
  background: var(--black);
  border: 1px solid var(--border);
  padding: 48px 44px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.vm-card-about::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.vm-card-about:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.3); }
.vm-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.08);
  line-height: 1;
  position: absolute;
  top: 20px; right: 30px;
}
.vm-card-about h3 { color: var(--white); margin-bottom: 16px; font-size: 1.6rem; }
.vm-card-about ul { margin-top: 20px; }
.vm-card-about li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 10px;
}
.vm-card-about li::before { content: '→'; color: var(--gold); font-size: 0.75rem; }

/* Team */
.team-section { background: var(--black); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.team-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.3); }
.team-img {
  height: 280px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.team-body { padding: 28px 24px; }
.team-body h4 { font-size: 1.1rem; color: var(--white); font-family: 'Jost', sans-serif; font-weight: 600; margin-bottom: 4px; }
.team-role { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.team-body p { font-size: 0.82rem; }

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-detailed { background: var(--black); }
.services-list { margin-top: 16px; }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 440px;
}
.service-detail-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-detail:hover .service-detail-img img { transform: scale(1.04); }
.service-detail-badge {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--gold);
  color: var(--black);
  padding: 8px 18px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.1);
  line-height: 1;
  margin-bottom: -10px;
}
.service-detail h3 { color: var(--white); margin-bottom: 16px; }
.service-features { margin-top: 24px; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.service-features li::before { content: '✦'; color: var(--gold); font-size: 0.6rem; flex-shrink: 0; }

/* Process */
.process-section { background: var(--charcoal); padding: 120px 0; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  opacity: 0.3;
}
.process-step { text-align: center; padding: 0 24px; }
.process-num {
  width: 72px; height: 72px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 24px;
  background: var(--charcoal);
  position: relative;
  z-index: 1;
}
.process-step h4 { font-size: 1rem; color: var(--white); margin-bottom: 10px; font-family: 'Jost', sans-serif; }
.process-step p { font-size: 0.82rem; }

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-section { background: var(--black); }
.gallery-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 22px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.gallery-grid {
  columns: 3;
  column-gap: 4px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.9);
}
.gallery-item:hover img { transform: scale(1.04); filter: brightness(1); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}
.gallery-item:hover .gallery-item-overlay { background: rgba(10,10,10,0.4); }
.gallery-zoom {
  width: 52px; height: 52px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  opacity: 0;
  transform: scale(0.7);
  transition: var(--transition);
}
.gallery-item:hover .gallery-zoom { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2.5rem;
  color: var(--white);
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { background: var(--black); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}
.contact-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-detail:hover .contact-icon { border-color: var(--gold); }
.contact-detail-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-detail-val {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* Form */
.contact-form-wrap {
  background: var(--charcoal);
  border: 1px solid var(--border);
  padding: 56px 52px;
  border-radius: var(--radius);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 14px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  border-radius: var(--radius);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--black); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

/* Map */
.map-section { background: var(--charcoal); padding: 0 0 80px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { margin-top: 20px; font-size: 0.85rem; max-width: 280px; }
.footer-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-icon { color: var(--gold); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.5; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-copy span { color: var(--gold); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

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

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  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; }

/* ============================================
   RESPONSIVE
   ============================================ */
/* ============================================
   RESPONSIVE — COMPREHENSIVE MOBILE FIX
   ============================================ */

/* ---- Tablet (≤1100px) ---- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .feat-item:first-child { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-intro-grid { gap: 48px; }
  .container { padding: 0 32px; }
}

/* ---- Mobile Menu Breakpoint (≤900px) ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Nav padding */
  .nav { padding: 14px 0; }
  .nav.scrolled { padding: 10px 0; }
  .nav-logo img.logo-img { height: 46px; width: 46px; }
  .nav.scrolled .nav-logo img.logo-img { height: 40px; width: 40px; }

  /* Page hero */
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); }

  /* About intro */
  .about-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-intro-img { max-width: 480px; margin: 0 auto; }
  .about-intro-img img { height: 380px; }
  .about-intro-badge { bottom: -16px; right: -10px; padding: 18px 22px; }
  .about-badge-num { font-size: 2rem; }

  /* About story */
  .about-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-story-imgs { height: 360px; max-width: 480px; margin: 0 auto; }
  .about-story-img1 { width: 75%; height: 70%; }
  .about-story-img2 { width: 60%; height: 52%; }

  /* Services */
  .service-detail { grid-template-columns: 1fr; gap: 36px; }
  .service-detail.reverse { direction: ltr; }
  .service-detail-img { height: 300px; }

  /* Process */
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }

  /* VM grid */
  .vm-grid-about { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 36px 28px; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr 1fr; }

  /* Team */
  .team-grid { grid-template-columns: 1fr 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 40px auto 0; }

  /* Featured projects */
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .feat-item:first-child { grid-column: 1 / -1; height: 280px; }
  .feat-item { height: 200px; }
  .feat-item img, .feat-item:first-child img { height: 100%; object-fit: cover; }

  /* Hero */
  .hero-stats { display: none; }
  .hero-scroll { display: none; }
  .hero h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); }
  .hero-actions { gap: 14px; }

  /* Projects header */
  .projects-header { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Small Mobile (≤600px) ---- */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }

  /* Nav */
  .nav { padding: 12px 0; }
  .nav-logo img.logo-img { height: 40px; width: 40px; }
  .nav.scrolled .nav-logo img.logo-img { height: 36px; width: 36px; }

  /* Mobile nav */
  .nav-mobile a { font-size: 2rem; }

  /* Hero */
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-desc { font-size: 0.9rem; }
  .hero-eyebrow { font-size: 0.62rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 15px 28px; }

  /* Section headers */
  h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  h3 { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .section-label { font-size: 0.66rem; }

  /* About intro */
  .about-intro-img img { height: 280px; }
  .about-intro-badge { display: none; }
  .about-features { grid-template-columns: 1fr; gap: 14px; }
  .btn { font-size: 0.72rem; padding: 14px 24px; }

  /* Services cards */
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .service-card { aspect-ratio: 4/3; }

  /* Featured grid */
  .featured-grid { grid-template-columns: 1fr; }
  .feat-item:first-child { grid-column: auto; height: 240px; }
  .feat-item { height: 200px; }

  /* Services detail */
  .service-detail { padding: 48px 0; }
  .service-detail-img { height: 240px; }
  .service-num { font-size: 3.5rem; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-section { padding: 64px 0; }

  /* About story */
  .about-story-imgs { height: 260px; }
  .about-story-img1 { width: 78%; height: 68%; }
  .about-story-img2 { width: 58%; height: 50%; border-width: 4px; }

  /* VM cards */
  .vm-card-about { padding: 32px 24px; }
  .vm-num { font-size: 3.5rem; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .team-img { height: 220px; }

  /* Testimonials */
  .testimonials-grid { max-width: 100%; }
  .testi-card { padding: 28px 22px; }

  /* Gallery */
  .gallery-grid { columns: 2; column-gap: 3px; }
  .gallery-filters { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 0.66rem; }

  /* Contact */
  .contact-form-wrap { padding: 28px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-detail { gap: 14px; }
  .contact-icon { width: 44px; height: 44px; font-size: 1.1rem; }

  /* Page hero */
  .page-hero { padding: 110px 0 50px; }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.8rem); }

  /* CTA */
  .cta-banner { padding: 70px 0; }
  .cta-actions { flex-direction: column; align-items: center; gap: 12px; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Footer */
  .footer { padding: 60px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-brand p { max-width: 100%; }

  /* WhatsApp float */
  .wa-float { bottom: 20px; right: 18px; width: 52px; height: 52px; }
  .wa-float svg { width: 24px; height: 24px; }

  /* Lightbox */
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 16px; right: 18px; font-size: 2rem; }
}

/* ---- Extra small (≤380px) ---- */
@media (max-width: 380px) {
  .hero h1 { font-size: 2rem; }
  .gallery-grid { columns: 1; }
  .about-story-imgs { height: 220px; }
}
