/* ============================================================
   DOCA LIVRE — Institutional Website Stylesheet
   Premium logistics access-control SaaS
   ============================================================ */

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

/* ============================================================
   1. CSS RESET & CUSTOM PROPERTIES
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand palette */
  --primary: #1a237e;
  --primary-light: #0d47a1;
  --accent: #f5c518;
  --accent-hover: #e0b000;
  --accent-light: #29b6f6;
  --dark: #1a1f2e;
  --text: #333333;
  --text-light: #ffffff;
  --text-muted: #6b7280;
  --bg-light: #f4f6f8;
  --bg-white: #ffffff;
  --success: #4caf50;
  --border: #e5e7eb;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.2);
  --shadow-accent: 0 4px 24px rgba(245, 197, 24, 0.35);

  /* Layout */
  --header-h: 80px;
  --container-w: 1200px;
  --section-py: 100px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.75;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

/* Dark section title overrides */
.dark-section .section-title,
.dark-section h2 {
  color: var(--text-light);
}

.dark-section .section-title::after {
  background: var(--accent);
}

.dark-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   3. HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(26, 35, 126, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

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

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1001;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-logo span {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.header-logo .logo-highlight {
  color: var(--accent);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  margin-left: 0.75rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: var(--radius-full);
  transition: transform var(--transition), opacity var(--transition);
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ============================================================
   4. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Subtle background shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(41, 182, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-title {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* Hero image with float animation */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

/* Decorative glow behind image */
.hero-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(41, 182, 246, 0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================================
   5. FEATURES SECTION
   ============================================================ */
.features {
  background: var(--bg-light);
  padding: var(--section-py) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 35, 126, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 16px rgba(26, 35, 126, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(26, 35, 126, 0.35);
}

.feature-icon i,
.feature-icon svg,
.feature-icon img {
  font-size: 1.6rem;
  color: var(--text-light);
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================================
   6. SOLUTIONS SPLIT SECTIONS
   ============================================================ */
.solutions-section {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.solutions-section:nth-child(even) {
  background: var(--bg-light);
}

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

.solution-split.reverse {
  direction: rtl;
}

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

.solution-content {
  max-width: 520px;
}

.solution-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(245, 197, 24, 0.12);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.solution-content h2 {
  margin-bottom: 1.2rem;
}

.solution-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.solution-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--success), #66bb6a);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 2px;
}

.solution-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.solution-image:hover img {
  transform: scale(1.02);
}

/* Decorative dot behind solution image */
.solution-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.2), transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

/* ============================================================
   7. DIFFERENTIALS SECTION
   ============================================================ */
.differentials {
  padding: var(--section-py) 0;
  background: linear-gradient(160deg, var(--primary) 0%, #0a1a5c 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.differentials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

.differential-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.differential-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.differential-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.25);
}

.differential-icon i,
.differential-icon svg,
.differential-icon img {
  font-size: 1.4rem;
  color: var(--dark);
  width: 24px;
  height: 24px;
}

.differential-card h3 {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.differential-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================================
   8. NUMBERS / STATS SECTION
   ============================================================ */
.numbers {
  background: var(--dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.numbers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.3), transparent);
}

.numbers::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.3), transparent);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.number-item {
  padding: 1.5rem 1rem;
  position: relative;
}

.number-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.number-value {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
}

.number-suffix {
  font-size: 0.6em;
  font-weight: 700;
  color: var(--accent);
}

.number-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.4;
}

/* ============================================================
   9. TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--bg-light);
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-inner {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid var(--border);
}

.testimonial-inner::before {
  content: '"';
  position: absolute;
  top: 1.2rem;
  left: 2rem;
  font-family: 'Outfit', serif;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.2rem;
}

.testimonial-stars i,
.testimonial-stars span {
  color: var(--accent);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.8rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.3;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-logo {
  height: 28px;
  width: auto;
  opacity: 0.45;
  margin-left: auto;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition);
}

.testimonial-author:hover .testimonial-logo {
  opacity: 0.7;
  filter: grayscale(0);
}

/* Slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  gap: 0.6rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: var(--radius-full);
}

/* ============================================================
   10. CTA FINAL SECTION
   ============================================================ */
.cta-final {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #1565c0 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(245, 197, 24, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.cta-final p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-final .btn-primary {
  font-size: 1.08rem;
  padding: 1rem 2.8rem;
}

/* ============================================================
   11. CONTACT FORM SECTION
   ============================================================ */
.contact {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

/* Form column */
.contact-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form h3 {
  margin-bottom: 0.5rem;
}

.contact-form > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
  background: var(--bg-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem 2rem;
}

/* Info column */
.contact-info {
  padding-top: 1rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.98rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26, 35, 126, 0.2);
}

.contact-info-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.contact-info-text span,
.contact-info-text a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info-text a:hover {
  color: var(--primary);
}

/* Social icons in contact */
.contact-social {
  display: flex;
  gap: 0.75rem;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.contact-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 60px;
}

/* Brand column */
.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-logo span {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-light);
}

.footer-logo .logo-highlight {
  color: var(--accent);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

/* Link columns */
.footer-column h4 {
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

/* Copyright bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.4);
}

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

/* ============================================================
   13. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--transition);
}

.btn:active::after {
  background: rgba(0, 0, 0, 0.08);
}

/* Primary — accent yellow */
.btn-primary {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(245, 197, 24, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: scale(1.05);
  box-shadow: var(--shadow-accent);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Secondary — transparent, white border */
.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.05);
}

/* Outline — for light backgrounds */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(26, 35, 126, 0.25);
}

/* Small variant */
.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem;
}

/* Large variant */
.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
}

/* ============================================================
   14. ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(245, 197, 24, 0);
  }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.animate-on-scroll.animated:nth-child(1) { transition-delay: 0ms; }
.animate-on-scroll.animated:nth-child(2) { transition-delay: 80ms; }
.animate-on-scroll.animated:nth-child(3) { transition-delay: 160ms; }
.animate-on-scroll.animated:nth-child(4) { transition-delay: 240ms; }
.animate-on-scroll.animated:nth-child(5) { transition-delay: 320ms; }
.animate-on-scroll.animated:nth-child(6) { transition-delay: 400ms; }

/* ============================================================
   15. UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

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

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

.text-white {
  color: var(--text-light);
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   16. RESPONSIVE
   ============================================================ */

/* ---- Tablet & below (≤ 1024px) ---- */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

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

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

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

  .solution-split {
    gap: 3rem;
  }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --header-h: 68px;
  }

  /* Header mobile */
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: var(--dark);
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.35s var(--ease);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    z-index: 999;
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
  }

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

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

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

  /* Overlay when mobile nav open */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
  }

  .nav-overlay.active {
    display: block;
    opacity: 1;
  }

  /* Hero */
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    max-width: 100%;
  }

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

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

  .hero-image {
    order: -1;
    max-width: 320px;
    margin: 0 auto 2rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Solutions */
  .solution-split,
  .solution-split.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
    text-align: center;
  }

  .solution-content {
    max-width: 100%;
  }

  .solution-list li {
    justify-content: center;
  }

  .solution-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .solution-image::before {
    display: none;
  }

  /* Differentials */
  .differentials-grid {
    grid-template-columns: 1fr;
  }

  /* Numbers */
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .number-item:not(:last-child)::after {
    display: none;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    max-width: 100%;
  }

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

/* ---- Small mobile (≤ 480px) ---- */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

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

  .hero-stats {
    gap: 1.5rem;
  }

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

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .testimonial-inner {
    padding: 1.8rem 1.5rem;
  }
}

/* ============================================================
   17. CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) var(--dark);
}

/* ============================================================
   18. CLIENT LOGOS CAROUSEL
   ============================================================ */
.clients {
  padding: 60px 0;
  background: var(--bg-white);
  overflow: hidden;
}

.clients-title {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.clients-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: scrollLogos 30s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  height: 36px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition);
  flex-shrink: 0;
}

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

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   19. ADDITIONAL ENHANCEMENTS
   ============================================================ */

/* Selection color */
::selection {
  background: rgba(26, 35, 126, 0.2);
  color: var(--primary);
}

/* Focus-visible for accessibility */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 1rem;
}

/* Loading state on buttons */
.btn.loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn.loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Form success / error states */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-error-message {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 0.3rem;
}

.form-success-message {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--success);
  color: #2e7d32;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  text-align: center;
  margin-top: 1rem;
}

/* Smooth image reveals */
.img-reveal {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.img-reveal img {
  transition: transform 0.6s var(--ease);
}

.img-reveal:hover img {
  transform: scale(1.05);
}

/* Badge / pill styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(26, 35, 126, 0.08);
  color: var(--primary);
}

.badge-accent {
  background: rgba(245, 197, 24, 0.15);
  color: #9a7b00;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

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

  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   20. HTML ↔ CSS COMPATIBILITY LAYER
   Maps the class names used in index.html to the core styles
   ============================================================ */

/* --- Header --- */
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-cta { white-space: nowrap; }

.logo-default { display: block; }
.logo-white  { display: none; }
.header.scrolled .logo-default { display: none; }
.header.scrolled .logo-white  { display: block; }

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
}
.shape-1 {
  top: -20%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
}
.shape-2 {
  bottom: -15%; left: -8%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(41,182,246,0.1) 0%, transparent 70%);
}
.shape-3 {
  top: 40%; left: 30%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,197,24,0.04) 0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.hero-title { color: var(--text-light); margin-bottom: 1.5rem; font-weight: 800; }
.hero-title .text-accent { color: var(--accent); }

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stat {
  text-align: left;
}

.hero-stat strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}

.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  align-self: center;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

.hero-image-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 85%; height: 85%;
  background: radial-gradient(circle, rgba(41,182,246,0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: float 3s ease-in-out infinite;
}

.hero-scroll-indicator .material-icons-outlined { font-size: 2rem; }

/* --- Section tags (used across multiple sections) --- */
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(245,197,24,0.12);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.section-tag-light {
  background: rgba(245,197,24,0.15);
  color: var(--accent);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-tag { margin-bottom: 1rem; }
.section-header .section-title { margin-bottom: 1rem; }

/* --- Features Section --- */
.features-section {
  background: var(--bg-light);
}

.feature-icon .material-icons-outlined {
  font-size: 1.6rem;
  color: var(--text-light);
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* --- Solutions Section --- */
.solutions-section { }

.solution-block { }

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

.solution-reverse .solution-inner {
  direction: rtl;
}

.solution-reverse .solution-inner > * {
  direction: ltr;
}

.solution-content .section-title {
  text-align: left;
}

.solution-content .section-title::after {
  left: 0;
  transform: none;
}

.solution-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  list-style: none;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.solution-features li .material-icons-outlined {
  color: var(--success);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.solution-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.solution-image:hover img {
  transform: scale(1.02);
}

.bg-light { background: var(--bg-light); }

/* --- Differentials Section --- */
.differentials-section {
  background: linear-gradient(160deg, var(--primary) 0%, #0a1a5c 100%);
  position: relative;
  overflow: hidden;
}

.differentials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.differentials-section .section-title { color: var(--text-light); }
.differentials-section .section-subtitle { color: rgba(255,255,255,0.7); }

.differentials-section .section-title::after { background: var(--accent); }

.differential-icon .material-icons-outlined {
  font-size: 1.4rem;
  color: var(--dark);
}

/* --- Stats / Numbers Section --- */
.stats-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,197,24,0.3), transparent);
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,197,24,0.3), transparent);
}

.stats-section .section-title { color: var(--text-light); }
.stats-section .section-title::after { background: var(--accent); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  line-height: 1.4;
}

/* --- Testimonials Section --- */
.testimonials-section {
  background: var(--bg-light);
  overflow: hidden;
}

.testimonials-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  opacity: 0;
  position: absolute;
  visibility: hidden;
  width: 100%;
  transition: opacity 0.5s var(--ease);
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
  visibility: visible;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid var(--border);
}

.testimonial-quote { position: relative; z-index: 1; }
.quote-icon {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.15;
  z-index: 0;
}

.testimonial-quote p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.8rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  flex-shrink: 0;
}

.author-avatar .material-icons-outlined { font-size: 1.5rem; }

.author-info strong {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  display: block;
  line-height: 1.3;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.testimonial-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  transform: scale(1.08);
}

.testimonial-dots {
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
}

.dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: var(--radius-full);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #1565c0 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -25%;
  width: 150%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(245,197,24,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-title {
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.cta-title .text-accent { color: var(--accent); }
.cta-title::after { display: none; }

.cta-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  box-shadow: 0 2px 12px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}

.btn-whatsapp svg { fill: currentColor; }

/* --- Contact Section --- */
.contact-section { background: var(--bg-white); }

.contact-form-wrapper .section-title {
  text-align: left;
}

.contact-form-wrapper .section-title::after {
  left: 0;
  transform: none;
}

.contact-form-wrapper .section-subtitle {
  text-align: left;
  margin-left: 0;
}

.contact-form {
  margin-top: 2rem;
}

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

.btn-text { display: inline-flex; align-items: center; gap: 0.5rem; }

.btn-loading { display: inline-flex; align-items: center; gap: 0.5rem; }

.spin { animation: spin 0.6s linear infinite; }

.form-toast {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  background: rgba(76,175,80,0.1);
  border: 1px solid var(--success);
  color: #2e7d32;
  font-size: 0.95rem;
}

.form-toast.visible {
  display: flex;
  animation: fadeInUp 0.4s var(--ease);
}

.form-toast.error {
  background: rgba(239,68,68,0.1);
  border-color: #ef4444;
  color: #dc2626;
}

.form-toast .material-icons-outlined {
  font-size: 1.3rem;
}

.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.contact-info-card h3 {
  margin-bottom: 0.5rem;
}

.contact-info-card > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item .material-icons-outlined,
.contact-item .whatsapp-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-social {
  margin-top: 2rem;
}

.contact-social h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
}

.social-link svg { fill: currentColor; }

/* --- Footer --- */
.footer-logo {
  margin-bottom: 1.2rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-links h4 {
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links ul a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact h4 {
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item .material-icons-outlined {
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

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

.footer-contact .footer-social {
  margin-top: 1.5rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-inner p {
  margin-bottom: 0;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 6rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.whatsapp-float svg { fill: #fff; }

/* --- Clients Section --- */
.clients-section {
  padding: 60px 0;
  background: var(--bg-white);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.client-logo img {
  height: 36px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition);
}

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

/* --- Text utilities for dark sections --- */
.text-white { color: var(--text-light) !important; }
.text-white-muted { color: rgba(255,255,255,0.7) !important; }

/* --- Input validation states --- */
input.error, textarea.error, select.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important;
}

/* --- Responsive overrides for compatibility layer --- */
@media (max-width: 768px) {
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: var(--dark);
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.35s var(--ease);
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
    z-index: 999;
    overflow-y: auto;
  }

  .header-nav.active {
    right: 0;
  }

  .header-nav .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
  }

  .header-cta { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { max-width: 100%; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-image {
    order: -1;
    max-width: 320px;
    margin: 0 auto 2rem;
  }

  .solution-inner,
  .solution-reverse .solution-inner {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
    text-align: center;
  }

  .solution-content { max-width: 100%; }
  .solution-content .section-title { text-align: center; }
  .solution-content .section-title::after { left: 50%; transform: translateX(-50%); }

  .solution-features li { justify-content: center; }

  .solution-image {
    max-width: 400px;
    margin: 0 auto;
  }

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

  .stat-item:not(:last-child)::after { display: none; }

  .whatsapp-float { right: 1.5rem; bottom: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-stat strong { font-size: 1.4rem; }
  .hero-stats { gap: 1.5rem; }
}

