/* ============================================================
   ORBITY360 — Sections CSS
   Single accent color: GOLD only. No cyan.
   ============================================================ */

/* ── Shared Content Section Base ── */
.content-section {
  background: var(--dark-base);
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

/* ── Scrollable home section ── */
/* NOTE: display is controlled by .section / .section.active in layout.css */
.home-section {
  /* overflow-y:auto + height:100vh was trapping sub-sections in an inner scroll
     container and preventing scrollIntoView from reaching them. Removed — the
     browser's normal document scroll handles vertical navigation now. */
}

/* Sub-sections within home */
.home-sub-section {
  padding: var(--space-20) 0;
  position: relative;
}

.home-sub-section + .home-sub-section {
  border-top: none;
}

/* Atmospheric depth gradients — ::before only, no layout impact */
#live-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(30,18,80,0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#home-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 0%, rgba(10,30,70,0.45) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 0%, rgba(20,10,55,0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ════════════════════════════════════════════════════════
   HERO (override hero.css for new business framing)
════════════════════════════════════════════════════════ */
.hero-wrap {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* Darker veil over the panorama — feels like stepping into a premium space */
.hero-veil {
  position: absolute;
  inset: 0;
  /* Desktop: heavy dark band on the left where text lives, fades to lighter right */
  background: linear-gradient(to right,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.20) 100%
  );
  z-index: var(--z-overlay);
  pointer-events: none;
}

/* ── Edge vignette — darkens all four corners of the panorama ── */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 55%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: calc(var(--z-overlay) + 0); /* same layer as veil */
  pointer-events: none;
}

/* Subtle warm floor glow suggesting an interior */
.hero-floor-reflection {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(to top, rgba(201,168,76,0.06) 0%, transparent 100%);
  z-index: var(--z-overlay);
  pointer-events: none;
}

/* ── Trust Badge ── */
.hero-badge-wrap {
  position: absolute;
  top: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: calc(var(--z-overlay) + 1);
  white-space: nowrap;
  animation: noticeSlideDown 0.8s var(--ease-out) 0.4s both;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(8,12,24,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--off-white);
  box-shadow: var(--shadow-md);
}

.hero-badge i {
  color: var(--gold);
}

/* ── Hero Copy Block ── */
.hero-copy {
  position: absolute;
  top: 50%;
  left: var(--space-12);
  transform: translateY(-50%);
  z-index: calc(var(--z-overlay) + 1);
  max-width: 580px;
  animation: heroIn 0.9s var(--ease-out) 0.5s both;
  pointer-events: none;
}

.hero-copy .btn,
.hero-copy a,
.hero-copy button {
  pointer-events: auto;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(calc(-50% + 24px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-5);
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-headline-accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--off-white);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  opacity: 0.9;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: var(--space-4) var(--space-7);
  font-size: var(--text-base);
}

/* ── Hero CTA: Primary (Get Your Tour) ── */
.hero-actions .hero-btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #c9a84c 0%, #f0d080 50%, #c9a84c 100%);
  background-size: 200% 100%;
  border: none;
  border-radius: 4px;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1200;
  box-shadow: 0 4px 24px rgba(201,168,76,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.hero-actions .hero-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0s;
  pointer-events: none;
}

.hero-actions .hero-btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(201,168,76,0.55);
}

.hero-actions .hero-btn-primary:hover::before {
  left: 160%;
  transition: left 0.55s ease;
}

/* ── Hero CTA: Ghost (View Demo) ── */
.hero-actions .hero-btn-ghost {
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 4px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(240,216,128,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.hero-actions .hero-btn-ghost:hover {
  border-color: rgba(201,168,76,0.7);
  color: #f0d080;
  background: rgba(201,168,76,0.1);
  box-shadow: 0 0 20px rgba(201,168,76,0.15);
}

/* Play circle icon inside ghost button */
.hero-btn-play {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(240,216,128,0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.hero-btn-play::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent rgba(240,216,128,0.8);
  margin-left: 2px;
  transition: border-color 0.3s ease;
}

.hero-actions .hero-btn-ghost:hover .hero-btn-play {
  border-color: rgba(240,208,128,0.9);
}

.hero-actions .hero-btn-ghost:hover .hero-btn-play::before {
  border-left-color: #f0d080;
}

/* ── Scroll cue ── */
.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: calc(var(--z-overlay) + 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  cursor: pointer;
  pointer-events: auto;
  animation: fadeIn 1s var(--ease-out) 1.5s both, bounce 2s ease-in-out 2s infinite;
  transition: color var(--duration-base);
}

.hero-scroll-cue:hover {
  color: var(--gold);
}

.hero-scroll-cue i {
  color: var(--gold-dark);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ════════════════════════════════════════════════════════
   LIVE DEMO SECTION
════════════════════════════════════════════════════════ */
.demo-section {
  background: linear-gradient(180deg, var(--dark-base) 0%, #080e1c 100%);
}

.demo-frame-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.demo-frame-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-3) var(--space-5);
}

.demo-chrome-dots {
  display: flex;
  gap: 6px;
}

.demo-chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dark-border);
}

.demo-chrome-dots span:nth-child(1) { background: #ff5f57; }
.demo-chrome-dots span:nth-child(2) { background: #febc2e; }
.demo-chrome-dots span:nth-child(3) { background: #28c840; }

.demo-chrome-label {
  font-size: var(--text-xs);
  color: var(--muted);
  font-family: monospace;
  letter-spacing: 0.02em;
}

.demo-iframe-container {
  position: relative;
  aspect-ratio: 16/9;
  border: 1px solid var(--dark-border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(201,168,76,0.08);
}

#demo-panorama {
  width: 100%;
  height: 100%;
}

.demo-overlay-label {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  background: rgba(8,12,24,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════
   SERVICE CARDS (home overview)
════════════════════════════════════════════════════════ */
.service-card {
  background: var(--grad-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-card:hover {
  border-color: var(--glass-border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-5px);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
}

.service-card-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.service-card-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  transition: gap var(--duration-base);
}

.service-card:hover .service-card-link {
  gap: var(--space-3);
}

/* ════════════════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════════════════ */
.how-section {
  background: linear-gradient(180deg, #080e1c 0%, var(--dark-base) 100%);
}

.steps-track {
  position: relative;
}

.step-line {
  display: none; /* shown desktop via ::before on steps-grid */
}

.steps-grid {
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 26px);
  right: calc(12.5% + 26px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark) 0%, rgba(201,168,76,0.2) 100%);
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-4);
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dark-surface);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--gold);
  margin-bottom: var(--space-5);
  box-shadow: 0 0 20px rgba(201,168,76,0.2);
  z-index: 1;
  position: relative;
}

.step-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.step-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   BENEFITS
════════════════════════════════════════════════════════ */
.benefits-section {
  background: linear-gradient(180deg, var(--dark-base) 0%, #07111e 100%);
}

.benefits-grid {
  gap: var(--space-5);
}

.benefit-item {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-7);
  background: var(--grad-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  align-items: flex-start;
  transition: all var(--duration-base) var(--ease-out);
}

.benefit-item:hover {
  border-color: var(--glass-border);
  box-shadow: var(--shadow-gold);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--gold);
}

.benefit-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.benefit-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--dark-base);
}

.cta-box {
  position: relative;
  text-align: center;
  padding: var(--space-20) var(--space-12);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: var(--space-4) 0 var(--space-5);
}

.cta-sub {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: var(--space-4) var(--space-8) !important;
  font-size: var(--text-base) !important;
}

/* ════════════════════════════════════════════════════════
   GOOGLE MAPS (service detail)
════════════════════════════════════════════════════════ */
#section-google-maps {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(20,10,60,0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(10,20,80,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(30,15,70,0.3) 0%, transparent 45%),
    var(--dark-base);
}

#section-google-maps .section-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #c9a84c;
}

.maps-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.maps-embed-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
  background: var(--dark-surface);
  display: flex;
  flex-direction: column;
  min-height: 520px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 60px rgba(20,10,60,0.4);
}

.maps-embed-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* ── Iframe viewer area ── */
.maps-viewer {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #050810;
}

.maps-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.maps-iframe.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Navigation bar ── */
.maps-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  flex-shrink: 0;
}

.maps-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gold);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.maps-nav-btn:hover {
  background: rgba(201,168,76,0.2);
  border-color: rgba(201,168,76,0.5);
  color: #f0d080;
  transform: scale(1.08);
}

.maps-nav-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.maps-nav-name {
  font-size: 13px;
  font-weight: 600;
  color: #f0e8cc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.maps-nav-loc {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.maps-nav-loc i { color: #c9a84c; font-size: 10px; filter: drop-shadow(0 0 4px rgba(201,168,76,0.6)); }

.maps-nav-loc span { color: rgba(200,185,140,0.45); }

.maps-nav-counter {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.maps-features { display: flex; flex-direction: column; gap: var(--space-4); }

.maps-feature {
  position: relative;
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  transition: all var(--duration-base) var(--ease-out);
}

.maps-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 40%;
  border-top: 1px solid rgba(201,168,76,0.45);
  border-left: 1px solid rgba(201,168,76,0.45);
  border-radius: 14px 0 0 0;
  pointer-events: none;
}

.maps-feature:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }

.maps-feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: var(--text-lg);
}

.maps-feature-text h4 { font-size: var(--text-base); font-weight: 600; color: var(--white); margin-bottom: var(--space-1); }
.maps-feature-text p  { font-size: var(--text-sm); color: var(--muted); line-height: 1.68; }

/* ════════════════════════════════════════════════════════
   360 VIDEO (service detail)
════════════════════════════════════════════════════════ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.video-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--dark-border); cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  position: relative; aspect-ratio: 16/9;
}

.video-card:hover { border-color: var(--glass-border); transform: scale(1.02); box-shadow: var(--shadow-lg); }

.video-thumbnail {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0d2040, #1a3560);
  display: flex; align-items: center; justify-content: center; position: relative;
}

.video-play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(201,168,76,0.2); backdrop-filter: blur(8px);
  border: 2px solid rgba(201,168,76,0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: var(--text-lg);
  transition: all var(--duration-base) var(--ease-out);
}

.video-card:hover .video-play-btn { background: rgba(201,168,76,0.35); box-shadow: var(--shadow-gold); transform: scale(1.1); }

.video-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(to top, rgba(8,12,24,0.9), transparent);
  font-size: var(--text-xs); font-weight: 600; color: var(--off-white);
}

/* ════════════════════════════════════════════════════════
   PHOTOGRAPHY (service detail)
════════════════════════════════════════════════════════ */
.photo-masonry { columns: 3; column-gap: var(--space-5); margin-top: var(--space-10); }

.photo-item {
  break-inside: avoid; margin-bottom: var(--space-5);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--dark-border); cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
}

.photo-item:hover { border-color: var(--glass-border); box-shadow: var(--shadow-gold); }

.photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  color: rgba(201,168,76,0.2); font-size: 36px; position: relative;
}

.photo-overlay {
  position: absolute; inset: 0;
  background: rgba(8,12,24,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--duration-base);
}

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

.photo-overlay i { font-size: 28px; color: var(--gold); }

.photo-tag {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  background: rgba(8,12,24,0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  padding: 2px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════
   AERIAL (service detail)
════════════════════════════════════════════════════════ */
.aerial-hero {
  position: relative; height: 400px;
  border-radius: var(--radius-xl); overflow: hidden;
  margin-bottom: var(--space-12); border: 1px solid var(--dark-border);
}

.aerial-hero-bg {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(0,100,200,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.08) 0%, transparent 50%),
    linear-gradient(135deg, #060e20 0%, #0d1e3a 50%, #060e20 100%);
  display: flex; align-items: center; justify-content: center;
}

.aerial-drone-icon { font-size: 96px; color: rgba(201,168,76,0.18); }

.aerial-hero-info {
  position: absolute; bottom: var(--space-6); left: var(--space-6); right: var(--space-6);
  display: flex; align-items: flex-end; justify-content: space-between;
}

.aerial-specs { display: flex; gap: var(--space-4); }

.aerial-spec {
  background: rgba(8,12,24,0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); text-align: center;
}

.aerial-spec-val {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.aerial-spec-key { font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ════════════════════════════════════════════════════════
   PORTFOLIO — Premium filterable grid
════════════════════════════════════════════════════════ */

/* Outer wrapper — max-width + padding */
.pf-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-12) var(--space-20);
}

/* ── Header ── */
.pf-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--dark-border);
}

.pf-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin: var(--space-3) 0 var(--space-4);
}

.pf-subtitle {
  font-size: var(--text-base);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

.pf-count-wrap {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.pf-count {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  /* padding-top extends the gradient fill area above the glyph so background-clip:text
     doesn't clip the top of tall digits like "9" that exceed the content box */
  padding-top: 20px;
  padding-bottom: 4px;
  transition: all var(--duration-base);
}

.pf-count-label {
  font-size: var(--text-xs);
  color: var(--muted-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: var(--space-5);
}

/* ── Filter Bar ── */
.pf-filters {
  margin-bottom: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.pf-filter-row {
  display: flex;
  align-items: flex-end;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.pf-filter-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-dark);
  flex-shrink: 0;
  min-width: 62px;
  margin-bottom: 10px;
}

.pf-pills {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pf-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    color       var(--duration-fast) var(--ease-out),
    background  var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    box-shadow  var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  user-select: none;
}

.pf-pill:hover {
  color: var(--off-white);
  border-color: rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.06);
}

.pf-pill.active {
  color: var(--dark-base);
  background: var(--grad-gold);
  border-color: transparent;
  box-shadow: 0 0 14px rgba(201,168,76,0.3);
}

/* Search box — own row below the service pills */
.pf-search-wrap {
  flex-basis: 100%;
  margin-left: 0;
  margin-top: var(--space-3);
  position: relative;
  display: flex;
  align-items: center;
  max-width: 360px;
}

.pf-search-icon {
  position: absolute;
  left: 12px;
  font-size: 12px;
  color: var(--muted-dark);
  pointer-events: none;
}

.pf-search {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-full);
  padding: 7px 14px 7px 32px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--white);
  width: 100%;
  outline: none;
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
  -webkit-appearance: none;
}

.pf-search::placeholder { color: var(--muted-dark); }

.pf-search:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

/* ── Grid ── */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ── Card ── */
.pf-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  cursor: pointer;
  background: var(--dark-surface);
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow   var(--duration-base) var(--ease-out),
    transform    var(--duration-base) var(--ease-out),
    opacity      200ms var(--ease-out);
  display: flex;
  flex-direction: column;
}

.pf-card:hover {
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 8px 40px rgba(201,168,76,0.15), 0 2px 12px rgba(0,0,0,0.5);
  transform: translateY(-5px);
}

/* Filtered-out state */
.pf-card--hidden {
  opacity: 0;
  transform: scale(0.94) translateY(4px);
  pointer-events: none;
}

/* ── Card image area ── */
.pf-card-image {
  position: relative;
  aspect-ratio: 16/13;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: rgba(201,168,76,0.15);
  overflow: hidden;
  transition: none;
}

/* Real images (when replaced) should fill the area */
.pf-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.pf-card:hover .pf-card-image img,
.pf-card:hover .pf-card-image {
  transform: scale(1.05);
}

/* Gold shimmer top border on hover */
.pf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity var(--duration-base);
  z-index: 2;
}

.pf-card:hover::before { opacity: 1; }


/* ── Card body ── */
.pf-card-body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.pf-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.pf-industry-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pf-service-tags {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pf-service-tags span {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted-dark);
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}

.pf-card:hover .pf-service-tags span {
  color: var(--muted);
  border-color: rgba(201,168,76,0.2);
}

.pf-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin: 0;
}

.pf-card-desc {
  display: none;
}

.pf-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: none;
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: var(--space-2);
  align-self: flex-start;
  transition:
    background     var(--duration-fast),
    border-color   var(--duration-fast),
    box-shadow     var(--duration-fast),
    gap            var(--duration-fast);
}

.pf-card-cta:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  gap: var(--space-3);
}

/* ── Empty state ── */
.pf-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-20) var(--space-8);
  text-align: center;
  color: var(--muted);
}

.pf-empty i {
  font-size: 40px;
  color: var(--dark-border);
}

.pf-empty p {
  font-size: var(--text-base);
}

.pf-empty.visible {
  display: flex;
}

.pf-reset-btn {
  margin-top: var(--space-2);
}

/* ════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--white);
  outline: none;
  transition: border-color var(--duration-base);
  width: 100%;
}

.form-input::placeholder { color: var(--muted-dark); }

.form-input:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-select option { background: var(--dark-surface); }

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

.contact-info-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-5);
}

.contact-detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--dark-border);
}

.contact-detail:last-child { border-bottom: none; }

.contact-detail-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: var(--text-sm);
}

.contact-detail strong { display: block; font-size: var(--text-sm); color: var(--white); margin-bottom: 2px; }
.contact-detail p { font-size: var(--text-sm); color: var(--muted); line-height: 1.5; }

.contact-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--muted);
  font-weight: 500;
}

.trust-item i { color: var(--gold); font-size: 13px; }


/* ════════════════════════════════════════════════════════
   PORTFOLIO MODAL — Cinematic Full-Screen Experience
════════════════════════════════════════════════════════ */

/* ── Wrapper ── */
.pf-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.pf-modal[hidden] { display: none; }

/* ── Backdrop ── */
.pf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 10, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pf-modal-backdrop-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

/* ── Letterbox bars (cinematic black bars) ── */
.pf-modal-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 2010;
  background: #000;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.pf-modal-bar--top {
  top: 0;
  height: 12vh;
  transform: translateY(-100%);
}

.pf-modal-bar--bottom {
  bottom: 0;
  height: 12vh;
  transform: translateY(100%);
}

/* State: bars visible (covering screen) */
.pf-modal-bar--top.bar-in   { transform: translateY(0); }
.pf-modal-bar--bottom.bar-in { transform: translateY(0); }

/* ── Panel ── */
.pf-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #050810;
  overflow: hidden;
  will-change: clip-path, opacity;
}

/* ── VIEWER — full-width top area ── */
.pf-modal-viewer {
  position: relative;
  flex: 1;
  background: #020408;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-modal-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Scan line sweep ── */
.pf-modal-scanline {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.pf-modal-scanline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,168,76,0.5) 30%,
    rgba(201,168,76,0.9) 50%,
    rgba(201,168,76,0.5) 70%,
    transparent 100%
  );
  box-shadow: 0 0 24px 6px rgba(201,168,76,0.25);
  top: -2px;
  transform: translateY(-2px);
  opacity: 0;
}

.pf-modal-scanline.scanning::after {
  animation: scanSweep 1.1s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes scanSweep {
  0%   { top: 0%;   opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ── "Entering Experience" intro overlay ── */
.pf-modal-intro {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: rgba(2, 4, 12, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.pf-modal-intro.intro-visible {
  opacity: 1;
  pointer-events: none;
}

.pf-modal-intro-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  position: relative;
  animation: introRingSpin 1.8s linear infinite;
}

.pf-modal-intro-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.6);
  animation: introRingPulse 1.2s ease-in-out infinite alternate;
}

.pf-modal-intro-ring::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  animation: introRingPulse 1.2s ease-in-out infinite alternate-reverse;
}

@keyframes introRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes introRingPulse {
  from { opacity: 0.4; transform: scale(0.92); }
  to   { opacity: 1;   transform: scale(1.08); }
}

.pf-modal-intro-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.75);
  animation: introTextGlow 1.4s ease-in-out infinite alternate;
}

@keyframes introTextGlow {
  from { opacity: 0.5; text-shadow: 0 0 0 transparent; }
  to   { opacity: 1;   text-shadow: 0 0 20px rgba(201,168,76,0.4); }
}

/* ── Placeholder (no URL) ── */
.pf-modal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  text-align: center;
  background: radial-gradient(ellipse at center,
    rgba(201,168,76,0.06) 0%,
    rgba(5,8,16,0.4) 60%,
    transparent 100%
  );
}

/* Pulsing rings */
.pf-modal-ph-rings {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-ph-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  animation: phRingExpand 3s ease-out infinite;
}

.pf-ph-ring--1 { width: 60px;  height: 60px;  animation-delay: 0s; }
.pf-ph-ring--2 { width: 80px;  height: 80px;  animation-delay: 0.8s; }
.pf-ph-ring--3 { width: 100px; height: 100px; animation-delay: 1.6s; }

@keyframes phRingExpand {
  0%   { opacity: 0.8; transform: scale(0.7); }
  100% { opacity: 0;   transform: scale(1.4); }
}

.pf-modal-ph-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
}

.pf-modal-ph-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  font-weight: 600;
}

.pf-modal-ph-sub {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.7;
}

.pf-modal-ph-sub code {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* ── Viewer UI overlay (close + fullscreen) ── */
.pf-modal-viewer-ui {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

/* ── Close button ── */
.pf-modal-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(5, 8, 18, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--off-white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.25s;
}

.pf-modal-close:hover {
  background: rgba(220,50,50,0.25);
  border-color: rgba(220,50,50,0.45);
  color: #ff6b6b;
  transform: rotate(90deg) scale(1.05);
}

/* ── Fullscreen button ── */
.pf-modal-fullscreen {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(5, 8, 18, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.pf-modal-fullscreen:hover {
  color: var(--gold);
  border-color: rgba(201,168,76,0.4);
  transform: scale(1.05);
}

/* ── INFO BAR — 3-column bottom strip ── */
.pf-modal-infobar {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr;
  gap: 0;
  background: linear-gradient(180deg, #0b1020 0%, #080d1a 100%);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 0;
  min-height: 160px;
  max-height: 200px;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-modal-infobar.bar-visible {
  transform: translateY(0);
}

/* Column dividers */
.pf-modal-infobar-left,
.pf-modal-infobar-center {
  border-right: 1px solid rgba(255,255,255,0.06);
}

.pf-modal-infobar-left,
.pf-modal-infobar-center,
.pf-modal-infobar-right {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Left column */
.pf-modal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.pf-modal-industry {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 3px 10px;
  border-radius: 100px;
}

.pf-modal-location {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.pf-modal-location i { color: var(--gold); font-size: 10px; }

.pf-modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

/* Center column */
.pf-modal-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pf-modal-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.pf-modal-service-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

/* Right column */
.pf-modal-infobar-right {
  align-items: flex-start;
  gap: 10px;
}

.pf-modal-cta {
  width: 100%;
  justify-content: center;
  padding: var(--space-3) var(--space-5);
}

.pf-modal-share {
  width: 100%;
  justify-content: center;
  padding: var(--space-2) var(--space-5);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .pf-modal-infobar {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    max-height: none;
  }
  .pf-modal-infobar-right {
    grid-column: 1 / -1;
    flex-direction: row;
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .pf-modal-cta,
  .pf-modal-share {
    width: auto;
    flex: 1;
  }
}

@media (max-width: 600px) {
  .pf-modal-infobar {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pf-modal-infobar-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .pf-modal-infobar-center { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .pf-modal-infobar-left,
  .pf-modal-infobar-center,
  .pf-modal-infobar-right {
    padding: 18px 20px;
  }
  .pf-modal-title { font-size: 18px; }
  .pf-modal-bar--top,
  .pf-modal-bar--bottom { height: 8vh; }
}

/* ════════════════════════════════════════════════════════
   MODAL — RICH OPEN ANIMATION
════════════════════════════════════════════════════════ */

/* ── Panel: smooth scale-in settle ── */
.pf-modal-panel.panel-opening {
  animation: panelScaleSettle 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes panelScaleSettle {
  0%   { transform: scale(0.97); }
  60%  { transform: scale(1.004); }
  100% { transform: scale(1); }
}

/* ── Panel: gold edge glow flash on fully open ── */
.pf-modal-panel.panel-glow {
  animation: panelEdgeGlow 1s cubic-bezier(0.2, 0, 0.8, 1) forwards;
}

@keyframes panelEdgeGlow {
  0%   { box-shadow: 0 0  0   0   rgba(201,168,76,0); }
  20%  { box-shadow: 0 0 100px 15px rgba(201,168,76,0.22),
                     0 0  40px  5px rgba(201,168,76,0.14); }
  100% { box-shadow: 0 0  0   0   rgba(201,168,76,0); }
}

/* ── Backdrop: shockwave ripple from card origin ── */
.pf-modal-backdrop {
  --ox: 50%;
  --oy: 50%;
  overflow: hidden;
}

.pf-modal-backdrop::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  left: var(--ox);
  top:  var(--oy);
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,0.65);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  opacity: 0;
}

.pf-modal-backdrop.shockwave::after {
  animation: backdropShockwave 0.7s cubic-bezier(0.15, 0, 0.55, 1) forwards;
}

@keyframes backdropShockwave {
  0%   { transform: translate(-50%, -50%) scale(0);   opacity: 0.9; }
  70%  { opacity: 0.12; }
  100% { transform: translate(-50%, -50%) scale(350); opacity: 0; }
}

/* ── Scanline: richer gold sweep ── */
.pf-modal-scanline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201,168,76,0.0) 15%,
    rgba(201,168,76,0.6) 35%,
    rgba(255,220,100,1)  50%,
    rgba(201,168,76,0.6) 65%,
    rgba(201,168,76,0.0) 85%,
    transparent 100%
  );
  box-shadow:
    0 0 12px 4px rgba(201,168,76,0.3),
    0 0 40px 8px rgba(201,168,76,0.15),
    0 8px 20px 0   rgba(201,168,76,0.08);
  top: -3px;
  opacity: 0;
  filter: blur(0.3px);
}

.pf-modal-scanline.scanning::after {
  animation: scanSweepRich 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes scanSweepRich {
  0%   { top: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ── Infobar columns stagger in ── */
.pf-modal-infobar-left,
.pf-modal-infobar-center,
.pf-modal-infobar-right {
  opacity: 0;
  transform: translateY(14px);
  transition: none;
}

.pf-modal-infobar.bar-visible .pf-modal-infobar-left {
  animation: infoColReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0ms forwards;
}
.pf-modal-infobar.bar-visible .pf-modal-infobar-center {
  animation: infoColReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 90ms forwards;
}
.pf-modal-infobar.bar-visible .pf-modal-infobar-right {
  animation: infoColReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 180ms forwards;
}

@keyframes infoColReveal {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
