﻿/* ═══════════════════════════════════════════
   Hunarsource — Shared Stylesheet
   assets/css/main.css
═══════════════════════════════════════════ */

/* ── Gilroy font ── */
@font-face { font-family:'Gilroy'; src:url('../font/gilroy-bold/Gilroy-Light.ttf') format('truetype'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Gilroy'; src:url('../font/gilroy-bold/Gilroy-Regular.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Gilroy'; src:url('../font/gilroy-bold/Gilroy-Medium.ttf') format('truetype'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Gilroy'; src:url('../font/gilroy-bold/Gilroy-Bold.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Gilroy'; src:url('../font/gilroy-bold/Gilroy-Heavy.ttf') format('truetype'); font-weight:900; font-style:normal; font-display:swap; }

/* ── Quarion font — four weight declarations for max browser compatibility ── */
@font-face { font-family:'Quarion'; src:url('../font/Quarion/Rene%20Bieder%20-%20Quarion%20Bold%20DEMO.otf') format('opentype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Quarion'; src:url('../font/Quarion/Rene%20Bieder%20-%20Quarion%20Bold%20DEMO.otf') format('opentype'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Quarion'; src:url('../font/Quarion/Rene%20Bieder%20-%20Quarion%20Bold%20DEMO.otf') format('opentype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Quarion'; src:url('../font/Quarion/Rene%20Bieder%20-%20Quarion%20Bold%20DEMO.otf') format('opentype'); font-weight:900; font-style:normal; font-display:swap; }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { font-family: 'Gilroy', ui-sans-serif, system-ui, -apple-system, sans-serif; }
body { overflow-x: hidden; background: #F8F6F4; color: #1a0507; }

/* ── Quarion Bold on all headings + large display elements (every page via main.css) ── */
h1, h2, h3, h4, h5, h6,
.font-black, .font-extrabold,
.evcat-title, .evcat-num {
  font-family: 'Quarion', 'Gilroy', ui-sans-serif, system-ui, sans-serif !important;
}

/* ── Global text: subheadings & paragraphs always dark ── */
/* !important needed because Tailwind CDN injects styles dynamically (after main.css) */
p, h3, h4, h5, h6 { color: #1a0507 !important; }
.text-neutral-600, .text-neutral-500, .text-neutral-400,
.text-gray-600,    .text-gray-500,    .text-gray-400     { color: #1a0507 !important; }

/* ── Footer exception: light text on red background ── */
footer p, footer h3, footer h4, footer h5, footer h6,
footer .text-neutral-400, footer .text-neutral-500, footer .text-neutral-600,
footer .text-gray-400,    footer .text-gray-500,    footer .text-gray-600   { color: rgba(255,255,255,.72) !important; }
footer .text-white { color: #fff !important; }

/* ── Anchor offset for sticky header ── */
[id] { scroll-margin-top: 110px; }

/* ── Loader ── */
#loader {
  position: fixed; inset: 0; background: #F8F6F4; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#loader.out { opacity: 0; visibility: hidden; }
.spin {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid rgba(163,25,35,.15); border-top-color: #A31923;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Header ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;       /* mobile: keep vertical breathing room */
  background: #fff;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
@media (min-width: 1024px) {
  #site-header { padding: 0; }  /* desktop: top bar provides the spacing */
}

/* ── Top utility bar (desktop only) ── */
#top-bar {
  display: none;
  height: 36px;
  background: #A31923;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.tb-divider {
  width: 1px; height: 14px;
  background: rgba(255,255,255,.3);
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  #top-bar { display: flex; align-items: center; }
}
.tb-phone {
  display: flex; align-items: center; gap: .45rem;
  font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  color: #fff; transition: color .25s;
}
.tb-phone:hover { color: rgba(255,255,255,.75); }
.tb-social { display: flex; align-items: center; gap: .85rem; }
.tb-social-link { color: #fff; transition: color .25s; display: flex; align-items: center; }
.tb-social-link:hover { color: rgba(255,255,255,.75); }
#site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 14px rgba(0,0,0,.1);
}

/* ── Hero section: margin/height set dynamically by JS to match header ── */
.hero-section {
  height: calc(100vh - 100px); /* fallback before JS runs */
}

/* ── Scroll-reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── Buttons ── */
.btn-brand,
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  background: #A31923; color: #fff; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 9999px;
  transition: background .3s, box-shadow .3s;
  box-shadow: 0 0 20px rgba(163,25,35,.35);
}
.btn-brand:hover,
.btn-gold:hover { background: #D61F35; box-shadow: 0 0 40px rgba(163,25,35,.6); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,.3); color: #fff; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; border-radius: 9999px;
  transition: border-color .3s, color .3s;
}
.btn-outline:hover { border-color: #A31923; color: #A31923; }

/* ── Section labels ── */
.slabel,
.section-label {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: #A31923; font-weight: 700;
}

/* ── Nav links ── */
.nav-link {
  color: #1a0507; font-size: .82rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase;
  transition: color .25s, background .25s, border-color .25s, padding .25s;
}
.nav-link:hover, .nav-link.active { color: #A31923; }

/* Desktop header: active pill — pseudo-element so inline styles on buttons can't block it */
#site-header nav .nav-link.active { color: #A31923; position: relative; }
#site-header nav .nav-link.active::before {
  content: '';
  position: absolute;
  inset: -.32rem -1rem;
  border: 1.5px solid rgba(163,25,35,.5);
  border-radius: 9999px;
  background: rgba(163,25,35,.07);
  pointer-events: none;
  z-index: -1;
}

/* Desktop header: ghost pill on hover (non-active anchor links only) */
#site-header nav a.nav-link:not(.active) { position: relative; }
#site-header nav a.nav-link:not(.active):hover::before {
  content: '';
  position: absolute;
  inset: -.32rem -1rem;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 9999px;
  pointer-events: none;
  z-index: -1;
}

/* ── Card lifts ── */
.card-lift { transition: transform .3s ease, box-shadow .3s ease; }
.card-lift:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(163,25,35,.12); }
.lift { transition: transform .3s, box-shadow .3s; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(163,25,35,.12); }

/* ── Gradient text ── */
.text-gold,
.text-brand {
  background: linear-gradient(135deg, #A31923, #E74C3C);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Hero backgrounds ── */
.hero-bg { background: linear-gradient(135deg, #A31923 0%, #6D0F19 60%, #A31923 100%); }
.hero-overlay { background: linear-gradient(to bottom, rgba(8,4,4,.38) 0%, rgba(8,4,4,.18) 50%, rgba(8,4,4,.55) 100%); }

/* ── About hero — keep all text white against the dark image ── */
#about-hero p, #about-hero span, #about-hero .slabel { color: rgba(255,255,255,.85) !important; }
#gallery-hero p, #gallery-hero span { color: rgba(255,255,255,.65) !important; }
#contact-hero p, #contact-hero span { color: rgba(255,255,255,.72) !important; }

/* ── Scroll bob ── */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.bob { animation: bob 2s ease-in-out infinite; }

/* ── Mobile menu — index/about (#mob-menu) ── */
#mob-menu {
  position: fixed; top: 0; right: 0; height: 100%; width: min(300px, 90vw);
  background: #A31923; z-index: 9998; padding: 2rem;
  transform: translateX(100%); transition: transform .35s ease; display: flex; flex-direction: column;
}
#mob-menu.open { transform: translateX(0); }
/* Links inside red mobile menu — always white */
#mob-menu .nav-link,
#mob-menu a,
#mob-menu button { color: rgba(255,255,255,.85); }
#mob-menu .nav-link:hover,
#mob-menu a:hover { color: #fff; }

/* ── Mobile panel — new pages (#mob-panel) ── */
#mob-panel {
  position: fixed; inset-y: 0; right: 0; width: min(310px, 85vw);
  background: #A31923; backdrop-filter: blur(24px); z-index: 200;
  transform: translateX(100%); transition: transform .35s ease;
  display: flex; flex-direction: column; padding: 2rem 1.75rem; padding-top: 4.5rem;
}
#mob-panel.open { transform: translateX(0); }
/* Links inside red mobile panel — always white */
#mob-panel .nav-link,
#mob-panel a { color: rgba(255,255,255,.85); }
#mob-panel .nav-link:hover,
#mob-panel a:hover { color: #fff; }
#mob-panel .nav-link.active { color: #fff; }

#mob-overlay {
  position: fixed; inset: 0; background: rgba(163,25,35,.35); z-index: 199;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
#mob-overlay.open { opacity: 1; visibility: visible; }

/* ── Tab system (service pages) ── */
.tab-btn {
  padding: .6rem 0; font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  border-top: none; border-left: none; border-right: none;
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s; white-space: nowrap; cursor: pointer; background: none;
}
.tab-btn.active { color: #fff; border-bottom-color: #A31923; }
.tab-btn:hover:not(.active) { color: rgba(255,255,255,.75); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Hero tab pills (index) ── */
.htab { transition: color .2s, border-color .2s, background .2s; }
.htab.on { color: #A31923; border-color: #A31923; background: rgba(163,25,35,.1); }

/* ── Event tabs (index) ── */
.etab-btn { transition: color .2s, border-color .2s; border-bottom: 2px solid transparent; }
.etab-btn.on { color: #A31923; border-color: #A31923; }
.etab-pane { display: none; }
.etab-pane.on { display: grid; }

/* ── Services showcase — interactive split panel ── */
#services {
  background: #A31923;
  display: flex; flex-direction: column;
  scroll-margin-top: 80px;
}
@media (min-width: 900px) {
  #services { height: 100vh; min-height: 600px; overflow: hidden; padding-bottom: 2.5rem; }
}

.svc-cat-btn {
  display: inline-flex; align-items: center;
  padding: .5rem 1.4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(26,5,7,.6);
  border: 1.5px solid rgba(26,5,7,.2);
  border-radius: 2rem;
  background: transparent; cursor: pointer; white-space: nowrap;
  transition: color .25s, border-color .25s, background .25s;
}
.svc-cat-btn.on { color: #fff; background: #A31923; border-color: #A31923; }
.svc-cat-btn:hover:not(.on) { color: #A31923; border-color: rgba(163,25,35,.5); }

.svc-layout { display: flex; flex-direction: column; flex: 1; min-height: 0; }
@media (min-width: 900px) {
  .svc-layout { flex-direction: row; }
}

.svc-left {
  overflow: hidden; display: flex; flex-direction: column;
  border-bottom: 1px solid rgba(163,25,35,.1);
}
@media (min-width: 900px) {
  .svc-left {
    width: clamp(260px, 32%, 400px); flex-shrink: 0;
    border-bottom: none; border-right: 1px solid rgba(163,25,35,.1);
  }
}

.svc-group { display: none; flex-direction: column; }
.svc-group.on { display: flex; flex: 1; overflow: hidden; }

.svc-item {
  flex: 1; min-height: 0;
  width: 100%; display: flex; align-items: center; gap: 1.2rem;
  padding: 0 1.5rem 0 1.75rem;
  border: none; border-bottom: 1px solid rgba(255,255,255,.04);
  background: transparent; cursor: pointer; text-align: left; position: relative;
  transition: background .2s, padding-left .25s;
}
.svc-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: #A31923; transform: scaleY(0); transition: transform .3s ease;
}
.svc-item.on::before { transform: scaleY(1); }
.svc-item.on, .svc-item:hover { background: rgba(163,25,35,.06); padding-left: 2.25rem; }

.svc-num {
  font-size: .68rem; font-weight: 700; font-family: Georgia, serif; font-style: italic;
  color: rgba(26,5,7,.28); min-width: 1.6rem; flex-shrink: 0; transition: color .25s;
}
.svc-item.on .svc-num, .svc-item:hover .svc-num { color: #A31923; }

.svc-item-name {
  flex: 1; font-size: 1rem; font-weight: 600; color: rgba(26,5,7,.5);
  letter-spacing: .025em; transition: color .25s;
}
.svc-item.on .svc-item-name, .svc-item:hover .svc-item-name { color: #1a0507; }

.svc-arrow {
  width: 13px; height: 13px; color: #A31923; flex-shrink: 0;
  opacity: 0; transform: translateX(-5px); transition: opacity .2s, transform .25s;
}
.svc-item.on .svc-arrow, .svc-item:hover .svc-arrow { opacity: 1; transform: translateX(0); }

/* ── Service right-panel: force white on dark image overlay ── */
#svc-label, #svc-p { color: rgba(255,255,255,.82) !important; }
#svc-label { color: rgba(255,255,255,.65) !important; }

.svc-right { display: none; }
@media (min-width: 900px) {
  .svc-right { display: block; flex: 1; position: relative; overflow: hidden; }
}

/* ── Mobile service info card ── */
.svc-mob-panel {
  display: none;
  margin: 0 1.25rem 1.5rem;
  border-radius: 1rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
@media (max-width: 899px) {
  .svc-mob-panel.open { display: block; }
}
.svc-mob-img-wrap { position: relative; height: 210px; overflow: hidden; }
.svc-mob-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .35s; }
.svc-mob-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(163,25,35,.55) 100%);
}
.svc-mob-body { padding: 1.25rem 1.5rem 1.6rem; }
.svc-mob-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #D61F35; font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: gap .2s;
}
.svc-mob-cta:hover { gap: .75rem; }

/* ── Services tab strip — horizontal scroll on mobile ── */
.svc-tabs-wrap { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 899px) {
  .svc-tabs-wrap {
    justify-content: flex-start; flex-wrap: nowrap;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .svc-tabs-wrap::-webkit-scrollbar { display: none; }

  /* Block layout — remove all flex height constraints */
  #services { display: block; }
  .svc-layout { display: block; }
  .svc-left { overflow: visible; border-bottom: none; }
  .svc-group { display: none; }
  .svc-group.on { display: block; overflow: visible; }
  .svc-item { flex: none; min-height: 52px; }

  /* Inline accordion panel */
  .svc-mob-panel { margin: 0 1rem .75rem; }
  .svc-mob-panel.open { animation: svcSlideIn .3s ease both; }
}
@keyframes svcSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Client logos marquee (two-row) ── */
.marquee-wrap {
  overflow: hidden; position: relative;
  display: flex; flex-direction: column; gap: 1.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.marquee-logos-inner {
  display: flex; gap: 2.5rem; align-items: center;
  width: max-content;
  animation: logoScroll 50s linear infinite;
}
.marquee-logos-inner.rev {
  animation: logoScrollRev 50s linear infinite;
}
.marquee-logos-inner:hover, .marquee-logos-inner.rev:hover { animation-play-state: paused; }
.marquee-logos-inner img {
  height: 150px; width: 150px;
  object-fit: contain; flex-shrink: 0;
  filter: none; opacity: 1;
  border: 1.5px solid rgba(163,25,35,.18);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 2px 12px rgba(163,25,35,.07);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.marquee-logos-inner img:hover {
  border-color: #A31923;
  box-shadow: 0 6px 24px rgba(163,25,35,.18);
  transform: translateY(-3px);
}
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes logoScrollRev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.svc-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .65s ease;
}
.svc-img.on { opacity: 1; }

/* ── Core event categories — 3-card grid ── */
.evcat-outer { position: relative; }

/* Arrows — hidden on desktop, shown on mobile */
.evcat-arrow {
  display: none;
  align-items: center; justify-content: center;
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(163,25,35,.25);
  color: #1a0507; cursor: pointer; z-index: 10;
  transition: background .2s, border-color .2s, color .2s;
}
.evcat-arrow:hover { background: #A31923; border-color: #A31923; color: #fff; }
@media (max-width: 900px) {
  .evcat-arrow { display: flex; }
  .evcat-arr-prev { left: .6rem; }
  .evcat-arr-next { right: .6rem; }
}

/* Dots */
.evcat-dots { display: none; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
@media (max-width: 900px) { .evcat-dots { display: flex; } }
.evcat-dot {
  width: .5rem; height: .5rem; border-radius: 99px;
  background: rgba(163,25,35,.25); border: none; cursor: pointer;
  transition: width .3s ease, background .3s ease; padding: 0;
}
.evcat-dot.on { width: 1.5rem; background: #A31923; }

.evcat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 3px; max-width: 1400px; margin: 0 auto; padding: 0 1.5rem;
}
@media (max-width: 900px) {
  .evcat-grid {
    display: flex; flex-direction: row;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    gap: 10px; padding: 0 1.25rem 1.5rem;
  }
  .evcat-grid::-webkit-scrollbar { display: none; }
}
.evcat-card {
  display: block; text-decoration: none; position: relative;
  height: 520px; overflow: hidden; border-radius: .5rem;
}
@media (max-width: 900px) {
  .evcat-card { flex: 0 0 82vw; height: 440px; scroll-snap-align: start; border-radius: .75rem; }
  /* Always show gradient on mobile */
  .evcat-card .evcat-overlay {
    background: linear-gradient(to top, rgba(8,2,4,.94) 0%, rgba(8,2,4,.6) 45%, rgba(163,25,35,.18) 75%, transparent 100%);
    opacity: 1;
  }
  /* Always show content on touch devices */
  .evcat-card .evcat-desc { max-height: 160px; opacity: 1; }
  .evcat-card .evcat-cta { opacity: 1; transform: translateY(0); }
}
.evcat-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.evcat-card:hover .evcat-img { transform: scale(1.06); }
.evcat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,2,4,.94) 0%, rgba(8,2,4,.58) 42%, rgba(163,25,35,.2) 75%, transparent 100%);
  transition: background .45s ease;
}
.evcat-card:hover .evcat-overlay {
  background: linear-gradient(to top, rgba(8,2,4,.97) 0%, rgba(8,2,4,.72) 52%, rgba(163,25,35,.25) 80%, transparent 100%);
}
.evcat-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 2.25rem 2.25rem 2.5rem;
}
.evcat-num {
  display: block; font-size: .65rem; font-weight: 700;
  font-family: Georgia, serif; font-style: italic;
  color: #D61F35; letter-spacing: .18em; margin-bottom: .7rem;
}
.evcat-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 900;
  color: #fff !important; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.evcat-subcats {
  list-style: none; margin: .9rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: .45rem;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .4s ease, opacity .35s ease;
}
.evcat-card:hover .evcat-subcats { max-height: 220px; opacity: 1; }
.evcat-subcats li {
  font-size: .88rem; font-weight: 600; letter-spacing: .02em;
  color: rgba(255,255,255,.9); padding-left: 1.1rem; position: relative;
  line-height: 1.5;
}
.evcat-subcats li::before {
  content: '';
  position: absolute; left: 0; top: .52em;
  width: 5px; height: 5px; border-radius: 50%;
  background: #D61F35;
}
.evcat-subcats li a {
  color: inherit; text-decoration: none;
  transition: color .2s;
  display: block;
}
.evcat-subcats li a:hover { color: #fff; }
.evcat-desc {
  font-size: .95rem; color: rgba(255,255,255,.78); line-height: 1.8;
  margin: .85rem 0 1.25rem; max-height: 0; overflow: hidden;
  opacity: 0; transition: max-height .4s ease, opacity .35s ease;
}
.evcat-card:hover .evcat-desc { max-height: 130px; opacity: 1; }
.evcat-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #fff;
  margin-top: 1.25rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease .05s, transform .3s ease .05s;
}
.evcat-card:hover .evcat-cta { opacity: 1; transform: translateY(0); }

/* ── Counter numerals ── */
.num { font-variant-numeric: tabular-nums; }

/* ── Portfolio editorial grid (index) ── */
.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
}
.port-card {
  position: relative; overflow: hidden; border-radius: 1rem;
  cursor: pointer; display: block;
}
.port-tall  { grid-row: span 2; }
.port-wide  { grid-column: span 2; }

@media (max-width: 768px) {
  .port-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 8px; }
  .port-tall  { grid-row: span 1; grid-column: span 2; }
  .port-wide  { grid-column: span 2; }
  .port-card:last-child { grid-column: span 2; }
}
@media (max-width: 480px) {
  .port-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .port-tall, .port-wide, .port-card:last-child { grid-column: span 1; grid-row: span 1; }
}

.port-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.port-card:hover .port-img { transform: scale(1.06); }

.port-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,2,4,.95) 0%, rgba(10,2,4,.6) 42%, rgba(10,2,4,.18) 70%, transparent 100%);
  opacity: .62; transition: opacity .4s ease;
}
.port-card:hover .port-overlay { opacity: .92; }

.port-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.75rem;
  transform: translateY(0); opacity: 1;
  transition: transform .35s ease, opacity .35s ease;
}

.port-tag {
  display: inline-block;
  font-size: .56rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(163,25,35,.78);
  padding: .22em .8em; border-radius: 2em; margin-bottom: .55rem;
  backdrop-filter: blur(8px);
}
.port-name {
  font-size: 1.2rem; font-weight: 800; color: #fff !important; line-height: 1.2;
  margin: 0 0 .6rem; letter-spacing: -.02em;
}
.port-cta {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transform: translateY(6px); opacity: 0;
  transition: transform .38s ease, opacity .38s ease, color .25s ease;
}
.port-card:hover .port-cta { transform: translateY(0); opacity: 1; color: #fff; }

/* ── Testimonial carousel (index) ── */
.testi-gbadge {
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 1rem;
  padding: .9rem 1.4rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  display: inline-block;
}
.testi-gstars { color: #fbbc04; font-size: 1.1rem; letter-spacing: .05em; }

.testi-outer { position: relative; }
.testi-track {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
.testi-track::-webkit-scrollbar { display: none; }

.testi-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #f7f8fa;
  border: 1.5px solid rgba(0,0,0,.07);
  border-radius: 1.5rem;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  display: flex; flex-direction: column; gap: 1.25rem;
}
@media (min-width: 900px) {
  .testi-card { flex: 0 0 calc(50% - .625rem); }
}
@media (min-width: 1200px) {
  .testi-card { flex: 0 0 calc(33.33% - .84rem); }
}

.testi-stars-row { color: #fbbc04; font-size: 1rem; letter-spacing: .1em; }

.testi-quote {
  font-size: 1.08rem; line-height: 1.8; color: #374151; flex: 1;
  font-style: italic;
}

.testi-author { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.testi-avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: .95rem; flex-shrink: 0;
}
.testi-name { font-weight: 700; color: #1a0507; font-size: 1.05rem; }
.testi-role { font-size: .9rem; color: #6b7280; margin-top: .1rem; }

/* Arrows */
.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: #fff; border: 1.5px solid rgba(0,0,0,.1);
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #374151;
  transition: background .2s, border-color .2s, color .2s;
  z-index: 2;
}
.testi-arrow:hover { background: #A31923; border-color: #A31923; color: #fff; }
.testi-prev { left: -1.25rem; }
.testi-next { right: -1.25rem; }
@media (max-width: 600px) {
  .testi-prev { left: 0; }
  .testi-next { right: 0; }
}
@media (max-width: 639px) {
  .testi-card { padding: 1.5rem 1.25rem; }
}

/* ── Tab panel images ── */
.tab-panel-img { min-height: 220px; }
@media (min-width: 768px) { .tab-panel-img { min-height: 380px; } }

/* Dots */
.testi-dots {
  display: flex; justify-content: center; gap: .5rem; margin-top: 2rem;
}
.testi-dot {
  width: .5rem; height: .5rem; border-radius: 99px;
  background: rgba(163,25,35,.18); border: none; cursor: pointer;
  transition: width .3s ease, background .3s ease;
  padding: 0;
}
.testi-dot.on { width: 1.5rem; background: #A31923; }

/* ── Form field — dark background (index / about) ── */
.form-field {
  width: 100%; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.1);
  border-radius: .75rem; padding: .75rem 1rem; color: #fff; font-size: 1rem;
  transition: border-color .2s; outline: none;
}
.form-field::placeholder { color: rgba(255,255,255,.3); }
.form-field:focus { border-color: #A31923; }
.form-field option { background: #fff; }

/* ── Form field — light background (contact page) ── */
.form-field-light {
  width: 100%; background: transparent; border: none;
  border-bottom: 1.5px solid #ddd; padding: .65rem 0 .55rem;
  font-size: 1rem; color: #1a0507; outline: none; transition: border-color .25s;
}
.form-field-light:focus { border-bottom-color: #A31923; }
.form-field-light::placeholder { color: #bbb; }
select.form-field-light {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0 center;
}
textarea.form-field-light { resize: vertical; min-height: 90px; padding-top: .5rem; }

/* ── Field label (contact) ── */
.field-label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #999; margin-bottom: .35rem; }

/* ── Contact section — white bg form field overrides ── */
#contact .form-field {
  background: #fff; border-color: rgba(0,0,0,.12); color: #1a0507;
}
#contact .form-field::placeholder { color: rgba(0,0,0,.3); }
#contact .form-field option { background: #fff; color: #1a0507; }

/* ── Send button (contact) ── */
.btn-send { display: block; width: 100%; background: #D61F35; color: #fff; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .9rem 2.4rem; font-size: .78rem; border: none; cursor: pointer; transition: background .3s; }
.btn-send:hover { background: #7B1515; }

/* ── Contact detail labels ── */
.detail-label { font-size: .65rem; letter-spacing: .28em; text-transform: uppercase; color: #A31923; font-weight: 700; margin-bottom: .6rem; }
.detail-val { font-size: 1.05rem; color: #4a1020; line-height: 1.75; }

/* ── Process steps ── */
.step-num { font-family: Georgia, serif; font-style: italic; font-size: 1.4rem; color: #A31923; line-height: 1; margin-bottom: .5rem; }
.step-title { font-size: 1.3rem; font-weight: 700; color: #1a0507; margin-bottom: .6rem; }
.step-desc { font-size: 1rem; color: #555; line-height: 1.75; }

/* ── Gallery masonry grid ── */
.gallery-masonry {
  columns: 2;
  column-gap: 10px;
}
@media (min-width: 640px)  { .gallery-masonry { columns: 3; } }
@media (min-width: 1024px) { .gallery-masonry { columns: 4; } }

/* ── Gallery photo cards ── */
.photo-card {
  position: relative; overflow: hidden; border-radius: 10px; cursor: pointer;
  break-inside: avoid; margin-bottom: 10px; display: block;
}
.photo-card img { width: 100%; height: auto; display: block; transition: transform .55s ease; }
.photo-card:hover img { transform: scale(1.06); }
.photo-card .overlay { position: absolute; inset: 0; background: rgba(8,4,4,0); transition: background .35s; }
.photo-card:hover .overlay { background: rgba(8,4,4,.32); }
.photo-card .zoom-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0); opacity: 0;
  transition: transform .3s, opacity .3s;
  background: #A31923; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(163,25,35,.45);
}
.photo-card:hover .zoom-icon { transform: translate(-50%,-50%) scale(1); opacity: 1; }

/* ── Lightbox (gallery) ── */
#lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(8,4,4,.96);
  display: none; align-items: center; justify-content: center; padding: 1rem;
  backdrop-filter: blur(6px);
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.6); }
#lb-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); color: #fff;
  font-size: 1.1rem; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s;
}
#lb-close:hover { background: rgba(255,255,255,.22); }
#lb-prev, #lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff;
  font-size: 1.8rem; width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s;
}
#lb-prev:hover, #lb-next:hover { background: rgba(163,25,35,.7); border-color: rgba(163,25,35,.5); }
#lb-prev { left: 1.5rem; }
#lb-next { right: 1.5rem; }

/* ── About: timeline ── */
.timeline-line { position: absolute; left: 64px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, #A31923, rgba(163,25,35,.15)); }
.timeline-dot { width: 34px; height: 34px; border-radius: 50%; background: #A31923; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 900; color: #fff; position: relative; z-index: 1; flex-shrink: 0; }

/* ── About: client industry filter ── */
.ind-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .5rem 1.25rem; border-radius: 9999px; font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  border: 1.5px solid rgba(163,25,35,.22); color: rgba(26,5,7,.52);
  background: transparent; transition: all .25s ease; cursor: pointer;
}
.ind-btn:hover { border-color: rgba(163,25,35,.55); color: #A31923; }
.ind-btn.active { border-color: #A31923; color: #fff; background: #A31923; }
.ind-btn .cnt { font-size: .6rem; font-weight: 700; padding: 1px 6px; border-radius: 9999px; background: rgba(0,0,0,.2); color: inherit; }
.ind-btn.active .cnt { background: rgba(0,0,0,.25); }

/* ── About: logo cards ── */
.logo-card {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; width: 150px; height: 150px;
  transition: transform .25s, box-shadow .25s; cursor: default; overflow: hidden;
}
.logo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.1); }
.logo-card img { max-height: 110px; max-width: 120px; object-fit: contain; filter: grayscale(100%); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-card:hover img { filter: grayscale(0%); opacity: 1; }
#client-grid .client-item.paged-hidden { display: none !important; }

/* Filter pill slider */
.ind-filter-wrap { display: flex; align-items: center; gap: 8px; }
.ind-slider { flex: 1; overflow: hidden; }
#industry-filters { flex-wrap: wrap; gap: 0.75rem; }
.ind-arrow {
  display: none;
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  padding: 0;
}
.ind-arrow:hover { background: rgba(163,25,35,.18); border-color: #A31923; color: #A31923; }

@media (max-width: 899px) {
  .ind-arrow { display: flex; }
  .ind-slider { overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
  .ind-slider::-webkit-scrollbar { display: none; }
  #industry-filters { flex-wrap: nowrap !important; white-space: nowrap; padding-bottom: 2px; }
  #client-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
.logo-text { font-weight: 800; letter-spacing: -.02em; font-size: .85rem; text-align: center; color: #444; line-height: 1.2; }
#client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.client-item { display: none; }
.client-item.show { display: flex; }

/* ── Contact section ── */
.ctc-card {
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.07);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  transition: box-shadow .25s, border-color .25s;
}
.ctc-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  border-color: rgba(163,25,35,.2);
}
.ctc-form-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 8px 48px rgba(0,0,0,.1);
  overflow: hidden;
}
.ctc-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: .45rem;
}
.ctc-input {
  width: 100%;
  background: #f8f9fb;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: .6rem;
  padding: .72rem 1rem;
  font-size: .975rem;
  color: #1a0507;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.ctc-input:focus {
  border-color: #A31923;
  box-shadow: 0 0 0 3px rgba(163,25,35,.1);
  background: #fff;
}
.ctc-input::placeholder { color: #b0b7c3; }
.ctc-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px;
  background-color: #f8f9fb;
}
.ctc-submit {
  display: block; width: 100%;
  background: #A31923; color: #fff;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  font-size: .78rem; padding: 1rem 2rem;
  border: none; border-radius: .6rem; cursor: pointer;
  transition: background .25s, transform .15s; font-family: inherit;
}
.ctc-submit:hover { background: #D61F35; transform: translateY(-1px); }

/* ── CTA Banner ── */
.cta-section {
  position: relative;
  background:
    url('../img/about_last_img.jpeg') center / cover no-repeat,
    #0d1420;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,4,4,.62) 0%, rgba(90,10,16,.50) 60%, rgba(8,4,4,.65) 100%);
}
/* ── Plan Event Modal ── */
#plan-modal {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center; padding: 1.25rem;
  background: rgba(8,4,4,.75); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
#plan-modal.open { opacity: 1; visibility: visible; }

/* Split-layout box: red panel left + white form right */
#plan-modal .pm-box {
  width: 100%; max-width: 860px;
  max-height: 88vh;
  overflow: hidden;               /* no box-level scrollbar */
  display: flex; flex-direction: row;
  border-radius: 20px;
  position: relative;
  transform: translateY(28px) scale(.97);
  transition: transform .38s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
#plan-modal.open .pm-box { transform: translateY(0) scale(1); }

/* ── Left branding panel ── */
.pm-left {
  background: linear-gradient(155deg, #7a1018 0%, #A31923 52%, #c4202e 100%);
  width: 245px; flex-shrink: 0;
  padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column; justify-content: space-between;
  border-radius: 20px 0 0 20px;
  position: relative; overflow: hidden;
}
/* Decorative circles */
.pm-left::before {
  content: ''; position: absolute; bottom: -50px; right: -50px;
  width: 220px; height: 220px; background: rgba(255,255,255,.06); border-radius: 50%;
}
.pm-left::after {
  content: ''; position: absolute; top: -30px; left: -50px;
  width: 160px; height: 160px; background: rgba(255,255,255,.04); border-radius: 50%;
}
.pm-logo-img {
  height: 50px; width: auto; display: block; margin-bottom: 1.6rem;
  filter: brightness(0) invert(1); opacity: .92;
}
.pm-title {
  color: #fff !important; font-size: 1.65rem; font-weight: 800;
  letter-spacing: -.025em; margin: 0 0 .65rem; line-height: 1.15;
}
.pm-sub { color: rgba(255,255,255,.72) !important; font-size: .78rem; line-height: 1.65; }
.pm-divider {
  width: 36px; height: 2px; background: rgba(255,255,255,.3);
  border-radius: 2px; margin-bottom: 1.2rem;
}
.pm-contact-row {
  display: flex; align-items: flex-start; gap: .55rem; margin-bottom: .7rem;
}
.pm-contact-row svg { flex-shrink: 0; margin-top: 1px; }
.pm-contact-row span { color: rgba(255,255,255,.72); font-size: .73rem; line-height: 1.5; }

/* ── Right form panel ── */
.pm-right {
  flex: 1; background: #fff;
  border-radius: 0 20px 20px 0;
  padding: 1.6rem 1.9rem 1.75rem;
  overflow-y: auto; scrollbar-width: none; /* Firefox */
}
.pm-right::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.pm-right-top {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem;
}
.pm-right-title { font-size: 1rem; font-weight: 700; color: #1a0507; letter-spacing: -.01em; }
.pm-close {
  background: #f5f1f1; border: 1.5px solid rgba(163,25,35,.12); color: #A31923;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0; transition: background .2s, border-color .2s;
}
.pm-close:hover { background: rgba(163,25,35,.1); border-color: rgba(163,25,35,.3); }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pm-field-group { display: flex; flex-direction: column; gap: .32rem; margin-bottom: .85rem; }
.pm-label {
  font-size: .63rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: #999;
}
.pm-label span { color: #A31923; }
.pm-input {
  width: 100%; background: #f8f9fb; border: 1.5px solid #eaecf0;
  border-radius: 9px; padding: .62rem .88rem; font-size: .875rem; color: #1a0507;
  outline: none; transition: border-color .2s, box-shadow .2s, background .2s; font-family: inherit;
  box-sizing: border-box;
}
.pm-input:focus { border-color: #A31923; box-shadow: 0 0 0 3px rgba(163,25,35,.09); background: #fff; }
.pm-input::placeholder { color: #bcc1cc; }
select.pm-input {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23aaa' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 10px;
}
textarea.pm-input { resize: none; min-height: 68px; }
.pm-submit {
  width: 100%; background: linear-gradient(135deg, #A31923 0%, #C41E2A 100%);
  color: #fff; border: none; border-radius: 10px;
  padding: .88rem 2rem; margin-top: .2rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; transition: transform .15s, box-shadow .2s; font-family: inherit;
  box-shadow: 0 4px 18px rgba(163,25,35,.3);
}
.pm-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(163,25,35,.42); }
.pm-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; box-shadow: none; }
.pm-success { display: none; text-align: center; padding: 2rem 1rem; }
.pm-check {
  width: 56px; height: 56px; border-radius: 50%; background: #A31923;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}

/* ── Mobile: stack vertically ── */
@media (max-width: 620px) {
  #plan-modal .pm-box { flex-direction: column; max-height: 92vh; }
  .pm-left {
    width: 100%; border-radius: 20px 20px 0 0; padding: 1.25rem 1.5rem;
    flex-direction: row; align-items: center; gap: 1rem; justify-content: flex-start;
  }
  .pm-left .pm-logo-img { height: 38px; margin-bottom: 0; }
  .pm-left .pm-sub, .pm-left .pm-divider, .pm-left .pm-contact-row { display: none; }
  .pm-left > div:last-child { display: none; }
  .pm-right { border-radius: 0 0 20px 20px; padding: 1.25rem 1.25rem 1.5rem; }
  .pm-grid { gap: .65rem; }
}
@media (max-width: 420px) { .pm-grid { grid-template-columns: 1fr; } }

/* ── Dropdown (sponsor-events style) ── */
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: rgba(12,12,12,.97); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.09); border-radius: 14px; min-width: 230px; padding: .5rem 0; z-index: 200;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: .65rem 1.35rem; font-size: .8rem; color: rgba(255,255,255,.7); letter-spacing: .04em; text-transform: uppercase; transition: color .2s, background .2s; }
.dropdown-item:hover { color: #A31923; background: rgba(163,25,35,.08); }
.dropdown-item.current { color: #A31923; }

/* ══════════════════════════════════════
   Video Gallery Section  (enhanced slider)
══════════════════════════════════════ */
.vg-section {
  background: #F8F6F4;
  padding: 5.5rem 1.5rem 6rem;
}
.vg-inner {
  max-width: 1220px;
  margin: 0 auto;
}

/* Eyebrow badge with red dot */
.vg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(163,25,35,.07);
  border: 1px solid rgba(163,25,35,.16);
  border-radius: 100px;
  padding: .38rem 1rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A31923;
  margin-bottom: 1rem;
}
.vg-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A31923;
  flex-shrink: 0;
}

.vg-title {
  color: #1a0507 !important;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: .85rem;
}
.vg-sub {
  color: rgba(26,5,7,.50) !important;
  font-size: .9rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Slider layout ── */
.vg-slider-outer {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 3rem;
}
.vg-slider {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: .4rem .2rem 1.4rem;
}
.vg-slider::-webkit-scrollbar { display: none; }

/* Card: 4 visible ≥1100px, 3 ≥700px, 2 below */
.vg-card {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  flex-shrink: 0;
  text-align: center;
  scroll-snap-align: start;
  width: calc((100% - 3 * 1.2rem) / 4);
  min-width: 200px;
}
@media (max-width: 1099px) { .vg-card { width: calc((100% - 2 * 1.2rem) / 3); } }
@media (max-width: 699px)  { .vg-card { width: calc((100% - 1.2rem) / 2); min-width: 150px; } }

/* Navigation arrows */
.vg-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(163,25,35,.20);
  color: #A31923;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.09);
  transition: background .22s, border-color .22s, color .22s, box-shadow .22s, transform .22s;
}
.vg-arrow:hover {
  background: #A31923;
  color: #fff;
  border-color: #A31923;
  box-shadow: 0 8px 28px rgba(163,25,35,.32);
  transform: scale(1.08);
}
.vg-arrow svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
  .vg-arrow { width: 38px; height: 38px; }
  .vg-arrow svg { width: 14px; height: 14px; }
}

/* Thumbnail */
.vg-thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #ddd;
  box-shadow: 0 6px 22px rgba(0,0,0,.10);
  transition: box-shadow .32s ease, transform .32s ease;
}
.vg-card:hover .vg-thumb {
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
  transform: translateY(-4px);
}
.vg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .44s ease;
}
.vg-card:hover .vg-thumb img { transform: scale(1.06); }

/* Dark overlay */
.vg-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.22);
  transition: background .28s;
}
.vg-card:hover .vg-play { background: rgba(0,0,0,.32); }

/* Play button: white circle with red icon → flips on hover */
.vg-play svg {
  width: 52px;
  height: 52px;
  color: #A31923;
  background: rgba(255,255,255,.94);
  border-radius: 50%;
  padding: 14px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.28));
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .22s, color .22s, filter .22s;
}
.vg-card:hover .vg-play svg {
  transform: scale(1.12);
  background: #A31923;
  color: #fff;
  filter: drop-shadow(0 6px 20px rgba(163,25,35,.45));
}

/* Centered title */
.vg-card-title {
  color: #1a0507 !important;
  font-size: .8rem;
  font-weight: 700;
  margin-top: .8rem;
  line-height: 1.45;
  letter-spacing: .01em;
  text-align: center;
}

/* ── Video Lightbox ── */
.vg-modal {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.vg-modal.open {
  opacity: 1;
  pointer-events: all;
}
.vg-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  cursor: pointer;
}
.vg-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 48px 120px rgba(0,0,0,.9);
  transform: scale(.94) translateY(22px);
  transition: transform .34s cubic-bezier(.34,1.56,.64,1);
}
.vg-modal.open .vg-modal-box {
  transform: scale(1) translateY(0);
}
.vg-modal-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.vg-modal-close:hover { background: rgba(255,255,255,.28); }
.vg-modal-video {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.vg-modal-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}
