/* ============================================================
   vastuvi.com — Shared Stylesheet
   Design theme: Luxury real estate / architectural, cinematic
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=switzer@400,500,600,700&display=swap');

/* ── CSS Variables ── */
:root {
  --bg: #f1ede9;
  --bg-alt: #ebe5df;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --nav-bg: #0d0d0d;
  --white: #ffffff;
  --border: #e0d8d0;
  --accent: #2197ff;
  --dark-green: #063222;
  --font-body: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --max-w: 1280px;
  --section-py: 100px;
  --nav-h: 64px;
}

/* ── Reset & Base ── */
*, *::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(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography ── */
.display-heading {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
}

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-logo span {
  font-size: 0.7em;
  vertical-align: super;
}

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

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active {
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  color: var(--white) !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
  margin-left: 8px;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.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 nav drawer */
.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--nav-bg);
  padding: 24px 40px 32px;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
}

.nav-mobile-drawer.open { display: flex; }

.nav-mobile-drawer a {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: block;
}

.nav-mobile-drawer a:hover,
.nav-mobile-drawer a.active { color: var(--white); }

.nav-mobile-drawer .nav-cta {
  margin: 16px 0 0;
  justify-content: center;
  border-color: rgba(255,255,255,0.5);
}

/* ════════════════════════════════════
   HERO — Video Background
   ════════════════════════════════════ */
.hero-video {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 1;
}

.hero-video .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  margin-top: var(--nav-h);
}

.hero-video .hero-content h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-video .hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── Hero — Image Background ── */
.hero-image {
  position: relative;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.hero-image .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-image .hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 24px;
  margin-top: var(--nav-h);
}

.hero-image .hero-content h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-image .hero-content p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ════════════════════════════════════
   BUTTONS
   ════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.22s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--bg-alt);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--text);
  color: var(--white);
}

.btn-dark:hover {
  background: #333;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: #1a84e8;
  transform: translateY(-1px);
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ════════════════════════════════════
   STATS BAR
   ════════════════════════════════════ */
.stats-bar {
  background: var(--nav-bg);
  padding: 20px 40px;
}

.stats-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stats-bar-item {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats-bar-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.2);
}

/* ════════════════════════════════════
   SECTION HEADERS
   ════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ════════════════════════════════════
   SECTION SPACING
   ════════════════════════════════════ */
.section {
  padding: var(--section-py) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--nav-bg);
  color: var(--white);
}

.section-dark .section-heading { color: var(--white); }
.section-dark .section-label { color: rgba(255,255,255,0.45); }
.section-dark .section-subtext { color: rgba(255,255,255,0.65); }

/* ════════════════════════════════════
   PROJECT CARDS (Featured Work)
   ════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--nav-bg);
}

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

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background 0.3s;
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 55%);
}

.project-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.project-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s, gap 0.2s;
}

.project-card:hover .project-card-link {
  color: var(--white);
  gap: 10px;
}

/* ════════════════════════════════════
   SERVICE CARDS
   ════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.service-card {
  background: var(--bg-alt);
  padding: 40px 36px;
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.service-card:hover {
  background: var(--white);
}

.service-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(0,0,0,0.04);
  border-radius: 6px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.service-card:hover .service-card-link { gap: 8px; }

/* ════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════ */
.cta-section {
  background: var(--nav-bg);
  padding: 120px 40px;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ════════════════════════════════════
   SPLIT SECTIONS (image + text)
   ════════════════════════════════════ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image {
  overflow: hidden;
  background: var(--nav-bg);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  background: var(--bg);
}

.split-section.alt .split-content {
  background: var(--bg-alt);
}

.split-content .section-label { margin-bottom: 12px; }

.split-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.split-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.split-content .services-list {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.split-content .services-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.split-content .services-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  flex-shrink: 0;
}

/* ════════════════════════════════════
   STAT CARDS
   ════════════════════════════════════ */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.stat-card {
  background: var(--bg-alt);
  padding: 48px 40px;
  border: 1px solid var(--border);
  text-align: center;
}

.stat-card .stat-number {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.5rem;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ════════════════════════════════════
   SERVICE ALTERNATING SECTIONS
   ════════════════════════════════════ */
.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  border-bottom: 1px solid var(--border);
}

.service-section:nth-child(even) .service-image { order: 2; }
.service-section:nth-child(even) .service-body { order: 1; }

.service-image {
  overflow: hidden;
  background: #1a1a1a;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-section:hover .service-image img {
  transform: scale(1.03);
}

.service-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  background: var(--bg);
}

.service-section:nth-child(even) .service-body {
  background: var(--bg-alt);
}

.service-body .section-label { margin-bottom: 12px; }

.service-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.service-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ════════════════════════════════════
   ABOUT SECTION (company)
   ════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-heading { margin-bottom: 24px; }

.about-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* ════════════════════════════════════
   VISION SECTION
   ════════════════════════════════════ */
.vision-section {
  background: var(--nav-bg);
  padding: var(--section-py) 0;
  text-align: center;
}

.vision-section .section-label { color: rgba(255,255,255,0.4); }

.vision-section blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 900px;
  margin: 0 auto;
}

/* ════════════════════════════════════
   APPLICATION FORM
   ════════════════════════════════════ */
.form-section {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}

.form-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

.form-header {
  text-align: center;
  margin-bottom: 56px;
}

.form-card {
  background: var(--white);
  padding: 56px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c5c5c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  background: var(--bg);
  padding: 0;
  cursor: pointer;
  accent-color: var(--text);
}

.checkbox-item span {
  font-size: 0.9rem;
  color: var(--text);
}

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
  grid-column: 1 / -1;
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.form-submit .btn {
  min-width: 200px;
  justify-content: center;
}

.form-note {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text);
}

.form-success p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.or-divider {
  text-align: center;
  margin: 48px 0;
  position: relative;
}

.or-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.or-divider span {
  position: relative;
  background: var(--bg-alt);
  padding: 0 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.alt-cta {
  text-align: center;
}

.alt-cta p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
footer {
  background: var(--nav-bg);
  padding: 80px 40px 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse { direction: ltr; }
  .split-content { padding: 56px 40px; }
  .split-image { min-height: 380px; }
  .split-image img { height: 380px; }
  .service-section { grid-template-columns: 1fr; }
  .service-section:nth-child(even) .service-image { order: 0; }
  .service-section:nth-child(even) .service-body { order: 1; }
  .service-image { min-height: 320px; }
  .service-image img { height: 320px; }
  .service-body { padding: 48px 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .projects-grid { grid-template-columns: 1fr; gap: 2px; }
  .services-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; gap: 2px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .form-card { padding: 32px 24px; }
  .form-submit { grid-column: 1; }
  .checkbox-group { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-section { padding: 80px 24px; }
  .form-container { padding: 0 24px; }
  .stats-bar { padding: 16px 24px; }
  .stats-bar-inner { gap: 24px; }
  .stats-bar-divider { display: none; }
  footer { padding: 60px 24px 0; }
}

@media (max-width: 480px) {
  .hero-video .hero-content h1 { font-size: 2.2rem; }
  .hero-image .hero-content h1 { font-size: 2rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
}

/* ============================================================
   Lead Magnet Popup
   ============================================================ */

#lm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#lm-overlay.lm-visible { opacity: 1; }

#lm-popup {
  background: #fff;
  max-width: 860px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.35s ease;
  max-height: 90vh;
  overflow-y: auto;
}
#lm-popup.lm-visible { transform: translateY(0); }

/* Close button */
#lm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #5c5c5c;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
#lm-close:hover { background: #f1ede9; color: #1a1a1a; }

/* Left panel */
#lm-left {
  background: #0d0d0d;
  color: #f1ede9;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lm-badge {
  display: inline-block;
  background: #2197ff;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  align-self: flex-start;
}

#lm-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  color: #f1ede9;
  margin: 0;
}

.lm-sub {
  font-size: 0.85rem;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0;
}

.lm-bullets {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lm-bullets li {
  font-size: 0.82rem;
  color: #d0cbc6;
  display: flex;
  gap: 0.5rem;
}

/* Right panel */
#lm-right {
  background: #fff;
  padding: 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* PDF cover placeholder */
.lm-img-wrap { width: 100%; }
.lm-img-placeholder {
  background: linear-gradient(135deg, #0d0d0d 60%, #1a3a2a);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 90px;
}
.lm-img-placeholder span {
  color: #f1ede9;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.lm-img-placeholder small {
  color: #b0b0b0;
  font-size: 0.72rem;
  line-height: 1.4;
}

/* Form fields */
.lm-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.lm-field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c5c5c;
}
.lm-field input {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #e0d8d0;
  border-radius: 3px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #faf9f7;
  color: #1a1a1a;
  transition: border-color 0.2s;
  outline: none;
}
.lm-field input:focus { border-color: #1a1a1a; background: #fff; }

/* Submit button */
#lm-submit {
  width: 100%;
  background: #0d0d0d;
  color: #f1ede9;
  border: none;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.03em;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s;
  margin-top: 0.25rem;
}
#lm-submit:hover:not(:disabled) { background: #1a1a1a; }
#lm-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.lm-privacy {
  font-size: 0.72rem;
  color: #b0b0b0;
  text-align: center;
  margin: 0;
}

/* Success state */
#lm-success {
  text-align: center;
  padding: 1rem 0;
}
.lm-success-icon {
  width: 52px;
  height: 52px;
  background: #063222;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}
.lm-dl-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.6rem 1.2rem;
  background: #0d0d0d;
  color: #f1ede9;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 640px) {
  #lm-popup { grid-template-columns: 1fr; }
  #lm-left { padding: 2rem 1.5rem 1.5rem; }
  #lm-right { padding: 1.5rem; }
}

/* Phone field with dial code */
.lm-phone-wrap {
  display: flex;
  gap: 0.5rem;
}
.lm-dialcode {
  flex: 0 0 auto;
  padding: 0.65rem 0.5rem;
  border: 1.5px solid #e0d8d0;
  border-radius: 3px;
  font-size: 0.85rem;
  font-family: inherit;
  background: #faf9f7;
  color: #1a1a1a;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  max-width: 110px;
}
.lm-dialcode:focus { border-color: #1a1a1a; background: #fff; }
.lm-phone-wrap input[type="tel"] {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #e0d8d0;
  border-radius: 3px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #faf9f7;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s;
}
.lm-phone-wrap input[type="tel"]:focus { border-color: #1a1a1a; background: #fff; }
