/* ============================================
   DANTE TECH SOLUTIONS — Neumorphic Design System
   Color Palette:
     #0A1931 — Deep Navy (Primary Background)
     #1A3D63 — Dark Blue (Secondary/Surface)
     #4A7FA7 — Medium Blue (Accent)
     #B3CFE5 — Light Blue (Soft accent/highlights)
     #F6FAFD — Almost White (Text/Light surfaces)
   ============================================ */

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

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  /* Colors */
  --color-bg-deep: #0A1931;
  --color-bg-surface: #0e2240;
  --color-bg-elevated: #1A3D63;
  --color-accent: #4A7FA7;
  --color-accent-light: #B3CFE5;
  --color-text-primary: #F6FAFD;
  --color-text-secondary: #B3CFE5;
  --color-text-muted: #6b8eb5;

  /* Neumorphic shadows — dark theme */
  --neu-shadow-out:
    8px 8px 20px rgba(4, 10, 20, 0.7),
    -8px -8px 20px rgba(26, 61, 99, 0.15);
  --neu-shadow-in:
    inset 4px 4px 12px rgba(4, 10, 20, 0.6),
    inset -4px -4px 12px rgba(26, 61, 99, 0.12);
  --neu-shadow-hover:
    12px 12px 28px rgba(4, 10, 20, 0.8),
    -12px -12px 28px rgba(26, 61, 99, 0.2);
  --neu-shadow-card:
    6px 6px 16px rgba(4, 10, 20, 0.65),
    -6px -6px 16px rgba(26, 61, 99, 0.12);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1200px;
  --border-radius: 20px;
  --border-radius-sm: 12px;
  --border-radius-xs: 8px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 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-body);
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================
   NAVBAR
   ============================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 25, 49, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--color-accent);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-smooth);
}

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

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

.nav-cta {
  background: var(--color-bg-surface);
  color: var(--color-accent-light) !important;
  padding: 10px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 600 !important;
  box-shadow: var(--neu-shadow-out);
  transition: var(--transition-smooth) !important;
  border: 1px solid rgba(74, 127, 167, 0.15);
}

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

.nav-cta:hover {
  box-shadow: var(--neu-shadow-hover);
  transform: translateY(-2px);
  background: var(--color-bg-elevated);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

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

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

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

/* =============================
   HERO SECTION
   ============================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Ambient glow background */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 127, 167, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 61, 99, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite reverse;
}

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

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-surface);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: var(--neu-shadow-out);
  margin-bottom: 28px;
  border: 1px solid rgba(74, 127, 167, 0.1);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--color-text-primary);
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
}

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-bg-elevated) 100%);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: var(--neu-shadow-out), 0 4px 20px rgba(74, 127, 167, 0.25);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--neu-shadow-hover), 0 8px 32px rgba(74, 127, 167, 0.35);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--color-bg-surface);
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(74, 127, 167, 0.15);
  cursor: pointer;
  box-shadow: var(--neu-shadow-out);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  color: var(--color-text-primary);
  transform: translateY(-3px);
  box-shadow: var(--neu-shadow-hover);
  border-color: rgba(74, 127, 167, 0.3);
}

.btn-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

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

.hero-mockup {
  width: 100%;
  max-width: 540px;
  border-radius: var(--border-radius);
  box-shadow: var(--neu-shadow-hover), 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: floatMockup 5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes floatMockup {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-16px) rotate(-0.5deg); }
}

/* Floating decorative elements */
.hero-float-element {
  position: absolute;
  border-radius: var(--border-radius-sm);
  background: var(--color-bg-surface);
  box-shadow: var(--neu-shadow-card);
  border: 1px solid rgba(74, 127, 167, 0.1);
  z-index: 3;
  padding: 16px 20px;
}

.hero-float-element.stat-1 {
  top: 10%;
  right: -10%;
  animation: floatStat 4s ease-in-out infinite;
}

.hero-float-element.stat-2 {
  bottom: 15%;
  left: -5%;
  animation: floatStat 5s ease-in-out infinite reverse;
}

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

.float-stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
}

.float-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Stats bar under hero */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(74, 127, 167, 0.1);
}

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
}

.hero-stat-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* =============================
   EMPATHY SECTION
   ============================= */
.empathy {
  padding: var(--section-padding);
  position: relative;
}

.empathy .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.empathy-content {
  max-width: 540px;
}

.empathy-text {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: 32px;
}

.empathy-highlight {
  background: var(--color-bg-surface);
  border-left: 3px solid var(--color-accent);
  padding: 24px 28px;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  box-shadow: var(--neu-shadow-card);
  font-size: 1rem;
  color: var(--color-accent-light);
  font-weight: 500;
  line-height: 1.7;
  font-style: italic;
}

.empathy-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.empathy-card {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius);
  padding: 28px 32px;
  box-shadow: var(--neu-shadow-out);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(74, 127, 167, 0.08);
}

.empathy-card:hover {
  box-shadow: var(--neu-shadow-hover);
  transform: translateX(8px);
}

.empathy-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-deep);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-shadow-in);
  flex-shrink: 0;
}

.empathy-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  fill: none;
}

.empathy-card-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.empathy-card-text p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* =============================
   SERVICES SECTION
   ============================= */
.services {
  padding: var(--section-padding);
  position: relative;
}

.services .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.services .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius);
  padding: 0;
  box-shadow: var(--neu-shadow-out);
  transition: var(--transition-smooth);
  overflow: hidden;
  border: 1px solid rgba(74, 127, 167, 0.08);
  position: relative;
}

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

.service-card:hover {
  box-shadow: var(--neu-shadow-hover);
  transform: translateY(-6px);
}

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

.service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(74, 127, 167, 0.08);
}

.service-card-body {
  padding: 32px;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-deep);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-shadow-in);
  margin-bottom: 20px;
}

.service-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  fill: none;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* =============================
   SECTORS / TARGET AUDIENCE
   ============================= */
.sectors {
  padding: var(--section-padding);
  position: relative;
}

.sectors .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.sectors .section-subtitle {
  margin: 0 auto;
}

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

.sector-card {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--neu-shadow-out);
  transition: var(--transition-smooth);
  border: 1px solid rgba(74, 127, 167, 0.08);
  cursor: default;
}

.sector-card:hover {
  box-shadow: var(--neu-shadow-in);
  transform: scale(0.98);
}

.sector-icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--neu-shadow-in);
}

.sector-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  fill: none;
}

.sector-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.sector-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =============================
   ADVANTAGES SECTION
   ============================= */
.advantages {
  padding: var(--section-padding);
  position: relative;
}

.advantages .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.advantages .section-subtitle {
  margin: 0 auto;
}

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

.advantage-card {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--neu-shadow-out);
  transition: var(--transition-smooth);
  border: 1px solid rgba(74, 127, 167, 0.08);
  position: relative;
}

.advantage-card:hover {
  box-shadow: var(--neu-shadow-hover);
  transform: translateY(-6px);
}

.advantage-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(74, 127, 167, 0.12);
  position: absolute;
  top: 20px;
  right: 28px;
  line-height: 1;
}

.advantage-icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-deep);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--neu-shadow-in);
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  fill: none;
}

.advantage-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 14px;
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* =============================
   CTA SECTION
   ============================= */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-accent) 100%);
  border-radius: calc(var(--border-radius) * 1.5);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(74, 127, 167, 0.2);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(179, 207, 229, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(10, 25, 49, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-card .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #fff;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto 20px;
}

.cta-card .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.btn-cta-giant {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  background: var(--color-bg-deep);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
}

.btn-cta-giant:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cta-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

/* =============================
   FOOTER
   ============================= */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(74, 127, 167, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding: 6px 0;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: var(--color-bg-surface);
  border-radius: var(--border-radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-shadow-out);
  transition: var(--transition-smooth);
  padding: 0;
}

.footer-social a:hover {
  box-shadow: var(--neu-shadow-in);
  transform: translateX(0) translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-text-muted);
  stroke-width: 1.8;
  fill: none;
  transition: var(--transition-smooth);
}

.footer-social a:hover svg {
  stroke: var(--color-accent);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(74, 127, 167, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* =============================
   RESPONSIVE
   ============================= */

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

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

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 36px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mockup {
    max-width: 460px;
  }

  .hero-float-element.stat-1 {
    right: 5%;
  }

  .hero-float-element.stat-2 {
    left: 5%;
  }

  .empathy .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* --- MOBILE (max 768px) --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 25, 49, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.15rem;
  }

  .nav-hamburger {
    display: flex;
  }

  /* --- HERO MOBILE: image as background --- */
  .hero {
    min-height: 100vh;
    position: relative;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    order: unset;
  }

  .hero-mockup {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    animation: none;
    opacity: 0.15;
    filter: blur(2px);
  }

  .hero-float-element {
    display: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 0 20px;
  }

  .hero-badge {
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin: 0 auto 28px;
    max-width: 100%;
    line-height: 1.7;
  }

  /* KPIs en una fila horizontal */
  .hero-stats {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
  }

  .hero-stat {
    text-align: center;
    flex: 1;
    min-width: 0;
  }

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

  .hero-stat-text {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  /* --- EMPATHY MOBILE --- */
  .empathy-content {
    max-width: 100%;
  }

  .empathy-text {
    font-size: 0.95rem;
  }

  .empathy-highlight {
    padding: 20px 22px;
    font-size: 0.9rem;
  }

  .empathy-card {
    padding: 20px 24px;
  }

  .empathy-card-icon {
    width: 42px;
    height: 42px;
  }

  .empathy-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .empathy-card-text h4 {
    font-size: 0.95rem;
  }

  .empathy-card-text p {
    font-size: 0.8rem;
  }

  /* --- SERVICES MOBILE --- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card-image {
    height: 180px;
  }

  .service-card-body {
    padding: 24px;
  }

  .service-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .service-card p {
    font-size: 0.88rem;
  }

  /* --- SECTORS MOBILE --- */
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .sector-card {
    padding: 28px 20px;
  }

  .sector-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
  }

  .sector-icon svg {
    width: 24px;
    height: 24px;
  }

  .sector-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .sector-card p {
    font-size: 0.78rem;
  }

  /* --- ADVANTAGES MOBILE --- */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantage-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .advantage-number {
    font-size: 2.5rem;
    top: 16px;
    right: 20px;
  }

  .advantage-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }

  .advantage-card h3 {
    font-size: 1.05rem;
  }

  .advantage-card p {
    font-size: 0.88rem;
  }

  /* --- CTA MOBILE --- */
  .cta-section {
    padding: 60px 0;
  }

  .cta-card {
    padding: 48px 24px;
    border-radius: var(--border-radius);
  }

  .cta-card .section-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .cta-card .section-subtitle {
    font-size: 0.9rem;
  }

  /* --- FOOTER MOBILE --- */
  .footer {
    padding: 48px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  .footer-col a {
    font-size: 0.85rem;
    padding: 5px 0;
  }

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

  /* Section headers mobile */
  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }
}

/* --- SMALL MOBILE (max 480px) --- */
@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .btn-cta-giant {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 0.95rem;
  }

  .hero-stats {
    gap: 16px;
  }

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

  .hero-stat-text {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

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

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sector-card {
    display: flex;
    flex-direction: row;
    text-align: left;
    padding: 20px;
    gap: 16px;
    align-items: center;
  }

  .sector-icon {
    margin: 0;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .sector-card h3 {
    margin-bottom: 4px;
  }

  .cta-card {
    padding: 40px 20px;
  }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-elevated);
  border-radius: 4px;
}

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

/* ---- SELECTION ---- */
::selection {
  background: rgba(74, 127, 167, 0.3);
  color: var(--color-text-primary);
}

/* ---- PARTICLE CANVAS ---- */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* =============================
   CONTACT FORM SECTION
   ============================= */
.contact-section {
  padding: var(--section-padding);
  position: relative;
}

.contact-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.contact-section .section-subtitle {
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius);
  padding: 48px;
  box-shadow: var(--neu-shadow-out);
  border: 1px solid rgba(74, 127, 167, 0.08);
}

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

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

.form-group label .required {
  color: var(--color-accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-bg-deep);
  border: 1px solid rgba(74, 127, 167, 0.15);
  border-radius: var(--border-radius-xs);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  box-shadow: var(--neu-shadow-in);
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: var(--neu-shadow-in), 0 0 0 3px rgba(74, 127, 167, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

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

.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  border: none;
}

.form-submit-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--border-radius-xs);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius-sm);
  padding: 24px 28px;
  box-shadow: var(--neu-shadow-out);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(74, 127, 167, 0.08);
}

.contact-info-card:hover {
  box-shadow: var(--neu-shadow-hover);
  transform: translateY(-3px);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-deep);
  border-radius: var(--border-radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-shadow-in);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  fill: none;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.contact-info-card a {
  font-size: 0.85rem;
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.contact-info-card a:hover {
  color: var(--color-accent-light);
}

/* =============================
   FOOTER LEGAL (merged into footer-bottom)
   ============================= */
.footer-bottom strong {
  color: var(--color-text-secondary);
}

.footer-bottom a {
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.footer-bottom a:hover {
  color: var(--color-accent-light);
  text-decoration: underline;
}

/* =============================
   TRUST & CREDIBILITY SECTION
   ============================= */
.trust-section {
  padding: 80px 0 40px;
  position: relative;
}

.trust-block {
  text-align: center;
  margin-bottom: 56px;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.trust-subtitle {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* Payment Methods Grid */
.trust-methods {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.trust-method-card {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius-sm);
  padding: 20px 12px;
  box-shadow: var(--neu-shadow-out);
  border: 1px solid rgba(74, 127, 167, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.trust-method-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--neu-shadow-hover);
}

.trust-method-icon {
  width: 40px;
  height: 40px;
  background: var(--color-bg-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-shadow-in);
}

.trust-method-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  fill: none;
}

.trust-method-card span {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-align: center;
}

/* Guarantee Badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.trust-badge {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  box-shadow: var(--neu-shadow-out);
  border: 1px solid rgba(74, 127, 167, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-smooth);
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--neu-shadow-hover);
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(74, 127, 167, 0.15), rgba(74, 127, 167, 0.05));
  border-radius: var(--border-radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  fill: none;
}

.trust-badge h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.trust-badge p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Legal Document Links */
.trust-legal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.trust-legal-card {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius);
  padding: 28px 32px;
  box-shadow: var(--neu-shadow-out);
  border: 1px solid rgba(74, 127, 167, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.trust-legal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--neu-shadow-hover);
  border-color: rgba(74, 127, 167, 0.25);
}

.trust-legal-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(74, 127, 167, 0.2), rgba(74, 127, 167, 0.05));
  border-radius: var(--border-radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-legal-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  fill: none;
}

.trust-legal-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.trust-legal-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.trust-legal-arrow {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  stroke-width: 2;
  fill: none;
  margin-left: auto;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.trust-legal-card:hover .trust-legal-arrow {
  transform: translateX(4px);
}

/* Responsive Trust Section */
@media (max-width: 1024px) {
  .trust-methods {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .trust-methods {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .trust-method-card {
    padding: 16px 10px;
  }

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

  .trust-badge {
    padding: 20px;
  }

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

  .trust-legal-card {
    padding: 22px 24px;
  }
}

@media (max-width: 480px) {
  .trust-methods {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-method-card span {
    font-size: 0.72rem;
  }
}

/* =============================
   TERMS & CONDITIONS PAGE
   ============================= */
.terms-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}

.terms-header {
  margin-bottom: 48px;
}

.terms-updated {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.terms-intro {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 800px;
}

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

.terms-toc {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius);
  padding: 32px 40px;
  margin-bottom: 48px;
  box-shadow: var(--neu-shadow-out);
  border: 1px solid rgba(74, 127, 167, 0.08);
}

.terms-toc h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.terms-toc ol {
  list-style: decimal;
  padding-left: 24px;
}

.terms-toc ol li {
  margin-bottom: 8px;
}

.terms-toc ol li a {
  font-size: 0.9rem;
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.terms-toc ol li a:hover {
  color: var(--color-accent-light);
  text-decoration: underline;
}

.terms-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(74, 127, 167, 0.06);
}

.terms-section:last-of-type {
  border-bottom: none;
}

.terms-section h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terms-section h2 .terms-number {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--color-bg-surface);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-shadow-out);
  flex-shrink: 0;
}

.terms-section p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.terms-section p strong {
  color: var(--color-text-primary);
}

.terms-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.terms-section ul li {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
  list-style-type: disc;
}

.terms-section ul li strong {
  color: var(--color-text-primary);
}

.terms-section a {
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.terms-section a:hover {
  color: var(--color-accent-light);
  text-decoration: underline;
}

.terms-back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.terms-back-link:hover {
  color: var(--color-accent-light);
  transform: translateX(-4px);
}

.terms-back-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ---- RESPONSIVE: Contact & Terms ---- */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 28px 24px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .contact-info-card {
    padding: 18px 22px;
  }

  .contact-info-icon {
    width: 42px;
    height: 42px;
  }

  .contact-info-icon svg {
    width: 20px;
    height: 20px;
  }

  .terms-page {
    padding: 120px 0 60px;
  }

  .terms-toc {
    padding: 24px 28px;
  }

  .terms-section h2 {
    font-size: 1.2rem;
  }

  .terms-section h2 .terms-number {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }

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

@media (max-width: 480px) {
  .contact-form {
    padding: 24px 18px;
  }

  .contact-info-card {
    padding: 16px 18px;
  }

  .terms-toc {
    padding: 20px 22px;
  }
}
