/* ==========================================================================
   HETHANEX Design System
   Aesthetic: Minimalism + Light Glassmorphism (Inspired by Remo Asset)
   Palette: Crisp White & Off-White Canvas, Brand Orange Accents, Dark Navy Text
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Brand Palette */
  --orange: #FF6B00;
  --orange-hover: #E85D00;
  --orange-dark: #C24A00;
  --orange-light: #FFF5EE;
  --orange-tint: rgba(255, 107, 0, 0.045);
  --orange-border: rgba(255, 107, 0, 0.18);
  --orange-glow: rgba(255, 107, 0, 0.10);

  /* Neutrals & Contrast */
  --navy-900: #0B132B;
  --navy-800: #141E3C;
  --slate-700: #2D3748;
  --slate-500: #54647C;
  --slate-400: #8896AB;
  --slate-200: #E2E8F0;
  --slate-100: #F6F8FA;
  --canvas: #FCFCFD;
  --surface: #FFFFFF;

  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-peach: linear-gradient(180deg, rgba(255, 253, 250, 0.95) 0%, rgba(255, 245, 236, 0.85) 100%);
  --glass-border: rgba(11, 19, 43, 0.08);
  --glass-border-orange: rgba(255, 107, 0, 0.18);
  --glass-shadow: 0 10px 32px -8px rgba(11, 19, 43, 0.05), 0 1px 3px rgba(11, 19, 43, 0.03);
  --glass-shadow-hover: 0 20px 48px -12px rgba(255, 107, 0, 0.12), 0 0 0 1px rgba(255, 107, 0, 0.25);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --max-w: 1240px;
  --header-h: 74px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--navy-900);
  background-color: var(--canvas);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.028em;
}

h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--slate-500);
  font-size: 1.05rem;
  line-height: 1.68;
}

.lead {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  color: var(--slate-500);
  max-width: 680px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, #FF6B00 0%, #FA4B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Layout Helpers & Wrappers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-subtle {
  background-color: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 56px auto;
  text-align: center;
}

.section-header h2 {
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   Pill Badges (Problem / Fix / Category)
   -------------------------------------------------------------------------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border: 1px solid var(--orange-border);
  background: var(--orange-tint);
  color: var(--orange-dark);
}

.pill-badge.problem {
  border-color: rgba(220, 38, 38, 0.22);
  background: rgba(254, 242, 242, 0.9);
  color: #B91C1C;
}

.pill-badge.fix {
  border-color: rgba(255, 107, 0, 0.3);
  background: rgba(255, 247, 237, 0.95);
  color: var(--orange-dark);
}

.pill-badge.neutral {
  border-color: rgba(11, 19, 43, 0.12);
  background: rgba(241, 245, 249, 0.85);
  color: var(--slate-700);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.26);
}

.btn-primary:hover {
  background: var(--orange-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 107, 0, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-900);
  border-color: rgba(11, 19, 43, 0.12);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 19, 43, 0.05);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
  border-radius: 8px;
}

.btn-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 19, 43, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(11, 19, 43, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.logo-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  padding: 2px 6px;
  background: var(--slate-100);
  border-radius: 4px;
  margin-left: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-700);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--navy-900);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Services Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-trigger svg,
.dropdown-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.nav-item-dropdown:hover .dropdown-trigger svg,
.nav-item-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 620px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px -10px rgba(11, 19, 43, 0.12);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: var(--orange-tint);
}

.dropdown-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255, 107, 0, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

.dropdown-content h5 {
  font-size: 0.88rem;
  color: var(--navy-900);
  font-weight: 600;
  margin-bottom: 2px;
}

.dropdown-content p {
  font-size: 0.76rem;
  color: var(--slate-500);
  line-height: 1.35;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   Hero Section Styling
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 42px 0 60px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.10) 0%, rgba(255, 138, 31, 0.04) 40%, transparent 75%);
  overflow: hidden;
}

.hero-glow-orb {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, rgba(255, 140, 40, 0.02) 65%, transparent 80%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-inner h1 {
  margin-top: 18px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(11, 19, 43, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--slate-700);
  font-weight: 500;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  stroke-width: 1.8;
  fill: none;
}

/* --------------------------------------------------------------------------
   Subtle Glass Cards & Problem / Fix Architecture
   -------------------------------------------------------------------------- */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-orange);
}

.glass-card.peach {
  background: var(--glass-peach);
  border-color: var(--glass-border-orange);
}

/* Big Faded Decorative Numbers (01, 02, etc.) */
.faded-number {
  position: absolute;
  right: 24px;
  top: 14px;
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  color: rgba(11, 19, 43, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-variant-numeric: tabular-nums;
}

.glass-card.peach .faded-number {
  color: rgba(255, 107, 0, 0.065);
}

.card-content {
  position: relative;
  z-index: 1;
}

/* Problem & Fix Comparison Grid */
.problem-fix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.problem-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(220, 38, 38, 0.12);
}

.fix-card {
  background: var(--glass-peach);
  border: 1px solid var(--glass-border-orange);
}

.card-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.icon-outline {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 19, 43, 0.1);
  background: #FFFFFF;
  color: var(--navy-900);
}

.icon-outline.orange {
  border-color: var(--orange-border);
  color: var(--orange);
  background: rgba(255, 255, 255, 0.95);
}

.icon-outline svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.item-list {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.item-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.55;
}

.item-list-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.item-list-icon.negative {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

.item-list-icon.positive {
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
}

.item-list-icon svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

/* --------------------------------------------------------------------------
   Capabilities Grid (3 / 4 Columns)
   -------------------------------------------------------------------------- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.capability-card {
  padding: 32px 28px;
}

.capability-card h4 {
  margin: 16px 0 10px 0;
  font-size: 1.15rem;
}

.capability-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Business Benefits Showcase
   -------------------------------------------------------------------------- */
.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: all 0.25s ease;
}

.benefit-card:hover {
  border-color: var(--orange-border);
  box-shadow: 0 12px 28px -6px rgba(255, 107, 0, 0.08);
}

.benefit-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.benefit-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* --------------------------------------------------------------------------
   Process / Execution Workflow (01, 02, 03, 04)
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}

.process-step {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(12px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 16px;
  display: inline-block;
}

.process-step h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.process-step p {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Service Navigation & Pagination (Prev / Next)
   -------------------------------------------------------------------------- */
.service-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  margin-top: 60px;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.service-nav-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 45%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.service-nav-btn:hover {
  background: #FFFFFF;
  border-color: var(--orange-border);
  box-shadow: 0 8px 24px rgba(11, 19, 43, 0.04);
}

.nav-dir-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-400);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.service-nav-btn:hover .nav-title {
  color: var(--orange);
}

.service-nav-btn.next {
  text-align: right;
  flex-direction: row-reverse;
}

/* --------------------------------------------------------------------------
   Services Directory Matrix (Grid of 12 Services for Hub)
   -------------------------------------------------------------------------- */
.services-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.matrix-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

.matrix-card h3 {
  margin: 16px 0 12px 0;
  font-size: 1.25rem;
  color: var(--navy-900);
}

.matrix-card p {
  font-size: 0.94rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.matrix-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange);
}

.matrix-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.matrix-card:hover .matrix-link svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   CTA & Consultation Card
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(255, 253, 250, 0.98) 0%, rgba(255, 243, 232, 0.92) 100%);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -15px rgba(255, 107, 0, 0.12);
}

.cta-banner h2 {
  max-width: 720px;
  margin: 18px auto 16px auto;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 36px auto;
}

/* --------------------------------------------------------------------------
   Floating Cookie Banner (Soft Glass Card)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 20px 48px -10px rgba(11, 19, 43, 0.14), 0 0 0 1px rgba(255, 107, 0, 0.06);
  transform: translateY(0);
  opacity: 1;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
}

.cookie-content h5 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.cookie-content p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--slate-500);
  margin-bottom: 16px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid rgba(11, 19, 43, 0.08);
  padding: 80px 0 36px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  max-width: 340px;
  line-height: 1.6;
}

.footer-contact {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
  max-width: 340px;
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--orange);
}

.footer-contact-link {
  color: var(--slate-900);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--orange);
}

.footer-bottom-contact {
  font-size: 0.84rem;
  color: var(--slate-500);
}

.footer-phone-highlight {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-phone-highlight:hover {
  text-decoration: underline;
}

.footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-900);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--slate-500);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--orange);
  transform: translateX(2px);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--slate-400);
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer & Responsive Adjustments
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: #FFFFFF;
  padding: 30px 24px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mobile-nav-links {
  list-style: none;
  display: grid;
  gap: 14px;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
}

.mobile-services-sub {
  margin-top: 8px;
  padding-left: 12px;
  display: grid;
  gap: 8px;
}

.mobile-services-sub a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-500);
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  .problem-fix-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
  .hero-trust {
    flex-direction: column;
    gap: 16px;
  }
  .service-nav-bar {
    flex-direction: column;
    gap: 20px;
  }
  .service-nav-btn {
    max-width: 100%;
    width: 100%;
  }
}


/* --------------------------------------------------------------------------
   Consultation Modal & Form Styles
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(11, 19, 43, 0.2);
  transform: translateY(20px) scale(0.98);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--slate-100);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-500);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--slate-200);
  color: var(--navy-900);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--navy-900);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

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


/* --------------------------------------------------------------------------
   Logo Doodle, Hero Rings & Continuous Ticker (Inspired by main.html)
   -------------------------------------------------------------------------- */
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes mq {
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.2); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 56px;
  text-align: left;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-top: 14px;
  margin-bottom: 16px;
}

.hero-content .lead {
  margin: 0 0 24px 0;
}

.hero-content .hero-actions {
  justify-content: flex-start;
  margin-top: 24px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.doodle-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.doodle-ring {
  position: absolute;
  inset: 0;
  animation: spin 52s linear infinite;
  pointer-events: none;
}

.doodle-ring.ring-reverse {
  animation-duration: 76s;
  animation-direction: reverse;
}

.doodle-emblem {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 25px 50px rgba(255, 107, 0, 0.28));
  transition: transform 0.3s ease;
}

.doodle-emblem:hover {
  transform: scale(1.05);
}

.doodle-card-badge {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  box-shadow: 0 10px 25px -5px rgba(11, 19, 43, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
  z-index: 3;
}

.doodle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

/* Background Engineering Grid */
.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: linear-gradient(#0B132B 1px, transparent 1px), linear-gradient(90deg, #0B132B 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Marquee Ticker Strip */
.marquee-strip {
  background: var(--orange);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.2);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: mq 38s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #FFFFFF;
}

.marquee-track i {
  width: 9px;
  height: 9px;
  margin: 0 32px;
  align-self: center;
  background: rgba(255, 255, 255, 0.85);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: none;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content .lead {
    margin: 0 auto 32px auto;
  }
  .hero-content .hero-actions {
    justify-content: center;
  }
  .doodle-wrap {
    max-width: 320px;
  }
}

/* ==========================================================================
   IMAGE SHOWCASE & FEATURE SPLIT COMPONENTS (MINIMAL + GLASS)
   ========================================================================== */
.image-feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 56px 0;
}

.image-feature-split.reverse {
  direction: rtl;
}

.image-feature-split.reverse > * {
  direction: ltr;
}

.img-card-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 31, 0.22);
  background: var(--bg-card);
  box-shadow: 0 20px 45px -12px rgba(10, 16, 32, 0.09);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.img-card-wrapper:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 31, 0.45);
  box-shadow: 0 26px 55px -14px rgba(255, 138, 31, 0.2);
}

.img-card-wrapper img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.img-card-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 138, 31, 0.3);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.img-card-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
}

.img-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 31, 0.2);
  margin: 48px 0;
  height: 340px;
  box-shadow: 0 20px 40px -10px rgba(10, 16, 32, 0.08);
}

.img-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.15) 0%, rgba(10, 16, 32, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: #FFFFFF;
}

.img-banner-overlay h3 {
  color: #FFFFFF;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.img-banner-overlay p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 900px) {
  .image-feature-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .image-feature-split.reverse {
    direction: ltr;
  }
  .img-banner-card {
    height: 280px;
  }
  .img-banner-overlay {
    padding: 24px;
  }
}

/* ==========================================================================
   FLAGSHIP HERO IMAGE FRAME (MINIMAL GLASS 3D ACCENT)
   ========================================================================== */
.hero-img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 31, 0.28);
  background: var(--bg-card);
  box-shadow: 0 24px 60px -15px rgba(255, 138, 31, 0.22), 0 10px 25px -5px rgba(10, 16, 32, 0.08);
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.hero-img-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
  border-color: rgba(255, 138, 31, 0.55);
  box-shadow: 0 32px 75px -15px rgba(255, 138, 31, 0.32);
}

.hero-img-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-img-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 138, 31, 0.35);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate-900);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(10, 16, 32, 0.12);
}

.hero-img-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.85);
}

@media (max-width: 960px) {
  .hero-img-frame {
    transform: none;
    max-width: 480px;
    margin: 32px auto 0 auto;
  }
  .hero-img-frame img {
    height: 270px;
  }
}

/* ==========================================================================
   SMART SMOOTH REVEALING ANIMATION ENGINE & CREATIVE PRESENTATIONS
   ========================================================================== */

/* Motion Curves & Timing */
:root {
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   1. HERO REVEAL ENTRANCE (When JS is ready)
   -------------------------------------------------------------------------- */
html.js-ready .hero-content .tag-pill,
html.js-ready .hero-content h1,
html.js-ready .hero-content .lead,
html.js-ready .hero-content .hero-actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease-spring), transform 0.85s var(--ease-spring);
  will-change: opacity, transform;
}

html.js-ready .hero-content.is-visible .tag-pill {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.04s;
}

html.js-ready .hero-content.is-visible h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}

html.js-ready .hero-content.is-visible .lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.26s;
}

html.js-ready .hero-content.is-visible .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.38s;
}

/* --------------------------------------------------------------------------
   2. CROSSED IMAGE STACK REVEAL & INTERACTIVITY
   -------------------------------------------------------------------------- */
.img-crossed-stack {
  position: relative;
  padding: 8px 16px 20px 16px;
  max-width: 500px;
  margin: 0 auto;
}

.img-crossed-stack .img-back {
  position: relative;
  width: 78%;
  margin-left: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(10, 16, 32, 0.12);
  box-shadow: 0 16px 36px rgba(10, 16, 32, 0.08);
  transform: rotate(3deg) translateY(8px);
  filter: brightness(0.92);
  transition: transform 0.6s var(--ease-spring), opacity 0.8s var(--ease-spring), filter 0.3s ease;
  will-change: transform, opacity;
}

.img-crossed-stack .img-back img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.img-crossed-stack .img-main {
  position: relative;
  width: 86%;
  margin-top: -95px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 31, 0.32);
  box-shadow: 0 24px 55px -10px rgba(255, 138, 31, 0.25), 0 12px 28px rgba(10, 16, 32, 0.1);
  background: var(--bg-card);
  z-index: 2;
  transform: rotate(-2deg);
  transition: transform 0.6s var(--ease-spring), opacity 0.8s var(--ease-spring), box-shadow 0.4s ease;
  will-change: transform, opacity;
}

.img-crossed-stack .img-main img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.img-crossed-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 138, 31, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.6s var(--ease-elastic), opacity 0.5s var(--ease-spring);
  will-change: transform, opacity;
}

/* Initial unrevealed state for Crossed Stack */
html.js-ready .img-crossed-stack .img-back {
  opacity: 0;
  transform: translate3d(28px, -18px, 0) rotate(7deg) scale(0.94);
  transition: opacity 1.1s var(--ease-spring) 0.16s, transform 1.25s var(--ease-spring) 0.16s;
}

html.js-ready .img-crossed-stack .img-main {
  opacity: 0;
  transform: translate3d(-24px, 36px, 0) rotate(-6deg) scale(0.92);
  transition: opacity 1.1s var(--ease-spring) 0.3s, transform 1.25s var(--ease-spring) 0.3s, box-shadow 0.4s ease;
}

html.js-ready .img-crossed-stack .img-crossed-badge {
  opacity: 0;
  transform: scale(0.78) translateY(12px);
  transition: opacity 0.6s var(--ease-spring) 0.68s, transform 0.6s var(--ease-elastic) 0.68s;
}

/* Revealed active state for Crossed Stack */
html.js-ready .img-crossed-stack.is-visible .img-back {
  opacity: 1;
  transform: translate3d(0, 8px, 0) rotate(3deg) scale(1);
}

html.js-ready .img-crossed-stack.is-visible .img-main {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(-2deg) scale(1);
}

html.js-ready .img-crossed-stack.is-visible .img-crossed-badge {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Ambient Floating Keyframes for Settled Composition */
@keyframes crossedAmbientFloat {
  0%, 100% {
    transform: rotate(-2deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(-2deg) translate3d(0, -6px, 0);
  }
}

html.js-ready .img-crossed-stack.is-visible.floating .img-main {
  animation: crossedAmbientFloat 7s ease-in-out infinite;
}

/* Hover Interactivity */
.img-crossed-stack:hover .img-back,
html.js-ready .img-crossed-stack.is-visible:hover .img-back {
  transform: rotate(1deg) translate3d(0, 4px, 0) scale(1.01);
  filter: brightness(0.98);
}

.img-crossed-stack:hover .img-main,
html.js-ready .img-crossed-stack.is-visible:hover .img-main {
  animation-play-state: paused;
  transform: rotate(0deg) translate3d(0, -6px, 0) scale(1.02);
  box-shadow: 0 32px 65px -12px rgba(255, 107, 0, 0.32), 0 16px 32px rgba(10, 16, 32, 0.12);
}

/* --------------------------------------------------------------------------
   3. HALF OVERLAY REVEALING ANIMATION
   -------------------------------------------------------------------------- */
.img-half-overlay-wrapper {
  position: relative;
  margin: 40px 0 60px 0;
  padding-bottom: 50px;
}

.img-half-overlay-wrapper .img-base {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 31, 0.25);
  box-shadow: 0 24px 50px -12px rgba(10, 16, 32, 0.1);
  background: var(--bg-card);
  transition: transform 0.6s var(--ease-spring), opacity 0.8s var(--ease-spring);
  will-change: transform, opacity;
}

.img-half-overlay-wrapper .img-base img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.img-half-overlay-wrapper .glass-overlay-card {
  position: absolute;
  bottom: 0;
  right: 32px;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 138, 31, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: 0 20px 45px -10px rgba(255, 138, 31, 0.22), 0 10px 20px rgba(0, 0, 0, 0.06);
  z-index: 2;
  transition: transform 0.6s var(--ease-spring), opacity 0.8s var(--ease-spring), box-shadow 0.3s ease;
  will-change: transform, opacity;
}

.glass-overlay-card h4 {
  font-size: 1.15rem;
  margin: 10px 0 6px;
  color: var(--slate-900);
}

.glass-overlay-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

/* Initial unrevealed state for Half Overlay */
html.js-ready .img-half-overlay-wrapper .img-base {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.95s var(--ease-spring), transform 1.05s var(--ease-spring);
}

html.js-ready .img-half-overlay-wrapper .glass-overlay-card {
  opacity: 0;
  transform: translate3d(32px, 32px, 0);
  transition: opacity 0.85s var(--ease-spring) 0.22s, transform 0.95s var(--ease-spring) 0.22s, box-shadow 0.3s ease;
}

/* Revealed active state for Half Overlay */
html.js-ready .img-half-overlay-wrapper.is-visible .img-base {
  opacity: 1;
  transform: translateY(0) scale(1);
}

html.js-ready .img-half-overlay-wrapper.is-visible .glass-overlay-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.img-half-overlay-wrapper .glass-overlay-card:hover,
html.js-ready .img-half-overlay-wrapper.is-visible .glass-overlay-card:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 26px 52px -10px rgba(255, 138, 31, 0.3), 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   4. ASYMMETRIC CUTOUT FRAME WITH AMBER ACCENT
   -------------------------------------------------------------------------- */
.img-asymmetric-frame {
  position: relative;
  border-radius: 28px 8px 28px 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 31, 0.3);
  box-shadow: 0 20px 45px -10px rgba(255, 107, 0, 0.18);
  background: var(--bg-card);
}

.img-asymmetric-frame img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   5. SCROLL-REVEAL SYSTEM FOR SECTIONS, CARDS & CONTENT
   -------------------------------------------------------------------------- */
html.js-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-spring) var(--reveal-delay, 0ms),
              transform 0.8s var(--ease-spring) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.js-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle Shimmer Polish on Cards upon Reveal */
@keyframes revealGleam {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
  50% {
    box-shadow: 0 18px 40px -8px rgba(255, 107, 0, 0.18);
  }
  100% {
    box-shadow: 0 12px 32px -8px rgba(11, 19, 43, 0.06);
  }
}

html.js-ready .glass-card.is-visible {
  animation: revealGleam 1.2s ease-out;
}

/* Single Hero Frame Reveal */
html.js-ready .hero-img-frame {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 1s var(--ease-spring) 0.25s, transform 1.1s var(--ease-spring) 0.25s;
}

html.js-ready .hero-img-frame.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE BEHAVIOR & ACCESSIBILITY
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .img-half-overlay-wrapper {
    padding-bottom: 0;
  }
  .img-half-overlay-wrapper .glass-overlay-card {
    position: static;
    max-width: 100%;
    margin-top: -24px;
  }
  .img-crossed-stack {
    max-width: 100%;
    padding: 10px;
  }
  .img-crossed-stack .img-back {
    width: 90%;
    transform: none;
  }
  .img-crossed-stack .img-main {
    width: 95%;
    margin-top: -60px;
    transform: none;
  }
  html.js-ready .img-crossed-stack .img-back,
  html.js-ready .img-crossed-stack .img-main {
    transform: none;
  }
  html.js-ready .img-crossed-stack.is-visible .img-back,
  html.js-ready .img-crossed-stack.is-visible .img-main {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js-ready .hero-content .tag-pill,
  html.js-ready .hero-content h1,
  html.js-ready .hero-content .lead,
  html.js-ready .hero-content .hero-actions,
  html.js-ready .img-crossed-stack .img-back,
  html.js-ready .img-crossed-stack .img-main,
  html.js-ready .img-crossed-stack .img-crossed-badge,
  html.js-ready .img-half-overlay-wrapper .img-base,
  html.js-ready .img-half-overlay-wrapper .glass-overlay-card,
  html.js-ready .reveal-on-scroll,
  html.js-ready .hero-img-frame {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}



