/* ==========================================================================
   MIVI EVENTS — MASTER DESIGN SYSTEM & GLOBAL STYLESHEET
   Brand: Mivi Events (@mivi_events)
   Aesthetic: Cinematic, Premium, Luxury Burgundy & Metallic Gold Dark Theme
   ========================================================================== */

@import url('https://fonts.cdnfonts.com/css/gilroy-bold');
@import url('https://fonts.cdnfonts.com/css/aftika');
@import url('https://cdn.jsdelivr.net/npm/@qpokychuk/gilroy@1.0.2/index.min.css');

/* Gilroy Web Font Definitions with standard weights */
@font-face {
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 300;
  src: local('Gilroy-Light'), local('Gilroy Light'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Light.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 400;
  src: local('Gilroy-Regular'), local('Gilroy Regular'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Regular.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 500;
  src: local('Gilroy-Medium'), local('Gilroy Medium'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Medium.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 700;
  src: local('Gilroy-Bold'), local('Gilroy Bold'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Bold.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 800;
  src: local('Gilroy-Heavy'), local('Gilroy Heavy'), url('https://fonts.cdnfonts.com/s/16219/Gilroy-Heavy.woff') format('woff');
  font-display: swap;
}

:root {
  --bg: #090104;
  --bg-dark: #040002;
  --bg-surface: #14030a;
  --bg-card: rgba(26, 5, 14, 0.65);
  --bg-card-hover: rgba(45, 9, 24, 0.85);
  --burgundy: #2c0914;
  --burgundy-deep: #1a030b;
  --burgundy-bright: #681532;
  --burgundy-glow: rgba(104, 21, 50, 0.35);
  
  --gold: #d4af37;
  --gold-light: #f6ebb2;
  --gold-dim: #997510;
  --gold-gradient: linear-gradient(135deg, #f7ecb5 0%, #d4af37 50%, #997510 100%);
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-border-hover: rgba(212, 175, 55, 0.7);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.22);
  
  --ink: #f5f3ef;
  --ink-secondary: #a7a7aa;
  --dim: #8c8783;
  --line: rgba(255, 255, 255, 0.12);
  --pad: clamp(16px, 2.8vw, 40px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --serif: "Aftika", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Gilroy", "Gilroy-Medium", "Gilroy-Regular", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gilroy: "Gilroy", "Gilroy-Bold", "Gilroy-Medium", sans-serif;
  --aftika: "Aftika", "Gilroy-Bold", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

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

html {
  background: var(--bg-dark);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  background: radial-gradient(circle at 50% 20%, #20040e 0%, #0c0105 55%, #040002 100%);
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

body.locked {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .25s ease, opacity .25s ease;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, .serif {
  font-family: var(--serif);
  font-weight: 400;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(34px, 5.5vw, 76px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.12;
}

h3 {
  font-size: clamp(22px, 2.5vw, 36px);
}

h4 {
  font-size: clamp(18px, 1.8vw, 24px);
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold-gradient);
}

p.lead {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
  color: rgba(245, 243, 239, 0.88);
  max-width: 780px;
}

/* ==========================================================================
   CUSTOM CURSOR (#dot)
   ========================================================================== */
#dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: rgba(245, 243, 239, 0.85);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
#dot.wide {
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.8);
  mix-blend-mode: normal;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
@media (hover: none), (pointer: coarse) {
  #dot { display: none !important; }
}

/* ==========================================================================
   GLOBAL SITE HEADER (.site-header)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--pad) * 0.7 + var(--safe-top)) calc(var(--pad) + var(--safe-right)) calc(var(--pad) * 0.7) calc(var(--pad) + var(--safe-left));
  background: rgba(10, 1, 5, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
}

.site-header.scrolled {
  background: rgba(8, 1, 4, 0.88);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--gold-border);
  box-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.site-logo .logo-text {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: .01em;
  color: #fff;
  white-space: nowrap;
}

.site-logo .logo-text em {
  font-style: normal;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-left: 2px;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 42px);
  list-style: none;
}

.nav-links a {
  font-size: 13.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Button Variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary, .btn-gold {
  background: var(--gold-gradient);
  color: #120206;
  border: 1px solid var(--gold-light);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover, .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
  color: #000;
}

.btn-secondary, .btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover, .btn-outline:hover {
  background: rgba(44, 9, 20, 0.65);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

/* Hamburger Menu Button */
button.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 0;
  z-index: 110;
}

button.menu-toggle span.bars {
  position: relative;
  width: 32px;
  height: 18px;
  display: block;
}

button.menu-toggle span.bars i {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: #fff;
  transition: transform .4s var(--ease), width .35s var(--ease);
}

button.menu-toggle span.bars i:nth-child(1) {
  transform: translateY(-5px);
}

button.menu-toggle span.bars i:nth-child(2) {
  width: 24px;
  transform: translateY(5px);
}

body.menu-open button.menu-toggle span.bars i {
  width: 100% !important;
  background: var(--gold-light);
}

body.menu-open button.menu-toggle span.bars i:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

body.menu-open button.menu-toggle span.bars i:nth-child(2) {
  transform: translateY(0) rotate(-45deg);
}

/* ==========================================================================
   FULLSCREEN MENU OVERLAY (#menu)
   ========================================================================== */
#menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #090104;
  background: radial-gradient(circle at 50% 50%, #20040e 0%, #060103 85%);
  display: grid;
  place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .75s var(--ease);
  pointer-events: none;
}

body.menu-open #menu {
  clip-path: inset(0);
  pointer-events: auto;
}

#menu nav {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vw, 16px);
  text-align: center;
  align-items: center;
}

#menu nav a {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 68px);
  line-height: 1.1;
  color: var(--ink);
  opacity: .5;
  transition: opacity .3s ease, letter-spacing .3s ease, color .3s ease;
}

#menu nav a:hover,
#menu nav a.active {
  opacity: 1;
  letter-spacing: .015em;
  color: var(--gold-light);
}

#menu .menu-footer {
  position: absolute;
  left: calc(var(--pad) + var(--safe-left));
  right: calc(var(--pad) + var(--safe-right));
  bottom: calc(var(--pad) + var(--safe-bottom));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 12.5px;
  color: var(--dim);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

#menu .menu-footer a {
  color: var(--gold-light);
}

#menu .menu-footer a:hover {
  color: #fff;
}

/* ==========================================================================
   PAGE HEROES & EDITORIAL SECTIONS
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--pad) * 5 + var(--safe-top)) var(--pad) calc(var(--pad) * 2.5);
  background: #090104;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: contrast(1.1) brightness(0.85);
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #090104 10%, rgba(9, 1, 4, 0.65) 50%, rgba(9, 1, 4, 0.85) 100%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.page-hero-content h1 {
  margin-bottom: 18px;
}

.section {
  padding: clamp(60px, 8vw, 120px) var(--pad);
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.section-full {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.section-header {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-header.text-center {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.split-layout .split-visual {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.split-layout .split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform .8s var(--ease);
}

.split-layout .split-visual:hover img {
  transform: scale(1.03);
}

/* Editorial Grid */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(20px, 2.8vw, 36px);
}

/* Service Card */
.service-card {
  position: relative;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--gold-border-hover);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

.service-card .card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0b0105;
}

.service-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

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

.service-card .card-body {
  padding: clamp(20px, 2.2vw, 32px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card .card-body h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  margin-bottom: 12px;
}

.service-card .card-body p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card .card-link {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.service-card .card-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform .3s ease;
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

/* Project Card */
.project-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #0d0206;
  border: 1px solid var(--line);
  cursor: pointer;
  group: project;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border-hover);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), var(--gold-glow);
}

.project-card .project-media {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
}

.project-card .project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

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

.project-card .project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 1, 4, 0.95) 0%, rgba(9, 1, 4, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  transition: background .4s ease;
}

.project-card .project-tag {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.project-card .project-title {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.project-card .project-loc {
  font-size: 12.5px;
  color: rgba(245, 243, 239, 0.7);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Full-width Cinematic Banner (Section D) */
.cinematic-banner {
  position: relative;
  padding: clamp(80px, 12vw, 180px) var(--pad);
  text-align: center;
  background: #080104;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cinematic-banner .banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: contrast(1.15) brightness(0.8);
}

.cinematic-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(35, 5, 16, 0.6) 0%, rgba(6, 1, 3, 0.92) 80%);
}

.cinematic-banner .banner-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.cinematic-banner h2 {
  font-size: clamp(30px, 4.8vw, 68px);
  line-height: 1.1;
  margin-bottom: 24px;
}

/* Instagram Gallery Grid (Section E) */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.insta-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.insta-item:hover img {
  transform: scale(1.08);
}

.insta-item .insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 9, 20, 0.7);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .35s ease;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.insta-item .insta-overlay svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* Call to Action Box (Section F) */
.cta-box {
  background: radial-gradient(ellipse at 50% 0%, rgba(104, 21, 50, 0.4) 0%, rgba(20, 3, 10, 0.85) 75%);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: clamp(48px, 6vw, 90px) clamp(24px, 4vw, 64px);
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

.cta-box h2 {
  margin-bottom: 16px;
}

.cta-box p {
  max-width: 640px;
  margin: 0 auto 32px auto;
  color: rgba(245, 243, 239, 0.8);
  font-size: clamp(15px, 1.25vw, 18px);
}

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

/* ==========================================================================
   FORMS & INPUTS (Contact Page)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(36px, 5vw, 80px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 4px;
}

.info-card h4 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.info-card p, .info-card address {
  font-style: normal;
  font-size: 14.5px;
  color: rgba(245, 243, 239, 0.82);
  line-height: 1.7;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: clamp(28px, 4vw, 54px);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

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

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

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

.form-group label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}

.form-group label span.req {
  color: #ff5e7e;
  margin-left: 2px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(14, 2, 7, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--sans);
  font-size: 14.5px;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(25, 4, 13, 0.9);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.form-select option {
  background: #14030a;
  color: #fff;
}

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

.form-note {
  font-size: 12px;
  color: var(--dim);
  margin-top: 14px;
  line-height: 1.5;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.form-alert.success {
  background: rgba(26, 77, 46, 0.3);
  border: 1px solid #28a745;
  color: #79e798;
}

.form-alert.error {
  background: rgba(104, 21, 50, 0.4);
  border: 1px solid #dc3545;
  color: #ff8597;
}

/* ==========================================================================
   PROJECT DETAIL MODAL & LIGHTBOX
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 1, 3, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 40px var(--pad);
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity .4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #100207;
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  max-width: 1000px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), var(--gold-glow);
  transform: translateY(20px);
  transition: transform .45s var(--ease);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 1, 5, 0.7);
  border: 1px solid var(--line);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: all .25s ease;
}

.modal-close:hover {
  background: var(--burgundy-bright);
  border-color: var(--gold);
}

.modal-media {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: clamp(24px, 3.5vw, 44px);
}

.modal-body .project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--gold-light);
}

.modal-body h2 {
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 16px;
}

.modal-body p {
  color: rgba(245, 243, 239, 0.85);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.modal-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform .3s ease, border-color .3s ease;
}

.modal-gallery img:hover {
  transform: scale(1.03);
  border-color: var(--gold);
}

/* ==========================================================================
   GLOBAL FOOTER (.site-footer)
   ========================================================================== */
.site-footer {
  background: #050002;
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 100px) var(--pad) calc(var(--pad) * 1.5 + var(--safe-bottom));
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--gold-gradient);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 64px);
  max-width: 1440px;
  margin: 0 auto clamp(40px, 6vw, 64px) auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.65;
  max-width: 360px;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 13.5px;
  color: var(--ink-secondary);
  transition: color .2s ease, transform .2s ease;
  display: inline-block;
}

.footer-nav a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact p, .footer-contact address {
  font-style: normal;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

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

.footer-contact a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all .25s ease;
}

.social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-btn:hover {
  background: var(--burgundy);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--dim);
}

.footer-bottom a {
  color: var(--dim);
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* ==========================================================================
   ACCORDION (FAQ Page)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .3s ease;
}

.faq-item.active {
  border-color: var(--gold-border);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 22px);
  color: #fff;
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 16px;
  transition: transform .3s ease, border-color .3s ease, color .3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
  color: var(--gold-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), padding .45s var(--ease);
  padding: 0 26px;
  color: var(--ink-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-layout.reverse {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  button.menu-toggle {
    display: flex;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .modal-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 11.5px;
  }
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .cta-box .btn-group {
    flex-direction: column;
  }
}

/* --- Contact Page & Consultation Form --- */
.contact-desc {
  margin: 20px 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(245, 243, 239, 0.85);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.contact-channel-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.contact-channel-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.contact-channel-text {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.contact-channel-link {
  font-size: 14px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: color 0.25s ease;
}

.contact-channel-link:hover {
  color: var(--gold-light);
}

.contact-map-link {
  font-size: 13px;
  margin-top: 6px;
}

.consultation-card {
  border: 1px solid var(--gold-border);
  background: var(--bg-card);
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: 8px;
}

.consultation-card-title {
  font-family: var(--serif);
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}

.consultation-card-desc {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin-bottom: 24px;
}

.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color .3s;
}

.form-select {
  background: #14030a;
}

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

.form-textarea {
  resize: vertical;
}

.btn-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.footer-btn-enquiry {
  padding: 8px 18px;
  font-size: 11px;
}

.footer-btn-wrapper {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.14s !important;
  }
}


