/* ================================================================
   MAISON GAVEL — REDESIGN 2026
   High-contrast luxury: deep charcoal / cream / gold
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --ink:        #0a0a0a;
  --ink2:       #111214;
  --ink3:       #181a1c;
  --ink4:       #222426;
  --ink5:       #2e3032;
  --smoke:      #8a8c94;
  --mid:        #666870;
  --silver:     #9a9ca4;
  --mist:       #c8cad0;
  --cream:      #ede8df;
  --white:      #f8f6f2;
  --gold:       #c8a45a;
  --gold2:      #e0bc78;
  --gold3:      #f0d090;
  --gold-dark:  #8a6e32;
  --gold-glow:  rgba(200,164,90,0.18);
  --font-d:     'Cormorant Garamond', Georgia, serif;
  --font-b:     'Montserrat', sans-serif;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease2:      cubic-bezier(0.4, 0, 0.2, 1);
  --t:          0.45s var(--ease);
  --ts:         0.9s var(--ease);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-b);
  line-height: 1.7;
  overflow-x: hidden;
}

/* noise texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9997; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: overlay;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-b); cursor: pointer; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── CUSTOM CURSOR ── */
#mg-cursor {
  position: fixed; z-index: 9999; pointer-events: none;
  top: 0; left: 0;
  mix-blend-mode: normal;
}
#mg-cursor .cur-ring {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(200,164,90,0.7);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s, opacity 0.35s;
}
#mg-cursor .cur-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform 0.15s;
}
#mg-cursor.hover .cur-ring {
  width: 72px; height: 72px;
  border-color: var(--gold2);
  background: rgba(200,164,90,0.06);
}
#mg-cursor.hover .cur-dot { transform: translate(-50%, -50%) scale(0); }
#mg-cursor.clicking .cur-dot { transform: translate(-50%, -50%) scale(2.5); }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-d); font-weight: 300; line-height: 1.05; }
h1 { font-size: clamp(3.4rem, 9vw, 8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); letter-spacing: 0.01em; }
h3 { font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
p  { font-size: clamp(0.88rem, 1.3vw, 0.98rem); color: var(--silver); letter-spacing: 0.03em; line-height: 1.85; }
em { font-style: italic; color: var(--gold2); }
strong { color: var(--cream); font-weight: 500; }

/* gold text */
.tg { color: var(--gold); }
.tc { color: var(--cream); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 38px; font-size: 0.67rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  border: 1px solid; cursor: pointer;
  transition: all var(--t); position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  transform: translateX(-102%); transition: transform var(--t);
}
.btn:hover::after { transform: translateX(0); }
.btn > span { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }

.btn-gold {
  color: var(--gold); border-color: var(--gold);
  background: transparent;
}
.btn-gold::after { background: var(--gold); }
.btn-gold:hover { color: var(--ink); }

.btn-cream {
  color: var(--cream); border-color: rgba(237,232,223,0.25);
}
.btn-cream::after { background: rgba(237,232,223,0.07); }
.btn-cream:hover { border-color: var(--cream); }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 80px; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.5s var(--ease2);
}
.navbar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.9), transparent);
  backdrop-filter: blur(0); transition: all 0.5s;
  pointer-events: none;
}
.navbar.scrolled::before {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(200,164,90,0.12);
}
.navbar.scrolled { height: 66px; }

.navbar-logo { position: relative; z-index: 1; }
.navbar-logo img {
  height: 32px; width: auto;
  mix-blend-mode: screen;
  transition: var(--t);
  display: block;
}

.navbar-menu {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 3rem; list-style: none;
}
.navbar-menu a {
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--silver); position: relative; transition: color var(--t);
}
.navbar-menu a::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width var(--t);
}
.navbar-menu a:hover, .navbar-menu a.active { color: var(--cream); }
.navbar-menu a:hover::after, .navbar-menu a.active::after { width: 100%; }

/* LANG SWITCHER */
.lang-switcher { position: relative; z-index: 1; }
.lang-current {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px; font-size: 0.66rem; letter-spacing: 0.1em;
  color: var(--silver); border: 1px solid rgba(200,164,90,0.2);
  border-radius: 22px; background: transparent; transition: all var(--t);
}
.lang-current:hover { border-color: var(--gold); color: var(--cream); }
.lang-flag { font-size: 1.05rem; line-height: 1; }
.lang-arrow { font-size: 0.48rem; transition: transform 0.3s; display: inline-block; }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: rgba(14,14,16,0.98); backdrop-filter: blur(24px);
  border: 1px solid rgba(200,164,90,0.18); border-radius: 10px;
  min-width: 160px; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-8px) scale(0.97);
  transition: all 0.3s var(--ease);
}
.lang-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.lang-option {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 18px; font-size: 0.68rem; letter-spacing: 0.07em;
  color: var(--silver); cursor: pointer; transition: all 0.2s;
}
.lang-option:hover, .lang-option.active {
  background: rgba(200,164,90,0.09); color: var(--gold2);
}

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; z-index: 1100; padding: 8px;
  background: none; border: none; position: relative;
}
.hamburger span { display: block; width: 26px; height: 1.5px; background: var(--cream); transition: all 0.38s var(--ease); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--font-d); font-size: clamp(2.8rem, 14vw, 4.5rem);
  color: var(--cream); letter-spacing: 0.04em;
  opacity: 0; transform: translateY(24px);
  transition: color var(--t);
}
.mobile-menu.open a { animation: fadeUpIn 0.6s var(--ease) forwards; }
.mobile-menu.open a:nth-child(1) { animation-delay: 0.08s; }
.mobile-menu.open a:nth-child(2) { animation-delay: 0.18s; }
.mobile-menu.open a:nth-child(3) { animation-delay: 0.28s; }
.mobile-menu a:hover { color: var(--gold2); }
.mobile-lang { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }
.mobile-lang button {
  background: none; border: 1px solid rgba(200,164,90,0.22);
  color: var(--silver); padding: 7px 14px; border-radius: 18px;
  font-size: 0.66rem; cursor: pointer; transition: all var(--t);
}
.mobile-lang button:hover, .mobile-lang button.active { border-color: var(--gold); color: var(--gold); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 720px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-videobg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1210 40%, #0f0d0a 100%);
}
.hero-videobg video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s ease-out;
  filter: saturate(0.3) brightness(0.35);
}
.hero-videobg.loaded video { transform: scale(1); }
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(110deg, rgba(10,10,10,0.88) 38%, rgba(10,10,10,0.2) 100%),
    linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 3;
  padding: 0 7%; max-width: 820px; padding-top: 80px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 1.2rem;
  font-size: 0.6rem; letter-spacing: 0.45em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.8rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUpIn 0.9s 0.4s var(--ease) forwards;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 36px; height: 1px; background: var(--gold);
}
.hero h1 {
  color: var(--white);
  opacity: 0; transform: translateY(30px);
  animation: fadeUpIn 1s 0.6s var(--ease) forwards;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.15em; margin-bottom: -0.15em; }
.hero-sub {
  margin-top: 2rem; max-width: 520px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUpIn 0.9s 0.85s var(--ease) forwards;
}
.hero-cta {
  margin-top: 3rem; display: flex; gap: 1.2rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUpIn 0.9s 1.05s var(--ease) forwards;
}
.hero-scroll {
  position: absolute; bottom: 44px; left: 7%; z-index: 3;
  display: flex; align-items: center; gap: 1rem;
  opacity: 0; animation: fadeIn 1s 1.6s forwards;
}
.hero-scroll-line {
  width: 50px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  animation: widthPulse 2.2s infinite;
}
.hero-scroll span { font-size: 0.58rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--smoke); }

/* HERO PARALLAX BG ON CURSOR MOVE */
.hero-parallax { transition: transform 0.8s var(--ease); }

/* ── MARQUEE STRIP ── */
.marquee-strip {
  background: var(--gold); overflow: hidden; white-space: nowrap;
  padding: 14px 0; border: none;
}
.marquee-inner {
  display: inline-flex; gap: 0;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-inner span {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink); padding: 0 3rem; font-weight: 600;
}
.marquee-sep { color: var(--ink3); opacity: 0.5; }

/* ── STATS STRIP ── */
.stats-strip {
  padding: 70px 7%;
  background: var(--ink2);
  border-bottom: 1px solid rgba(200,164,90,0.08);
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.stat-item {
  padding: 0 40px; position: relative; text-align: center;
}
.stat-item:not(:first-child)::before {
  content: ''; position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px; background: rgba(200,164,90,0.15);
}
.stat-num {
  font-family: var(--font-d); font-size: clamp(3rem, 6vw, 5rem);
  color: var(--gold2); display: block; line-height: 1; font-weight: 300;
}
.stat-lbl {
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--smoke); margin-top: 0.6rem; display: block;
}

/* ── SECTION BASE ── */
.section { padding: 130px 7%; }
.section-sm { padding: 90px 7%; }
.wrap { max-width: 1280px; margin: 0 auto; }
.eyebrow-label {
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: 0.58rem; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.eyebrow-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); display: block; }

/* GOLD LINE */
.gold-rule { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); margin: 0; }

/* ── POPUP SECTION ── */
.popup-section { background: var(--ink2); padding: 0; }
.popup-grid { display: grid; grid-template-columns: 55% 45%; min-height: 640px; }
.popup-visual { position: relative; overflow: hidden; }
.popup-visual video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease); filter: saturate(0.7) brightness(0.65); }
.popup-visual:hover video { transform: scale(1.04); }
.popup-visual-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 55%, var(--ink2) 95%);
}
.popup-text {
  padding: 90px 70px; display: flex; flex-direction: column; justify-content: center;
  background: var(--ink2);
}
.popup-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(200,164,90,0.3); padding: 9px 20px;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem; width: fit-content;
}
.popup-text h2 { margin-bottom: 1.5rem; line-height: 1.1; }
.popup-features { margin: 2rem 0; list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.popup-features li { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.86rem; color: var(--silver); }
.feat-icon { color: var(--gold); font-size: 0.7rem; margin-top: 4px; flex-shrink: 0; }

/* ── WAREHOUSES SECTION ── */
.warehouses-section { background: var(--ink); padding: 100px 0 0; overflow: hidden; }
.warehouses-header { padding: 0 7%; margin-bottom: 60px; }
.warehouses-header h2 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.95; }
.warehouses-header h2 .ghost {
  -webkit-text-stroke: 1px rgba(200,164,90,0.25);
  color: transparent;
}
.warehouses-scroll-wrap {
  overflow: hidden; position: relative;
}
.warehouses-track {
  display: flex; gap: 3px;
  animation: warehouseScroll 28s linear infinite;
  width: max-content;
}
.warehouses-track:hover { animation-play-state: paused; }
.warehouse-card {
  position: relative; overflow: hidden; flex-shrink: 0;
  width: clamp(300px, 26vw, 460px);
  height: clamp(400px, 52vw, 620px);
  cursor: pointer;
}
.warehouse-card video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.5) brightness(0.55);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}
.warehouse-card:hover video {
  filter: saturate(0.85) brightness(0.75);
  transform: scale(1.05);
}
.warehouse-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.1) 55%);
  transition: background 0.6s;
}
.warehouse-card:hover .warehouse-card-overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.05) 55%);
}
.warehouse-card-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 28px;
  transform: translateY(8px); transition: transform 0.5s var(--ease);
}
.warehouse-card:hover .warehouse-card-info { transform: translateY(0); }
.warehouse-num {
  font-family: var(--font-d); font-size: 4.5rem; color: rgba(200,164,90,0.12);
  line-height: 1; position: absolute; top: 18px; right: 22px;
  font-weight: 300;
}
.warehouse-tag {
  font-size: 0.58rem; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem; display: block;
}
.warehouse-title {
  font-family: var(--font-d); font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--cream); font-weight: 300; line-height: 1.15;
}
.warehouse-play {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(200,164,90,0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
  margin-top: 1.2rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s 0.1s var(--ease), transform 0.5s 0.1s var(--ease), background 0.3s;
}
.warehouse-card:hover .warehouse-play { opacity: 1; transform: translateY(0); }
.warehouse-play:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.warehouses-cta {
  padding: 70px 7%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
  border-top: 1px solid rgba(200,164,90,0.08);
  margin-top: 3px;
}
.warehouses-cta p { max-width: 520px; font-size: 1rem; }

/* ── WHY SECTION ── */
.why-section { background: var(--ink3); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 70px; }
.why-card {
  padding: 56px 44px;
  background: var(--ink2);
  position: relative; overflow: hidden;
  transition: background 0.5s;
}
.why-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: linear-gradient(to right, var(--gold), var(--gold2));
  transition: width var(--ts);
}
.why-card:hover { background: rgba(200,164,90,0.04); }
.why-card:hover::after { width: 100%; }
.why-num {
  font-family: var(--font-d); font-size: 5.5rem; font-weight: 300;
  color: rgba(200,164,90,0.07); line-height: 1;
  margin-bottom: 1.5rem; display: block; transition: color 0.5s;
}
.why-card:hover .why-num { color: rgba(200,164,90,0.14); }
.why-card h3 { margin-bottom: 1.2rem; color: var(--cream); }

/* ── NETWORK SECTION ── */
.network-section {
  background: var(--ink); position: relative; overflow: hidden;
  padding: 160px 7%;
}
.network-grid-bg {
  position: absolute; inset: 0; opacity: 0.025;
  background-image:
    repeating-linear-gradient(0deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 80px);
}
.network-content { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
.network-content h2 { margin-bottom: 2rem; }
.network-content p { max-width: 640px; margin: 0 auto 3rem; font-size: 1.02rem; line-height: 1.9; }

/* ── EVENT SECTION ── */
.event-section { background: var(--ink2); position: relative; overflow: hidden; }
.event-top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold2) 60%, var(--gold) 80%, transparent 100%);
  animation: shimmerLine 3s ease-in-out infinite;
}
.event-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
}
.event-live-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(200,164,90,0.08); border: 1px solid rgba(200,164,90,0.3);
  padding: 10px 24px; font-size: 0.6rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold2);
  margin-bottom: 2rem;
}
.live-dot {
  width: 7px; height: 7px; background: var(--gold); border-radius: 50%;
  animation: livePulse 1.8s ease-in-out infinite;
}
.event-text h2 { margin-bottom: 1.8rem; }
.event-text > p { margin-bottom: 2.5rem; }
.event-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.8rem; }
.event-list li {
  display: flex; align-items: center; gap: 1.2rem;
  font-size: 0.86rem; color: var(--mist); letter-spacing: 0.04em;
  padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.event-list li:last-child { border: none; padding-bottom: 0; }
.ev-icon { color: var(--gold); width: 22px; text-align: center; flex-shrink: 0; }
.event-visual { position: relative; }
.event-visual-inner { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.event-visual video, .event-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) brightness(0.65); }
.event-frame {
  position: absolute; inset: -10px;
  border: 1px solid rgba(200,164,90,0.2);
  pointer-events: none;
}
.event-frame-corner {
  position: absolute; width: 32px; height: 32px;
  border-color: var(--gold); border-style: solid; border-width: 0;
}
.event-frame-corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.event-frame-corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.event-frame-corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.event-frame-corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* ── CONSULT SECTION ── */
.consult-section { background: var(--ink3); }
.consult-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; align-items: center;
}
.consult-photo { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.consult-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(20%); transition: filter 0.8s; }
.consult-photo:hover img { filter: grayscale(0%); }
.consult-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(10,10,10,0.55));
}
.consult-border { position: absolute; inset: 14px; border: 1px solid rgba(200,164,90,0.2); pointer-events: none; z-index: 2; }
.consult-text h2 { margin-bottom: 2rem; }
.consult-text p { margin-bottom: 1.5rem; }

/* ── FOOTER ── */
footer { background: var(--ink); border-top: 1px solid rgba(200,164,90,0.1); padding: 80px 7% 40px; }
.footer-top {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.6fr; gap: 70px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand img { height: 30px; mix-blend-mode: screen; margin-bottom: 1.6rem; }
.footer-brand p { font-size: 0.84rem; max-width: 290px; }
.footer-vat { font-size: 0.72rem; color: var(--silver); margin-top: 1.2rem; line-height: 1.9; }
.footer-col h4 {
  font-family: var(--font-b); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.6rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col ul li a { font-size: 0.84rem; color: var(--silver); transition: color var(--t); }
.footer-col ul li a:hover { color: var(--cream); }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact-item { display: flex; align-items: center; gap: 12px; font-size: 0.84rem; color: var(--silver); }
.footer-contact-item a { transition: color var(--t); }
.footer-contact-item a:hover { color: var(--gold2); }
.footer-icon { color: var(--gold); width: 16px; flex-shrink: 0; }
.footer-bottom {
  max-width: 1280px; margin: 36px auto 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.72rem; color: var(--silver); }
.footer-legal { display: flex; gap: 2.5rem; }
.footer-legal a { font-size: 0.72rem; color: var(--silver); transition: color var(--t); }
.footer-legal a:hover { color: var(--gold); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000;
  background: rgba(12,12,14,0.98); backdrop-filter: blur(24px);
  border-top: 1px solid rgba(200,164,90,0.18);
  padding: 24px 7%;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  transform: translateY(110%); transition: transform 0.55s cubic-bezier(0.4,0,0.2,1); will-change: transform;
}
.cookie-banner.show { transform: translateY(0) !important; }
.cookie-text { font-size: 0.8rem; color: var(--silver); max-width: 660px; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.8rem; flex-shrink: 0; }
.cookie-accept { padding: 11px 26px; font-size: 0.67rem; letter-spacing: 0.18em; text-transform: uppercase; background: var(--gold); color: var(--ink); border: none; font-weight: 600; transition: all var(--t); }
.cookie-accept:hover { background: var(--gold2); }
.cookie-reject { padding: 11px 26px; font-size: 0.67rem; letter-spacing: 0.18em; text-transform: uppercase; background: transparent; color: var(--silver); border: 1px solid rgba(255,255,255,0.12); transition: all var(--t); }
.cookie-reject:hover { color: var(--cream); border-color: rgba(255,255,255,0.3); }

/* ── PAGE HEADER ── */
.page-header { height: 52vh; min-height: 400px; position: relative; display: flex; align-items: flex-end; padding: 90px 7%; overflow: hidden; }
.page-header-bg { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,10,0.15), rgba(10,10,10,0.92)); z-index: 1; }
.page-header-content { position: relative; z-index: 2; }

/* ── LIGHTBOX ── */
.lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,0.97); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner { position: relative; }
.lightbox video { max-width: 88vw; max-height: 88vh; border: 1px solid rgba(200,164,90,0.15); }
.lightbox-close { position: absolute; top: -46px; right: 0; background: none; border: none; color: var(--silver); font-size: 1.8rem; cursor: pointer; transition: color var(--t); padding: 4px; line-height: 1; }
.lightbox-close:hover { color: var(--gold); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateX(-36px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.from-right { transform: translateX(36px); }
.reveal.from-bottom { transform: translateY(36px); }
.reveal.visible { opacity: 1; transform: translate(0); }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.22s; }
.rd3 { transition-delay: 0.38s; }

/* ── KEYFRAMES ── */
@keyframes fadeUpIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes widthPulse { 0%,100%{width:50px;opacity:0.5} 50%{width:70px;opacity:1} }
@keyframes marqueeScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes warehouseScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes shimmerLine { 0%,100%{opacity:0.7} 50%{opacity:1} }
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

/* ── RESPONSIVE ── */
@media (max-width:1200px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 50px; }
  .event-inner, .consult-inner { gap: 60px; }
}
@media (max-width:1024px) {
  .popup-grid, .event-inner, .consult-inner { grid-template-columns: 1fr; }
  .popup-visual { min-height: 380px; }
  .popup-visual-scrim { display: none; }
  .event-visual { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stat-item:nth-child(3)::before { display: none; }
}
@media (max-width:768px) {
  .section { padding: 90px 6%; }
  .navbar-menu, .lang-switcher { display: none; }
  .hamburger { display: flex; }
  .popup-text { padding: 60px 6%; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  #mg-cursor { display: none; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .warehouses-header h2 { font-size: clamp(2.2rem,12vw,3.5rem); }
  .warehouse-card { width: clamp(260px, 75vw, 340px); height: clamp(340px, 55vw, 480px); }
}
@media (max-width:480px) {
  .section { padding: 70px 5%; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .stat-item { padding: 0 16px; }
}

/* ================================================================
   FORM LUXURY — REDESIGN COMPLETO
   ================================================================ */

/* ── PAGE HEADER contatti ── */
.contact-hero {
  min-height: 52vh; padding: 140px 7% 80px;
  background: var(--ink);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.contact-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.contact-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,164,90,0.04) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(200,164,90,0.02), transparent);
}

/* ── GRID CONTATTI ── */
.contact-outer { background: var(--ink2); }
.contact-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 0;
}

/* ── SIDEBAR DATI ── */
.contact-info {
  padding: 80px 60px;
  border-right: 1px solid rgba(200,164,90,0.1);
  background: var(--ink);
}
.contact-info h3 { margin-bottom: 2.5rem; font-size: 1.6rem; }
.cinfo-block { margin-bottom: 2.8rem; }
.cinfo-label {
  font-size: 0.56rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.9rem;
}
.cinfo-val {
  font-size: 0.88rem; color: var(--cream); line-height: 1.9;
}
.cinfo-val a { color: var(--mist); transition: color var(--t); }
.cinfo-val a:hover { color: var(--gold2); }
.cinfo-divider {
  width: 40px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 2.8rem 0;
}

/* ── FORM WRAP ── */
.contact-form-wrap { padding: 80px 70px; }
.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.contact-form-wrap > p {
  font-size: 0.8rem; color: var(--silver); margin-bottom: 3rem;
  letter-spacing: 0.06em;
}

/* ── FORM SECTIONS ── */
.form-section {
  margin-bottom: 2.4rem;
  padding: 28px 32px;
  border: 1px solid rgba(200,164,90,0.1);
  background: rgba(255,255,255,0.015);
  position: relative;
  transition: border-color 0.4s;
}
.form-section:focus-within {
  border-color: rgba(200,164,90,0.3);
  background: rgba(200,164,90,0.025);
}
.form-section-label {
  font-size: 0.55rem; letter-spacing: 0.44em; text-transform: uppercase;
  color: var(--gold2); display: block;
  margin-bottom: 1.6rem;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem;
}

/* ── FIELD GROUP ── */
.mg-field { position: relative; }
.mg-field label {
  display: block;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mist); margin-bottom: 0.7rem;
  transition: color 0.3s;
}
.mg-field:focus-within label { color: var(--gold); }

.mg-field input,
.mg-field textarea,
.mg-field select {
  color: var(--cream) !important;
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: none;
  border-bottom: 1px solid rgba(200,164,90,0.35);
  color: var(--cream);
  font-family: var(--font-b);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.35s, background 0.35s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.mg-field input::placeholder,
.mg-field textarea::placeholder {
  color: rgba(150,152,160,0.4);
  font-size: 0.84rem;
}
.mg-field input:focus,
.mg-field textarea:focus {
  border-bottom-color: var(--gold);
  background: transparent;
}
.mg-field textarea {
  resize: none; min-height: 100px; line-height: 1.7;
}

/* Autofill override */
.mg-field input:-webkit-autofill,
.mg-field input:-webkit-autofill:hover,
.mg-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream);
  -webkit-box-shadow: 0 0 0 1000px rgba(200,164,90,0.04) inset;
  background-color: transparent !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ── INTERESSE BUTTONS ── */
.interesse-grid {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem;
}
.interesse-btn {
  padding: 9px 20px;
  font-family: var(--font-b);
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: transparent; color: var(--silver);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  -webkit-appearance: none;
}
.interesse-btn:hover {
  border-color: rgba(200,164,90,0.45);
  color: var(--gold2);
}
.interesse-btn.selected {
  background: rgba(200,164,90,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* ── SUBMIT BUTTON ── */
.form-submit-wrap {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
}
.form-submit-wrap .btn {
  width: 100%; justify-content: center;
  padding: 18px 40px; font-size: 0.65rem; letter-spacing: 0.3em;
}
.form-note {
  font-size: 0.7rem; color: var(--silver); text-align: center; width: 100%;
  letter-spacing: 0.06em;
}
.form-success {
  display: none;
  background: rgba(200,164,90,0.08);
  border: 1px solid rgba(200,164,90,0.3);
  color: var(--gold2);
  padding: 16px 24px; font-size: 0.82rem;
  letter-spacing: 0.06em; line-height: 1.6;
  margin-top: 0.5rem;
}

/* ── RESPONSIVE CONTATTI ── */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 60px 7%; border-right: none; border-bottom: 1px solid rgba(200,164,90,0.1); }
  .contact-form-wrap { padding: 60px 7%; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .form-section { padding: 22px 20px; }
}

/* ── JASMINE SECTION MOBILE ── */
@media (max-width: 768px) {
  section .wrap[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
