/* ==========================================================================
   VM CARPENTRY INC — Design System
   ========================================================================== */

:root {
  /* "Navy" now aliases the brand's wood-brown palette (from the logo) —
     kept as separate variable names only so every rule that already
     references --navy-* inherits the new brand color automatically. */
  --navy-950: #1c0f08;
  --navy-900: #2b1710;
  --navy-800: #3a1f14;
  --navy-700: #4a2c18;
  --navy-600: #5c3820;

  --gold-600: #a97a34;
  --gold-500: #c9974f;
  --gold-400: #d8ad6d;
  --gold-300: #e8cd9c;
  --gold-100: #f5e9d3;

  --wood-950: #1c0f08;
  --wood-900: #2b1710;
  --wood-800: #3a1f14;
  --wood-700: #4a2c18;
  --wood-600: #5c3820;
  --wood-500: #6b4226;
  --wood-400: #8a5a34;

  --cream-50: #faf6ee;
  --cream-100: #f4ecdb;

  --ink-900: #1a1a1a;
  --ink-700: #3a3a3a;
  --ink-500: #6b6b6b;
  --ink-300: #9a9a9a;

  --white: #ffffff;

  --font-head: "Playfair Display", "Georgia", serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  --container: 1220px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;

  --shadow-sm: 0 4px 16px rgba(11, 28, 44, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 28, 44, 0.14);
  --shadow-lg: 0 24px 60px rgba(11, 28, 44, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a, button, [role="button"], input[type="submit"] { touch-action: manipulation; } /* stops the double-tap-to-zoom gesture on tappable elements (pinch-zoom still works) */
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; } /* >=16px baseline: prevents iOS Safari's auto-zoom-on-focus */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Prevent scroll while preloader / mobile menu active */
body.no-scroll { overflow: hidden; height: 100%; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: var(--cream-100); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--cream { background: var(--cream-100); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; color: var(--ink-500); font-size: 1.05rem; line-height: 1.7; }
.section--navy .section-head p { color: rgba(245, 233, 211, 0.8); }

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }

.text-lg { font-size: 1.15rem; line-height: 1.75; color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); border-color: var(--white); }
.btn-outline-dark {
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(125deg, var(--wood-950), var(--wood-800) 35%, var(--wood-500) 65%, var(--wood-700) 100%);
  background-size: 260% 260%;
  animation: woodShift 7s ease-in-out infinite;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
@keyframes woodShift {
  0% { background-position: 0% 30%; }
  50% { background-position: 100% 70%; }
  100% { background-position: 0% 30%; }
}
#preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#preloader::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(232, 205, 156, 0.16), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(232, 205, 156, 0.1), transparent 45%);
  pointer-events: none;
  animation: ambientDrift 11s ease-in-out infinite;
}
@keyframes ambientDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2.5%, -2.5%) scale(1.06); }
}
.preloader-inner::before {
  content: "";
  position: absolute;
  top: 46%; left: 50%;
  width: 380px; height: 380px;
  max-width: 78vw; max-height: 78vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232,205,156,0.4), rgba(232,205,156,0.1) 45%, transparent 72%);
  filter: blur(6px);
  z-index: -1;
  animation: auraPulse 3.4s ease-in-out infinite;
}
@keyframes auraPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.86); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.14); }
}
#preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.preloader-logo {
  width: 280px;
  max-width: 62vw;
  height: auto;
  opacity: 0;
  position: relative;
  z-index: 1;
  transform: scale(0.82) translateY(10px);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
  animation:
    preloaderLogoIn 0.9s var(--ease) forwards 0.15s,
    logoGlowPulse 3.4s ease-in-out infinite 1.05s;
}
@keyframes preloaderLogoIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes logoGlowPulse {
  0%, 100% { filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35)) drop-shadow(0 0 16px rgba(232,205,156,0.2)); }
  50% { filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35)) drop-shadow(0 0 36px rgba(232,205,156,0.55)); }
}
.preloader-tagline {
  margin-top: 18px;
  font-family: var(--font-head);
  font-style: italic;
  color: var(--gold-200, #e8cd9c);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.5s;
}
.preloader-bar-track {
  margin-top: 34px;
  width: min(320px, 65vw);
  height: 3px;
  border-radius: 10px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.65s;
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-100));
  box-shadow: 0 0 12px rgba(216, 173, 109, 0.7);
  transition: width 0.18s linear;
}
.preloader-count {
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: rgba(245, 233, 211, 0.75);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.75s;
}
.preloader-count span { font-weight: 600; color: var(--gold-100); letter-spacing: normal; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 12px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,15,8,0.8), rgba(28,15,8,0));
  z-index: -1;
  opacity: 1;
  transition: opacity 0.4s var(--ease);
}
.site-header.is-solid {
  background: rgba(43, 23, 16, 0.96);
  backdrop-filter: blur(10px);
  padding: 8px 0;
  box-shadow: 0 6px 24px rgba(28,15,8,0.3);
}
.site-header.is-solid::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 176px; height: auto; transition: width 0.4s var(--ease); }
.site-header.is-solid .brand img { width: 140px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  border-radius: 100px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
}
.main-nav a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.main-nav a.is-active { color: var(--navy-950); background: var(--gold-400); }
.main-nav a.nav-admin {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 6px; padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
}
.main-nav a.nav-admin svg { width: 14px; height: 14px; }
.main-nav a.nav-admin:hover { color: var(--gold-300); border-color: var(--gold-400); background: rgba(255,255,255,0.06); }
.mobile-nav a.nav-admin {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.05rem; color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a.nav-admin svg { width: 18px; height: 18px; }

/* ---------- PWA install button ---------- */
.main-nav button.pwa-install-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 6px; padding: 9px 16px;
  border: none; border-radius: 100px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950); font-weight: 600; font-size: 0.82rem;
  font-family: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.main-nav button.pwa-install-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.main-nav button.pwa-install-btn svg { width: 14px; height: 14px; }
.mobile-nav button.pwa-install-btn {
  display: inline-flex; align-items: center; gap: 10px;
  width: 100%; margin-top: 10px; padding: 14px 18px;
  border: none; border-radius: 100px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950); font-weight: 700; font-size: 1rem; font-family: inherit;
}
.mobile-nav button.pwa-install-btn svg { width: 18px; height: 18px; }
[hidden] { display: none !important; }

/* ---------- iOS "Add to Home Screen" modal ---------- */
.ios-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(20, 11, 6, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.ios-modal.is-visible { opacity: 1; visibility: visible; }
.ios-modal-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  max-width: 360px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform 0.35s var(--ease);
}
.ios-modal.is-visible .ios-modal-card { transform: translateY(0); }
.ios-modal-logo { width: 56px; margin: 0 auto 16px; }
.ios-modal-card h3 { font-size: 1.2rem; margin-bottom: 22px; }
.ios-modal-card ol { list-style: none; margin: 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 18px; }
.ios-modal-card li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.94rem; color: var(--ink-700); line-height: 1.5; }
.ios-icon-share { width: 30px; height: 30px; border-radius: 8px; background: var(--cream-100); color: var(--navy-800); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ios-icon-share svg { width: 16px; height: 16px; }
.ios-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--cream-100); color: var(--ink-500); font-size: 1.3rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.ios-modal-close:hover { background: var(--cream-50); color: var(--navy-900); }

/* ---------- Quick contact: Call / Text, fixed flush to the right edge ---------- */
.quick-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quick-contact-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px 12px 14px;
  border-radius: 10px 0 0 10px;
  background: rgba(28, 15, 8, 0.82);
  backdrop-filter: blur(6px);
  color: var(--gold-200, #e8cd9c);
  border: 1px solid rgba(232, 205, 156, 0.18);
  border-right: none;
  box-shadow: -4px 6px 18px rgba(15, 8, 4, 0.25);
  transform: translateX(0);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.quick-contact-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.quick-contact-btn span {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 0; overflow: hidden;
  transition: max-width 0.35s var(--ease), opacity 0.25s var(--ease);
  opacity: 0;
}
.quick-contact:hover .quick-contact-btn span,
.quick-contact-btn:focus-visible span {
  max-width: 80px;
  opacity: 1;
}
.quick-contact-btn:hover {
  background: rgba(28, 15, 8, 0.96);
  color: var(--gold-300);
}
@media (max-width: 680px) {
  .quick-contact { top: 34%; transform: translateY(-50%); gap: 1px; }
  .quick-contact-btn { transform: translateX(0); padding: 8px 11px; gap: 6px; border-radius: 8px 0 0 8px; }
  .quick-contact-btn svg { width: 14px; height: 14px; }
  .quick-contact-btn span { max-width: 60px; opacity: 1; font-size: 0.68rem; }
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lang-toggle:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.lang-toggle svg { width: 15px; height: 15px; flex-shrink: 0; }
.header-call {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}
.header-call svg { width: 17px; height: 17px; color: var(--gold-400); }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  position: relative;
  flex-shrink: 0;
}
.hamburger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white);
  border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), top 0.35s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 168px 32px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(105%);
  opacity: 0;
  visibility: hidden;
  box-shadow: -30px 0 60px rgba(15, 8, 4, 0.5);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s var(--ease), visibility 0.95s var(--ease);
}
.mobile-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.mobile-nav::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-300), var(--gold-500));
  opacity: 0.5;
}
.mobile-nav.is-open { transform: translateX(0); opacity: 1; visibility: visible; }
.mobile-nav a {
  position: relative;
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), color 0.3s var(--ease);
}
.mobile-nav.is-open a { opacity: 1; transform: translateX(0); }
.mobile-nav.is-open a:nth-of-type(1) { transition-delay: 0.22s; }
.mobile-nav.is-open a:nth-of-type(2) { transition-delay: 0.30s; }
.mobile-nav.is-open a:nth-of-type(3) { transition-delay: 0.38s; }
.mobile-nav.is-open a:nth-of-type(4) { transition-delay: 0.46s; }
.mobile-nav.is-open a:nth-of-type(5) { transition-delay: 0.54s; }
.mobile-nav a.is-active { color: var(--gold-400); }
.mobile-nav button.pwa-install-btn,
.mobile-nav-foot {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.mobile-nav.is-open button.pwa-install-btn { opacity: 1; transform: translateX(0); transition-delay: 0.60s; }
.mobile-nav.is-open .mobile-nav-foot { opacity: 1; transform: translateX(0); transition-delay: 0.66s; }
.mobile-nav-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.mobile-nav-foot .header-call { font-size: 1.1rem; }
.mobile-nav-foot .lang-toggle { align-self: flex-start; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--navy-950); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,11,6,0.42) 0%, rgba(28,15,8,0.28) 45%, rgba(15,8,4,0.6) 100%),
    linear-gradient(100deg, rgba(20,11,6,0.4) 10%, rgba(28,15,8,0.16) 55%),
    linear-gradient(150deg, rgba(74,44,24,0.16), transparent 60%);
}

/* ---------- Hero slideshow ---------- */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; animation: heroKenBurns 7s ease-out forwards; }
@keyframes heroKenBurns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.6s ease; }
  .hero-slide.is-active { animation: none; transform: scale(1); }
}
.hero-dots {
  position: absolute;
  z-index: 2;
  bottom: 104px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease), border-radius 0.35s var(--ease);
}
.hero-dot.is-active { width: 26px; border-radius: 100px; background: var(--gold-400); }

.hero-inner { position: relative; z-index: 1; padding-top: 190px; padding-bottom: 150px; }
.hero-inner .eyebrow { color: var(--gold-300); text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.hero-inner .eyebrow::before { background: var(--gold-300); }
.hero h1 { color: var(--white); max-width: 800px; text-shadow: 0 4px 24px rgba(0,0,0,0.55); }
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero-sub { margin-top: 16px; max-width: 500px; font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,0.85); text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; }

.social-links { display: flex; gap: 12px; }
.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-950);
  transform: translateY(-3px);
}
.hero-social { margin-top: 30px; }
.footer-social { margin-top: 22px; }

.page-hero {
  position: relative;
  padding: 224px 0 96px;
  color: var(--white);
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800) 60%, var(--wood-700));
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(201,151,79,0.12) 0, rgba(201,151,79,0.12) 1px, transparent 1px, transparent 90px);
  opacity: 0.6;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-300); }
.page-hero .eyebrow::before { background: var(--gold-300); }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero p { margin-top: 18px; max-width: 600px; color: rgba(255,255,255,0.8); font-size: 1.08rem; line-height: 1.7; }
.page-hero .crumbs { margin-top: 26px; display: flex; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.page-hero .crumbs a:hover { color: var(--gold-300); }

/* ==========================================================================
   STAT BAR
   ========================================================================== */
.stat-bar {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding: 0 24px;
}
.stat-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat-item {
  padding: 34px 24px;
  text-align: center;
  border-right: 1px solid rgba(11,28,44,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.stat-icon {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,151,79,0.16), rgba(201,151,79,0.05));
  color: var(--gold-600);
  display: none;
  align-items: center;
  justify-content: center;
}
.stat-icon svg { width: 19px; height: 19px; }
.stat-item:hover::before { transform: scaleX(1); }
.stat-num { font-family: var(--font-head); font-size: 1.7rem; color: var(--navy-900); font-weight: 700; }
.stat-label { margin-top: 6px; font-size: 0.8rem; color: var(--ink-500); letter-spacing: 0.02em; }

/* ==========================================================================
   SERVICES GRID (home preview)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute; right: -30px; bottom: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,151,79,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-icon svg { width: 28px; height: 28px; color: var(--gold-300); }
.service-card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.service-card p { color: var(--ink-500); font-size: 0.96rem; line-height: 1.65; }
.service-card .num {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-head); font-size: 0.85rem; color: rgba(11,28,44,0.18); font-weight: 700;
}

/* ==========================================================================
   ABOUT / SPLIT SECTIONS
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.split-media .accent-frame {
  position: absolute;
  top: -22px; left: -22px;
  width: 140px; height: 140px;
  border-top: 3px solid var(--gold-500);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-lg) 0 0 0;
  z-index: -1;
}
.split-media .accent-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--navy-900);
  color: var(--white);
  padding: 20px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.split-media .accent-badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--gold-300); }
.split-media .accent-badge span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.split-body p { margin-top: 18px; color: var(--ink-500); font-size: 1.02rem; line-height: 1.8; }
.check-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; color: var(--ink-700); }
.check-list svg { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   PROJECT FEATURE
   ========================================================================== */
.project-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
}
.project-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-feature::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(12,7,4,0.97) 0%, rgba(16,9,5,0.9) 40%, rgba(20,11,6,0.68) 70%, rgba(20,11,6,0.42) 100%),
    linear-gradient(100deg, rgba(12,7,4,0.55) 0%, rgba(12,7,4,0.15) 55%);
}
.project-feature-body { position: relative; z-index: 1; padding: 48px; color: var(--white); max-width: 620px; }
@media (max-width: 640px) {
  .project-feature::before {
    background:
      linear-gradient(0deg, rgba(10,6,3,0.98) 0%, rgba(14,8,4,0.95) 55%, rgba(16,9,5,0.85) 100%);
  }
}
.project-tag {
  display: inline-block;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.project-feature-body h3 { color: var(--white); font-size: 1.9rem; }
.project-feature-body .loc { color: var(--gold-300); font-size: 0.95rem; margin-top: 6px; }
.project-feature-body p { margin-top: 16px; color: rgba(255,255,255,0.82); line-height: 1.7; }

/* ==========================================================================
   AREA TAGS
   ========================================================================== */
.area-tags { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.area-tag {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--white);
}
.area-tag svg { width: 16px; height: 16px; color: var(--gold-400); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 70px 56px;
  background: linear-gradient(120deg, var(--wood-800), var(--wood-600) 55%, var(--gold-600));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(60deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 26px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); max-width: 480px; }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,0.85); max-width: 460px; line-height: 1.7; }
.cta-band-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 44px; }
.footer-brand strong { font-family: var(--font-head); color: var(--white); font-size: 1.1rem; }
.footer-col p { font-size: 0.92rem; line-height: 1.75; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer-col ul li { margin-bottom: 12px; font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--gold-400); }
.footer-badge {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,151,79,0.14);
  border: 1px solid rgba(201,151,79,0.4);
  color: var(--gold-300);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold-400); flex-shrink: 0; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a:hover { color: var(--gold-400); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav, .header-call, .lang-toggle.desktop-only { display: none; }
  .hamburger { display: block; }
  .hero-inner { padding-bottom: 112px; }
  .hero-dots { bottom: 80px; }
  .stat-bar { margin-top: -46px; }
  .stat-bar-inner {
    background: rgba(250,246,238,0.86);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(11,28,44,0.08); }
  .stat-icon { display: flex; }
  .stat-item::before { transform: scaleX(1); opacity: 0.55; }
  .stat-item:nth-child(odd) { background: rgba(255,255,255,0.4); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media img { height: 320px; }
}

@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius-md); }
  .stat-item { padding: 26px 14px; }
  .stat-icon { width: 34px; height: 34px; margin-bottom: 8px; }
  .stat-icon svg { width: 16px; height: 16px; }
  .stat-num { font-size: 1.28rem; }
  .stat-label { font-size: 0.74rem; }
  .cta-band { padding: 44px 26px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .project-feature-body { padding: 30px 24px; }
  .brand img { width: 154px; }
  .site-header.is-solid .brand img { width: 123px; }
  .page-hero { padding: 172px 0 72px; }
  .hero-inner { padding-top: 166px; padding-bottom: 100px; }
  .hero-dots { bottom: 68px; }
  .stat-bar { margin-top: -40px; }
}

@media (max-width: 420px) {
  .btn { padding: 14px 24px; font-size: 0.88rem; }
  .preloader-logo { width: 210px; }
}
