/* =========================================================
   FLAGSHIP AGENCY — World-Class Design System
   Direction: Dark Luxury × Creative Energy × Multi-service Agency
   Palette: Deep Midnight · Electric Gold · Vivid Accent
   Typography: Clash Display (headings) · Satoshi (body)
   ========================================================= */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@500,600,700&f[]=satoshi@400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* ── Core palette (Updated for Light Luxury Theme) ── */
  --bg:        #FDFCFA;      /* Creamy light background */
  --bg-1:      #F8F7F4;      /* Soft beige */
  --bg-2:      #F2F0ED;      /* Warm light gray */
  --bg-3:      #EBEAE6;      /* Stone gray */
  --bg-4:      #E5E3DE;      /* Natural gray */

  /* ── Brand gold (Updated for better contrast) ── */
  --gold:      #B8860B;      /* Dark gold for better contrast */
  --gold-2:    #DAA520;      /* Medium gold */
  --gold-3:    #F4D03F;      /* Light gold */
  --gold-dim:  rgba(184,134,11,.15);
  --gold-glow: rgba(184,134,11,.25);

  /* ── Service category accents (Optimistic & Luxury) ── */
  --accent-data:       #2E86AB;   /* Trust blue */
  --accent-brand:      #E63946;   /* Energy red */
  --accent-web:        #06A77D;   /* Growth green */
  --accent-mkt:        #F77F00;   /* Creative orange */
  --accent-design:     #7209B7;   /* Luxury purple */
  --accent-ai:         #4CC9F0;   /* Tech sky blue */

  /* ── Text (Updated for light background) ── */
  --text-hi:   #1A1B23;      /* Soft black */
  --text-mid:  #4A4D5A;      /* Dark gray */
  --text-dim:  #7C7F8C;      /* Medium gray */

  /* ── Lines ── */
  --line:      rgba(184,134,11,.2);
  --line-2:    rgba(184,134,11,.3);
  --line-3:    rgba(26,27,35,.08);

  /* ── Typography ── */
  --display:   'Clash Display', sans-serif;
  --body:      'Satoshi', sans-serif;
  --num:       'Space Grotesk', sans-serif;

  /* ── Radius ── */
  --r-sm: 6px;
  --r:    14px;

  /* ── Enhanced colors ── */
  --text-base:    #E8E8E8;
  --text-muted:   #A8A8B3;
  --ink-700:      #0F172A;
}

/* =========================================================
   ENHANCED HOMEPAGE STYLES
   ========================================================= */

/* Service tiles enhanced hover effects */
.service-tile:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(184,134,11,.2), 
    0 8px 32px rgba(26,27,35,.1),
    0 2px 8px rgba(184,134,11,.3);
  border-color: var(--gold);
  background: #FFFFFF;
}

.service-tile:hover .tile-arrow {
  gap: 12px !important;
}

.service-tile:hover .tile-arrow span:last-child {
  transform: translateX(6px);
}

.service-tile:hover > div:first-child {
  opacity: 1 !important;
}

/* Service tile image zoom effect */
.service-tile:hover .tile-icon img {
  transform: scale(1.1);
}

/* Enhanced portfolio cards */
.portfolio-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 16px 48px rgba(184,134,11,.2), 
    0 4px 16px rgba(26,27,35,.1);
  border-color: var(--gold);
  background: #FFFFFF;
}

/* Partners section animations */
.partners-grid {
  animation: subtle-float 6s ease-in-out infinite;
}

@keyframes subtle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.partner-logo:nth-child(even) {
  animation-delay: 1s;
}

.partner-logo:nth-child(3n) {
  animation-delay: 2s;
}

/* Enhanced reveal animations — see full definition near bottom of file */

/* Service grid responsive enhancements */
@media (max-width: 768px) {
  .service-tile {
    margin-bottom: 16px;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    padding: 24px !important;
  }
  
  .partner-logo {
    padding: 16px !important;
  }
}

/* =========================================================
   PORTFOLIO ENHANCEMENTS
   ========================================================= */

/* Portfolio item hover effects */
.portfolio-item {
  transform-origin: center;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 8px 24px rgba(212,168,67,.1);
  border-color: var(--gold);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  border-color: var(--line-2);
}

/* Category filter hover effects */
.category-filter:hover {
  transform: translateY(-2px);
}

/* Portfolio responsive */
@media (max-width: 768px) {
  .portfolio-item[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
  
  .portfolio-item {
    margin-bottom: 20px;
  }
}

/* Enhanced animations for portfolio */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-item.reveal {
  animation-delay: calc(var(--reveal-delay, 0) * 0.1s);
}
  --r-lg: 24px;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-hi);
  font-family: var(--body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-hi);
  letter-spacing: -.3px;
}
p { color: var(--text-mid); }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
section { padding: 110px 0; }
@media (max-width: 768px) { section { padding: 72px 0; } }

/* =========================================================
   LUXURY TEXTURE overlay — premium light feel
   ========================================================= */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: 
    radial-gradient(ellipse at top left, rgba(184,134,11,.03) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(46,134,171,.02) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  opacity: .6;
}
body > * { position: relative; z-index: 1; }

/* =========================================================
   GRID BACKGROUND — ambient mesh
   ========================================================= */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(212,168,67,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,67,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* =========================================================
   TYPOGRAPHY UTILITIES
   ========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--num); font-size: 11px;
  letter-spacing: 3px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.text-gradient {
  background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold) 50%, #C17F24 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-accent {
  background: linear-gradient(135deg, #A78BFA 0%, #6C63FF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hairline {
  height: 1px; border: none;
  background: linear-gradient(90deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent);
  margin: 0;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s;
}
.site-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--line); transition: opacity .4s;
}
.site-header.scrolled {
  background: rgba(253,252,250,.95);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 8px 40px rgba(184,134,11,.15);
}
.nav-row {
  display: flex; align-items: center;
  justify-content: space-between; height: 80px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 20px;
  font-weight: 700; color: var(--text-hi);
  letter-spacing: -.5px;
}
.logo .mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, #C17F24 100%);
  display: flex; align-items: center; justify-content: center;
}
.logo .mark svg { width: 16px; height: 16px; fill: var(--bg); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  transition: color .2s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 1px; background: var(--gold); transition: right .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-hi); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-toggle { display: none; background: none; border: none; color: var(--text-hi); font-size: 24px; cursor: pointer; z-index: 210; padding: 4px; }
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh;
    width: min(340px, 88vw);
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-2); border-left: 1px solid var(--line);
    padding: 100px 32px 40px;
    transform: translateX(110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 205;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line-3); }
  .nav-links a::after { display: none; }
  .nav-links .btn-gold { margin-top: 20px; width: 100%; justify-content: center; }
  .nav-toggle { display: block; }
}
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }
.nav-close {
  display: none; position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: var(--text-mid); font-size: 22px; cursor: pointer;
}
@media (max-width: 960px) { .nav-close { display: block; } }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-sm);
  font-family: var(--body); font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: all .22s ease; white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 0 0 0 var(--gold-glow);
}
.btn-gold:hover {
  background: var(--gold-2);
  box-shadow: 0 0 0 6px var(--gold-glow), 0 8px 30px rgba(212,168,67,.3);
  transform: translateY(-1px);
}
.btn-line {
  border-color: var(--line-2); color: var(--text-hi);
  background: transparent;
}
.btn-line:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-dim);
}
.btn-ghost {
  background: rgba(255,255,255,.04); border-color: var(--line-3); color: var(--text-mid);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--text-hi); }
.btn-sm  { padding: 9px 18px; font-size: 13px; }
.btn-lg  { padding: 18px 38px; font-size: 15px; }
.btn-icon { padding: 12px; border-radius: 50%; }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative; padding: 160px 0 120px;
  overflow: hidden; min-height: 100vh;
  display: flex; align-items: center;
}
.hero-orbs {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-orbs span {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .18;
  animation: orb-float 8s ease-in-out infinite;
}
.hero-orbs span:nth-child(1) {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-data), transparent 70%);
  top: -200px; left: -100px; animation-delay: 0s;
}
.hero-orbs span:nth-child(2) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  top: 50px; right: -150px; animation-delay: -3s;
}
.hero-orbs span:nth-child(3) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-web), transparent 70%);
  bottom: -100px; left: 40%; animation-delay: -6s;
}
@keyframes orb-float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
.hero-inner { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.06; letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-sub { font-size: 18px; max-width: 500px; line-height: 1.7; margin-bottom: 42px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(212,168,67,.1); border: 1px solid var(--line-2);
  font-size: 13px; color: var(--gold); margin-bottom: 28px;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 var(--gold-glow)} 50%{box-shadow:0 0 0 6px transparent} }

/* Hero stats */
.hero-stats { display: flex; gap: 44px; margin-top: 54px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-stat b { display: block; font-family: var(--num); font-size: 32px; font-weight: 700; color: var(--text-hi); }
.hero-stat span { font-size: 12px; color: var(--text-dim); letter-spacing: .5px; }

/* Hero visual — rotating service icons ring */
.hero-visual { position: relative; height: 500px; display: flex; align-items: center; justify-content: center; }
.hero-ring {
  position: relative; width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px solid var(--line);
  animation: spin-ring 30s linear infinite;
}
.hero-ring::before {
  content: ''; position: absolute; inset: 20px; border-radius: 50%;
  border: 1px dashed var(--line-2);
}
.hero-ring-inner {
  position: absolute; inset: 60px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  animation: spin-ring 30s linear infinite reverse;
}
.ring-center {
  text-align: center; animation: spin-ring 30s linear infinite;
}
.ring-center .mark-lg {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, #C17F24 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; font-size: 28px;
}
.ring-dot {
  position: absolute; width: 44px; height: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; animation: spin-ring 30s linear infinite reverse;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
@keyframes spin-ring { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* =========================================================
   SERVICES GRID — agency multi-service style
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-tile {
  position: relative; background: var(--bg-1);
  padding: 40px 36px; overflow: hidden;
  transition: background .3s;
  cursor: pointer;
}
.service-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 100%; height: 2px;
  background: var(--tile-accent, var(--gold));
  transition: right .4s ease;
}
.service-tile:hover { background: var(--bg-2); }
.service-tile:hover::before { right: 0; }

.tile-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--tile-accent, var(--gold)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--tile-accent, var(--gold)) 30%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
  transition: transform .3s;
}
.service-tile:hover .tile-icon { transform: scale(1.1) rotate(-4deg); }
.tile-num {
  position: absolute; top: 32px; right: 32px;
  font-family: var(--num); font-size: 11px; color: var(--text-dim);
  letter-spacing: 1px;
}
.service-tile h3 { font-size: 20px; margin-bottom: 10px; }
.service-tile p  { font-size: 14px; margin-bottom: 18px; }
.tile-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--tile-accent, var(--gold));
  transition: gap .2s;
}
.service-tile:hover .tile-arrow { gap: 10px; }

/* =========================================================
   MARQUEE — scrolling logos / trust strip
   ========================================================= */
.marquee-wrap { overflow: hidden; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 24s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dim); white-space: nowrap; }
.marquee-item span { font-size: 18px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process-grid::before {
  content: ''; position: absolute;
  top: 32px; left: calc(12.5% + 16px); right: calc(12.5% + 16px);
  height: 1px; background: linear-gradient(90deg, var(--line-2), var(--gold-dim), var(--line-2));
  z-index: 0;
}
@media (max-width: 768px) { .process-grid { grid-template-columns: 1fr 1fr; } .process-grid::before { display: none; } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--num); font-size: 18px; font-weight: 700; color: var(--gold);
  transition: background .3s, box-shadow .3s;
}
.process-step:hover .step-num {
  background: var(--gold-dim); box-shadow: 0 0 0 8px var(--gold-dim);
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p  { font-size: 13.5px; }

/* =========================================================
   CARDS (general)
   ========================================================= */
.card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r); padding: 32px 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: var(--line-2); transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.card .num { font-family: var(--num); color: var(--gold); font-size: 12px; margin-bottom: 16px; display: block; letter-spacing: 1px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p  { font-size: 14.5px; margin-bottom: 0; }
.card .price { font-family: var(--num); color: var(--gold-2); font-size: 22px; margin-top: 14px; display: block; }
.service-card { cursor: pointer; }
.service-card .thumb { height: 200px; overflow: hidden; margin: -32px -28px 26px; border-radius: var(--r) var(--r) 0 0; }
.service-card .thumb img { width:100%; height:100%; object-fit:cover; transition: transform .5s; }
.service-card:hover .thumb img { transform: scale(1.08); }

.icon-badge {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--gold-dim); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
  transition: transform .3s;
}
.card:hover .icon-badge { transform: rotate(-5deg) scale(1.1); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }
.quote-card {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px; position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.quote-card::before {
  content: '"'; position: absolute; top: -10px; right: 24px;
  font-family: var(--display); font-size: 120px; color: var(--gold-dim);
  line-height: 1; pointer-events: none;
}
.quote-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; margin-bottom: 16px; }
.quote-card p { font-size: 15px; line-height: 1.75; color: var(--text-hi); font-style: italic; position: relative; z-index: 1; }
.quote-meta { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--accent-data));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 14px; color: var(--bg); font-weight: 700;
  flex-shrink: 0;
}
.quote-author { font-size: 13px; color: var(--text-mid); }
.quote-author strong { display: block; color: var(--text-hi); font-size: 14px; margin-bottom: 2px; }

/* =========================================================
   SECTION HEADING
   ========================================================= */
.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -1px; }
.section-head p  { margin-top: 16px; font-size: 16px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  padding: 80px 60px; text-align: center;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line-2);
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, var(--gold-glow), transparent);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -1px; position: relative; z-index: 1; }
.cta-banner p  { font-size: 17px; max-width: 500px; margin: 16px auto 36px; position: relative; z-index: 1; }
.cta-banner .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 600px) { .cta-banner { padding: 50px 28px; } }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 32px;
  align-items: center; justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-dim); letter-spacing: .5px;
}
.trust-item .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--gold);
}

/* =========================================================
   FORMS
   ========================================================= */
.form-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r); padding: 42px;
}
@media (max-width: 600px) { .form-card { padding: 28px 22px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 12.5px; color: var(--text-dim);
  margin-bottom: 8px; letter-spacing: .5px; text-transform: uppercase;
}
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--text-hi); padding: 13px 16px;
  font-family: var(--body); font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:valid:not(:placeholder-shown) { border-color: rgba(0,212,170,.4); }
.alert {
  padding: 14px 18px; border-radius: var(--r-sm);
  margin-bottom: 22px; font-size: 14px; border: 1px solid transparent;
}
.alert-success { background: rgba(0,212,170,.08); border-color: rgba(0,212,170,.25); color: #00D4AA; }
.alert-error   { background: rgba(255,107,107,.08); border-color: rgba(255,107,107,.25); color: #FF6B6B; }
.badge {
  display: inline-block; padding: 4px 14px; border-radius: 100px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .5px;
  border: 1px solid var(--line-2); color: var(--gold);
}
.badge.success  { border-color: rgba(0,212,170,.3); color: #00D4AA; background: rgba(0,212,170,.08); }
.badge.warning  { border-color: rgba(212,168,67,.3); color: var(--gold); background: var(--gold-dim); }
.badge.muted    { border-color: var(--line); color: var(--text-dim); background: transparent; }
.badge.danger   { border-color: rgba(255,107,107,.3); color: #FF6B6B; background: rgba(255,107,107,.08); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(135deg, #F8F7F4 0%, #F2F0ED 100%);
  border-top: 2px solid var(--line);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--num); font-size: 11px; color: var(--text-dim);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px;
}
.footer-grid a {
  display: block; font-size: 14px; color: var(--text-mid);
  margin-bottom: 11px; transition: color .2s;
}
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line-3);
  font-size: 13px; color: var(--text-dim); flex-wrap: wrap; gap: 12px;
}
.footer-logo { font-family: var(--display); font-size: 20px; color: var(--text-hi); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }

/* =========================================================
   MOBILE CTA BAR
   ========================================================= */
.mobile-cta-bar {
  display: none; position: fixed; bottom: 0; inset-inline: 0; z-index: 150;
  background: rgba(253,252,250,.95); backdrop-filter: blur(12px);
  border-top: 2px solid var(--line); box-shadow: 0 -4px 20px rgba(184,134,11,.1);
  padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
@media (max-width: 768px) { .mobile-cta-bar { display: flex; gap: 10px; } body { padding-bottom: 74px; } }
.mobile-cta-bar .btn { flex: 1; justify-content: center; }

/* =========================================================
   ANIMATIONS & REVEAL
   Elements start visible. JS adds .will-reveal before
   observing, then .in on intersect. This prevents
   blank pages when JS is slow or observer misses elements.
   ========================================================= */
.will-reveal         { opacity: 0; transform: translateY(24px);  transition: opacity .65s ease, transform .65s ease; }
.will-reveal.in      { opacity: 1; transform: none; }
.will-reveal-left    { opacity: 0; transform: translateX(-30px); transition: opacity .65s ease, transform .65s ease; }
.will-reveal-right   { opacity: 0; transform: translateX( 30px); transition: opacity .65s ease, transform .65s ease; }
.will-reveal-left.in,
.will-reveal-right.in { opacity: 1; transform: none; }

/* Legacy .reveal — keep fully visible (fallback for old pages) */
.reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .will-reveal, .will-reveal-left, .will-reveal-right { opacity: 1; transform: none; transition: none; }
}
.btn[data-loading="true"] { opacity: .65; pointer-events: none; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; background: none; border: none; color: var(--text-hi); cursor: pointer;
  padding: 24px 0; font-family: var(--display); font-size: 18px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2); display: flex; align-items: center;
  justify-content: center; font-size: 14px; transition: transform .3s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--bg); border-color: var(--gold); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer-inner { padding-bottom: 24px; font-size: 15px; max-width: 700px; }

/* =========================================================
   PROSE (rich text from WYSIWYG)
   ========================================================= */
.prose { color: var(--text-mid); font-size: 16px; line-height: 1.9; }
.prose h2,.prose h3,.prose h4 { color: var(--text-hi); margin: 1.8em 0 .7em; }
.prose h2 { font-size: 26px; } .prose h3 { font-size: 21px; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--gold); text-decoration: underline; }
.prose ul,.prose ol { padding-left: 1.6em; margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 24px 0; padding: 12px 20px; background: var(--bg-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-style: italic; color: var(--text-hi); }
.prose pre,.prose code { background: var(--bg-2); border-radius: var(--r-sm); font-family: 'Courier New', monospace; font-size: 14px; }
.prose pre { padding: 18px 22px; overflow-x: auto; margin: 0 0 18px; }
.prose code { padding: 2px 7px; }
.prose img { border-radius: var(--r-sm); margin: 22px 0; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.prose th,.prose td { border: 1px solid var(--line); padding: 11px 15px; }
.prose th { background: var(--bg-2); color: var(--text-hi); }

/* =====================================================
   Enhanced System Styles - Quote, Booking, Chat
   ===================================================== */

/* Enhanced Chat System Styles */
.chat-message {
    display: flex;
    margin-bottom: 12px;
    animation: messageSlideIn 0.3s ease-out;
}

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

.message-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
}

.message-bubble.own {
    background: var(--gold);
    color: var(--ink-950);
    border-bottom-right-radius: 6px;
    margin-left: auto;
}

.message-bubble.other {
    background: var(--ink-700);
    color: var(--ivory);
    border-bottom-left-radius: 6px;
    margin-right: auto;
}

.message-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
}

.admin-info {
    font-size: 10px;
    opacity: 0.7;
    margin-bottom: 2px;
    font-weight: 600;
}

.file-message, .image-message {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-message a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.file-message a:hover {
    text-decoration: underline;
}

.image-message img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.image-message img:hover {
    transform: scale(1.05);
}

.connection-error {
    text-align: center;
    padding: 12px;
    background: var(--ink-700);
    border: 1px solid #ef4444;
    border-radius: 8px;
    margin: 10px 0;
    color: #ef4444;
    font-size: 12px;
    animation: errorPulse 2s infinite;
}

@keyframes errorPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.connection-error button {
    margin-left: 8px;
    padding: 4px 8px;
    background: var(--gold);
    color: var(--ink-950);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    transition: background 0.2s ease;
}

.connection-error button:hover {
    background: #b8941f;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 4px 0;
    opacity: 0.8;
}

.typing-dots {
    display: flex;
    gap: 2px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--text-dim);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Quote Request Form Styles */
.quote-form .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.quote-form .card-header {
    background: linear-gradient(135deg, var(--gold), #b8941f);
    color: var(--ink-950);
    font-weight: 600;
    border-bottom: none;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 161, 94, 0.25);
}

.quote-form .form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

/* Booking System Styles */
.booking-calendar {
    background: var(--ink-900);
    border-radius: 12px;
    padding: 1.5rem;
}

.time-slot {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    background: var(--ink-700);
    color: var(--ivory);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 14px;
}

.time-slot:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: var(--gold);
    color: var(--ink-950);
    border-color: var(--gold);
}

.time-slot.unavailable {
    background: var(--ink-800);
    color: var(--text-dim);
    border-color: var(--ink-600);
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot.unavailable:hover {
    transform: none;
    border-color: var(--ink-600);
    color: var(--text-dim);
}

/* Admin Interface Enhancements */
.admin-card {
    background: var(--ink-900);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--line);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Priority and Status Badges */
.priority-urgent {
    background: #dc3545 !important;
    color: white !important;
    animation: priorityPulse 2s infinite;
}

@keyframes priorityPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.priority-high {
    background: #fd7e14 !important;
    color: white !important;
}

.priority-normal {
    background: #6c757d !important;
    color: white !important;
}

.priority-low {
    background: #6f42c1 !important;
    color: white !important;
}

.status-pending {
    background: #ffc107 !important;
    color: var(--ink-950) !important;
}

.status-confirmed {
    background: #28a745 !important;
    color: white !important;
}

.status-completed {
    background: #007bff !important;
    color: white !important;
}

.status-cancelled {
    background: #dc3545 !important;
    color: white !important;
}

/* Enhanced Tables */
.enhanced-table {
    background: var(--ink-900);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.enhanced-table thead {
    background: var(--ink-800);
}

.enhanced-table th {
    color: var(--gold);
    font-weight: 600;
    padding: 1rem;
    border-bottom: 2px solid var(--line);
}

.enhanced-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.enhanced-table tbody tr:hover {
    background: var(--ink-800);
}

/* Meeting Type Icons */
.meeting-type-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    text-align: center;
}

/* Notification Enhancements */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: notificationPop 0.5s ease;
}

@keyframes notificationPop {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--line);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-skeleton {
    background: linear-gradient(90deg, var(--ink-800) 25%, var(--ink-700) 50%, var(--ink-800) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Success Animations */
.success-checkmark {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: #28a745;
    border-radius: 50%;
    position: relative;
    animation: checkmarkScale 0.3s ease;
}

.success-checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: 600;
}

@keyframes checkmarkScale {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .admin-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .enhanced-table th,
    .enhanced-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .time-slot {
        padding: 6px 12px;
        font-size: 13px;
        margin: 2px;
    }
    
    .message-bubble {
        max-width: 90%;
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* =========================================================
   LUXURY LIGHT THEME ENHANCEMENTS
   ========================================================= */

/* Enhanced gradients for luxury feel */
.text-gradient-luxury {
  background: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #F4D03F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-success {
  background: linear-gradient(135deg, #06A77D 0%, #4CC9F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Luxury buttons with enhanced styles */
.btn-luxury {
  background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(184,134,11,.3);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  font-weight: 600;
}

.btn-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184,134,11,.4);
  background: linear-gradient(135deg, #DAA520 0%, #F4D03F 100%);
}

.btn-outline-luxury {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  transition: all 0.3s ease;
}

.btn-outline-luxury:hover {
  background: var(--gold);
  color: white;
  box-shadow: 0 4px 15px rgba(184,134,11,.3);
}

/* Enhanced cards with luxury shadows */
.card-luxury {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8F7F4 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 
    0 4px 20px rgba(184,134,11,.1),
    0 1px 3px rgba(26,27,35,.05);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.card-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card-luxury:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(184,134,11,.2),
    0 4px 12px rgba(26,27,35,.1);
  border-color: var(--gold);
}

.card-luxury:hover::before {
  transform: scaleX(1);
}

/* Hero section with light luxury background */
.hero-bg-luxury {
  background: 
    radial-gradient(ellipse at top, rgba(244,208,63,.08) 0%, transparent 70%),
    radial-gradient(ellipse at bottom right, rgba(46,134,171,.06) 0%, transparent 70%),
    linear-gradient(135deg, #FDFCFA 0%, #F8F7F4 100%);
}

/* Success indicators and badges */
.badge-success-luxury {
  background: linear-gradient(135deg, rgba(6,167,125,.1) 0%, rgba(76,201,240,.1) 100%);
  border: 1px solid rgba(6,167,125,.3);
  color: #155724;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
}

.badge-luxury {
  background: linear-gradient(135deg, rgba(184,134,11,.1) 0%, rgba(218,165,32,.1) 100%);
  border: 1px solid rgba(184,134,11,.3);
  color: var(--gold);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
}

/* Enhanced navigation for light theme */
.site-header.scrolled {
  background: rgba(253,252,250,.95);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 8px 40px rgba(184,134,11,.15);
}

/* Optimistic color variations for different moods */
.accent-trust { color: var(--accent-data); }
.accent-energy { color: var(--accent-brand); }
.accent-growth { color: var(--accent-web); }
.accent-creative { color: var(--accent-mkt); }
.accent-luxury { color: var(--accent-design); }
.accent-tech { color: var(--accent-ai); }

.bg-accent-trust { background: rgba(46,134,171,.1); }
.bg-accent-energy { background: rgba(230,57,70,.1); }
.bg-accent-growth { background: rgba(6,167,125,.1); }
.bg-accent-creative { background: rgba(247,127,0,.1); }
.bg-accent-luxury { background: rgba(114,9,183,.1); }
.bg-accent-tech { background: rgba(76,201,240,.1); }

/* Enhanced form styling */
.form-luxury input,
.form-luxury textarea,
.form-luxury select {
  background: #FFFFFF;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.form-luxury input:focus,
.form-luxury textarea:focus,
.form-luxury select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184,134,11,.1);
  background: #FDFCFA;
}

/* Success animations and micro-interactions */
@keyframes success-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.success-animation {
  animation: success-pulse 0.6s ease-in-out;
}

/* Optimistic loading states */
.loading-luxury {
  background: linear-gradient(90deg, 
    var(--bg-2) 25%, 
    var(--bg-1) 50%, 
    var(--bg-2) 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Enhanced testimonials */
.testimonial-luxury {
  position: relative;
  padding: 32px;
  background: linear-gradient(145deg, #FFFFFF 0%, #F8F7F4 100%);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(184,134,11,.1);
}

.testimonial-luxury::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 60px;
  color: var(--gold);
  opacity: 0.3;
}

/* Statistics and numbers highlighting */
.stat-luxury {
  text-align: center;
  padding: 24px;
}

.stat-luxury .number {
  font-size: 48px;
  font-weight: 800;
  background: var(--text-gradient-luxury);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-luxury .label {
  font-size: 14px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Service category specific styling */
.service-data { border-left: 4px solid var(--accent-data); }
.service-brand { border-left: 4px solid var(--accent-brand); }
.service-web { border-left: 4px solid var(--accent-web); }
.service-marketing { border-left: 4px solid var(--accent-mkt); }
.service-design { border-left: 4px solid var(--accent-design); }
.service-ai { border-left: 4px solid var(--accent-ai); }

/* Responsive enhancements for mobile */
@media (max-width: 768px) {
  .hero-bg-luxury {
    background: 
      radial-gradient(circle at center, rgba(244,208,63,.06) 0%, transparent 60%),
      var(--bg);
  }
  
  .card-luxury {
    border-radius: 12px;
  }
  
  .btn-luxury {
    padding: 14px 24px;
    font-size: 14px;
  }
}


/* =========================================================
   HOMEPAGE REDESIGN — New card & layout styles
   ========================================================= */

/* ── Reveal: hero elements show instantly, no delay ── */
/* Hero never hides — .reveal stays opacity:1 by default */

/* ── Stagger: cosmetic only, applied via will-reveal ── */
  .hero > .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .hero > .container > div > div:last-child {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ── Service card hover ── */
a.service-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(184,134,11,.14), 0 4px 12px rgba(0,0,0,.06);
  border-color: var(--gold) !important;
  text-decoration: none;
}
a.service-tile:hover img {
  transform: scale(1.05);
}
a.service-tile:hover span[style*="→"] {
  transform: translateX(4px);
}

/* ── Project / blog article card hover ── */
article[onclick]:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(184,134,11,.12), 0 3px 10px rgba(0,0,0,.05);
}
article[onclick]:hover img {
  transform: scale(1.04);
}

/* ── Client logo strip ── */
@media (max-width: 640px) {
  section[style*="padding:56px 0"] > .container > div[style*="flex"] {
    gap: 14px !important;
  }
}

/* ── Responsive grid: services ── */
@media (max-width: 720px) {
  div[style*="grid-template-columns:repeat(auto-fill, minmax(300px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Blog card image placeholder ── */
article .blog-thumb-placeholder {
  width: 100%; height: 190px;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; opacity: .2;
}

/* ── Hero stat cards ── */
.hero .stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(184,134,11,.12) !important;
}

/* ── Section eyebrow line consistency ── */
.eyebrow-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 16px; font-family: var(--num);
}
.eyebrow-line::before,
.eyebrow-line::after {
  content: ''; display: block;
  width: 24px; height: 1px;
  background: var(--gold); opacity: .5;
}

/* ── Image zoom on hover (service & project cards) ── */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform .4s ease; }
.img-zoom:hover img { transform: scale(1.05); }

/* ── Marquee items — match real service titles ── */
.marquee-item { font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ── Blog read-more arrow animation ── */
article[onclick]:hover div[style*="Read Article"] {
  letter-spacing: .5px;
}

/* =========================================================
   GRID UTILITY CLASSES
   Used across service-details.php, service-landing.php,
   and other pages that rely on .grid-2 / .grid-3
   ========================================================= */
.grid {
  display: grid;
  gap: 32px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr !important; }
  .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr !important; }
}

/* =========================================================
   MOBILE OVERFLOW PREVENTION — global safety net
   Prevents any element from exceeding viewport width
   ========================================================= */
@media (max-width: 768px) {
  /* Prevent horizontal scroll from fixed-width inline elements */
  [style*="grid-template-columns:1fr 420px"],
  [style*="grid-template-columns:1fr 480px"],
  [style*="grid-template-columns: 1fr 420px"],
  [style*="grid-template-columns: 1fr 480px"] {
    grid-template-columns: 1fr !important;
  }

  /* Prevent min-width on cards from overflowing */
  [style*="min-width:300px"],
  [style*="min-width: 300px"] {
    min-width: 0 !important;
    width: 100% !important;
  }

  /* Inline-block pricing card — make it full width */
  [style*="display:inline-block"][style*="padding:40px 56px"] {
    display: block !important;
    width: 100% !important;
    padding: 28px 20px !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   SERVICES PAGE — category filter wrap on mobile
   ========================================================= */
@media (max-width: 480px) {
  .svc-filter-row a {
    padding: 8px 12px !important;
    font-size: 12px !important;
    border-radius: 20px !important;
  }
}
