/* ============================================================
   GenetsisIT — Landing Comercial B2B
   Design System: Corporate Black + White + Red
   Matching Genetsis Group branding
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties (Corporate Black/White/Red) ────── */
:root {
  /* Black base */
  --navy-deep: #000000;
  --navy-mid: #0a0a0a;
  --navy-light: #141414;

  /* Corporate red */
  --red: #da291c;
  --red-hover: #b8221a;

  /* Accent — now red-based instead of blue */
  --blue-sky: #da291c;
  --blue-accent: #ff3b2f;

  /* Gold → Red */
  --gold: #da291c;
  --gold-light: #ff4d42;

  /* Neutrals */
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #b0b0b0;
  --gray-500: #777777;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(218, 41, 28, 0.18);
  --glass-blur: 18px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow-gold: 0 0 25px rgba(218, 41, 28, 0.2);
  --shadow-glow-red: 0 0 20px rgba(218, 41, 28, 0.3);
  --shadow-glow-blue: 0 0 25px rgba(218, 41, 28, 0.15);

  /* Extended palette for sections */
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(218, 41, 28, 0.35);

  /* Status colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 4rem);

  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000000;
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ── Animated Gradient Background (Subtle black) ─────────── */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    #000000 0%,
    #0a0a0a 25%,
    #0f0f0f 50%,
    #050505 75%,
    #000000 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}

/* Red accent overlay */
.bg-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 20% 80%,
    rgba(218, 41, 28, 0.03) 0%,
    transparent 50%
  ),
  radial-gradient(
    ellipse at 80% 20%,
    rgba(218, 41, 28, 0.02) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* ── Particles Container ──────────────────────────────────── */
#tsparticles {
  position: fixed;
  inset: 0;
  z-index: 1;
}

/* ── Cursor Glow ──────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(218, 41, 28, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: opacity 0.3s ease;
  will-change: left, top;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}

section {
  position: relative;
  z-index: 10;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-base);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.navbar-brand .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 2px 12px rgba(218, 41, 28, 0.3);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.navbar-brand:hover .logo-icon {
  box-shadow: 0 4px 18px rgba(218, 41, 28, 0.45);
  transform: scale(1.05);
}

.navbar-brand .brand-text-it {
  color: var(--red);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: var(--transition-fast);
  position: relative;
}

.navbar-links a:hover {
  color: var(--white);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #ff4d42);
  border-radius: 1px;
  transition: var(--transition-base);
}

.navbar-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.25rem !important;
  background: linear-gradient(135deg, var(--red), #e03a2e) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: var(--transition-base) !important;
  box-shadow: 0 4px 15px rgba(218, 41, 28, 0.25);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-red) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 6rem 0 3rem;
  padding-top: 8rem;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(218, 41, 28, 0.1);
  border: 1px solid rgba(218, 41, 28, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--red) 0%, #ff4d42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(218, 41, 28, 0.2));
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Visual Hero Right Column */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-card {
  width: 100%;
  max-width: 460px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card), var(--shadow-glow-gold);
  position: relative;
  overflow: hidden;
}

/* Card shine sweep */
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.hero-card:hover::before {
  left: 125%;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-card-dot.red { background: var(--danger); }
.hero-card-dot.yellow { background: var(--warning); }
.hero-card-dot.green { background: var(--success); }

.hero-card-title {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-stat {
  padding: 1rem;
  background: rgba(218, 41, 28, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-base);
}

.hero-stat:hover {
  border-color: var(--border-accent);
  background: rgba(218, 41, 28, 0.1);
  box-shadow: var(--shadow-glow-gold);
}

.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #e03a2e);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(218, 41, 28, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-red);
  background: linear-gradient(135deg, #e03a2e, var(--red));
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  border-color: var(--border-accent);
  background: rgba(201, 168, 76, 0.08);
  box-shadow: var(--shadow-glow-gold);
}

/* ── Section Shared Styles ────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ── Pain Points Section ──────────────────────────────────── */
.pain-points {
  padding: 3rem 0 var(--section-gap);
}

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

.pain-card {
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* Card shine sweep */
.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.pain-card:hover::before {
  left: 125%;
}

.pain-card:hover {
  border-color: rgba(218, 41, 28, 0.45);
  box-shadow: var(--shadow-card), var(--shadow-glow-red);
  transform: translateY(-4px);
}

.pain-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(218, 41, 28, 0.12), rgba(218, 41, 28, 0.06));
  border: 1px solid rgba(218, 41, 28, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-base);
}

.pain-card:hover .pain-icon {
  background: linear-gradient(135deg, rgba(218, 41, 28, 0.2), rgba(218, 41, 28, 0.1));
  border-color: rgba(218, 41, 28, 0.3);
  transform: scale(1.05);
}

.pain-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ── Services Section ─────────────────────────────────────── */
.services {
  padding: var(--section-padding);
}

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

.service-card {
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Top accent bar */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4d42);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

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

/* Card shine sweep */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.service-card:hover::after {
  left: 125%;
}

.service-card:hover {
  border-color: rgba(218, 41, 28, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow-red);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(218, 41, 28, 0.12), rgba(218, 41, 28, 0.06));
  border: 1px solid rgba(218, 41, 28, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(218, 41, 28, 0.2), rgba(218, 41, 28, 0.1));
  border-color: rgba(218, 41, 28, 0.3);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--red);
  background: rgba(218, 41, 28, 0.1);
  border: 1px solid rgba(218, 41, 28, 0.2);
  border-radius: 100px;
  transition: var(--transition-fast);
}

.service-card:hover .service-tag {
  background: rgba(218, 41, 28, 0.15);
  border-color: rgba(218, 41, 28, 0.35);
}

/* ── Trust Section ────────────────────────────────────────── */
.trust {
  padding: var(--section-padding);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.trust-stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  box-shadow: var(--shadow-card);
}

.trust-stat:hover {
  border-color: rgba(218, 41, 28, 0.45);
  box-shadow: var(--shadow-card), var(--shadow-glow-red);
  transform: translateY(-4px);
}

.trust-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--white), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 500;
}

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

.trust-partners h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0.6;
  transition: var(--transition-base);
}

.partners-logos:hover {
  opacity: 1;
}

.partner-logo {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 1px;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  transition: var(--transition-fast);
}

.partner-logo:hover {
  border-color: var(--border-accent);
  color: var(--gold);
  box-shadow: var(--shadow-glow-gold);
}

/* ── Client Logos Grid ────────────────────────────────────── */
.trust-clients {
  text-align: center;
  margin-bottom: 3rem;
}

.trust-clients h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  max-width: 900px;
  margin: 0 auto;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  width: 130px;
  height: 58px;
  position: relative;
}

/* Tooltip with company name on hover */
.client-logo[data-name]::after {
  content: attr(data-name);
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.client-logo[data-name]:hover::after {
  opacity: 1;
}

.client-logo img {
  max-width: 90px;
  max-height: 36px;
  object-fit: contain;
  filter: grayscale(0.3);
  opacity: 0.75;
  transition: var(--transition-base);
}

.client-logo:hover {
  border-color: rgba(218, 41, 28, 0.5);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(218, 41, 28, 0.15), 0 0 0 1px rgba(218, 41, 28, 0.2);
  transform: translateY(-3px);
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Partners — white card background for brand visibility */
.partner-img {
  width: 150px;
  height: 62px;
  padding: 0.6rem 0.8rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.partner-img img {
  max-width: 130px !important;
  max-height: 42px !important;
  width: auto;
  height: auto;
  filter: none !important;
  opacity: 0.8 !important;
}

.partner-img:hover {
  background: rgba(255, 255, 255, 1);
}

.partner-img:hover img {
  filter: none !important;
  opacity: 1 !important;
}

/* ── Section Showcase Images ──────────────────────────────── */
.section-image {
  width: 100%;
  padding: 0 clamp(1rem, 5vw, 4rem);
  margin: 3rem 0;
  position: relative;
  z-index: 1;
}

.section-image-inner {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card), 0 0 40px rgba(218, 41, 28, 0.06);
}

.section-image-inner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(1.1);
  transition: filter 0.6s ease;
}

.section-image-inner:hover img {
  filter: brightness(0.85) saturate(1.2);
}

.section-image-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
}

.section-image-caption {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

@media (max-width: 768px) {
  .section-image-inner img {
    height: 180px;
  }
}

/* ── Cases Section ────────────────────────────────────────── */
.cases-section {
  padding: var(--section-padding);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.case-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
  box-shadow: var(--shadow-card);
  position: relative;
}

.case-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  filter: grayscale(0.3) brightness(0.85);
  transition: var(--transition-base);
}

.case-card:hover .case-card-img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.03);
}

.case-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.case-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  pointer-events: none;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4d42);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

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

.case-card:hover {
  border-color: rgba(218, 41, 28, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow-red);
}

.case-card-body {
  padding: 2rem;
}

.case-card-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--red);
  background: rgba(218, 41, 28, 0.1);
  border: 1px solid rgba(218, 41, 28, 0.2);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.case-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  transition: var(--transition-fast);
}

.case-card-link:hover {
  color: #ff4d42;
  gap: 0.75rem;
}

.case-card-link .arrow {
  transition: transform var(--transition-fast);
}

.case-card:hover .case-card-link .arrow {
  transform: translateX(4px);
}

/* ── Navbar Brand Text Logo ───────────────────────────────── */
.navbar-logo-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(218, 41, 28, 0.3);
}

.navbar-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.navbar-logo-it {
  color: var(--red);
  font-weight: 800;
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  padding: var(--section-padding);
}

.cta-box {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow-gold);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  color: var(--white);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.cta-box p {
  font-size: 1.05rem;
  color: var(--gray-400);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.logo-g--sm {
  width: 28px;
  height: 28px;
  font-size: 0.9rem;
}

.logo-wordmark--sm {
  font-size: 1.15rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact a {
  font-size: 0.82rem;
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-iso {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-cert-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
  line-height: 1.4;
}

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

.footer-text {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ── Logo 3D Glassmorphism (Header — SSCC style) ──────────── */
.logo-scene {
  perspective: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 36px;
}

.logo-glass {
  position: relative;
  padding: 22px 44px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(218, 41, 28, 0.05) 100%
  );
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transform-style: preserve-3d;
  animation: logoFloat 6s ease-in-out infinite;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
  will-change: transform;
}

.logo-glass:hover {
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(218, 41, 28, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px) rotateX(2deg) rotateY(-1deg);
  }
  33% {
    transform: translateY(-8px) rotateX(-1deg) rotateY(2deg);
  }
  66% {
    transform: translateY(-4px) rotateX(1deg) rotateY(-2deg);
  }
}

/* Navbar variant — bigger logo with all effects */
.logo-glass--nav {
  padding: 10px 24px;
  border-radius: 14px;
  animation: navLogoGlow 6s ease-in-out infinite;
}

.logo-glass--nav .logo-g {
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
}

.logo-glass--nav .logo-wordmark {
  font-size: 1.5rem;
}

.logo-glass--nav .logo-it {
  font-size: 1.5rem;
}

@keyframes navLogoGlow {
  0%, 100% {
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow:
      0 4px 24px rgba(218, 41, 28, 0.12),
      0 0 16px rgba(218, 41, 28, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  }
}

/* Light sweep */
.logo-glass__shine {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.logo-glass__shine::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 30%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 70%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: lightSweep 5s ease-in-out infinite;
}

@keyframes lightSweep {
  0%, 100% { left: -60%; }
  50% { left: 120%; }
}

/* Edge glow lines */
.logo-glass__edge {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.logo-glass__edge--top {
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 41, 28, 0.5), rgba(255, 255, 255, 0.3), transparent);
  animation: edgePulse 4s ease-in-out infinite;
}

.logo-glass__edge--bottom {
  bottom: 0; left: 30%; right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), rgba(218, 41, 28, 0.4), transparent);
  animation: edgePulse 4s ease-in-out infinite 2s;
}

.logo-glass__edge--left {
  left: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(218, 41, 28, 0.35), transparent);
  animation: edgePulse 4s ease-in-out infinite 1s;
}

.logo-glass__edge--right {
  right: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: edgePulse 4s ease-in-out infinite 3s;
}

@keyframes edgePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Glow behind glass */
.logo-glass__glow {
  position: absolute;
  inset: -20px;
  border-radius: 30px;
  background: radial-gradient(
    ellipse at center,
    rgba(218, 41, 28, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 70%
  );
  z-index: -1;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Shadow below glass */
.logo-shadow {
  width: 180px;
  height: 12px;
  margin-top: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
  animation: shadowFloat 6s ease-in-out infinite;
  filter: blur(4px);
}

@keyframes shadowFloat {
  0%, 100% { transform: scaleX(1); opacity: 0.6; }
  33% { transform: scaleX(0.8); opacity: 0.35; }
  66% { transform: scaleX(0.9); opacity: 0.5; }
}

/* Logo text inside glass */
.logo-glass__content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  user-select: none;
  transform: translateZ(30px);
}

.logo-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(218, 41, 28, 0.35);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.logo-glass:hover .logo-g {
  box-shadow: 0 4px 25px rgba(218, 41, 28, 0.5);
  transform: scale(1.06);
}

.logo-text,
.logo-wordmark {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
  animation: textGlow 4s ease-in-out infinite alternate;
}

@keyframes textGlow {
  0% { text-shadow: 0 0 8px rgba(255, 255, 255, 0.1); }
  100% { text-shadow: 0 0 18px rgba(255, 255, 255, 0.2); }
}

.logo-it {
  font-family: 'Montserrat', sans-serif;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-left: 0;
  color: var(--red);
  text-shadow: 0 0 10px rgba(218, 41, 28, 0.2);
}

/* ── Header (for logo-scene in hero) ──────────────────────── */
.header-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.header-title .accent-dot {
  color: var(--gold);
}

.header-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gray-400);
  letter-spacing: 0.03em;
  text-align: center;
}

.header-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4d42);
  border-radius: 2px;
  margin: 24px auto 0;
  opacity: 0.7;
}

/* ── Chat Widget ──────────────────────────────────────────── */
.chat-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #e03a2e);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(218, 41, 28, 0.35);
  transition: var(--transition-base);
  animation: chatPulse 3s ease-in-out infinite;
}

.chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 36px rgba(218, 41, 28, 0.5);
}

.chat-toggle svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  transition: var(--transition-base);
}

.chat-toggle.active svg {
  transform: rotate(90deg);
}

/* Chat notification badge */
.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--navy-deep);
  animation: badgeBounce 0.5s ease;
}

/* Chat Window */
.chat-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9999;
  width: 400px;
  max-height: 580px;
  background: var(--navy-mid);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5), var(--shadow-glow-gold);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-base);
}

.chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Chat Header */
.chat-header {
  padding: 1.1rem 1.25rem;
  background: rgba(218, 41, 28, 0.08);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(218, 41, 28, 0.3);
}

.chat-header-info {
  flex: 1;
}

.chat-header-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.chat-header-status {
  font-size: 0.72rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chat-header-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

.chat-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.chat-close:hover {
  background: rgba(218, 41, 28, 0.15);
  color: var(--red);
}

/* Chat Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 300px;
  max-height: 380px;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(218, 41, 28, 0.2);
  border-radius: 4px;
}

.chat-message {
  max-width: 85%;
  animation: messageIn 0.3s ease-out;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
}

.chat-bubble {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.55;
}

.chat-message.bot .chat-bubble {
  background: rgba(218, 41, 28, 0.08);
  border: 1px solid rgba(218, 41, 28, 0.12);
  color: var(--white);
  border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
  background: linear-gradient(135deg, var(--red), #e03a2e);
  color: var(--white);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-timestamp {
  font-size: 0.65rem;
  color: var(--gray-500);
  margin-top: 0.3rem;
  padding: 0 0.2rem;
}

.chat-message.user .chat-timestamp {
  text-align: right;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.85rem 1.1rem;
  background: rgba(218, 41, 28, 0.08);
  border: 1px solid rgba(218, 41, 28, 0.12);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
  width: fit-content;
}

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

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

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

/* Chat Input */
.chat-input-area {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chat-input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.chat-input:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.chat-input::placeholder {
  color: var(--gray-500);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--red), #e03a2e);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  flex-shrink: 0;
}

.chat-send:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-red);
}

.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chat-send svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* ── Quick Reply Buttons ──────────────────────────────────── */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.25rem;
  animation: messageIn 0.3s ease-out;
}

.chat-quick-btn {
  padding: 0.45rem 0.9rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  line-height: 1.3;
  animation: messageIn 0.3s ease-out backwards;
}

.chat-quick-btn:nth-child(1) { animation-delay: 0.05s; }
.chat-quick-btn:nth-child(2) { animation-delay: 0.1s; }
.chat-quick-btn:nth-child(3) { animation-delay: 0.15s; }
.chat-quick-btn:nth-child(4) { animation-delay: 0.2s; }
.chat-quick-btn:nth-child(5) { animation-delay: 0.25s; }

.chat-quick-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.chat-quick-btn:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.2);
}

/* ── Scroll Reveal Animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FadeUp for hero logo */
.fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.25s; }
.fade-up-delay-3 { transition-delay: 0.4s; }

/* ── Keyframes ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes chatPulse {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(218, 41, 28, 0.35);
  }
  50% {
    box-shadow: 0 4px 40px rgba(218, 41, 28, 0.5), 0 0 0 8px rgba(218, 41, 28, 0.08);
  }
}

@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

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

@keyframes typingBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 380px;
    margin: 0 auto;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #0a0a0a;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: var(--transition-base);
    border-left: 1px solid var(--border-subtle);
  }

  .navbar-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .trust-stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-glass {
    padding: 16px 32px;
  }

  .logo-g {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .logo-text, .logo-it {
    font-size: 1.6rem;
  }

  /* Chat widget full-width on mobile */
  .chat-window {
    width: calc(100% - 24px);
    right: 12px;
    bottom: 90px;
    max-height: calc(100vh - 120px);
  }

  .chat-toggle {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-cert {
    justify-content: center;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .hero-stat-value {
    font-size: 1.4rem;
  }

  .trust-stats {
    grid-template-columns: 1fr;
  }

  .partners-logos {
    gap: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.88rem;
  }

  .logo-glass {
    padding: 14px 24px;
  }

  .logo-g {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }

  .logo-text, .logo-it {
    font-size: 1.4rem;
  }
}

/* ── Accessibility ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Selection ────────────────────────────────────────────── */
::selection {
  background: rgba(218, 41, 28, 0.3);
  color: var(--white);
}

/* Focus styles */
.btn:focus-visible,
.card-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
