/* =====================================================================
   Royal Elevators & Escalators Ltd. — Corporate portfolio
   Design tokens, base, components, sections, responsive.
   ===================================================================== */

:root {
  --navy: #071B3A;
  --midnight: #041126;
  --gold: #D4AF37;
  --gold-dark: #b8962c;
  --gold-soft: #e9cf6f;
  --white: #ffffff;
  --gray: #F4F6F9;
  --ink: #0f1c33;
  --body: #4a5568;
  --line: #e6eaf1;
  --line-light: rgba(255, 255, 255, 0.14);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px rgba(4, 17, 38, 0.12);
  --shadow-lg: 0 30px 80px rgba(4, 17, 38, 0.22);
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); line-height: 1.15; margin: 0; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container-wide { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: 24px; }

.section { padding: 112px 0; }
main section[id], .cta[id] { scroll-margin-top: 80px; }
.section-alt { background: var(--gray); }
.section-navy { background: linear-gradient(180deg, var(--navy), var(--midnight)); color: rgba(255,255,255,0.78); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--midnight); padding: 10px 18px; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 20px;
}
.kicker::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.kicker-light { color: var(--gold-soft); }

.h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.01em; margin-bottom: 18px; }
.h2-light { color: #fff; }
.lead { font-size: 18px; line-height: 1.65; color: var(--body); }
.lead-light { color: rgba(255,255,255,0.82); }

.gold-italic { color: var(--gold); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; line-height: 1;
  padding: 14px 26px; border-radius: 4px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: var(--midnight); }
.btn-gold:hover { background: var(--gold-dark); color: var(--midnight); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-ghost-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost-dark:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-whatsapp {
  background: #128c4b; color: #fff; margin-top: 26px;
}
.btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.btn-whatsapp:hover { background: #0e713c; color: #fff; transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 18px 0;
}
.nav.is-scrolled {
  background: rgba(7, 27, 58, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 10px 30px rgba(4, 17, 38, 0.35);
  padding: 10px 0;
}
.nav-inner { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 10px; background: #fff;
  overflow: hidden; flex: none; box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; letter-spacing: 0.01em; }
.brand-sub { font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.86); position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 6px;
  padding: 18px 24px 26px; background: rgba(7,27,58,0.98);
  border-top: 1px solid var(--line-light);
}
.mobile-menu .nav-link { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line-light); }
.mobile-menu .nav-link::after { display: none; }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,17,38,0.55) 0%, rgba(4,17,38,0.35) 40%, rgba(7,27,58,0.88) 100%),
    linear-gradient(90deg, rgba(4,17,38,0.72) 0%, rgba(4,17,38,0.25) 60%, rgba(4,17,38,0.15) 100%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.0); } }

.hero-content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 80px; }
.hero-title {
  font-size: clamp(40px, 7vw, 78px); font-weight: 700; color: #fff; letter-spacing: -0.02em;
  max-width: 14ch; margin-bottom: 24px; line-height: 1.05;
}
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,0.86); max-width: 56ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 7px;
}
.hero-scroll-line { width: 2px; height: 10px; background: var(--gold); border-radius: 2px; animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: 0.4; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .lead { margin: 0; }
.section-head.centered { margin-inline: auto; text-align: center; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; padding-bottom: 80px; }
.about-img-main { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-sub {
  margin: 0; position: absolute; right: -20px; bottom: 0; width: 55%;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; aspect-ratio: 4/3;
}
.about-img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; left: -16px; top: 40px; background: var(--navy); color: #fff;
  padding: 18px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px;
}
.about-badge-num { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--gold); }
.about-badge-label { font-size: 12px; color: rgba(255,255,255,0.8); max-width: 20ch; line-height: 1.4; }

.about-body .h2 { margin-bottom: 16px; }
.about-body .lead { margin-bottom: 18px; }

.about-pillars { display: grid; gap: 22px; margin: 32px 0; }
.pillar-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.pillar-ico { color: var(--gold-dark); font-size: 18px; flex: none; }
.pillar-head h3 { font-size: 18px; }
.pillar p { margin: 0; font-size: 15px; }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--navy); }
.stat-label { font-size: 13px; color: var(--body); line-height: 1.4; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(4,17,38,0.05); display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.07); }
.service-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 19px; margin-bottom: 10px; }
.service-body p { font-size: 14px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.service-link {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.service-link:hover { color: var(--navy); }
.service-link:hover::after { transform: translateX(4px); }

/* ---------- Projects ---------- */
.projects-note {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--body);
  background: var(--gray); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; margin-bottom: 26px;
}
.projects-note svg { width: 16px; height: 16px; stroke: var(--gold-dark); fill: none; stroke-width: 1.6; flex: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-chip {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; padding: 9px 18px;
  border: 1px solid var(--line); background: #fff; color: var(--body); border-radius: 999px; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-chip:hover { border-color: var(--gold); color: var(--navy); }
.filter-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(4,17,38,0.05); cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-card.is-hidden { display: none; }
.project-media { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.06); }
.project-tag {
  position: absolute; left: 14px; top: 14px; background: rgba(7,27,58,0.9); color: var(--gold-soft);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}
.project-body { padding: 20px 22px 24px; }
.project-body h3 { font-size: 19px; margin-bottom: 6px; }
.project-loc { font-size: 13px; color: var(--body); margin-bottom: 12px; }
.project-more { font-size: 13px; font-weight: 600; color: var(--gold-dark); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card {
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 30px 28px; transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.why-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); border-color: rgba(212,175,55,0.4); }
.why-ico { display: inline-flex; width: 52px; height: 52px; border-radius: 12px; background: rgba(212,175,55,0.14); margin-bottom: 20px; align-items: center; justify-content: center; }
.why-ico svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.why-card p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,0.72); }

/* ---------- Process ---------- */
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.process-step { position: relative; padding-top: 12px; border-top: 1px solid var(--line); }
.process-num {
  font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--gold);
  display: block; margin-bottom: 10px; line-height: 1;
}
.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { font-size: 15px; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 1/1; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Testimonials placeholder ---------- */
.testimonial-placeholder {
  max-width: 720px; margin: 0 auto; text-align: center; background: var(--gray);
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 40px;
}
.testimonial-placeholder svg { width: 34px; height: 34px; stroke: var(--gold-dark); fill: none; stroke-width: 1.5; margin-bottom: 16px; }
.testimonial-placeholder p { margin: 0; color: var(--body); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy), var(--midnight)); color: #fff;
  padding: 110px 0; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(circle at 20% 20%, rgba(212,175,55,0.16), transparent 45%),
                    radial-gradient(circle at 80% 80%, rgba(212,175,55,0.12), transparent 45%);
}
.cta-inner { position: relative; text-align: center; max-width: 820px; margin-inline: auto; }
.cta-inner .kicker { justify-content: center; }
.cta-title { font-size: clamp(32px, 5vw, 56px); color: #fff; font-weight: 700; margin-bottom: 20px; }
.cta-sub { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 56ch; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info .h2 { margin-bottom: 14px; }

.contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico {
  flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--gray);
  display: inline-flex; align-items: center; justify-content: center; color: var(--gold-dark);
}
.contact-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--body); margin-bottom: 2px; }
.contact-list a { font-size: 16px; font-weight: 500; color: var(--navy); }
.contact-list a:hover { color: var(--gold-dark); }

.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px 36px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-group label span { color: var(--gold-dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}
.form-group input.is-invalid, .form-group textarea.is-invalid { border-color: #dc2626; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-status { font-size: 14px; min-height: 20px; margin: 0 0 12px; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #dc2626; }
.form-note { font-size: 12px; color: var(--body); margin: 14px 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--midnight); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { font-size: 14.5px; margin-top: 18px; max-width: 34ch; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 6px; font-weight: 600; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.68); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid var(--line-light); padding: 24px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-bottom p { margin: 0; }
.footer-note { color: rgba(255,255,255,0.5); }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,17,38,0.72); backdrop-filter: blur(3px); }
.modal-dialog {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; max-width: 620px; width: 100%;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: modalIn 0.3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(4,17,38,0.55); color: #fff; border: 0; font-size: 24px; line-height: 1; cursor: pointer;
}
.modal-close:hover { background: var(--gold); color: var(--midnight); }
.modal-media { aspect-ratio: 16/9; overflow: hidden; background: var(--gray); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 30px 32px 34px; }
.modal-body .kicker { margin-bottom: 12px; }
.modal-body .h2 { font-size: 30px; margin-bottom: 14px; }
.modal-list { list-style: none; margin: 16px 0 24px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.modal-list li { position: relative; padding-left: 22px; font-size: 15px; }
.modal-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--gold); border-radius: 2px; }
.modal-meta { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; }
.modal-meta li { font-size: 14px; }
.modal-meta .meta-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--body); margin-bottom: 2px; }
.modal-meta .meta-value { font-weight: 600; color: var(--ink); }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 160; background: rgba(4,17,38,0.94); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.lightbox-caption { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 48px; }
}

@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { padding-bottom: 60px; max-width: 480px; }
  .about-img-sub { right: 0; }
  .about-badge { left: 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .services-grid, .projects-grid, .why-grid, .process-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(6) { grid-column: span 2; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .modal-dialog { max-height: 92vh; }
  .about-stats { grid-template-columns: 1fr; gap: 16px; }
  .section-head { margin-bottom: 40px; }
}
