/* =====================================================
   KDS Network Software Serviços
   style.css — Light Theme
   ===================================================== */

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

:root {
  /* Navy / Brand */
  --navy:        #0d1b2a;
  --navy-2:      #1b2a3b;
  --navy-3:      #1e3a5f;
  --primary:     #1a56db;
  --primary-dark:#1341a8;
  --accent:      #0ea5e9;

  /* Light Theme */
  --bg:          #ffffff;
  --bg-2:        #f8fafc;
  --bg-3:        #f1f5f9;
  --bg-4:        #e2e8f0;
  --border:      #e2e8f0;
  --border-2:    #cbd5e1;

  /* Text */
  --text-dark:   #0d1b2a;
  --text-mid:    #334155;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --white:       #ffffff;

  /* Status */
  --green:       #059669;
  --orange:      #d97706;
  --red:         #dc2626;

  /* Fonts */
  --font-main:   'Inter', sans-serif;
  --font-head:   'Space Grotesk', sans-serif;

  /* Misc */
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:      0 4px 16px rgba(13,27,42,0.1);
  --shadow-lg:   0 12px 40px rgba(13,27,42,0.15);
  --shadow-xl:   0 24px 64px rgba(13,27,42,0.2);
  --transition:  0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-mid);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(13,27,42,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13,27,42,0.45);
  background: linear-gradient(135deg, var(--navy-2), var(--primary-dark));
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ---- Section Base ---- */
.section { padding: 6rem 0; }
.section-light { background: var(--bg); }
.section-alt   { background: var(--bg-2); }
.section-alt2  { background: var(--bg-3); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.3rem 1rem;
  background: rgba(26,86,219,0.08);
  border: 1px solid rgba(26,86,219,0.2);
  border-radius: 50px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---- Fade In ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar {
  background: var(--navy);
  padding: 0.5rem 0;
  font-size: 0.82rem;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left { display: flex; gap: 1.5rem; }
.topbar-left a, .topbar-right a {
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}
.topbar-left a:hover, .topbar-right a:hover { color: var(--white); }
.topbar-email {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.topbar-email i { font-size: 0.85rem; flex-shrink: 0; }
.topbar-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #4ade80 !important;
}
.topbar-whatsapp i { font-size: 1rem; }
.topbar-whatsapp:hover { color: #86efac !important; }
.topbar-emergency {
  color: #fbbf24 !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 1.25rem;
  margin-left: 0.25rem;
  animation: pulse-text 2.5s ease-in-out infinite;
}
.topbar-emergency i { color: #f59e0b; }
.topbar-emergency:hover { color: #fde68a !important; }
@keyframes pulse-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}
.topbar-right { display: flex; gap: 0.5rem; }
.topbar-right a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  justify-content: center;
  font-size: 0.8rem;
}
.topbar-right a:hover { background: var(--accent); color: var(--white); }

/* =====================================================
   SITE HEADER WRAPPER (fixo, transparente sobre hero)
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  background: transparent;
  border-bottom: 1px solid transparent;
}

/* Estado sólido ao rolar (fora do hero) */
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(13,27,42,0.1);
  border-bottom: 1px solid var(--border);
}

/* Topbar transparente no hero */
.site-header:not(.scrolled) .topbar {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* Header transparente no hero */
.site-header:not(.scrolled) .header {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

/* Links do topbar brancos no hero */
.site-header:not(.scrolled) .topbar-left a,
.site-header:not(.scrolled) .topbar-right a {
  color: rgba(255,255,255,0.85);
}
.site-header:not(.scrolled) .topbar-whatsapp {
  color: #86efac !important;
}
.site-header:not(.scrolled) .topbar-emergency {
  color: #fde68a !important;
  border-left-color: rgba(255,255,255,0.25);
}
.site-header:not(.scrolled) .topbar-right a {
  background: rgba(255,255,255,0.1);
}

/* Links do nav brancos no hero */
.site-header:not(.scrolled) .nav-link {
  color: rgba(255,255,255,0.9);
}
.site-header:not(.scrolled) .nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* Botão CTA vermelho no hero */
.site-header:not(.scrolled) .nav-cta {
  background: #dc2626 !important;
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(220,38,38,0.4);
}
.site-header:not(.scrolled) .nav-cta:hover {
  background: #b91c1c !important;
  box-shadow: 0 6px 20px rgba(220,38,38,0.5);
}

/* Hamburger branco no hero */
.site-header:not(.scrolled) .hamburger span {
  background: var(--white);
}

/* Logo branca no hero */
.site-header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

/* =====================================================
   HEADER / NAV
   ===================================================== */
.header {
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}
.nav-link:hover { color: var(--navy); background: var(--bg-3); }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  margin-left: 0.5rem;
  border-radius: 50px;
}
.nav-cta:hover {
  background: var(--navy-2) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(13,27,42,0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  height: min(56.25vw, 90vh); /* proporção da imagem, máx 90vh */
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  /* Hero começa no topo — header é fixo e fica sobre ele */
  margin-top: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s ease;
  /* Otimização de performance */
  will-change: transform;
  contain: layout style paint;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 27, 42, 0.88) 0%,
    rgba(13, 27, 42, 0.72) 45%,
    rgba(13, 27, 42, 0.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  /* Aumentado de 6rem para 10rem para descer o conteúdo */
  padding: 10rem 1.5rem 3.5rem;
  margin-left: max(1.5rem, calc((100vw - 1280px) / 2 + 1.5rem));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.hero-accent {
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.65);
  animation: bounce 2s infinite;
  transition: var(--transition);
}
.hero-scroll a:hover { border-color: var(--white); color: var(--white); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
  background: var(--bg-2);
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.trust-item:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.trust-item:hover i { color: var(--white); }
.trust-item i { color: var(--primary); }

/* =====================================================
   SOLUTIONS CAROUSEL
   ===================================================== */
.solutions-carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}
.solutions-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.solution-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 420px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.solution-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.solution-card:hover .solution-img { transform: scale(1.05); }
.solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.97) 0%,
    rgba(13, 27, 42, 0.55) 50%,
    rgba(13, 27, 42, 0.15) 100%
  );
  transition: background var(--transition);
}
.solution-card:hover .solution-overlay {
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.99) 0%,
    rgba(13, 27, 42, 0.75) 60%,
    rgba(13, 27, 42, 0.25) 100%
  );
}
.solution-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}
.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.solution-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--white);
}
.solution-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #60a5fa;
  transition: gap var(--transition);
}
.solution-link:hover { gap: 0.7rem; }

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-2);
  color: var(--navy);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.carousel-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-60%) scale(1.1);
}
.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }
.carousel-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: 4px;
}

/* =====================================================
   ABOUT
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-desc {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.about-feature > i {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: rgba(26,86,219,0.08);
  border: 1px solid rgba(26,86,219,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}
.about-feature div { display: flex; flex-direction: column; }
.about-feature strong { color: var(--navy); font-size: 0.95rem; margin-bottom: 0.2rem; }
.about-feature span  { color: var(--text-muted); font-size: 0.85rem; }
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
}
.about-badge i { font-size: 1.5rem; color: var(--primary); }
.about-badge div { display: flex; flex-direction: column; }
.about-badge strong { font-size: 1.5rem; color: var(--navy); line-height: 1; }
.about-badge span   { font-size: 0.8rem; color: var(--text-muted); }

/* =====================================================
   INFRASTRUCTURE GRID
   ===================================================== */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.infra-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.infra-card:hover {
  border-color: rgba(26,86,219,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.infra-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26,86,219,0.1), rgba(14,165,233,0.08));
  border: 1px solid rgba(26,86,219,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.infra-card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--navy); }
.infra-card p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.infra-list { display: flex; flex-direction: column; gap: 0.5rem; }
.infra-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.infra-list li i { color: var(--green); font-size: 0.75rem; }

/* =====================================================
   PRODUCTS TABS
   ===================================================== */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.tab-btn {
  padding: 0.75rem 1.25rem;
  border-radius: 8px 8px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  transition: var(--transition);
  position: relative;
  bottom: -2px;
}
.tab-btn:hover { color: var(--navy); background: var(--bg-3); }
.tab-btn.active {
  color: var(--navy);
  background: var(--bg);
  border-color: var(--border);
  border-bottom-color: var(--bg);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.tab-info h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--navy); }
.tab-info p  { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.tab-features { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; }
.tab-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.tab-feature i { color: var(--primary); margin-top: 0.2rem; min-width: 16px; }
.tab-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* =====================================================
   NUMBERS — navy background strip
   ===================================================== */
.section-numbers {
  position: relative;
  padding: 5rem 0;
  background: var(--navy);
}
.numbers-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}
.numbers-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.number-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.number-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #60a5fa;
  margin-bottom: 0.5rem;
}
.number-value {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.number-suffix {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #60a5fa;
}
.number-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

/* =====================================================
   INSIGHTS
   ===================================================== */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.insight-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.insight-card:hover {
  border-color: rgba(26,86,219,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.insight-featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.insight-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(26,86,219,0.08);
  border: 1px solid rgba(26,86,219,0.15);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
  width: fit-content;
}
.insight-card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--navy); line-height: 1.4; }
.insight-featured h3 { font-size: 1.3rem; }
.insight-card p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.insight-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.insight-meta span { display: flex; align-items: center; gap: 0.3rem; }
.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition);
}
.insight-link:hover { gap: 0.7rem; }
.insights-cta { text-align: center; margin-top: 2.5rem; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: rgba(26,86,219,0.08);
  border: 1px solid rgba(26,86,219,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}
.contact-item div  { display: flex; flex-direction: column; }
.contact-item strong { color: var(--navy); font-size: 0.9rem; }
.contact-item span   { color: var(--text-muted); font-size: 0.88rem; }

/* Form */
.contact-form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--navy);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group select option { background: var(--bg); color: var(--navy); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-privacy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--navy); }
.footer-top { padding: 5rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}
.footer-logo { margin-bottom: 0.5rem; }
.footer-logo-img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-cert { display: flex; gap: 0.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: rgba(5,150,105,0.15);
  border: 1px solid rgba(5,150,105,0.3);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #34d399;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(13,27,42,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(13,27,42,0.5);
  background: var(--navy-2);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image img { height: 380px; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .tab-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tab-image { order: -1; }
  .tab-image img { height: 280px; }
  .solution-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-featured { grid-row: span 1; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .topbar { display: none; }

  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav-link { padding: 0.75rem 1rem; border-radius: 8px; }
  .nav-cta { text-align: center; margin-left: 0; margin-top: 0.5rem; border-radius: 8px; }

  .hero-content { margin-left: 0; padding: 2rem 1.5rem; max-width: 100%; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 1.5rem; }

  .solution-card { flex: 0 0 100%; }
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }

  .infra-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand p { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }

  .tabs-nav { gap: 0.25rem; }
  .tab-btn { font-size: 0.8rem; padding: 0.6rem 0.9rem; }
  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .number-value { font-size: 2rem; }
  .trust-logos { gap: 0.5rem; }
  .trust-item { font-size: 0.78rem; padding: 0.4rem 0.9rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* =====================================================
   COOKIE BANNER
   ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 820px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transition: bottom 0.4s ease;
  overflow: hidden;
}
.cookie-banner.visible {
  bottom: 1.25rem;
}
.cookie-icon { display: none; }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.5rem;
}
.cookie-text {
  flex: 1;
  min-width: 0;
}
.cookie-text strong { display: none; }
.cookie-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}
.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}
.cookie-text a:hover { color: var(--navy); }
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.cookie-accept {
  background: var(--navy);
  color: var(--white);
}
.cookie-accept:hover {
  background: var(--navy-2);
  box-shadow: 0 4px 14px rgba(13,27,42,0.25);
}
.cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
}
.cookie-decline:hover {
  background: var(--bg-3);
  color: var(--text-dark);
}

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; gap: 0.75rem; padding: 1rem; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}
