/* ============================================================
   JOSMAP TRAINING INSTITUTE — MAIN STYLESHEET
   Theme: Deep Midnight · Warm Ivory · Electric Amber
   Aesthetic: Editorial luxury — sharp geometry, editorial grid,
              refined typography, bold negative space
   Fonts: Cormorant Garamond (display) + Plus Jakarta Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Palette */
  --midnight:    #0B0F1A;
  --midnight-2:  #111827;
  --midnight-3:  #1C2435;
  --amber:       #E8A020;
  --amber-light: #F5BC52;
  --amber-pale:  #FDF3DC;
  --ivory:       #F8F4ED;
  --ivory-2:     #EDE8DF;
  --slate:       #6B7589;
  --slate-light: #9AA3B5;
  --slate-border:#2E3848;
  --white:       #FFFFFF;
  --black:       #000000;

  /* Semantic */
  --success: #2D9E6B;
  --error:   #D94040;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Layout */
  --container-max:   1320px;
  --section-pad:     110px;
  --nav-h:           76px;

  /* Motion */
  --t-fast:  0.15s ease;
  --t-base:  0.3s cubic-bezier(.4,0,.2,1);
  --t-slow:  0.55s cubic-bezier(.4,0,.2,1);

  /* Elevation */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.22);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.3);

  /* Amber glow */
  --glow-amber: 0 0 40px rgba(232,160,32,0.2);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--midnight-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--midnight);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--slate); line-height: 1.75; }

.text-gradient {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: var(--midnight);
  color: var(--white);
  border-color: var(--midnight);
}
.btn-primary:hover {
  background: var(--midnight-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: var(--amber);
  color: var(--midnight);
  border-color: var(--amber);
  font-weight: 800;
}
.btn-gold:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,160,32,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--midnight);
  border-color: var(--midnight);
}
.btn-outline:hover {
  background: var(--midnight);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--midnight);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--ivory);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-full { width: 100%; }

/* ── NAVIGATION ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all var(--t-base);
  animation: navSlideDown 0.7s ease both;
}
@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* Nav — transparent on hero pages, solid when scrolled */
.navbar:not(.scrolled) {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar.scrolled {
  background: rgba(11,15,26,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,160,32,0.15);
  box-shadow: 0 4px 40px rgba(0,0,0,0.35);
}
/* Navbar solid variant (non-hero pages) */
.navbar.solid {
  background: var(--midnight);
  border-bottom: 1px solid rgba(232,160,32,0.15);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: filter var(--t-base);
}
.nav-logo img:hover {
  filter: brightness(0) saturate(100%) invert(68%) sepia(60%) saturate(700%) hue-rotate(5deg) brightness(100%);
}
.nav-logo span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: all var(--t-fast);
  position: relative;
  border-radius: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 20px; right: 20px;
  height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.nav-link.nav-cta {
  background: var(--amber);
  color: var(--midnight);
  font-weight: 800;
  margin-left: 12px;
  padding: 10px 22px;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover {
  background: var(--amber-light);
  color: var(--midnight);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  transition: all var(--t-fast);
  border-radius: 1px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── FLASH MESSAGES ── */
.flash-container {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  right: 20px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
}
.flash-message {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-md);
  animation: flashSlide 0.35s ease;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
}
@keyframes flashSlide {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.flash-success { background: var(--success); color: var(--white); }
.flash-error   { background: var(--error);   color: var(--white); }
.flash-info    { background: var(--midnight); color: var(--white); border-left: 3px solid var(--amber); }
.flash-close { background: none; border: none; font-size: 22px; cursor: pointer; opacity: 0.7; color: inherit; transition: opacity var(--t-fast); }
.flash-close:hover { opacity: 1; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--midnight);
  isolation: isolate;
}

/* Noise grain texture overlay */
.hero::before {
  content: '';
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-wrapper { position: absolute; inset: 0; z-index: 0; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #080C15 0%, #0F1827 50%, #1A2540 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 15% 40%, rgba(232,160,32,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(11,15,26,0.6) 0%, transparent 60%);
}
.hero-bg.image-mode {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg.image-mode::after {
  background: linear-gradient(to right, rgba(8,12,21,0.88) 0%, rgba(8,12,21,0.55) 55%, rgba(8,12,21,0.2) 100%);
}
.hero-bg.carousel-mode::after {
  background: linear-gradient(to right, rgba(8,12,21,0.88) 0%, rgba(8,12,21,0.55) 55%, rgba(8,12,21,0.2) 100%);
}

.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  background-size: cover;
  background-position: center;
}
.carousel-slide.active { opacity: 1; }

.hero-pattern {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.025) 79px,
      rgba(255,255,255,0.025) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.025) 79px,
      rgba(255,255,255,0.025) 80px
    );
}

/* ── PC HARDWARE CARD CLUSTER ── */
.hero-card-cluster {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-48%);
  width: 400px;
  height: 420px;
  z-index: 3;
  pointer-events: none;
}

/* Hardware Card Base */
.hardware-card {
  position: absolute;
  width: 320px;
  background: rgba(20, 28, 40, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.7), 0 0 0 1px rgba(232,160,32,0.2);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  pointer-events: all;
  border: 1px solid rgba(232,160,32,0.3);
}

.hardware-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,160,32,0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hardware-card-header {
  padding: 16px 18px 8px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(232,160,32,0.2);
}

.chip-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-light);
}

.chip-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #2A3A5A, #1A2540);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--amber);
}

.spec-tag {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.4);
  padding: 4px 8px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.hardware-card-body {
  padding: 18px;
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.component-slot {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}

.slot-label {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.slot-value {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber-light);
}

.slot-detail {
  font-size: 7px;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
}

.pcie-slot {
  background: rgba(232,160,32,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(232,160,32,0.15);
  margin-bottom: 12px;
}

.pcie-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, #2A1A08, #1A1005);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.pcie-info {
  flex: 1;
}

.pcie-model {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}

.pcie-spec {
  font-size: 7px;
  color: rgba(255,255,255,0.35);
}

.connector-row {
  display: flex;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.connector {
  flex: 1;
  height: 24px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  position: relative;
}

.connector::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  transform: translateY(-50%);
  border-radius: 1px;
}

.hardware-footer {
  padding: 10px 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qr-code {
  width: 32px;
  height: 32px;
  background: repeating-linear-gradient(45deg, rgba(232,160,32,0.3) 0px, rgba(232,160,32,0.3) 2px, transparent 2px, transparent 6px);
  border-radius: 4px;
}

.warranty-badge {
  font-size: 7px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

/* Individual Hardware Cards */
.hardware-card-1 {
  top: 0;
  left: 0;
  transform: rotate(-4deg);
  animation: cardFloat1 4.5s ease-in-out infinite;
  z-index: 3;
}

.hardware-card-2 {
  top: 68px;
  left: 48px;
  transform: rotate(3deg);
  animation: cardFloat2 5s ease-in-out infinite 0.9s;
  z-index: 2;
  opacity: 0.92;
}

.hardware-card-3 {
  top: 138px;
  left: 18px;
  transform: rotate(-2deg);
  animation: cardFloat1 5.5s ease-in-out infinite 1.8s;
  z-index: 1;
  opacity: 0.85;
}

@keyframes cardFloat1 {
  0%, 100% { transform: rotate(-4deg) translateY(0px); }
  50%       { transform: rotate(-4deg) translateY(-18px); }
}

@keyframes cardFloat2 {
  0%, 100% { transform: rotate(3deg) translateY(0px); }
  50%       { transform: rotate(3deg) translateY(-14px); }
}

/* CPU Socket Detail */
.cpu-socket {
  background: linear-gradient(145deg, #1A1A2A, #0F0F1A);
  border-radius: 6px;
  padding: 6px;
  margin-bottom: 12px;
  text-align: center;
  border: 1px solid rgba(232,160,32,0.15);
}

.cpu-text {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
}

/* RAM Module Style */
.ram-module {
  background: linear-gradient(90deg, #1A1A2A 0%, #2A2A3A 50%, #1A1A2A 100%);
  border-radius: 4px;
  padding: 8px 12px;
  margin: 8px 0;
  position: relative;
  overflow: hidden;
}

.ram-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.ram-chips {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.ram-chip {
  width: 8px;
  height: 16px;
  background: rgba(232,160,32,0.4);
  border-radius: 2px;
}

/* Floating stat pills */
.hero-stat {
  position: absolute;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 18px;
  z-index: 4;
  pointer-events: all;
  animation: floatPill 3.5s ease-in-out infinite;
  min-width: 150px;
}
.hero-stat-1 { top: 6%;  right: 2%; animation-delay: 0s; }
.hero-stat-2 { bottom: 10%; left: 48%; animation-delay: 0.6s; }
@keyframes floatPill {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.hs-val   { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--white); line-height: 1; }
.hs-label { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 3px; letter-spacing: 0.3px; }
.hs-green { color: var(--amber); font-size: 11px; font-weight: 700; margin-top: 4px; }

/* Hero layout */
.hero-content { width: 100%; position: relative; z-index: 2; }
.hero-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
  padding-top: var(--nav-h);
  padding-bottom: 80px;
}

.hero-text { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.3);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  animation: dotPulse 1.8s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(232,160,32,0.5); }
  50%       { opacity: 0.6; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(232,160,32,0); }
}

.hero-text h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.35s ease both;
  font-weight: 600;
}
.hero-text h1 span,
.hero-text h1 em {
  color: var(--amber);
  font-style: italic;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 42px;
  line-height: 1.8;
  max-width: 460px;
  animation: fadeUp 0.7s 0.5s ease both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.65s ease both;
}

/* Hero visual decorative shapes */
.hero-visual { position: relative; height: 520px; }
.hero-shape {
  position: absolute;
  border: 1px solid rgba(232,160,32,0.12);
  animation: shapeFloat 7s ease-in-out infinite;
}
.hero-shape-1 { width: 280px; height: 280px; top: 8%; right: 8%; animation-delay: 0s; border-radius: 2px; transform: rotate(15deg); }
.hero-shape-2 { width: 180px; height: 180px; bottom: 22%; right: 28%; animation-delay: -2.5s; border-radius: 50%; border-color: rgba(232,160,32,0.08); }
.hero-shape-3 { width: 120px; height: 120px; top: 38%; right: 0; animation-delay: -4.5s; border-radius: 2px; transform: rotate(45deg); border-color: rgba(255,255,255,0.06); }
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50%       { transform: translateY(-22px) rotate(18deg); }
}
.hero-shape-2 { animation-name: shapeFloat2; }
@keyframes shapeFloat2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-16px) scale(1.04); }
}
.hero-shape-3 { animation-name: shapeFloat3; }
@keyframes shapeFloat3 {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50%       { transform: translateY(-10px) rotate(50deg); }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  z-index: 2;
  animation: fadeUp 0.7s 1s ease both;
}
.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
}
.scroll-indicator {
  width: 24px; height: 40px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 8px;
  background: var(--amber);
  border-radius: 2px;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  60%       { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ── MARQUEE ── */
.marquee-wrapper {
  background: var(--amber);
  overflow: hidden;
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
/* Fade edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--amber), transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(to left,  var(--amber), transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRoll 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: stretch;
  white-space: nowrap;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 44px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  color: var(--midnight);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.marquee-item svg { opacity: 0.65; flex-shrink: 0; }
.marquee-sep {
  width: 4px; height: 4px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  align-self: center;
  flex-shrink: 0;
}
@keyframes marqueeRoll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTION SHARED ── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(232,160,32,0.1);
  color: var(--amber);
  border: 1px solid rgba(232,160,32,0.25);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  border-radius: 2px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── FEATURES ── */
.features {
  padding: var(--section-pad) 0;
  background: var(--ivory);
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ivory-2), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 2px solid var(--midnight);
}
.feature-card {
  background: var(--white);
  padding: 42px 32px;
  text-align: center;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  border-right: 2px solid var(--midnight);
}
.feature-card:last-child { border-right: none; }
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--midnight);
  transform: translateY(101%);
  transition: transform var(--t-slow);
  z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover::before { transform: translateY(0); }
.feature-card:hover h3,
.feature-card:hover p { color: var(--white); }
.feature-card:hover .feature-icon {
  background: rgba(232,160,32,0.15);
  border-color: rgba(232,160,32,0.3);
}
.feature-card:hover .feature-icon svg { stroke: var(--amber); }

.feature-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  background: var(--ivory);
  border: 2px solid var(--ivory-2);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all var(--t-base);
}
.feature-icon svg { width: 30px; height: 30px; stroke: var(--midnight); transition: stroke var(--t-base); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--midnight); transition: color var(--t-base); }
.feature-card p  { font-size: 14px; line-height: 1.7; transition: color var(--t-base); }

/* ── STATS ── */
.stats {
  padding: 90px 0;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 10% 50%, rgba(232,160,32,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 50%, rgba(232,160,32,0.04) 0%, transparent 60%);
  pointer-events: none;
}
/* Grid lines */
.stats::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 80px);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--t-base);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(232,160,32,0.04); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
.stat-number::after { content: '+'; color: var(--amber); }
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ── ABOUT PREVIEW ── */
.about-preview { padding: var(--section-pad) 0; background: var(--ivory); }
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-preview-image { position: relative; }
.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 2px;
  background: var(--ivory-2);
}
.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,160,32,0.05) 0%, transparent 60%);
  z-index: 1;
  transition: opacity var(--t-base);
}
.image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.image-frame:hover img { transform: scale(1.04); }
.image-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ivory-2), var(--ivory));
}
.image-placeholder svg { width: 80px; height: 80px; stroke: var(--ivory-2); opacity: 0.5; }

.experience-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--midnight);
  color: var(--white);
  padding: 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border-bottom: 4px solid var(--amber);
  border-radius: 2px;
}
.exp-number { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--amber); line-height: 1; }
.exp-text   { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.6; margin-top: 4px; display: block; }

.about-preview-content .section-badge { text-align: left; }
.about-preview-content h2 { margin-bottom: 20px; text-align: left; }
.about-preview-content > p { font-size: 1rem; margin-bottom: 32px; line-height: 1.85; }
.about-list { margin-bottom: 42px; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: var(--midnight-2);
  border-bottom: 1px solid var(--ivory-2);
  font-size: 15px;
  font-weight: 500;
  transition: padding-left var(--t-fast);
}
.about-list li:last-child { border-bottom: none; }
.about-list li:hover { padding-left: 6px; }
.about-list svg { width: 20px; height: 20px; fill: var(--amber); flex-shrink: 0; }

/* ── SERVICES PREVIEW ── */
.services-preview {
  padding: var(--section-pad) 0;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}
.services-preview::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px);
  pointer-events: none;
}
.services-preview .section-badge {
  background: rgba(232,160,32,0.1);
  border-color: rgba(232,160,32,0.3);
  color: var(--amber-light);
}
.services-preview h2 { color: var(--white); }
.services-preview .section-header p { color: rgba(255,255,255,0.45); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
  border-radius: 2px;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.service-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(232,160,32,0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.service-card:hover::before { transform: scaleX(1); }
.service-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}
.service-card h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 14px; }
.service-card p  { color: rgba(255,255,255,0.4); line-height: 1.75; margin-bottom: 28px; font-size: 14px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap var(--t-fast);
}
.service-link:hover { gap: 12px; }
.services-cta { text-align: center; margin-top: 56px; }
.services-cta .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.services-cta .btn-outline:hover {
  background: var(--white);
  color: var(--midnight);
  border-color: var(--white);
}

/* ── BLOG PREVIEW ── */
.blog-preview { padding: var(--section-pad) 0; background: var(--ivory); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--ivory-2);
  border-radius: 2px;
  transition: all var(--t-base);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.blog-card-image { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.blog-card:hover .blog-card-image img { transform: scale(1.07); }
.blog-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--ivory-2), var(--ivory));
  display: flex; align-items: center; justify-content: center;
}
.blog-placeholder svg { width: 60px; height: 60px; stroke: var(--ivory-2); }
.blog-card-content { padding: 30px 28px; }
.blog-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.blog-card-content h3 { margin: 10px 0 10px; font-size: 1.3rem; line-height: 1.3; }
.blog-card-content h3 a { color: var(--midnight); transition: color var(--t-fast); }
.blog-card-content h3 a:hover { color: var(--amber); }
.blog-card-content p { font-size: 14px; line-height: 1.75; margin-bottom: 18px; }
.blog-link { color: var(--midnight); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }
.blog-cta { text-align: center; margin-top: 52px; }

/* ── CTA SECTION ── */
.cta-section {
  padding: 120px 0;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(232,160,32,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(232,160,32,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.cta-bg { display: none; }
.cta-section .container { position: relative; z-index: 1; }
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 { color: var(--white); margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.5rem); }
.cta-content p  { color: rgba(255,255,255,0.5); font-size: 1.1rem; margin-bottom: 48px; line-height: 1.8; }

/* Decorative amber line */
.cta-content::before {
  content: '';
  display: block;
  width: 60px; height: 2px;
  background: var(--amber);
  margin: 0 auto 32px;
}

/* ── FOOTER ── */
.footer {
  background: #060A12;
  color: rgba(255,255,255,0.5);
  position: relative;
  padding-top: 0;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(232,160,32,0.3), transparent);
}
.footer-wave { display: none; }
.footer-content { padding: 80px 0 40px; position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.footer-logo img {
  height: 44px; width: auto; object-fit: contain;
}
.footer-logo span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.4); margin-bottom: 28px; max-width: 320px; }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
  border-radius: 2px;
}
.footer-social a:hover { background: var(--amber); border-color: var(--amber); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; fill: rgba(255,255,255,0.4); transition: fill var(--t-fast); }
.footer-social a:hover svg { fill: var(--midnight); }

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 28px; height: 2px;
  background: var(--amber);
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  transition: all var(--t-fast);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '—'; opacity: 0; transition: opacity var(--t-fast); }
.footer-links a:hover { color: var(--amber-light); padding-left: 4px; }
.footer-links a:hover::before { opacity: 0.5; }

.footer-contact ul { display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.4); }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; stroke: var(--amber); margin-top: 3px; }

.footer-bottom {
  padding-top: 28px;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 0.03em; }

/* ── PAGE HEADER (non-home pages) ── */
.page-header {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  overflow: hidden;
  background: var(--midnight);
}
.page-header-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #060A12 0%, #0F1827 60%, #1A2540 100%);
  z-index: 0;
}
.page-header-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 20% 50%, rgba(232,160,32,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(232,160,32,0.04) 0%, transparent 60%);
}
.page-header-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.3);
  font-size: 11px; font-weight: 700;
  color: var(--amber-light);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 2px;
}
.page-header-content h1 { color: var(--white); margin-bottom: 20px; }
.page-header-content p  { font-size: 1.15rem; color: rgba(255,255,255,0.5); }

/* ── ABOUT PAGE ── */
.about-story { padding: var(--section-pad) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.story-content h2 { margin-bottom: 24px; }
.story-content p  { font-size: 1rem; line-height: 1.85; margin-bottom: 18px; }

.mission-vision { padding: 90px 0; background: var(--midnight); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; z-index: 1; }
.mv-card {
  background: rgba(255,255,255,0.03);
  padding: 52px 44px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  transition: all var(--t-base);
}
.mv-card:hover { border-color: rgba(232,160,32,0.25); transform: translateY(-6px); }
.mv-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.2);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.mv-icon svg { width: 36px; height: 36px; stroke: var(--amber); }
.mv-card h3 { color: var(--white); margin-bottom: 16px; font-size: 1.6rem; }
.mv-card p  { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.45); }

.core-values { padding: var(--section-pad) 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
  padding: 40px 36px;
  border: 2px solid var(--ivory-2);
  border-radius: 2px;
  transition: all var(--t-base);
}
.value-card:hover { border-color: var(--amber); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-number { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: var(--ivory-2); margin-bottom: 16px; }
.value-card h3 { margin-bottom: 12px; }
.value-card p  { font-size: 14px; line-height: 1.75; }

.team-section { padding: var(--section-pad) 0; background: var(--ivory); }

/* ── SERVICES PAGE ── */
.services-full { padding: var(--section-pad) 0; }
.services-list { display: flex; flex-direction: column; gap: 72px; }
.service-full-card { display: grid; grid-template-columns: 110px 1fr; gap: 56px; align-items: start; }
.service-full-card.reverse { direction: rtl; }
.service-full-card.reverse > * { direction: ltr; }
.service-full-icon {
  width: 100px; height: 100px;
  background: var(--midnight);
  border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 2px;
}
.service-full-icon svg { width: 44px; height: 44px; stroke: var(--amber); }
.service-full-number {
  position: absolute; top: -20px; right: 0;
  font-size: 6rem; font-weight: 700;
  color: var(--ivory-2); line-height: 1; z-index: -1;
  font-family: var(--font-display);
}
.service-full-content { position: relative; }
.service-full-content h3 { font-size: 1.75rem; margin-bottom: 16px; }
.service-full-content > p { line-height: 1.85; margin-bottom: 24px; }
.service-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-features li { display: flex; align-items: center; gap: 12px; color: var(--midnight-2); font-size: 14px; font-weight: 500; }
.service-features li::before { content: ''; width: 8px; height: 8px; background: var(--amber); flex-shrink: 0; border-radius: 1px; }

.process-section { padding: var(--section-pad) 0; background: var(--ivory); }
.process-timeline { display: flex; flex-direction: column; gap: 0; max-width: 820px; margin: 0 auto; }
.process-step { display: flex; gap: 48px; padding: 44px 0; position: relative; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 35px; top: 108px; bottom: -44px;
  width: 1px;
  background: linear-gradient(to bottom, var(--ivory-2), transparent);
}
.process-number {
  width: 70px; height: 70px;
  background: var(--midnight);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
  border-radius: 2px;
  transition: all var(--t-base);
}
.process-step:hover .process-number { background: var(--amber); color: var(--midnight); }
.process-content h3 { font-size: 1.5rem; margin-bottom: 10px; }
.process-content p  { font-size: 1rem; line-height: 1.75; }

/* ── CONTACT PAGE ── */
.contact-section { padding: var(--section-pad) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 90px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { font-size: 1rem; line-height: 1.75; margin-bottom: 44px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 44px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon {
  width: 52px; height: 52px;
  background: var(--ivory-2);
  border-left: 3px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base);
}
.contact-item:hover .contact-icon { background: var(--midnight); }
.contact-item:hover .contact-icon svg { stroke: var(--amber); }
.contact-icon svg { width: 22px; height: 22px; stroke: var(--midnight); transition: stroke var(--t-fast); }
.contact-text h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 4px; }
.contact-text p  { color: var(--midnight-2); font-size: 14px; font-weight: 500; }

.contact-social h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 16px; color: var(--slate); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 44px; height: 44px;
  background: var(--ivory);
  border: 1.5px solid var(--ivory-2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
  border-radius: 2px;
}
.social-links a:hover { background: var(--midnight); border-color: var(--midnight); transform: translateY(-3px); }
.social-links svg { width: 18px; height: 18px; fill: var(--slate); transition: fill var(--t-fast); }
.social-links a:hover svg { fill: var(--white); }

.contact-form-wrapper {
  background: var(--white);
  padding: 52px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ivory-2);
  border-top: 3px solid var(--amber);
  border-radius: 2px;
}
.contact-form h3 { margin-bottom: 32px; font-size: 1.6rem; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1.5px solid var(--ivory-2);
  background: var(--ivory);
  color: var(--midnight);
  transition: all var(--t-fast);
  border-radius: 2px;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(232,160,32,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-light); opacity: 0.7; }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── BLOG PAGE ── */
.blog-section { padding: var(--section-pad) 0; }
.blog-grid-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.blog-card-full {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--ivory-2);
  border-radius: 2px;
  transition: all var(--t-base);
}
.blog-card-full:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-full .blog-card-image { aspect-ratio: unset; height: 100%; min-height: 240px; }
.blog-card-full .blog-card-content { padding: 32px; display: flex; flex-direction: column; }
.blog-meta { margin-bottom: 12px; }
.blog-card-full h2 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.35; }
.blog-card-full h2 a { color: var(--midnight); transition: color var(--t-fast); }
.blog-card-full h2 a:hover { color: var(--amber); }
.blog-card-full p { font-size: 13px; line-height: 1.75; margin-bottom: 18px; flex-grow: 1; }
.blog-card-full .blog-link { color: var(--midnight); font-weight: 700; font-size: 13px; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 60px; }
.pagination-link {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--white);
  border: 1.5px solid var(--ivory-2);
  font-size: 13px; font-weight: 600;
  color: var(--midnight);
  border-radius: 2px;
  transition: all var(--t-fast);
}
.pagination-link:hover { border-color: var(--amber); color: var(--amber); }
.pagination-link svg { width: 15px; height: 15px; }
.pagination-numbers { display: flex; gap: 6px; }
.pagination-number {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  color: var(--slate);
  border-radius: 2px;
  transition: all var(--t-fast);
}
.pagination-number:hover { background: var(--ivory); color: var(--midnight); }
.pagination-number.active { background: var(--midnight); color: var(--white); }
.pagination-ellipsis { width: 40px; text-align: center; color: var(--slate-light); }

.blog-empty { text-align: center; padding: 100px 20px; }
.empty-icon {
  width: 100px; height: 100px;
  margin: 0 auto 24px;
  background: var(--ivory-2);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.empty-icon svg { width: 48px; height: 48px; stroke: var(--slate-light); }
.blog-empty h2 { margin-bottom: 12px; }
.blog-empty p  { font-size: 1rem; }

.newsletter-section { padding: 0 0 var(--section-pad); }
.newsletter-card {
  background: var(--midnight);
  padding: 60px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
  border-radius: 2px;
  border-left: 4px solid var(--amber);
  box-shadow: var(--shadow-lg);
}
.newsletter-content h2 { color: var(--white); margin-bottom: 8px; font-size: 2rem; }
.newsletter-content p  { color: rgba(255,255,255,0.5); font-size: 1rem; }
.newsletter-form { display: flex; gap: 12px; flex-shrink: 0; }
.newsletter-form input {
  padding: 14px 20px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 14px;
  width: 280px;
  border-radius: 2px;
  transition: all var(--t-fast);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { outline: none; border-color: var(--amber); background: rgba(255,255,255,0.08); }
.newsletter-form .btn-primary { background: var(--amber); color: var(--midnight); border-color: var(--amber); font-weight: 800; }
.newsletter-form .btn-primary:hover { background: var(--amber-light); border-color: var(--amber-light); }

/* ── BLOG POST ── */
.post-header { position: relative; padding: 180px 0 80px; overflow: hidden; background: var(--midnight); }
.post-header-content { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.35); font-size: 13px; margin-bottom: 24px; transition: color var(--t-fast); }
.back-link:hover { color: var(--amber); }
.back-link svg { width: 16px; height: 16px; }
.post-header-content h1 { color: var(--white); margin-bottom: 24px; font-size: clamp(2rem, 4vw, 3rem); }
.post-meta { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.post-meta > span { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.35); font-size: 13px; }
.post-meta svg { width: 14px; height: 14px; }
.post-content-section { padding: var(--section-pad) 0; }
.post-article { max-width: 820px; margin: 0 auto; }
.post-featured-image { margin-bottom: 56px; overflow: hidden; border-radius: 2px; }
.post-featured-image img { width: 100%; }
.post-body { font-size: 1.05rem; line-height: 1.9; color: var(--slate); }
.post-body h2, .post-body h3, .post-body h4 { margin-top: 44px; margin-bottom: 20px; color: var(--midnight); }
.post-body p  { margin-bottom: 24px; }
.post-body ul, .post-body ol { margin-bottom: 24px; padding-left: 24px; }
.post-body li { margin-bottom: 8px; list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body a { color: var(--amber); text-decoration: underline; text-decoration-color: rgba(232,160,32,0.3); text-underline-offset: 3px; }
.post-body blockquote {
  margin: 36px 0; padding: 26px 32px;
  border-left: 3px solid var(--amber);
  background: var(--amber-pale);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--midnight-2);
  border-radius: 0 2px 2px 0;
}
.post-footer { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--ivory-2); }
.post-share { display: flex; align-items: center; gap: 16px; }
.post-share > span { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.share-links { display: flex; gap: 8px; }
.share-links a {
  width: 40px; height: 40px;
  background: var(--ivory);
  border: 1.5px solid var(--ivory-2);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  transition: all var(--t-fast);
}
.share-links a:hover { background: var(--midnight); border-color: var(--midnight); transform: translateY(-2px); }
.share-links svg { width: 16px; height: 16px; fill: var(--slate); transition: fill var(--t-fast); }
.share-links a:hover svg { fill: var(--white); }
.post-navigation { text-align: center; margin-top: 64px; }

/* ── TEAM CAROUSEL ── */
.carousel-container { position: relative !important; padding: 0 60px !important; overflow: visible !important; }
.team-grid {
  display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 24px !important;
  padding: 20px 0 40px !important;
  scrollbar-width: none !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth !important;
}
.team-grid::-webkit-scrollbar { display: none !important; }
.team-card {
  flex: 0 0 calc(33.333% - 16px) !important;
  min-width: calc(33.333% - 16px) !important;
  max-width: calc(33.333% - 16px) !important;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--ivory-2);
  border-radius: 2px;
  overflow: hidden;
  transition: all var(--t-base);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.team-image { width: 100% !important; height: 290px !important; overflow: hidden !important; }
.team-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform var(--t-slow); }
.team-card:hover .team-image img { transform: scale(1.06); }
.team-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--ivory-2), var(--ivory));
  display: flex; align-items: center; justify-content: center;
}
.team-placeholder svg { width: 80px; height: 80px; stroke: var(--ivory-2); }
.team-info { padding: 28px; text-align: center; }
.team-info h3 { margin-bottom: 8px; }
.team-role { color: var(--amber); font-weight: 700; font-size: 13px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.team-info > p:last-child { font-size: 13px; line-height: 1.75; }

.nav-btn {
  position: absolute !important; top: 50% !important; transform: translateY(-50%) !important;
  width: 52px !important; height: 52px !important;
  background: var(--white) !important;
  border: 1.5px solid var(--ivory-2) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important; z-index: 1000 !important;
  box-shadow: var(--shadow-md) !important;
  transition: all var(--t-base) !important;
  border-radius: 2px !important;
}
.nav-btn:hover { background: var(--midnight) !important; border-color: var(--midnight) !important; }
.nav-btn svg { width: 26px !important; height: 26px !important; stroke: var(--midnight) !important; }
.nav-btn:hover svg { stroke: var(--white) !important; }
.prev-btn { left: -28px !important; }
.next-btn { right: -28px !important; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(.4,0,.2,1), transform 0.75s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-card-cluster { right: 3%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid .feature-card:nth-child(2) { border-right: none; }
  .features-grid .feature-card:nth-child(odd) { border-right: 2px solid var(--midnight); }
}

@media (max-width: 992px) {
  :root { --section-pad: 80px; }
  .hero-content .container { grid-template-columns: 1fr; }
  .hero-visual, .hero-card-cluster, .hero-stat { display: none; }
  .hero-text { max-width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 64px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid-full { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .story-grid, .mv-grid { grid-template-columns: 1fr; gap: 40px; }
  .newsletter-card { flex-direction: column; text-align: center; padding: 52px 36px; }
  .newsletter-form { flex-direction: column; width: 100%; max-width: 400px; }
  .newsletter-form input { width: 100%; }
  .features-grid { border: none; gap: 16px; }
  .feature-card { border-right: none !important; border: 1px solid var(--ivory-2); }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--midnight);
    flex-direction: column; align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    opacity: 0; pointer-events: none;
    transition: all var(--t-slow);
  }
  .nav-menu.active { transform: translateX(0); opacity: 1; pointer-events: auto; }
  .nav-link { font-size: 1.1rem; padding: 14px 24px; color: rgba(255,255,255,0.7); width: 100%; text-align: center; }
  .nav-link.nav-cta { margin-left: 0; margin-top: 12px; width: auto; }
  .blog-card-full { grid-template-columns: 1fr; }
  .blog-card-full .blog-card-image { min-height: 200px; }
  .service-full-card { grid-template-columns: 1fr; gap: 24px; }
  .service-full-card.reverse { direction: ltr; }
  .service-features { grid-template-columns: 1fr; }
  .carousel-container { padding: 0 44px !important; }
  .team-card { flex: 0 0 100% !important; min-width: 100% !important; max-width: 100% !important; }
  .contact-form-wrapper { padding: 36px 24px; }
}

@media (max-width: 576px) {
  :root { --section-pad: 64px; }
  .container { padding: 0 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .services-grid, .blog-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .experience-badge { bottom: -16px; right: -8px; padding: 20px 24px; }
}

