/* ==========================================================================
   NEW BASARA CONSULT - Modern Industrial Theme (2026 Edition)
   Mobile-First, High-Performance, Accessible CSS
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-primary: #0b1120;
  --bg-secondary: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.85);
  --bg-card-hover: rgba(39, 53, 73, 0.95);
  --bg-subtle: #162032;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;

  /* Industrial Accents */
  --accent-amber: #f59e0b;
  --accent-amber-hover: #d97706;
  --accent-cyan: #0ea5e9;
  --accent-cyan-hover: #0284c7;
  --accent-emerald: #10b981;
  --accent-red: #ef4444;

  /* Borders & Shadows */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(245, 158, 11, 0.4);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.5), 0 4px 8px -4px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.25);

  /* Typography & Layout */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  /* FIXED INDUSTRIAL BACKGROUND IMAGE (MODERN FACTORY HALL) */
  background-image: 
    linear-gradient(180deg, rgba(51, 65, 85, 0.68) 0%, rgba(51, 65, 85, 0.74) 50%, rgba(51, 65, 85, 0.82) 100%),
    url('assets/bg-industrial-hall.webp');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.no-scroll {
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.text-center { text-align: center; }
.w-100 { width: 100%; }
.text-accent { color: var(--accent-amber); }
.text-success { color: var(--accent-emerald); }
.text-highlight { color: #38bdf8; font-weight: 700; }
.text-strike { text-decoration: line-through; color: var(--text-muted); }
.text-muted { color: var(--text-muted); }

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-amber);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-amber);
  color: #000000;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-amber-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-1px);
}

.btn-whatsapp-icon {
  background-color: #25D366;
  color: #ffffff;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-icon:hover {
  background-color: #20ba5a;
}

.btn-accent {
  background-color: var(--accent-cyan);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--accent-cyan-hover);
}

.btn-outline-light {
  border-color: var(--border-light);
  color: var(--text-secondary);
  background: transparent;
}

.btn-outline-light:hover {
  border-color: var(--accent-amber);
  color: #ffffff;
}

.btn-lg {
  padding: 0.85rem 1.65rem;
  font-size: 0.9375rem;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
}

/* Glass Card */
.glass-card {
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background-color: #1e1b4b;
  border-bottom: 1px solid rgba(129, 140, 248, 0.2);
  padding: 0.4rem 0;
  font-size: 0.8125rem;
  color: #e0e7ff;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-accent {
  background-color: var(--accent-amber);
  color: #000;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.announcement-link {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: underline;
}

.announcement-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Header & Navigation (ITEMS 3 & 4: Streamlined & Visible Logo)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-normal);
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  width: 100%;
  max-width: 100%;
  padding-inline: clamp(1.25rem, 2.75vw, 3.5rem);
  gap: clamp(1.5rem, 3.5vw, 4.5rem);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Header Logo: Large & Clean without frame (+25% boost: 85px) */
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-logo-wrap:hover {
  background: transparent;
  opacity: 0.92;
  transform: scale(1.02);
}

.logo-img {
  height: 85px;
  width: auto;
  object-fit: contain;
  display: block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.22);
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: #0f172a;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.menu-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ITEM 3: De-cramped Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(0.75rem, 1.2vw, 1.15rem);
}

.nav-link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.25rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #d97706;
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #b45309;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.3;
}

.hero-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-content {
  width: 100%;
  max-width: 1050px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-amber);
  margin-bottom: 1.25rem;
}

.pill-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-amber);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  max-width: 1050px;
  text-align: center;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-light);
}

/* Hero Right Visual Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 420px;
  padding: 1.75rem;
}

.card-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  margin-bottom: 1.15rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.audit-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
}

.audit-param {
  color: var(--text-muted);
}

.audit-value {
  font-weight: 600;
}

.audit-new-value {
  font-weight: 700;
  color: var(--accent-emerald);
}

.card-footer {
  margin-top: 1.25rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding-block: 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.service-card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.service-list li {
  position: relative;
  padding-left: 1.25rem;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-amber);
  font-weight: 800;
}

.pricing-transparency-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.pricing-info h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pricing-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  max-width: 680px;
}

/* Grant & CNC HUB Showcase Card */
.grant-showcase-card {
  margin-top: 2rem;
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 25px rgba(14, 165, 233, 0.12);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.grant-showcase-card:hover {
  border-color: rgba(14, 165, 233, 0.6);
  transform: translateY(-2px);
}

.grant-showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.25rem;
  align-items: center;
}

.grant-img-wrap {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.grant-img-wrap:hover {
  transform: scale(1.015);
  border-color: var(--accent-cyan);
}

.grant-banner-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  transition: opacity 0.2s ease, transform var(--transition-fast);
}

.grant-img-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(11, 17, 32, 0.9);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #38bdf8;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  transition: opacity 0.2s ease;
}

.grant-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  background-color: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 0.85rem;
}

.grant-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.grant-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.grant-highlights-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.grant-spec-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.grant-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Grant Gallery Section */
.grant-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.35), rgba(255, 255, 255, 0.1), transparent);
  margin: 2rem 0 1.5rem;
}

.grant-gallery-section {
  width: 100%;
}

.grant-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.grant-gallery-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.grant-gallery-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--accent-cyan, #0ea5e9);
  border-radius: 2px;
}

.grant-gallery-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary, #94a3b8);
}

.grant-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}

.grant-gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.grant-gallery-card:hover {
  border-color: rgba(14, 165, 233, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 0 16px rgba(14, 165, 233, 0.2);
}

.grant-gallery-card.active {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1.5px #38bdf8, 0 8px 24px rgba(14, 165, 233, 0.25);
}

.grant-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1120;
}

.grant-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.grant-gallery-card:hover .grant-thumb-img {
  transform: scale(1.05);
}

.grant-thumb-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #38bdf8;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.grant-card-info {
  padding: 0.85rem 1rem 1rem;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.grant-card-client {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.grant-card-desc {
  font-size: 0.75rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 1024px) {
  .grant-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .grant-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .grant-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Events Section (2020 - 2026 Archive & Interactive Tabs)
   ========================================================================== */
.events-section {
  padding-block: 5rem;
  position: relative;
}

.events-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.event-tab-btn {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
}

.event-tab-btn:hover {
  background: rgba(45, 60, 85, 0.85);
  border-color: rgba(245, 158, 11, 0.4);
  color: #ffffff;
}

.event-tab-btn.is-active {
  background: var(--accent-amber);
  color: #0b1120;
  border-color: var(--accent-amber);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
  font-weight: 700;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-lg);
}

.event-card.is-hidden {
  display: none !important;
}

.event-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: #0f172a;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-img {
  transform: scale(1.04);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 17, 32, 0.35);
  transition: all var(--transition-fast);
  z-index: 1;
}

.video-play-icon {
  width: 44px;
  height: 44px;
  background: rgba(239, 68, 68, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.event-card:hover .video-play-icon {
  transform: scale(1.15);
  background: #dc2626;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.65);
}

.video-play-icon svg {
  margin-left: 2px;
}

.event-badges-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
}

.event-year-badge {
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: var(--accent-amber);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.event-category-badge {
  background: rgba(14, 165, 233, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.event-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  height: calc(1.35em * 2);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0.65rem;
}

.event-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  height: calc(1.5em * 6);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  margin-bottom: 0.85rem;
}

.event-highlights {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.725rem;
  color: var(--accent-cyan);
}

.event-highlights span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Courses Section (ITEM 2: NO PRICE DISPLAYED)
   ========================================================================== */
.courses-section {
  padding-block: 5rem;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
}

.course-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.featured-card {
  border-color: var(--accent-amber);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--accent-amber);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.course-type {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 0.5rem;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.course-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Custom Price Box (NO NUMERICAL PRICE) */
.course-price-custom {
  margin-block: 0.75rem 1.25rem;
}

.price-custom-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.price-custom-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
}

.course-summary {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.course-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.course-features li {
  position: relative;
  padding-left: 1.4rem;
}

.course-features li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: var(--accent-amber);
}

.course-footer {
  margin-top: auto;
}

/* ==========================================================================
   ROI Calculator Section
   ========================================================================== */
.calculator-section {
  padding-block: 5rem;
}

.calc-wrapper {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.calc-val-display {
  font-weight: 700;
  color: var(--accent-amber);
  font-size: 0.875rem;
}

.range-slider {
  width: 100%;
  height: 8px;
  background: #334155;
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent-amber);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.select-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: #ffffff;
  outline: none;
  cursor: pointer;
}

.select-input:focus {
  border-color: var(--accent-amber);
}

/* Calculator Results */
.calc-results {
  padding: 2rem;
  border: 1px solid var(--border-accent);
}

.results-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.results-intro {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.results-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.res-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
}

.highlight-res {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.08);
}

.res-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.res-value {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  margin-block: 0.2rem;
}

.highlight-res .res-value {
  color: var(--accent-amber);
  font-size: 1.65rem;
}

.res-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.res-disclaimer {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================================
   Founder & Authority Section (Florin Răzvan Basarabeanu)
   ========================================================================== */
.founder-section {
  padding-block: 5rem;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-top: 1px solid var(--border-light);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.founder-role-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 1.15rem;
}

.founder-bio-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.15rem;
}

.founder-authority-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.auth-pill {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
}

.auth-pill:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.auth-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.auth-logo-badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.auth-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.auth-text {
  display: flex;
  flex-direction: column;
}

.auth-text strong {
  font-size: 0.8125rem;
  color: #ffffff;
}

.auth-text span {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.founder-portrait-card {
  padding: 1.5rem 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.founder-portrait-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 1.15rem;
}

.founder-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(245, 158, 11, 0.12) 55%, transparent 70%);
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.founder-portrait-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 310px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6));
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  transition: transform var(--transition-normal);
}

.founder-portrait-card:hover .founder-portrait-img {
  transform: scale(1.025);
}

.founder-portrait-tag {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.founder-portrait-body {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
}

.founder-portrait-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.founder-portrait-sub {
  font-size: 0.8125rem;
  color: var(--accent-amber);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.media-feature-card {
  padding: 2rem;
  border-color: rgba(14, 165, 233, 0.3);
}

.media-feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.media-feature-header h4 {
  font-size: 1.15rem;
  color: #ffffff;
}

.media-feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.media-quote {
  font-style: italic;
  font-size: 0.875rem;
  color: #e2e8f0;
  border-left: 3px solid var(--accent-cyan);
  padding-left: 0.85rem;
  margin-bottom: 1.5rem;
}

.media-links-group {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Appearances Section: Apariții publice & prezență media
   ========================================================================== */
.appearances-section {
  padding-block: 5rem;
  background-color: rgba(11, 17, 32, 0.75);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
}

.appearances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* ==========================================================================
   Portfolio Section (ITEM 5: Client Logos & Mosaic Showcase)
   ========================================================================== */
.portfolio-section {
  padding-block: 5rem;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 0;
}

.logo-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  transition: all var(--transition-fast);
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
  border-color: var(--accent-amber);
}

.client-logo-img {
  max-height: 48px;
  max-width: 125px;
  object-fit: contain;
}

/* ==========================================================================
   Book Section (ITEM 1: NEW BOOK COVER)
   ========================================================================== */
.book-section {
  padding-block: 5rem;
}

.book-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 3rem;
  align-items: center;
}

.book-visual {
  display: flex;
  justify-content: center;
}

.book-cover-img {
  max-width: 290px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.2);
  transition: transform var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.book-cover-img:hover {
  transform: rotate(-1deg) scale(1.02);
}

.book-author {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.book-tagline {
  font-size: 0.9375rem;
  font-style: italic;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.book-desc {
  font-size: 0.9875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.book-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.highlight-point {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.65rem 0.85rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent-amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.book-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding-block: 5rem;
}

.contact-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-lead {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.direct-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.direct-item:hover {
  border-color: var(--accent-amber);
  background: rgba(15, 23, 42, 0.9);
}

.item-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-content {
  display: flex;
  flex-direction: column;
}

.item-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.item-val {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.company-fiscal-box {
  padding: 1rem 1.15rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.company-fiscal-box strong {
  color: var(--text-primary);
}

/* Contact Form */
.form-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.form-subheading {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.select-highlight-pulse {
  border-color: var(--accent-amber) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.5), 0 0 16px rgba(245, 158, 11, 0.35) !important;
  animation: selectGlowPulse 1s ease-in-out infinite alternate;
  background-color: rgba(245, 158, 11, 0.08) !important;
}

@keyframes selectGlowPulse {
  0% {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3), 0 0 8px rgba(245, 158, 11, 0.2);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.6), 0 0 22px rgba(245, 158, 11, 0.5);
  }
}

.form-alert {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.success-alert {
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: #34d399;
}

.error-alert {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: rgba(6, 10, 18, 0.96);
  border-top: 1px solid var(--border-light);
  padding-block: 3.5rem 1.75rem;
  font-size: 0.8125rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-bio {
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-amber);
}

.anpc-badge img {
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.anpc-badge:hover img {
  opacity: 1;
}

.legal-links {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.legal-links a {
  color: var(--text-muted);
}

.legal-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.tax-disclaimer {
  color: #64748b;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 54px;
  height: 54px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp .tooltip-text {
  visibility: hidden;
  position: absolute;
  right: 64px;
  background-color: #1e293b;
  color: #ffffff;
  text-align: center;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.floating-whatsapp:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints - Mobile, Tablet & Desktop Optimization
   ========================================================================== */

/* 1. Large & Ultra-Wide Desktop (≥ 1280px) */
@media (min-width: 1280px) {
  :root {
    --container-max: 1280px;
  }

  .client-logos-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
  }

  .logo-card {
    height: 76px;
  }

  .client-logo-img {
    max-height: 48px;
  }
}

/* 2. Standard Desktop / Laptops (993px - 1279px) */
@media (min-width: 993px) and (max-width: 1279px) {
  .nav-links {
    gap: 0.65rem;
  }

  .nav-link {
    font-size: 0.78rem;
    padding: 0.25rem 0.15rem;
  }

  .client-logos-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.85rem;
  }

  .events-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

/* 3. Laptop / Tablet Landscape (≤ 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-visual {
    justify-content: center;
  }

  .hero-card {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .book-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .book-visual {
    justify-content: center;
  }

  .contact-card-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.25rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* 4. Tablet Navigation Breakpoint (≤ 992px) */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .site-header {
    height: 96px;
  }

  .nav-container {
    height: 96px;
  }

  .logo-img {
    height: 78px;
  }

  .nav-menu {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 1.5rem 1.25rem 2rem;
    gap: 1.25rem;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-menu.is-active {
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 0.35rem;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
  }

  .nav-link:hover,
  .nav-link:active {
    background: rgba(0, 0, 0, 0.05);
    color: #b45309;
  }

  .nav-link::after {
    display: none;
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-actions .btn {
    width: 100%;
    min-height: 44px;
    font-size: 0.875rem;
  }

  .btn-text-hide-mobile {
    display: inline;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .training-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .client-logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

/* 5. Mobile Landscape & Tablets Portrait (≤ 768px) */
@media (max-width: 768px) {
  .site-header {
    height: 88px;
  }

  .nav-container {
    height: 88px;
  }

  .nav-menu {
    top: 88px;
    max-height: calc(100vh - 88px);
  }

  .logo-img {
    height: 71px;
  }

  /* Section Padding */
  .services-section,
  .events-section,
  .appearances-section,
  .founder-section,
  .book-section,
  .contact-section,
  .portfolio-section {
    padding-block: 3.5rem;
  }

  .hero-section {
    padding-block: 2.25rem 3.5rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.35rem);
    line-height: 1.2;
  }

  .hero-lead {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
  }

  /* High-Impact Mobile Metrics */
  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    width: 100%;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
  }

  .metric-divider {
    display: none;
  }

  .metric-item {
    background: rgba(30, 41, 59, 0.55);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.5rem;
    text-align: center;
  }

  .metric-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-amber);
    display: block;
    line-height: 1.2;
  }

  .metric-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.3;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .events-tabs {
    gap: 0.35rem;
    margin-bottom: 2rem;
  }

  .event-tab-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
  }

  .training-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .calc-wrapper {
    padding: 1.75rem 1.25rem;
  }

  .calc-results {
    padding: 1.5rem 1.15rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .contact-card-wrap {
    padding: 1.75rem 1.25rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* 6. Standard Mobile Phones (≤ 640px) */
@media (max-width: 640px) {
  .container {
    padding-inline: 1.15rem;
  }

  .section-subtitle {
    margin-bottom: 2rem;
  }

  .client-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
  }

  .logo-card {
    height: 66px;
    padding: 0.45rem 0.6rem;
  }

  .client-logo-img {
    max-height: 40px;
  }

  .book-cover-img {
    max-width: 220px;
  }

  .book-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .book-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .founder-authority-badges {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .auth-pill {
    padding: 0.65rem 0.75rem;
  }
}

/* 7. Compact Mobile Phones (≤ 480px) */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .announcement-bar {
    font-size: 0.725rem;
    padding: 0.35rem 0;
  }

  .announcement-content {
    gap: 0.4rem;
  }

  .badge-accent {
    font-size: 0.625rem;
    padding: 0.1rem 0.4rem;
  }

  .hero-pill {
    font-size: 0.725rem;
    padding: 0.3rem 0.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-metrics .metric-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 0.65rem 1rem;
  }

  .hero-metrics .metric-label {
    margin-top: 0;
    max-width: 180px;
    text-align: right;
  }

  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .logo-card {
    height: 62px;
    padding: 0.35rem 0.5rem;
  }

  .client-logo-img {
    max-height: 38px;
  }

  .range-slider::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
  }

  /* Enforce 16px font-size to prevent iOS Safari auto-zoom */
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .select-input {
    font-size: 16px !important;
    padding: 0.75rem 0.85rem;
  }

  .contact-card-wrap {
    padding: 1.35rem 1rem;
  }

  .calc-wrapper {
    padding: 1.35rem 1rem;
  }

  .calc-results {
    padding: 1.35rem 1rem;
  }

  .results-savings-num {
    font-size: 1.85rem;
  }

  .results-breakdown-row {
    font-size: 0.775rem;
  }

  .floating-whatsapp {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
  }

  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }

  .floating-whatsapp .tooltip-text {
    display: none;
  }
}

/* 8. Smallest Screens / Foldables (≤ 360px) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.55rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .brand-logo-wrap {
    padding: 0;
    border: none;
    background: transparent;
  }

  .logo-img {
    height: 61px;
  }

  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* ==========================================================================
   Legal & Policy Pages (Termeni și Condiții / GDPR)
   ========================================================================== */
.legal-page-main {
  padding-top: 6.5rem;
  padding-bottom: 5rem;
}

.legal-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.legal-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-breadcrumb a:hover {
  color: var(--accent-cyan);
}

.legal-breadcrumb-separator {
  color: var(--border-light);
}

.legal-header {
  margin-bottom: 2.5rem;
}

.legal-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legal-company-badge {
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.75rem;
}

.legal-toc-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
}

.legal-toc-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-toc-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.legal-toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-toc-grid li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.legal-toc-grid li a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.legal-body {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.9375rem;
}

.legal-section {
  margin-bottom: 3rem;
  scroll-margin-top: 90px;
}

.legal-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.legal-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
}

.legal-body p {
  margin-bottom: 1.15rem;
}

.legal-body ul, .legal-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
}

.legal-box {
  background: rgba(15, 23, 42, 0.5);
  border-left: 3px solid #38bdf8;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-box.highlight {
  border-left-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.05);
}

.legal-box h4 {
  color: #ffffff;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.legal-table th, .legal-table td {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.legal-table th {
  background: rgba(15, 23, 42, 0.8);
  color: #f1f5f9;
  font-weight: 700;
}

.legal-table td {
  background: rgba(15, 23, 42, 0.4);
}

.legal-cta-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.85));
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.legal-cta-text h4 {
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.legal-cta-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 768px) {
  .legal-toc-grid {
    grid-template-columns: 1fr;
  }
  .legal-page-main {
    padding-top: 5rem;
  }
}

/* ==========================================================================
   Comic-Style Cookie Pop-Up (Featuring Florin Răzvan Basarabeanu)
   ========================================================================== */
.comic-cookie-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  max-width: 490px;
  width: calc(100% - 48px);
  pointer-events: auto;
  font-family: var(--font-sans);
}

.comic-cookie-inner {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  position: relative;
}

/* Character Avatar Pop-out */
.comic-character-wrap {
  width: 110px;
  flex-shrink: 0;
  position: relative;
  margin-bottom: 2px;
  filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.45));
}

.comic-character-img {
  width: 100%;
  height: auto;
  max-height: 190px;
  object-fit: contain;
  display: block;
  transform-origin: bottom center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.comic-cookie-popup:hover .comic-character-img {
  transform: scale(1.04) rotate(-1deg);
}

/* Action Sound Burst on Avatar */
.comic-sound-burst {
  position: absolute;
  top: 12px;
  right: -8px;
  background: #ef4444;
  color: #ffffff;
  border: 2px solid #000000;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  transform: rotate(12deg);
  box-shadow: 2px 2px 0px #000000;
  letter-spacing: 0.05em;
  z-index: 2;
  pointer-events: none;
}

/* Comic Speech Bubble */
.comic-bubble {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 3px solid #000000;
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1rem;
  box-shadow: 6px 6px 0px #000000;
  position: relative;
  color: #0f172a;
}

/* Speech bubble pointer / tail pointing towards avatar */
.comic-bubble::before {
  content: '';
  position: absolute;
  bottom: 48px;
  left: -14px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 14px solid #000000;
}

.comic-bubble::after {
  content: '';
  position: absolute;
  bottom: 49px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 12px solid #ffffff;
}

/* Comic Badge */
.comic-badge {
  display: inline-block;
  background: #fef08a;
  color: #854d0e;
  border: 1.5px solid #000000;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  box-shadow: 2px 2px 0px #000000;
}

.comic-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #000000;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.comic-text {
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

/* Comic Buttons */
.comic-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.comic-btn {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.1rem;
  border: 2.5px solid #000000;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.comic-btn-accept {
  background: #f59e0b;
  color: #000000;
  box-shadow: 3px 3px 0px #000000;
  flex: 1;
}

.comic-btn-accept:hover {
  background: #fbbf24;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000000;
}

.comic-btn-accept:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #000000;
}

.comic-btn-decline {
  background: #f1f5f9;
  color: #334155;
  box-shadow: 3px 3px 0px #000000;
  padding: 0.55rem 0.85rem;
}

.comic-btn-decline:hover {
  background: #e2e8f0;
  color: #000000;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000000;
}

.comic-btn-decline:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #000000;
}

.comic-meta {
  margin-top: 0.55rem;
  font-size: 0.6875rem;
  text-align: right;
}

.comic-link {
  color: #64748b;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s ease;
}

.comic-link:hover {
  color: #000000;
}

/* Animations */
@keyframes comicPopIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.85);
  }
  70% {
    opacity: 1;
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes comicPopOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
  }
}

.comic-pop-in {
  animation: comicPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.comic-pop-out {
  animation: comicPopOut 0.25s ease-in forwards;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .comic-cookie-popup {
    bottom: 14px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
  }

  .comic-character-wrap {
    width: 75px;
  }

  .comic-character-img {
    max-height: 130px;
  }

  .comic-sound-burst {
    font-size: 0.55rem;
    padding: 0.1rem 0.35rem;
    top: 5px;
    right: -5px;
  }

  .comic-bubble {
    padding: 0.85rem 0.95rem;
    border-width: 2.5px;
    box-shadow: 4px 4px 0px #000000;
  }

  .comic-title {
    font-size: 0.95rem;
  }

  .comic-text {
    font-size: 0.75rem;
    margin-bottom: 0.65rem;
  }

  .comic-bubble::before {
    bottom: 28px;
    left: -12px;
    border-right-width: 12px;
    border-top-width: 8px;
    border-bottom-width: 8px;
  }

  .comic-bubble::after {
    bottom: 29px;
    left: -9px;
    border-right-width: 10px;
    border-top-width: 7px;
    border-bottom-width: 7px;
  }

  .comic-btn {
    font-size: 0.725rem;
    padding: 0.45rem 0.75rem;
  }
}

