﻿/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --dark: #1a1a1a;
  --dark2: #111111;
  --light: #f9f7f4;
  --white: #ffffff;
  --gray: #6b6b6b;
  --light-gold: #f5ede0;
  --border: rgba(201,169,110,0.25);
}
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--light); color: var(--dark); overflow-x: hidden; }

/* ===== PAGE SYSTEM ===== */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* ===== NAVBAR ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 60px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
nav.scrolled { padding: 11px 60px; box-shadow: 0 2px 30px rgba(0,0,0,0.08); }
.nav-logo img { height: 46px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark);
  position: relative; transition: color 0.3s; cursor: pointer;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: #fff; z-index: 999; padding: 28px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12); flex-direction: column; gap: 22px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--dark); text-decoration: none; padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06); cursor: pointer;
}

/* ===== SHARED SECTION STYLES ===== */
.section-tag { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 4vw, 52px); font-weight: 300; line-height: 1.2; }
.section-sub { font-size: 14px; line-height: 1.9; color: var(--gray); margin-top: 18px; }
.gold-divider { width: 60px; height: 1.5px; background: var(--gold); margin: 28px 0; }
.btn-dark { display: inline-block; padding: 14px 40px; background: var(--dark); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: background 0.3s; }
.btn-dark:hover { background: var(--gold); }
.btn-outline { display: inline-block; padding: 13px 38px; border: 1.5px solid var(--dark); color: var(--dark); font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: all 0.3s; background: transparent; }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-gold { display: inline-block; padding: 13px 38px; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s; }
.btn-gold:hover { background: #b8924e; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  color: rgba(255,255,255,0.65);
  padding: 70px 60px 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 22px; display: block; }
.footer-desc { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,0.45); margin-bottom: 26px; }
.footer-contact p { font-size: 12px; line-height: 1.8; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-col h6 { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s; cursor: pointer; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-address { font-size: 12px; line-height: 1.9; color: rgba(255,255,255,0.45); }
.footer-bottom { padding-top: 34px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copyright { font-size: 11px; color: rgba(255,255,255,0.35); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 12px; text-decoration: none; transition: all 0.3s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { font-size: 10px; color: rgba(255,255,255,0.35); text-decoration: none; cursor: pointer; transition: color 0.3s; }
.footer-legal a:hover { color: var(--gold); }

/* ===== DISCLAIMER MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn 0.3s; }
.modal-overlay.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box { background: #fff; max-width: 700px; width: 100%; padding: 52px; position: relative; animation: slideUp 0.4s ease; max-height: 90vh; overflow-y: auto; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400; margin-bottom: 18px; }
.modal-box p { font-size: 13px; line-height: 1.85; color: var(--gray); margin-bottom: 14px; }
.modal-close-btn { margin-top: 26px; padding: 13px 38px; background: var(--dark); color: #fff; border: none; font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; transition: background 0.3s; }
.modal-close-btn:hover { background: var(--gold); }
.lead-modal-box { max-width: 520px; max-height: calc(100vh - 40px); padding: 0; overflow-x: hidden; overflow-y: auto; border-top: 5px solid var(--gold); box-shadow: 0 24px 80px rgba(0,0,0,0.28); }
.lead-modal-box::before { content: ''; display: block; height: 68px; background: linear-gradient(135deg, rgba(26,26,26,0.94), rgba(201,169,110,0.82)), url('https://homekraft.in/wp-content/uploads/2024/02/ATS-Homekraft-Project-1.png') center/cover; }
.lead-modal-box h3 { margin: 0 30px 6px; font-size: clamp(26px,3vw,34px); line-height: 1.08; }
.lead-modal-kicker { margin: 22px 30px 7px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 2.6px; line-height: 1.3; text-transform: uppercase; }
.lead-modal-copy { margin: 0 30px 16px; font-size: 13px; line-height: 1.55; }
.lead-modal-box .lead-form { padding: 0 30px 24px; }
.lead-modal-box .form-field { margin-bottom: 9px; }
.lead-modal-box .form-field label { margin-bottom: 5px; }
.lead-modal-box .form-field input, .lead-modal-box .form-field select, .lead-modal-box .form-field textarea { min-height: 40px; padding: 9px 12px; border-color: rgba(26,26,26,0.14); background: #fbfaf8; }
.lead-modal-box .form-field textarea { min-height: 58px; }
.lead-submit { width: 100%; text-align: center; padding: 13px 18px; margin-top: 2px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: all 0.25s; }
.modal-x:hover { background: #fff; color: var(--dark); }
.lead-float-btn { position: fixed; right: 24px; bottom: 24px; z-index: 998; padding: 14px 24px; border: 0; background: var(--gold); color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,0.22); font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.lead-float-btn:hover { background: var(--dark); transform: translateY(-2px); }
.quick-contact { position: fixed; left: 24px; bottom: 24px; z-index: 998; display: flex; flex-direction: column; gap: 10px; }
.quick-contact-btn { min-width: 118px; padding: 13px 18px; color: #fff; text-decoration: none; text-align: center; box-shadow: 0 10px 28px rgba(0,0,0,0.18); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; transition: transform 0.3s, box-shadow 0.3s; }
.quick-contact-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.24); }
.quick-contact-btn.whatsapp { background: #25d366; }
.quick-contact-btn.call { background: var(--dark); }
.form-status { min-height: 18px; margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--gray); }
.form-status.success { color: #267447; }
.form-status.error { color: #b3261e; }
.lead-form button[disabled] { opacity: 0.65; cursor: not-allowed; }

/* ===================================================================
   PAGE 1 — HOME
   =================================================================== */
.hero { position: relative; height: 100vh; min-height: 580px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg,#1a1a1a,#2a2a2a); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom,rgba(0,0,0,0.45) 0%,rgba(0,0,0,0.25) 55%,rgba(0,0,0,0.65) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 920px; padding: 0 24px; animation: fadeUp 1.2s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
.hero-content h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(44px,7vw,88px); font-weight: 300; letter-spacing: 2px; line-height: 1.08; margin-bottom: 42px; text-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.scroll-arrow { display: inline-block; animation: bounce 2s infinite; }
.scroll-arrow img { width: 38px; opacity: 0.82; }
@keyframes bounce { 0%,100% { transform:translateY(0); } 50% { transform:translateY(10px); } }

/* Legacy */
.legacy-section { padding: 100px 60px; background: #fff; }
.legacy-inner { max-width: 1200px; margin: 0 auto; }
.legacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 56px; }
.stats-row { display: flex; gap: 48px; margin-top: 46px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 50px; font-weight: 300; color: var(--gold); line-height: 1; }
.stat-lbl { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin-top: 6px; }
.legacy-img img { width: 100%; height: 520px; object-fit: cover; display: block; }

/* Building */
.building-section { padding: 100px 60px; background: var(--dark); color: #fff; }
.building-inner { max-width: 1200px; margin: 0 auto; }
.building-section h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px,4vw,58px); font-weight: 300; text-align: center; margin-bottom: 70px; }
.building-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.bcard { border-top: 1px solid rgba(201,169,110,0.35); padding-top: 28px; }
.bcard h5 { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.bcard p { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,0.68); }

/* Projects Grid */
.projects-section { padding: 100px 60px; background: var(--light); }
.projects-inner { max-width: 1200px; margin: 0 auto; }
.projects-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.projects-hdr p { font-size: 14px; line-height: 1.8; color: var(--gray); max-width: 360px; text-align: right; }
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.proj-card { position: relative; overflow: hidden; cursor: pointer; }
.proj-card:first-child { grid-row: span 2; }
.proj-card img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.proj-card:hover img { transform: scale(1.05); }
.proj-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,0.78) 0%,transparent 55%); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.proj-tag { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.proj-name { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; margin-bottom: 5px; }
.proj-type { font-size: 11px; color: rgba(255,255,255,0.68); margin-bottom: 4px; }
.proj-loc { font-size: 10px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.proj-btn { display: inline-block; padding: 8px 20px; border: 1px solid rgba(255,255,255,0.55); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; transition: all 0.3s; width: fit-content; cursor: pointer; }
.proj-btn:hover { background: var(--gold); border-color: var(--gold); }
.view-all { text-align: center; margin-top: 54px; }

/* Quote */
.quote-section { padding: 100px 60px; background: var(--light-gold); text-align: center; }
.quote-section blockquote { font-family: 'Cormorant Garamond', serif; font-size: clamp(18px,2.5vw,34px); font-weight: 300; font-style: italic; line-height: 1.55; color: var(--dark); max-width: 860px; margin: 0 auto 26px; }
.quote-section cite { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); }

/* ===================================================================
   PAGE 2 — ABOUT US
   =================================================================== */
.page-hero { padding: 160px 60px 90px; background: var(--dark); color: #fff; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px,5.5vw,76px); font-weight: 300; line-height: 1.1; margin-bottom: 20px; }
.page-hero p { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,0.65); max-width: 600px; }

.about-intro { padding: 90px 60px; background: #fff; }
.about-intro-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-img img { width: 100%; height: 560px; object-fit: cover; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p { font-size: 14px; line-height: 1.95; color: var(--gray); margin-bottom: 18px; }

.chairman { padding: 90px 60px; background: var(--light); }
.chairman-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }
.chairman-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.chairman-text blockquote { font-family: 'Cormorant Garamond', serif; font-size: clamp(20px,2.5vw,30px); font-weight: 300; font-style: italic; line-height: 1.5; color: var(--dark); margin-bottom: 24px; }
.chairman-text p { font-size: 14px; line-height: 1.9; color: var(--gray); margin-bottom: 16px; }
.chairman-name { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-top: 28px; }

.milestones { padding: 90px 60px; background: var(--dark); color: #fff; }
.milestones-inner { max-width: 1200px; margin: 0 auto; }
.milestones h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,3.5vw,50px); font-weight: 300; text-align: center; margin-bottom: 70px; }
.mile-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
.mile-item { text-align: center; border-top: 1px solid rgba(201,169,110,0.3); padding-top: 28px; }
.mile-num { font-family: 'Cormorant Garamond', serif; font-size: 58px; font-weight: 300; color: var(--gold); line-height: 1; }
.mile-lbl { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 10px; line-height: 1.5; }

.values { padding: 90px 60px; background: #fff; }
.values-inner { max-width: 1200px; margin: 0 auto; }
.values h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,3.5vw,50px); font-weight: 300; margin-bottom: 56px; text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.val-card { padding: 36px; background: var(--light); }
.val-icon { font-size: 32px; margin-bottom: 18px; }
.val-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; margin-bottom: 12px; color: var(--dark); }
.val-card p { font-size: 13px; line-height: 1.85; color: var(--gray); }

/* ===================================================================
   PAGE 3 — PROJECTS
   =================================================================== */
.projects-page { padding: 140px 60px 90px; background: var(--light); }
.projects-page-inner { max-width: 1200px; margin: 0 auto; }
.projects-page h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px,5vw,68px); font-weight: 300; margin-bottom: 16px; }
.filter-row { display: flex; gap: 12px; margin: 36px 0 52px; flex-wrap: wrap; }
.filter-btn { padding: 9px 24px; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border: 1.5px solid var(--dark); background: transparent; cursor: pointer; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--dark); color: #fff; }
.all-proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.all-proj-card { position: relative; overflow: hidden; cursor: pointer; }
.all-proj-card img { width: 100%; height: 360px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.all-proj-card:hover img { transform: scale(1.05); }
.all-proj-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,0.8) 0%,transparent 50%); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.all-proj-tag { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.all-proj-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; margin-bottom: 4px; }
.all-proj-meta { font-size: 11px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.all-proj-loc { font-size: 10px; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.all-proj-btn { display: inline-block; padding: 7px 18px; border: 1px solid rgba(255,255,255,0.5); font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; width: fit-content; transition: all 0.3s; cursor: pointer; }
.all-proj-btn:hover { background: var(--gold); border-color: var(--gold); }

/* ===================================================================
   PAGE 4 — PROJECT DETAIL (Pious Orchards example)
   =================================================================== */
.detail-hero { position: relative; height: 80vh; overflow: hidden; display: flex; align-items: flex-end; }
.detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.15) 60%); }
.detail-hero-content { position: relative; z-index: 2; color: #fff; padding: 60px; max-width: 1200px; width: 100%; margin: 0 auto; }
.rera-badge { display: inline-block; padding: 5px 14px; border: 1px solid rgba(255,255,255,0.4); font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.detail-hero-content h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(38px,5vw,72px); font-weight: 300; margin-bottom: 8px; }
.detail-hero-content p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 26px; }

.detail-body { padding: 80px 60px; background: #fff; }
.detail-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 70px; align-items: start; }
.detail-text .section-title { margin-bottom: 20px; }
.detail-text p { font-size: 14px; line-height: 1.9; color: var(--gray); margin-bottom: 18px; }
.amenities-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.amenity { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--dark); }
.amenity::before { content: '✦'; color: var(--gold); font-size: 10px; }

.callback-form { background: var(--light); padding: 38px; position: sticky; top: 100px; }
.callback-form h4 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; margin-bottom: 24px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 11px 14px; border: 1px solid #ddd; background: #fff; font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--dark); outline: none; transition: border-color 0.3s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { height: 90px; resize: vertical; }

/* ===================================================================
   PAGE 5 — MEDIA
   =================================================================== */
.media-page { padding: 140px 60px 90px; background: var(--light); }
.media-inner { max-width: 1200px; margin: 0 auto; }
.media-tabs { display: flex; gap: 0; margin: 36px 0 52px; border-bottom: 2px solid #eee; }
.media-tab { padding: 12px 28px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.3s; color: var(--gray); }
.media-tab.active { color: var(--dark); border-bottom-color: var(--gold); }
.media-tab-content { display: none; }
.media-tab-content.active { display: block; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.gallery-item { overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.06); }
.news-list { display: flex; flex-direction: column; gap: 28px; }
.news-item { display: grid; grid-template-columns: 180px 1fr; gap: 28px; background: #fff; padding: 28px; }
.news-item img { width: 100%; height: 120px; object-fit: cover; }
.news-meta { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.news-item h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; margin-bottom: 10px; }
.news-item p { font-size: 13px; line-height: 1.8; color: var(--gray); }

/* ===================================================================
   PAGE 6 — CAREERS
   =================================================================== */
.careers-page { padding: 140px 60px 90px; background: var(--light); }
.careers-inner { max-width: 1200px; margin: 0 auto; }
.careers-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin: 56px 0 80px; }
.careers-intro img { width: 100%; height: 420px; object-fit: cover; }
.careers-intro-text p { font-size: 14px; line-height: 1.9; color: var(--gray); margin-bottom: 18px; }
.perks-section { background: var(--dark); padding: 70px 0; margin: 0 -60px 80px; }
.perks-inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.perks-section h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,3.5vw,46px); font-weight: 300; color: #fff; margin-bottom: 50px; text-align: center; }
.perks-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.perk { text-align: center; }
.perk-icon { font-size: 36px; margin-bottom: 14px; }
.perk h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.perk p { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.5); }
.openings h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,3.5vw,46px); font-weight: 300; margin-bottom: 40px; }
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-item { background: #fff; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: box-shadow 0.3s; }
.job-item:hover { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
.job-title { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.job-meta { font-size: 11px; color: var(--gray); }
.job-meta span { margin-right: 16px; }

/* ===================================================================
   PAGE 7 — BLOG
   =================================================================== */
.blog-page { padding: 140px 60px 90px; background: var(--light); }
.blog-inner { max-width: 1200px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 52px; }
.blog-card { background: #fff; cursor: pointer; overflow: hidden; transition: box-shadow 0.3s; }
.blog-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.1); }
.blog-card:first-child { grid-column: span 2; }
.blog-card img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.5s; }
.blog-card:first-child img { height: 360px; }
.blog-card:hover img { transform: scale(1.04); }
.blog-body { padding: 28px; }
.blog-cat { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.blog-body h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(18px,2vw,24px); font-weight: 400; line-height: 1.35; margin-bottom: 12px; }
.blog-body p { font-size: 13px; line-height: 1.8; color: var(--gray); }
.blog-date { font-size: 10px; color: rgba(107,107,107,0.6); margin-top: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* ===================================================================
   PAGE 8 — CONTACT
   =================================================================== */
.contact-page { padding: 140px 60px 0; background: var(--light); }
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; margin-top: 52px; margin-bottom: 80px; align-items: start; }
.contact-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 300; margin-bottom: 16px; }
.contact-info p { font-size: 14px; line-height: 1.85; color: var(--gray); margin-bottom: 40px; }
.contact-item { margin-bottom: 32px; }
.contact-item h5 { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--dark); line-height: 1.7; text-decoration: none; display: block; }
.contact-item a:hover { color: var(--gold); }
.social-links { display: flex; gap: 14px; margin-top: 36px; }
.social-link { width: 40px; height: 40px; border: 1.5px solid var(--dark); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--dark); text-decoration: none; transition: all 0.3s; }
.social-link:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.contact-form-wrap { background: #fff; padding: 44px; }
.contact-form-wrap h4 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; margin-bottom: 28px; }
.contact-map { height: 420px; background: #ddd; position: relative; overflow: hidden; }
.contact-map iframe { width: 100%; height: 100%; border: none; }
.map-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#e8e0d4,#d4ccc0); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.map-placeholder p { font-size: 13px; color: var(--gray); }
.map-placeholder .map-icon { font-size: 40px; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 960px) {
  nav { padding: 14px 22px; }
  nav.scrolled { padding: 10px 22px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .legacy-section, .building-section, .projects-section, .quote-section,
  .about-intro, .chairman, .milestones, .values,
  .projects-page, .media-page, .careers-page, .blog-page, .contact-page,
  .detail-body { padding-left: 22px; padding-right: 22px; }
  footer { padding: 56px 22px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .legacy-grid, .about-intro-inner, .chairman-inner, .contact-grid, .detail-inner, .careers-intro { grid-template-columns: 1fr; gap: 40px; }
  .building-cards, .values-grid { grid-template-columns: 1fr; gap: 32px; }
  .mile-grid, .perks-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .proj-grid, .all-proj-grid, .blog-grid, .gallery-grid { grid-template-columns: 1fr; }
  .proj-card:first-child, .blog-card:first-child { grid-row: auto; grid-column: auto; }
  .projects-hdr { flex-direction: column; align-items: flex-start; gap: 14px; }
  .projects-hdr p { text-align: left; max-width: 100%; }
  .stats-row { flex-direction: column; gap: 24px; }
  .detail-hero-content { padding: 36px 22px; }
  .page-hero { padding: 130px 22px 70px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .perks-section { margin: 0 -22px 60px; }
  .news-item { grid-template-columns: 1fr; }
  .job-item { flex-direction: column; align-items: flex-start; gap: 16px; }
  .modal-overlay { align-items: flex-start; padding: 14px; overflow-y: auto; }
  .lead-modal-box { width: 100%; max-width: 440px; margin: 12px auto; max-height: none; }
  .lead-modal-box::before { height: 54px; }
  .lead-modal-box h3 { margin: 18px 18px 6px; font-size: 28px; }
  .lead-modal-kicker { margin: 20px 18px 7px; }
  .lead-modal-copy { margin: 0 18px 14px; }
  .lead-modal-box .lead-form { padding: 0 18px 22px; }
  .lead-modal-box .form-field { margin-bottom: 9px; }
  .lead-modal-box .form-field input, .lead-modal-box .form-field select, .lead-modal-box .form-field textarea { min-height: 40px; font-size: 13px; }
  .lead-modal-box .form-field textarea { min-height: 54px; }
  .modal-x { width: 36px; height: 36px; top: 10px; right: 10px; }
  .lead-float-btn { right: 16px; bottom: 16px; padding: 12px 18px; }
  .quick-contact { left: 16px; bottom: 16px; gap: 8px; }
  .quick-contact-btn { min-width: 94px; padding: 11px 13px; font-size: 9px; letter-spacing: 1.4px; }
}
