/* ============================================================
   STYLES.CSS — Landing Page Premium · Software a Medida
   Design System: SaaS / Corporate Modern
   ============================================================ */

/* ───────── CSS VARIABLES (overridden by config.js at runtime) ───────── */
:root {
  --color-primary: #6C3AED;
  --color-primary-light: #8B5CF6;
  --color-primary-dark: #5B21B6;
  --color-secondary: #0EA5E9;
  --color-secondary-light: #38BDF8;
  --color-accent: #10B981;
  --color-accent-warm: #F59E0B;
  --color-dark: #0F172A;
  --color-dark-soft: #1E293B;
  --color-gray: #64748B;
  --color-gray-light: #94A3B8;
  --color-gray-lighter: #CBD5E1;
  --color-light: #F1F5F9;
  --color-white: #FFFFFF;
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #312E81 100%);
  --gradient-cta: linear-gradient(135deg, #6C3AED 0%, #0EA5E9 100%);
  --gradient-card: linear-gradient(180deg, rgba(108, 58, 237, 0.08) 0%, rgba(14, 165, 233, 0.04) 100%);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 0;
  --section-padding-tablet: 84px 0;
  --section-padding-mobile: 72px 0;
  --mobile-nav-width: 280px;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-xs: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 60px rgba(108, 58, 237, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

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

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

ul,
ol {
  list-style: none;
}

/* ───────── UTILITIES ───────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-gray);
  line-height: 1.7;
}

/* ───────── BUTTONS ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(108, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 58, 237, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ───────── NAVBAR ───────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--color-white);
}

.brand-wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand-wordmark span {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-logo-image {
  width: auto;
  height: clamp(44px, 6vw, 68px);
  max-width: min(52vw, 300px);
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 249, 255, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cta);
  transition: var(--transition);
  border-radius: 1px;
}

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

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.9rem !important;
}

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

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

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

/* ───────── HERO ───────── */
.hero {
  background: var(--gradient-hero);
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(108, 58, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(108, 58, 237, 0.15);
  border: 1px solid rgba(108, 58, 237, 0.3);
  border-radius: 50px;
  color: var(--color-primary-light);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero h1 span {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-mockup {
  width: 100%;
  max-width: 520px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

/* Floating accent elements in hero */
.hero-float {
  position: absolute;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  animation: float-gentle 6s ease-in-out infinite;
  z-index: 2;
}

.hero-float-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 15%;
  left: -5%;
  animation-delay: 3s;
}

@keyframes float-gentle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ───────── BENEFITS SECTION ───────── */
.benefits {
  padding: var(--section-padding);
  background: var(--color-white);
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 36px 28px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-gray-lighter);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cta);
  opacity: 0;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: block;
}

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.65;
}

/* ───────── SOLUTIONS SECTION ───────── */
.solutions {
  padding: var(--section-padding);
  background: var(--color-light);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 36px 30px;
  border: 1px solid var(--color-gray-lighter);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--color-primary));
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.solution-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.solution-card>p {
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.65;
  margin-bottom: 20px;
}

.solution-features {
  margin-bottom: 24px;
  flex-grow: 1;
}

.solution-features li {
  font-size: 0.9rem;
  color: var(--color-dark-soft);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.solution-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.solution-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
}

.solution-cta:hover {
  gap: 10px;
  color: var(--color-primary-dark);
}

.solution-cta::after {
  content: '→';
  transition: var(--transition);
}

.solution-card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
}

/* ───────── PROCESS SECTION ───────── */
.process {
  padding: var(--section-padding);
  background: var(--color-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Connecting line between steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--color-gray-lighter);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(108, 58, 237, 0.3);
  position: relative;
}

.step-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.65;
}

/* ───────── DIFFERENTIATORS SECTION ───────── */
.differentiators {
  padding: var(--section-padding);
  background: var(--gradient-hero);
  color: var(--color-white);
}

.differentiators .section-header h2 {
  color: var(--color-white);
}

.differentiators .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.diff-card {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.diff-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.diff-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
}

.diff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ───────── SOCIAL PROOF ───────── */
.social-proof {
  padding: var(--section-padding);
  background: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--border-radius);
  background: var(--gradient-card);
  border: 1px solid var(--color-gray-lighter);
}

.stat-value {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 36px 30px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-gray-lighter);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--color-dark-soft);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
}

.testimonial-info p {
  font-size: 0.82rem;
  color: var(--color-gray);
}

/* ───────── CTA MIDDLE ───────── */
.cta-middle {
  padding: 80px 0;
  background: var(--gradient-cta);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-middle::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-middle h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-middle p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ───────── FAQ ───────── */
.faq {
  padding: var(--section-padding);
  background: var(--color-light);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--color-gray-lighter);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--color-primary-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1.1rem;
  color: var(--color-gray);
}

.faq-item.active .faq-toggle {
  background: var(--color-primary);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ───────── CTA FINAL / CONTACT ───────── */
.cta-final {
  padding: var(--section-padding);
  background: var(--color-white);
}

.cta-final-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cta-final-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-final-content>p {
  font-size: 1.05rem;
  color: var(--color-gray);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--color-light);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.cta-option:hover {
  background: var(--color-white);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.cta-option-icon {
  font-size: 1.6rem;
}

.cta-option span {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 1rem;
}

/* Contact form */
.contact-form {
  background: var(--color-white);
  padding: 40px 36px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-gray-lighter);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--color-gray-lighter);
  border-radius: var(--border-radius-xs);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: var(--transition);
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108, 58, 237, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-light);
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* ───────── FOOTER ───────── */
.footer {
  background: var(--color-dark);
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--color-white);
}

.footer-logo .brand-wordmark {
  font-size: 1.3rem;
}

.footer-logo .brand-logo-shell {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.footer-center {
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

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

/* ───────── SCROLL ANIMATIONS ───────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) {
  transition-delay: 0s;
}

.stagger-children .animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children .animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.stagger-children .animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.stagger-children .animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.stagger-children .animate-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

/* ───────── RESPONSIVE ───────── */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: var(--section-padding-tablet);
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

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

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

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-float {
    display: none;
  }

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

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .diff-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .cta-final-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(var(--mobile-nav-width), 85vw);
    height: 100vh;
    background: var(--color-dark);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: var(--transition);
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

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

  .nav-links a {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 140px 0 80px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .diff-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .brand-wordmark {
    font-size: 1.1rem;
  }

  .brand-logo-image {
    max-width: min(66vw, 250px);
    height: clamp(40px, 11vw, 58px);
  }

  .brand-logo-shell {
    padding: 6px 10px;
    border-radius: 12px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}
