/* ==========================================================================
   MATARAM MADHA GEMILANG — Corporate Architectural Design System
   ========================================================================== */

:root {
  --navy: #2e4052;
  --navy-soft: #3a4f63;
  --slate-blue: #5a7086;
  --warm-white: #f7f8fa;
  --gold: #c99a3e;
  --gold-hover: #b3842b;
  --gold-light: #f2d28b;
  --charcoal: #3f4f5f;
  --muted: #607284;
  --soft-gray: #eef1f4;
  --white: #ffffff;
  --border-light: rgba(46, 64, 82, 0.11);
  --border-gold: rgba(201, 154, 62, 0.48);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-h: 74px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-soft: 0 8px 24px rgba(46, 64, 82, 0.06);
  --transition: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

/* Subtle Page Transition Progress Bar */
.page-transition-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  z-index: 2000;
  transition: width 0.35s ease, opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
}

.page-transition-bar.active {
  width: 100%;
  opacity: 1;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 74px 0;
}

/* Typography Hierarchy */
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-hover);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  max-width: 640px;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.section-header {
  margin-bottom: 36px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.74rem;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background-color: var(--gold);
  color: #18232e;
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #111922;
  transform: translateY(-1px);
}

.site-header .nav-cta {
  background-color: rgba(201, 154, 62, 0.22);
  color: var(--gold-light);
  border-color: rgba(242, 210, 139, 0.7);
}

.site-header .nav-cta:hover {
  background-color: var(--gold);
  color: #18232e;
  border-color: var(--gold);
}

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

.btn-navy:hover {
  background-color: var(--navy-soft);
  border-color: var(--navy-soft);
  transform: translateY(-1px);
}

.btn-outline-light {
  background-color: rgba(24, 36, 48, 0.36);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background-color: rgba(24, 36, 48, 0.62);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: rgba(46, 64, 82, 0.22);
}

.btn-outline-navy:hover {
  border-color: var(--navy);
  background-color: rgba(46, 64, 82, 0.05);
}

/* ==========================================================================
   3. NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 900;
  background-color: rgba(34, 49, 64, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.site-header.scrolled {
  background-color: rgba(34, 49, 64, 0.97);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 8px 28px rgba(24, 35, 46, 0.22);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.brand-logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(65%) sepia(55%) saturate(420%) hue-rotate(2deg) brightness(88%) contrast(95%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}

.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: var(--gold-light);
  margin-top: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #f1f5f9;
  padding: 6px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--gold-light);
  transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0 9px;
}

.mobile-menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background-color: var(--white);
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 35, 46, 0.65);
  z-index: 1200;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100vh;
  background-color: var(--navy);
  color: var(--white);
  z-index: 1300;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-gold);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand-name-light {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--white);
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--white);
  padding: 4px 0;
}

.mobile-nav-link:hover {
  color: var(--gold-light);
}

.mobile-drawer-footer .btn-gold {
  color: #18232e;
}

/* ==========================================================================
   4. HOMEPAGE / HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 84svh;
  max-height: 800px;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background-color: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}

.hero-section:hover .hero-img {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(28, 42, 56, 0.85) 0%,
    rgba(34, 50, 66, 0.70) 54%,
    rgba(42, 60, 78, 0.50) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 28px;
  padding-bottom: 36px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin: 0 0 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 14px;
  letter-spacing: 0;
}

.hero-subtitle-id {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.75vw, 1.38rem);
  color: var(--gold-light);
  margin: 0 0 14px;
}

.hero-description {
  max-width: 560px;
  font-size: 0.96rem;
  color: #f1f5f9;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: #f1f5f9;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
}

/* ==========================================================================
   5. ABOUT THE COMPANY
   ========================================================================== */
.about-section {
  background-color: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: center;
}

.editorial-frame {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: #081529;
  box-shadow: var(--shadow-soft);
}

.editorial-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.editorial-caption {
  display: flex;
  justify-content: space-between;
  padding: 12px 4px 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead-text {
  font-size: 1.02rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.body-text {
  font-size: 0.94rem;
  color: var(--charcoal);
  margin: 0 0 16px;
}

.commitment-text {
  margin-bottom: 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

.vm-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  margin-top: 40px;
}

.vm-box {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
}

.vm-box:last-child {
  border-top-color: var(--gold);
}

.vm-label {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-hover);
  margin-bottom: 6px;
}

.vm-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 10px;
}

.vm-box p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.66;
}

.mission-list {
  margin: 0;
  padding-left: 18px;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.91rem;
  color: var(--muted);
  line-height: 1.58;
}

/* ==========================================================================
   5B. WHY CHOOSE US (Soft Architectural Gray Band)
   ========================================================================== */
.why-section {
  background-color: var(--soft-gray);
  color: var(--charcoal);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.why-section .section-title {
  color: var(--navy);
}

.why-section .section-subtitle {
  color: var(--muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.why-item {
  border-top: 2px solid var(--gold);
  padding-top: 18px;
}

.value-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--gold-hover);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.25;
}

.why-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.62;
}

/* ==========================================================================
   6. OUR SERVICES
   ========================================================================== */
.services-section {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  background-color: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 26px rgba(46, 64, 82, 0.08);
}

.service-media {
  width: 145px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--navy);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.service-index {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-hover);
  letter-spacing: 0.12em;
  margin-bottom: 3px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.22;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.58;
}

/* ==========================================================================
   7. PROJECT PORTFOLIO
   ========================================================================== */
.projects-section {
  background-color: var(--soft-gray);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.filter-btn {
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: transparent;
  color: var(--charcoal);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-btn.active {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

/* Saat jumlah proyek ganjil lebih dari 1 (misal 5 proyek), kartu pertama melebar penuh */
.projects-grid .project-card:first-child:nth-last-child(odd) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}

/* Jika hanya ada 1 kartu (saat kategori difilter), batasi lebarnya agar tidak kebesaran */
.projects-grid .project-card:only-child {
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
}

.projects-grid .project-card:first-child:nth-last-child(odd) .project-thumb-wrap {
  aspect-ratio: auto;
  min-height: 265px;
  height: 100%;
}

.projects-grid .project-card:first-child:nth-last-child(odd) .project-info {
  padding: 28px;
  justify-content: center;
}

.project-card:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 34px rgba(46, 64, 82, 0.09);
  transform: translateY(-3px);
}

.project-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--navy);
}

.project-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-thumb-wrap img {
  transform: scale(1.05);
}

.project-tag-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(34, 49, 64, 0.90);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-left: 3px solid var(--gold);
}

.project-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.22;
}

.project-summary {
  font-size: 0.89rem;
  color: var(--charcoal);
  margin: 0 0 14px;
  flex: 1;
  line-height: 1.6;
}

.project-link-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-hover);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   8. COMPANY LEGALITY & DOCUMENTATION (SINGLE COLLAGE IMAGE)
   ========================================================================== */
.legality-section {
  background-color: var(--warm-white);
}

.legality-showcase {
  max-width: 780px;
  margin: 0 auto;
}

.legality-collage-frame {
  margin: 0;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  transition: var(--transition);
}

.legality-collage-frame:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(46, 64, 82, 0.09);
}

.legality-collage-frame img {
  width: 100%;
  max-height: 460px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background-color: var(--soft-gray);
}

.legality-collage-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 4px 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.legality-zoom-hint {
  color: var(--gold-hover);
}

.legality-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.legality-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--navy);
}

.legality-highlights .legality-pill:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 5px);
  width: 100%;
  margin: 0 auto;
}

.legality-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold);
  flex-shrink: 0;
}

/* ==========================================================================
   9. OUR WORK PROCESS
   ========================================================================== */
.process-section {
  background-color: var(--navy);
  color: var(--white);
}

.process-section .section-eyebrow {
  color: var(--gold-light);
}

.process-section .section-title {
  color: var(--white);
}

.process-section .section-subtitle {
  color: #e2e8f0;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  border-top: 2px solid var(--gold);
  padding-top: 20px;
}

.step-marker {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 12px;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 8px;
}

.process-step p {
  font-size: 0.89rem;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.64;
}

/* ==========================================================================
   10. CONTACT & CONSULTATION
   ========================================================================== */
.contact-section {
  background-color: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.25fr;
  gap: 28px;
  align-items: stretch;
}

.contact-info-panel,
.contact-form-panel {
  display: flex;
  flex-direction: column;
}

.contact-details-card,
.inquiry-form {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  box-shadow: var(--shadow-soft);
}

.contact-details-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details-card h3,
.inquiry-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 0 10px;
}

.form-helper {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-meta-list li {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(46, 64, 82, 0.08);
  padding-bottom: 12px;
}

.meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-hover);
  margin-bottom: 3px;
}

.meta-value {
  font-size: 0.89rem;
  color: var(--navy);
}

.direct-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Form Elements */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.req {
  color: var(--gold-hover);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.89rem;
  color: var(--navy);
  background-color: var(--warm-white);
  border: 1px solid rgba(46, 64, 82, 0.18);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #b43c3c;
}

.error-msg {
  display: block;
  min-height: 16px;
  font-size: 0.75rem;
  color: #b43c3c;
  margin-top: 3px;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-feedback {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: #233342;
  color: #e2e8f0;
  padding-top: 56px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 154, 62, 0.7) 50%,
    transparent 100%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-desc {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #cbd5e1;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 12px;
}

.footer-col li {
  margin-bottom: 7px;
  font-size: 0.84rem;
  color: #e2e8f0;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 18px 0;
  font-size: 0.8rem;
  color: #cbd5e1;
  text-align: center;
}

/* ==========================================================================
   12. FLOATING WHATSAPP, MODALS & LIGHTBOX
   ========================================================================== */
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(24, 35, 46, 0.28);
  z-index: 850;
  transition: var(--transition);
}

.floating-wa:hover {
  background-color: var(--gold);
  color: #18232e;
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(24, 35, 46, 0.72);
  backdrop-filter: blur(4px);
  z-index: 1400;
}

.modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 92vw);
  max-height: 88vh;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  background-color: var(--warm-white);
  color: var(--charcoal);
  z-index: 1500;
  overflow-y: auto;
  box-shadow: 0 28px 64px rgba(24, 35, 46, 0.34);
}

.modal-dialog[open] {
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 24px;
  background-color: var(--navy);
  color: var(--white);
}

.modal-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 3px 0 0;
  color: var(--white);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 24px;
  background-color: var(--soft-gray);
  border-top: 1px solid var(--border-light);
}

.project-gallery-wrap {
  margin-bottom: 18px;
}

.project-main-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 340px;
  background-color: var(--navy);
  overflow: hidden;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
}

.project-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.thumb-btn {
  width: 72px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy);
}

.thumb-btn.active {
  border-color: var(--gold);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 14px 18px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.meta-k {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.project-detail-blocks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-block h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--navy);
  margin: 0 0 4px;
}

.detail-block p {
  margin: 0;
  font-size: 0.89rem;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
}

.scope-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.87rem;
}

.scope-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-hover);
}

/* Lightbox (<dialog> Top-Layer ready) */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: none;
  background-color: rgba(18, 28, 38, 0.95);
  z-index: 1700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[open] {
  display: flex;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox-figure {
  margin: 0;
  max-width: 1040px;
  text-align: center;
}

.lightbox-figure img {
  max-height: 80vh;
  margin: 0 auto;
  border: 1px solid var(--border-gold);
}

.lightbox-figure figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: #f1f5f9;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: rgba(34, 49, 64, 0.9);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.lightbox-close {
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 56px;
  font-size: 2rem;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   13. RESPONSIVE DESIGN (Desktop, Laptop, Tablet, Smartphone)
   ========================================================================== */
@media (max-width: 1100px) {
  .why-grid,
  .process-timeline,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .primary-nav,
  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .about-grid,
  .vm-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-visual {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }

  .projects-grid,
  .legality-highlights,
  .projects-grid .project-card:first-child:nth-last-child(odd) {
    grid-template-columns: 1fr;
  }

  .legality-highlights .legality-pill:last-child:nth-child(odd) {
    max-width: 100%;
  }

  .projects-grid .project-card:first-child:nth-last-child(odd) .project-thumb-wrap {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .projects-grid .project-card:first-child:nth-last-child(odd) .project-info {
    padding: 22px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 66px;
  }

  .brand-logo {
    gap: 9px;
  }

  .brand-logo-img {
    height: 28px;
  }

  .brand-name {
    font-size: 0.94rem;
    letter-spacing: 0.09em;
  }

  .brand-sub {
    font-size: 0.54rem;
    letter-spacing: 0.16em;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 54px 0;
  }

  .service-card {
    flex-direction: column;
  }

  .service-media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .why-grid,
  .services-grid,
  .process-timeline,
  .vm-grid,
  .form-row-2,
  .project-meta-strip,
  .scope-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-scroll-hint {
    display: none;
  }

  .contact-details-card,
  .inquiry-form {
    padding: 20px;
  }

  .floating-wa {
    width: 46px;
    height: 46px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}