/* =============================================================================
   WOLTFTECH — 2026 Design System
   Modern Industrial Tech — Glassmorphism 2.0 + Mesh Gradients
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* =============================================================================
   DESIGN TOKENS — LIGHT MODE (default)
   ============================================================================= */

:root {
  /* --- Backgrounds --- */
  --c-bg: #ffffff;
  --c-bg-subtle: #f5f7fc;
  --c-bg-section: #eef2f9;
  --c-surface: #ffffff;

  /* --- Text --- */
  --c-text: #111827;
  --c-text-muted: #6B7280;
  --c-text-subtle: #9CA3AF;

  /* --- Borders --- */
  --c-border: rgba(17, 24, 39, 0.08);
  --c-border-subtle: rgba(17, 24, 39, 0.04);

  /* --- Accent (Dodger Blue family) --- */
  --c-accent: #1E90FF;
  --c-accent-hover: #0076E8;
  --c-accent-light: rgba(30, 144, 255, 0.10);
  --c-accent-glow: rgba(30, 144, 255, 0.22);
  --c-accent-dark: #0A1F44;
  --c-accent-mid: #1a3a6e;

  /* --- Shadows --- */
  --s-xs: 0 1px 4px rgba(0, 0, 0, 0.04);
  --s-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --s-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --s-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
  --s-accent: 0 8px 28px rgba(30, 144, 255, 0.22);
  --s-accent-lg: 0 20px 60px rgba(30, 144, 255, 0.18);

  /* --- Navbar --- */
  --navbar-bg: rgba(255, 255, 255, 0.82);
  --navbar-border: rgba(17, 24, 39, 0.07);

  /* --- Radii --- */
  --r-sm: 10px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  /* --- Glass Effects --- */
  --glass-bg: rgba(255, 255, 255, 0.60);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);

  /* --- Glow --- */
  --glow-primary: 0 0 20px rgba(30, 144, 255, 0.25), 0 0 60px rgba(30, 144, 255, 0.10);
  --glow-secondary: 0 0 20px rgba(99, 60, 230, 0.20), 0 0 60px rgba(99, 60, 230, 0.08);

  /* --- 2026 Design Trends --- */
  --font-display: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* Aurora/Mesh Gradients */
  --gradient-aurora-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-aurora-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(240,80%,90%,0.3) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, hsla(189,100%,85%,0.3) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, hsla(355,100%,85%,0.3) 0px, transparent 50%);
  
  /* Noise texture overlay */
  --noise-overlay: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  
  /* Bento grid */
  --bento-radius: 24px;
  --bento-gap: 16px;
  
  color-scheme: light;
}

/* =============================================================================
   DARK MODE — prefers-color-scheme
   ============================================================================= */

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #0C0C14;
    --c-bg-subtle: #10101C;
    --c-bg-section: #0E0E18;
    --c-surface: #18182C;
    --c-text: #E0E0F0;
    --c-text-muted: #8A8AAC;
    --c-text-subtle: #55557A;
    --c-border: rgba(255, 255, 255, 0.08);
    --c-border-subtle: rgba(255, 255, 255, 0.04);
    --c-accent: #55BBFF;
    --c-accent-hover: #3AABFF;
    --c-accent-light: rgba(85, 187, 255, 0.12);
    --c-accent-glow: rgba(85, 187, 255, 0.18);
    --s-xs: 0 1px 4px rgba(0, 0, 0, 0.30);
    --s-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
    --s-md: 0 8px 32px rgba(0, 0, 0, 0.45);
    --s-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
    --s-accent: 0 8px 28px rgba(85, 187, 255, 0.15);
    --s-accent-lg: 0 20px 60px rgba(85, 187, 255, 0.10);
    --navbar-bg: rgba(12, 12, 20, 0.88);
    --navbar-border: rgba(255, 255, 255, 0.07);
    --glass-bg: rgba(24, 24, 44, 0.60);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
    --glow-primary: 0 0 20px rgba(85, 187, 255, 0.20), 0 0 60px rgba(85, 187, 255, 0.08);
    --glow-secondary: 0 0 20px rgba(130, 90, 255, 0.18), 0 0 60px rgba(130, 90, 255, 0.06);
    color-scheme: dark;
  }
}

/* =============================================================================
   MANUAL THEME TOGGLE — [data-theme] selectors
   ============================================================================= */

[data-theme="dark"] {
  --c-bg: #0C0C14;
  --c-bg-subtle: #10101C;
  --c-bg-section: #0E0E18;
  --c-surface: #18182C;
  --c-text: #E0E0F0;
  --c-text-muted: #8A8AAC;
  --c-text-subtle: #55557A;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-subtle: rgba(255, 255, 255, 0.04);
  --c-accent: #55BBFF;
  --c-accent-hover: #3AABFF;
  --c-accent-light: rgba(85, 187, 255, 0.12);
  --c-accent-glow: rgba(85, 187, 255, 0.18);
  --s-xs: 0 1px 4px rgba(0, 0, 0, 0.30);
  --s-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --s-md: 0 8px 32px rgba(0, 0, 0, 0.45);
  --s-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --s-accent: 0 8px 28px rgba(85, 187, 255, 0.15);
  --s-accent-lg: 0 20px 60px rgba(85, 187, 255, 0.10);
  --navbar-bg: rgba(12, 12, 20, 0.88);
  --navbar-border: rgba(255, 255, 255, 0.07);
  --glass-bg: rgba(24, 24, 44, 0.60);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
  --glow-primary: 0 0 20px rgba(85, 187, 255, 0.20), 0 0 60px rgba(85, 187, 255, 0.08);
  --glow-secondary: 0 0 20px rgba(130, 90, 255, 0.18), 0 0 60px rgba(130, 90, 255, 0.06);
  
  /* --- 2026 Design Trends --- */
  --font-display: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --gradient-aurora-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-aurora-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(240,80%,90%,0.3) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, hsla(189,100%,85%,0.3) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, hsla(355,100%,85%,0.3) 0px, transparent 50%);
  --noise-overlay: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  --bento-radius: 24px;
  --bento-gap: 16px;
  
  color-scheme: dark;
}

[data-theme="light"] {
  --c-bg: #ffffff;
  --c-bg-subtle: #f5f7fc;
  --c-bg-section: #eef2f9;
  --c-surface: #ffffff;
  --c-text: #111827;
  --c-text-muted: #6B7280;
  --c-text-subtle: #9CA3AF;
  --c-border: rgba(17, 24, 39, 0.08);
  --c-border-subtle: rgba(17, 24, 39, 0.04);
  --c-accent: #1E90FF;
  --c-accent-hover: #0076E8;
  --c-accent-light: rgba(30, 144, 255, 0.10);
  --c-accent-glow: rgba(30, 144, 255, 0.22);
  --s-xs: 0 1px 4px rgba(0, 0, 0, 0.04);
  --s-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --s-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --s-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
  --s-accent: 0 8px 28px rgba(30, 144, 255, 0.22);
  --s-accent-lg: 0 20px 60px rgba(30, 144, 255, 0.18);
  --navbar-bg: rgba(255, 255, 255, 0.82);
  --navbar-border: rgba(17, 24, 39, 0.07);
  --glass-bg: rgba(255, 255, 255, 0.60);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --glow-primary: 0 0 20px rgba(30, 144, 255, 0.25), 0 0 60px rgba(30, 144, 255, 0.10);
  --glow-secondary: 0 0 20px rgba(99, 60, 230, 0.20), 0 0 60px rgba(99, 60, 230, 0.08);
  
  /* --- 2026 Design Trends --- */
  --font-display: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --gradient-aurora-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-aurora-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(240,80%,90%,0.3) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, hsla(189,100%,85%,0.3) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, hsla(355,100%,85%,0.3) 0px, transparent 50%);
  --noise-overlay: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  --bento-radius: 24px;
  --bento-gap: 16px;
  
  color-scheme: light;
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body, 'Inter'), 'Segoe UI', system-ui, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  padding-top: 80px;
  line-height: 1.65;
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

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

/* --- Typography — Plus Jakarta Sans for headings (2026 trend) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display, 'Plus Jakarta Sans'), 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
}

/* =============================================================================
   LAYOUT
   ============================================================================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.container1 {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* =============================================================================
   DECORATIVE TYPOGRAPHY
   ============================================================================= */

.titulo-wrapper {
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}
.titulo-wrapper h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}
.titulo-wrapper p {
  color: var(--c-text-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.bg-number {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 120px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  color: rgba(30, 136, 229, 0.05);
  z-index: 0;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.linea-azul {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent), #6366f1);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* =============================================================================
   SECTION DIVIDER
   ============================================================================= */

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent-glow), var(--c-accent), var(--c-accent-glow), transparent);
  border: none;
  opacity: 0.5;
}

/* =============================================================================
   WAVE SECTION DIVIDERS
   ============================================================================= */

.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-divider.flip {
  transform: rotate(180deg);
}

.wave-top {
  margin-bottom: -2px;
}

.wave-bottom {
  margin-top: -2px;
}

.wave-divider svg path {
  fill: var(--c-bg-subtle);
}

.wave-divider.wave-accent svg path {
  fill: var(--c-bg);
}

.wave-divider.wave-dark svg path {
  fill: #0A1628;
}

/* =============================================================================
   NAVBAR — GLASSMORPHISM 2.0
   ============================================================================= */

.navbar {
  background: var(--navbar-bg);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border-bottom: 1px solid var(--navbar-border);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  position: fixed;
  width: 100%;
  top: 0;
  box-shadow: var(--s-xs);
  z-index: 1000;
  contain: layout style;
}

.navbar.scrolled {
  box-shadow: var(--s-sm);
  background: var(--navbar-bg);
}

.navbar.scrolled .nav-content {
  padding: 10px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  transition: padding 0.35s ease;
}

.navbar .logo {
  max-width: 155px;
  height: auto;
  transition: transform 0.3s ease;
}

.navbar .logo:hover {
  transform: scale(1.02);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar nav a {
  padding: 8px 16px;
  color: var(--c-text);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--r-sm);
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
  position: relative;
}

.navbar nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), #85CAFF);
  border-radius: 1px;
  transition: width 0.3s ease, left 0.3s ease;
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
  width: 60%;
  left: 20%;
}

.navbar nav a:hover {
  background: var(--c-accent-light);
  color: var(--c-accent);
  opacity: 1;
}

.navbar nav a.active {
  color: var(--c-accent);
  opacity: 1;
  font-weight: 600;
}

/* Focus states for accessibility */
.navbar nav a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Navbar CTA button */
.navbar-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--c-accent);
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.navbar-cta:hover {
  background: var(--c-accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.35) !important;
}
.navbar-cta::after { display: none !important; }

/* --- Theme Toggle Button --- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--c-text);
  font-size: 1.15rem;
  margin-left: 8px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--c-accent-light);
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: rotate(15deg);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* --- Menu Toggle (mobile) --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* =============================================================================
   HERO — ANIMATED MESH GRADIENT + GRID OVERLAY
   ============================================================================= */

.hero-premium {
  background: linear-gradient(145deg, #0A1628 0%, #0D2B5A 35%, #1240A0 65%, #0A1F44 100%);
  color: white;
  text-align: center;
  padding: clamp(30px, 10vw, 120px) 0 clamp(30px, 8vw, 90px);
  position: relative;
  overflow: hidden;
  contain: layout paint;
}

/* Inner page hero — breadcrumb + h1 + short description */
.hero-premium.hero-inner {
  padding: clamp(60px, 8vw, 100px) 0 clamp(50px, 6vw, 80px);
}

.hero-premium.hero-inner h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.hero-premium.hero-inner p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  margin-bottom: 0;
  max-width: 620px;
}

/* Animated mesh gradient layer */
.hero-premium::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 30%, rgba(30, 144, 255, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(99, 102, 241, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 400px 400px at 60% 80%, rgba(56, 189, 248, 0.30) 0%, transparent 50%),
    radial-gradient(ellipse 350px 350px at 30% 70%, rgba(79, 70, 229, 0.25) 0%, transparent 50%);
  animation: mesh-move 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Subtle grid pattern overlay */
.hero-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
  z-index: 0;
}

.hero-premium .container {
  position: relative;
  z-index: 1;
}

.hero-premium h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  text-shadow: 0 2px 50px rgba(30, 144, 255, 0.15);
}

.hero-premium p {
  max-width: 680px;
  margin: 0 auto 70px;
  margin-top: 20px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.80);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.25s;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}

/* --- Hero Badge (pill above h1) --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(30, 144, 255, 0.12);
  border: 1px solid rgba(30, 144, 255, 0.25);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.1s;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: glow-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* --- Hero Scroll Indicator --- */
.hero-scroll-indicator {
  position: relative;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hero-scroll-indicator:hover {
  color: rgba(255, 255, 255, 0.75);
}

.hero-scroll-indicator svg,
.hero-scroll-indicator::after {
  animation: bounce-arrow 2s ease-in-out infinite;
}

.hero-scroll-indicator::after {
  content: '';
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
}
.hero-stat-icon {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
  flex-shrink: 0;
}
.hero-stat strong {
  color: white;
  font-weight: 700;
}
@media (max-width: 600px) {
  .hero-stats { gap: 1rem; }
  .hero-stat { font-size: 0.78rem; }
}

/* --- Particle Canvas (positioned in hero) --- */
.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  background: linear-gradient(135deg, var(--c-accent), #3AA0FF, var(--c-accent));
  background-size: 200% 200%;
  animation: gradient-rotate 4s ease infinite;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border-radius: var(--r-xl);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.40);
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 32px rgba(30, 144, 255, 0.50),
    0 0 20px rgba(30, 144, 255, 0.20);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-primary:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

/* Urgency badge on buttons */
.btn-urgency-badge {
  position: absolute;
  top: -10px;
  right: -12px;
  background: #ef4444;
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(30, 144, 255, 0.5), rgba(255, 255, 255, 0.5));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradient-rotate 3s ease infinite;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.70);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

/* --- Magnetic Button Wrapper --- */
.magnetic-btn {
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =============================================================================
   METRICS SECTION
   ============================================================================= */

.metricas {
  padding: 80px 0;
  background: var(--c-bg-subtle);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  position: relative;
}

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

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

.metrica-numero {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--c-accent), #85CAFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.metrica-label {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* --- Metrics grid visual upgrade --- */
.metricas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--r-lg, 28px);
  overflow: hidden;
  box-shadow: var(--s-lg);
}
.metrica-item {
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--c-surface);
  border-right: 1px solid var(--c-border);
  transition: background 0.3s ease;
  position: relative;
}
.metrica-item:last-child { border-right: none; }
.metrica-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), #6366f1);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.metrica-item:hover::before { opacity: 1; }
.metrica-item:hover { background: var(--c-bg-subtle); }
@media (max-width: 768px) {
  .metricas-grid {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--r-md, 20px);
  }
  .metrica-item {
    border-right: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
  }
  .metrica-item:nth-child(2n) { border-right: none; }
  .metrica-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
  .metricas-grid { grid-template-columns: 1fr; border-radius: var(--r-md); }
  .metrica-item { border-right: none; border-bottom: 1px solid var(--c-border); }
  .metrica-item:last-child { border-bottom: none; }
}

/* =============================================================================
   CARDS — GLASSMORPHISM 2.0
   ============================================================================= */

.card,
.card1 {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 34px 30px;
  border-radius: var(--r-md);
  box-shadow:
    var(--s-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Animated gradient border on hover */
.card::before,
.card1::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(30, 144, 255, 0.4), transparent, rgba(85, 200, 255, 0.3), transparent);
  background-size: 400% 400%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  animation: gradient-rotate 4s linear infinite;
  pointer-events: none;
}

.card:hover,
.card1:hover {
  transform: translateY(-8px);
  box-shadow:
    var(--s-accent-lg),
    0 0 30px rgba(30, 144, 255, 0.08);
  border-color: rgba(30, 144, 255, 0.20);
}

.card:hover::before,
.card1:hover::before {
  opacity: 1;
}

[data-theme="dark"] .card:hover,
[data-theme="dark"] .card1:hover {
  border-color: rgba(85, 187, 255, 0.18);
}

@media (prefers-color-scheme: dark) {
  .card:hover, .card1:hover {
    border-color: rgba(85, 187, 255, 0.18);
  }
}

.card h3, .card1 h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

.card p, .card1 p {
  color: var(--c-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card:hover .card-icon,
.card1:hover .card-icon,
.bento-item:hover .card-icon {
  background: var(--c-accent);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.35);
}

.cards {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.card-3d {
  transform-style: preserve-3d;
  will-change: transform;
}

/* --- Glow Card Variant --- */
.glow-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 34px 30px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  position: relative;
  box-shadow:
    var(--s-sm),
    var(--glow-primary);
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.glow-card:hover {
  transform: translateY(-6px);
  box-shadow:
    var(--s-accent-lg),
    0 0 40px rgba(30, 144, 255, 0.18),
    0 0 80px rgba(30, 144, 255, 0.06);
}

/* --- Animated Border Element --- */
.animated-border {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}

.animated-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from 0deg, var(--c-accent), #85CAFF, rgba(99, 60, 230, 0.6), var(--c-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradient-rotate 3s linear infinite;
  pointer-events: none;
}

/* =============================================================================
   BENTO GRID
   ============================================================================= */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.bento-wide {
  grid-column: span 2;
}

.bento-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  padding: 34px;
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
}

.bento-item > * {
  flex-shrink: 0;
}

.bento-item p {
  flex-grow: 1;
}

.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(30, 144, 255, 0.3), transparent);
  background-size: 400% 400%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  animation: gradient-rotate 4s linear infinite;
  pointer-events: none;
}

.bento-item:hover {
  box-shadow:
    var(--s-accent-lg),
    0 0 30px rgba(30, 144, 255, 0.06);
  border-color: rgba(30, 144, 255, 0.20);
  transform: translateY(-5px);
}

.bento-item:hover::before {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  .bento-item:hover {
    border-color: rgba(85, 187, 255, 0.18);
  }
}

[data-theme="dark"] .bento-item:hover {
  border-color: rgba(85, 187, 255, 0.18);
}

.bento-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.bento-item p {
  color: var(--c-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* =============================================================================
   SECTION: DIFERENCIAL
   ============================================================================= */

.diferencial {
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--c-bg);
  text-align: center;
  position: relative;
}

.diferencial-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  padding: 0 20px;
}

.diferencial-wrapper::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10%;
  width: 1px;
  height: 80%;
  background: linear-gradient(to bottom, transparent, var(--c-accent-glow), transparent);
}

.diferencial-col h2 {
  text-align: center;
  margin-bottom: 28px;
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--c-text);
  letter-spacing: -0.015em;
}

/* Images inside diferencial columns */
.diferencial-col .section-img-wrapper {
  border: 1px solid var(--c-border);
  background: var(--c-surface);
}

/* =============================================================================
   SECTION: INDUSTRIES + BENTO
   ============================================================================= */

.industries {
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--c-bg-subtle);
  text-align: center;
  position: relative;
}

/* =============================================================================
   SECTION: SERVICIOS PREMIUM
   ============================================================================= */

.services-premium {
  background: var(--c-bg-section);
  padding: clamp(80px, 10vw, 130px) 0;
  text-align: center;
  position: relative;
}

/* =============================================================================
   SECTION: PROCESO
   ============================================================================= */

.proceso {
  background: var(--c-bg-subtle);
  padding: clamp(80px, 10vw, 130px) 0;
  text-align: center;
  position: relative;
}

/* Step number badge */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent), #6366f1);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card1:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.45);
}

/* Step connector line */
.proceso .cards {
  position: relative;
}
.proceso .cards::before {
  content: '';
  position: absolute;
  top: 56px;
  left: calc(33.33% - 0px);
  right: calc(33.33% - 0px);
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), #6366f1, var(--c-accent));
  opacity: 0.25;
  pointer-events: none;
}
@media (max-width: 768px) {
  .proceso .cards::before { display: none; }
}

/* =============================================================================
   SECTION: SERVICIO DETALLE (internal pages)
   ============================================================================= */

.servicio-detalle {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--c-bg);
  overflow: hidden;
  text-align: center;
}

.servicio-detalle.bg-light {
  background: var(--c-bg-subtle);
}

.servicio-detalle h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

.servicio-detalle .intro {
  max-width: 720px;
  margin: 0 auto 50px;
  color: var(--c-text-muted);
  line-height: 1.75;
  font-size: 1rem;
}

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

.servicio-item {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  padding: 34px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--s-xs);
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
}

.servicio-item > * {
  flex-shrink: 0;
}

.servicio-item p {
  flex-grow: 1;
}

.servicio-item h3 {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--c-text);
  font-size: 1.05rem;
}

.servicio-item p {
  color: var(--c-text-muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.servicio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-accent), #85CAFF);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.servicio-item:hover::before {
  width: 100%;
}

.servicio-item:hover {
  transform: translateY(-8px);
  box-shadow:
    var(--s-accent-lg),
    0 0 20px rgba(30, 144, 255, 0.06);
  border-color: rgba(30, 144, 255, 0.18);
}

.metodologia {
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--c-bg);
  text-align: center;
}

/* =============================================================================
   SECTION: CTA
   ============================================================================= */

.cta {
  position: relative;
  padding: clamp(80px, 12vw, 120px) 0;
  background: linear-gradient(135deg, #0A1628 0%, #0D2B5A 50%, #0A1F44 100%);
  text-align: center;
  overflow: hidden;
  color: white;
}

.cta::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 400px at 30% 50%, rgba(30,144,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at 70% 50%, rgba(99,102,241,0.12) 0%, transparent 55%);
  pointer-events: none;
}

.cta::after { display: none; }

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

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: white;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.cta p {
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Urgency strip below CTA button */
.cta-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.cta-urgency-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}
.cta-urgency-item svg {
  color: #22c55e;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* =============================================================================
   CONTACT
   ============================================================================= */

.contacto-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--c-bg);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contacto-info h2,
.contacto-form-wrapper h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

.contacto-info > p,
.contacto-form-wrapper > p {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.65;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  border-radius: var(--r-sm);
  transition: background 0.25s ease, transform 0.25s ease;
}

.contacto-item:hover {
  background: var(--c-bg-subtle);
  transform: translateX(4px);
}

.contacto-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent-light);
  border-radius: 12px;
  color: var(--c-accent);
  transition: background 0.3s ease, color 0.3s ease;
}

.contacto-item:hover .contacto-icon {
  background: var(--c-accent);
  color: white;
}

.contacto-item h4 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 4px;
}

.contacto-item p,
.contacto-item a {
  color: var(--c-text-muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.contacto-item a:hover {
  color: var(--c-accent);
}

.contacto-form-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 44px;
  border-radius: var(--r-lg);
  box-shadow: var(--s-md);
  border: 1px solid var(--c-border);
}

.contact-form {
  max-width: 600px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px 18px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  background: var(--c-bg-subtle);
  color: var(--c-text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--c-text-subtle);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-accent-light);
  background: var(--c-surface);
}

.contact-form textarea {
  height: 130px;
  resize: none;
}

.contact-form .btn-primary {
  width: 100%;
  text-align: center;
  border: none;
  font-family: 'Inter', sans-serif;
}

.services {
  padding: 80px 0;
  background: var(--c-bg);
  text-align: center;
}

/* =============================================================================
   GRIDS
   ============================================================================= */

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

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

.grid-3 .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 240px;
}

.grid-3 .card > * {
  flex-shrink: 0;
}

.grid-3 .card p {
  flex-grow: 1;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.grid-4 .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 240px;
}

.grid-4 .card > * {
  flex-shrink: 0;
}

.grid-4 .card p {
  flex-grow: 1;
}

.grid-5 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grid-5 .card1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  height: auto;
  min-height: auto;
  padding: 24px 28px;
}

.grid-5 .card1 .card-icon {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 48px;
  height: 48px;
}

.grid-5 .card1 .card-icon svg {
  width: 100%;
  height: 100%;
}

.grid-5 .card1 h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.grid-5 .card1 p {
  flex-grow: 1;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =============================================================================
   FOOTER — Enhanced
   ============================================================================= */

footer {
  background: #06101E;
  color: rgba(255, 255, 255, 0.70);
  padding: 70px 0 28px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--c-accent), #85CAFF, rgba(99, 60, 230, 0.6), var(--c-accent)) 1;
  position: relative;
}

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

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  padding: 6px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

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

/* --- Social Links Row --- */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 0;
}

.footer-social a:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.35);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

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

/* =============================================================================
   WHATSAPP FLOAT
   ============================================================================= */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-float img,
.whatsapp-float svg {
  max-width: 32px;
  height: auto;
}

/* =============================================================================
   BACK TO TOP BUTTON
   ============================================================================= */

.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--c-text);
  box-shadow: var(--s-sm);
}

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

.back-to-top:hover {
  background: var(--c-accent);
  color: white;
  border-color: var(--c-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 144, 255, 0.35);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* =============================================================================
   PRELOADER
   ============================================================================= */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--c-bg, #0C0C14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden,
.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader.exit {
  animation: slide-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.preloader img,
.preloader .preloader-logo {
  max-width: 120px;
  height: auto;
  animation: glow-pulse 1.5s ease-in-out infinite;
}

.preloader .preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--c-border);
  border-top-color: var(--c-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* =============================================================================
   CUSTOM CURSOR
   ============================================================================= */

.custom-cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--c-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: -18px;
  left: -18px;
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  mix-blend-mode: difference;
}

.custom-cursor.active {
  opacity: 1;
}

.custom-cursor.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(30, 144, 255, 0.5);
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: -3px;
  left: -3px;
  transition: transform 0.1s ease, opacity 0.2s ease;
  opacity: 0;
}

.cursor-dot.active {
  opacity: 1;
}

.cursor-dot.hover {
  transform: scale(0.5);
}

/* =============================================================================
   TEXT REVEAL ANIMATION
   ============================================================================= */

.text-reveal {
  overflow: hidden;
  display: inline-block;
}

.text-reveal > * {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.text-reveal.revealed > * {
  transform: translateY(0);
}

/* =============================================================================
   TRUST BADGES
   ============================================================================= */

/* Trust Badges Section */
.trust-badges-section {
  padding: 32px 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.trust-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-subtle);
  margin-bottom: 20px;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  overflow: hidden;
  padding: 0;
  opacity: 0.5;
}

.trust-item {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* =============================================================================
   TESTIMONIAL CAROUSEL
   ============================================================================= */

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonial-carousel .testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-carousel .testimonial-slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 0 20px;
}

.testimonial-carousel .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.testimonial-carousel .carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonial-carousel .carousel-dot.active {
  background: var(--c-accent);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.35);
}

.testimonial-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.testimonial-carousel .carousel-btn:hover {
  background: var(--c-accent);
  color: white;
  border-color: var(--c-accent);
}

.testimonial-carousel .carousel-btn.prev { left: 0; }
.testimonial-carousel .carousel-btn.next { right: 0; }

/* =============================================================================
   ANIMATIONS — SCROLL REVEAL
   ============================================================================= */

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.28s; }
.delay-3 { transition-delay: 0.44s; }

/* =============================================================================
   TOAST NOTIFICATIONS
   ============================================================================= */

.toast {
  position: fixed;
  top: 90px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: white;
  z-index: 2000;
  box-shadow: var(--s-lg);
  transform: translateX(calc(100% + 40px));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: 420px;
  backdrop-filter: blur(10px);
}

.toast-visible { transform: translateX(0); }
.toast-success { background: linear-gradient(135deg, #10b981, #059669); }
.toast-error   { background: linear-gradient(135deg, #ef4444, #dc2626); }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }

/* =============================================================================
   BREADCRUMBS
   ============================================================================= */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255, 255, 255, 0.35); }

/* =============================================================================
   BLOG — LISTING
   ============================================================================= */

.blog-listing {
  padding: 80px 0;
  background: var(--c-bg);
}

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

.blog-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-radius: var(--r-md);
  padding: 34px;
  box-shadow: var(--s-xs);
  border: 1px solid var(--c-border);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
}

.blog-card > * {
  flex-shrink: 0;
}

.blog-card p {
  flex-grow: 1;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--s-accent);
  border-color: rgba(30, 144, 255, 0.15);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.blog-tag {
  display: inline-block;
  background: var(--c-accent-light);
  color: var(--c-accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.blog-card-meta time {
  font-size: 0.78rem;
  color: var(--c-text-subtle);
}

.blog-card h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--c-text);
}

.blog-card h2 a {
  color: var(--c-text);
  transition: color 0.2s ease;
}

.blog-card h2 a:hover { color: var(--c-accent); }

.blog-card p {
  color: var(--c-text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.blog-read-more {
  color: var(--c-accent);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-read-more:hover {
  gap: 8px;
}

/* =============================================================================
   BLOG — ARTICLE
   ============================================================================= */

.blog-article { padding-top: 0; }
.blog-container { max-width: 760px; }
.article-header { margin-bottom: 40px; }
.article-header .blog-tag { margin-bottom: 16px; }

.article-header h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.3;
  color: var(--c-text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text-subtle);
  font-size: 0.83rem;
}

.article-content {
  color: var(--c-text);
  line-height: 1.85;
  font-size: 1.02rem;
}

.article-intro {
  font-size: 1.12rem;
  color: var(--c-text-muted);
  border-left: 3px solid var(--c-accent);
  padding-left: 20px;
  margin-bottom: 32px;
}

.article-content h2 {
  font-size: 1.45rem;
  color: var(--c-text);
  margin-top: 40px;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.article-content h3 {
  font-size: 1.1rem;
  color: var(--c-text);
  margin-top: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

.article-content p { margin-bottom: 16px; }

.article-content ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-content ul li { margin-bottom: 8px; }

.comparison-table { overflow-x: auto; margin: 24px 0; }

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th {
  background: var(--c-accent-dark);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}

.comparison-table tr:nth-child(even) td {
  background: var(--c-bg-subtle);
}

.article-cta {
  margin-top: 48px;
  padding: 44px;
  background: linear-gradient(135deg, #050E22, #0A1F44);
  border-radius: var(--r-lg);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -50px;
  filter: blur(40px);
  pointer-events: none;
}

.article-cta h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 700; position: relative; z-index: 1; }
.article-cta p  { color: rgba(255, 255, 255, 0.75); margin-bottom: 20px; position: relative; z-index: 1; }
.article-cta .btn-primary { position: relative; z-index: 1; }

/* =============================================================================
   FAQ
   ============================================================================= */

.faq-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--c-bg-subtle);
}

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

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  box-shadow: var(--s-xs);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(30, 144, 255, 0.15);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  background: none;
  border: none;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s ease;
}

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

.faq-question:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: -2px;
  border-radius: var(--r-md);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--c-accent);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

.faq-answer p {
  color: var(--c-text-muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

/* =============================================================================
   TESTIMONIALS
   ============================================================================= */

.testimonios {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--c-bg-subtle);
  text-align: center;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonio-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  padding: 34px;
  border-radius: var(--r-md);
  box-shadow: var(--s-sm);
  border: 1px solid var(--c-border);
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
}

.testimonio-card > * {
  flex-shrink: 0;
}

.testimonio-card p {
  flex-grow: 1;
}

.testimonio-card:hover {
  transform: translateY(-6px);
  box-shadow:
    var(--s-accent),
    0 0 20px rgba(30, 144, 255, 0.06);
  border-color: rgba(30, 144, 255, 0.15);
}

.testimonio-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--c-accent-light);
  font-family: Georgia, serif;
  position: absolute;
  top: 12px;
  left: 22px;
  line-height: 1;
}

.testimonio-text {
  color: var(--c-text-muted);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonio-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), #0A1F44);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: 'Space Grotesk', sans-serif;
  flex-shrink: 0;
}

.testimonio-author-info h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text);
}

.testimonio-author-info p {
  font-size: 0.78rem;
  color: var(--c-text-subtle);
}

/* Testimonial stars */
.testimonio-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: #FBBF24;
}
.testimonio-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Testimonial quote mark override — stronger accent opacity */
.testimonio-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 20px;
  font-size: 5rem;
  line-height: 1;
  color: var(--c-accent);
  opacity: 0.15;
  font-family: Georgia, serif;
  pointer-events: none;
}

/* Result tag in testimonial */
.testimonio-result {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: rgba(30, 144, 255, 0.08);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-accent);
  margin-bottom: 0.875rem;
}

/* =============================================================================
   KEYFRAME ANIMATIONS
   ============================================================================= */

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mesh-move {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  25% {
    transform: translate(5%, -3%) rotate(2deg);
  }
  50% {
    transform: translate(-3%, 5%) rotate(-1deg);
  }
  75% {
    transform: translate(3%, 2%) rotate(1.5deg);
  }
  100% {
    transform: translate(0%, 0%) rotate(0deg);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.40);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.60);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-15px) translateX(8px);
  }
  66% {
    transform: translateY(8px) translateX(-5px);
  }
}

@keyframes gradient-rotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes slide-up {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes bounce-arrow {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(45deg) translateY(0);
  }
  40% {
    transform: rotate(45deg) translateY(-8px);
  }
  60% {
    transform: rotate(45deg) translateY(-4px);
  }
}

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

@keyframes aurora-drift {
  0%   { transform: scale(1)    translate(0px, 0px);   }
  33%  { transform: scale(1.12) translate(50px, -40px); }
  66%  { transform: scale(0.92) translate(-30px, 30px); }
  100% { transform: scale(1.06) translate(20px, -15px); }
}

/* --- Shimmer loading utility --- */
.shimmer {
  background: linear-gradient(90deg, var(--c-bg-subtle) 25%, var(--c-border) 50%, var(--c-bg-subtle) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* =============================================================================
   2026 TRENDS — Scroll Animations & Micro-interactions
   ============================================================================= */

/* Scroll-triggered fade-in-up animation */
@keyframes scroll-fade-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered children animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Stagger delay utilities */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Bento card hover effect (2026 trend) */
.bento-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--s-lg), var(--glow-primary);
}

/* Micro-interaction: Button ripple effect */
.btn-2026 {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-2026::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), 
              rgba(255,255,255,0.3) 0%, 
              transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-2026:hover::after {
  opacity: 1;
}

/* Glow button with 2026 style */
.btn-glow-2026 {
  position: relative;
  background: var(--c-accent);
  border: none;
  border-radius: var(--r-sm);
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-glow-2026:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

/* Card hover glow (2026) */
.card-glow-hover {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-glow-hover:hover {
  box-shadow: 0 0 30px var(--c-accent-glow), var(--s-md);
  border-color: var(--c-accent);
}

/* Aurora gradient text */
.gradient-text-aurora {
  background: var(--gradient-aurora-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background: var(--noise-overlay);
}

/* Smooth reveal animation */
@keyframes reveal-scale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: scale(1);
}

/* Parallax subtle effect */
.parallax-subtle {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Magnetic button effect */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =============================================================================
   RESPONSIVE — LARGE TABLET (<=1024px)
   ============================================================================= */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================================
   RESPONSIVE — TABLET (<=992px)
   ============================================================================= */

@media (max-width: 992px) {
  .diferencial-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .diferencial-wrapper::before { display: none; }

  .servicios-grid { grid-template-columns: 1fr; gap: 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards { flex-direction: column; }

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

  .bg-number { font-size: 80px; top: -20px; }

  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonios-grid { grid-template-columns: 1fr; }

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

  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
}

/* =============================================================================
   RESPONSIVE — MOBILE (<=768px)
   ============================================================================= */

@media (max-width: 768px) {
  body { padding-top: 70px; }

  .menu-toggle { display: block; }

  .navbar nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--c-bg);
    flex-direction: column;
    padding: 12px 0;
    box-shadow: var(--s-md);
    border-top: 1px solid var(--c-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .navbar nav.active { display: flex; }

  .navbar nav a {
    padding: 14px 24px;
    width: 100%;
    text-align: left;
    border-radius: 0;
    opacity: 1;
  }

  .navbar nav a::after { display: none; }

  .hero-premium {
    padding: clamp(80px, 12vw, 100px) 0 clamp(70px, 10vw, 90px);
  }

  .hero-premium.hero-inner {
    padding: 60px 0 48px;
  }

  .hero-premium.hero-inner h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .hero-scroll-indicator { display: none; }

  .diferencial,
  .industries,
  .services-premium,
  .proceso,
  .testimonios,
  .metodologia {
    padding: 70px 0;
  }

  .cta { padding: 60px 0; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

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

  .servicio-detalle { padding: 60px 0; }

  .contacto-section { padding: 50px 0; }
  .contacto-form-wrapper { padding: 24px; }

  .metricas { padding: 56px 0; }
  .metricas-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

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

  .article-cta { padding: 28px 20px; }

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

  .footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .bg-number { font-size: 60px; top: -10px; }

  /* Hide custom cursor on mobile */
  .custom-cursor,
  .cursor-dot {
    display: none !important;
  }

  /* Reduce card hover effects on mobile */
  .card:hover,
  .card1:hover,
  .bento-item:hover,
  .servicio-item:hover,
  .testimonio-card:hover,
  .blog-card:hover {
    transform: translateY(-3px);
  }

  /* Back to top adjustments */
  .back-to-top {
    bottom: 96px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

/* Toast mobile override */
@media (max-width: 768px) {
  .toast {
    left: 20px;
    right: 20px;
    max-width: none;
    top: 80px;
    transform: translateY(-150%);
  }
  .toast-visible { transform: translateY(0); }
}

/* =============================================================================
   RESPONSIVE — SMALL MOBILE (<=480px)
   ============================================================================= */

@media (max-width: 480px) {
  .grid-5 { grid-template-columns: 1fr; }
}

/* =============================================================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================================================= */

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

  .hero-premium::before {
    animation: none;
  }

  .fade-in,
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-premium h1,
  .hero-premium p,
  .hero-buttons,
  .hero-badge {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .btn-primary {
    animation: none;
    background-size: 100% 100%;
  }

  .hero-scroll-indicator::after {
    animation: none;
  }

  .preloader {
    display: none;
  }
}

/* =============================================================================
   ACCESSIBILITY — FOCUS VISIBLE (global)
   ============================================================================= */

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* Override for inputs that have custom focus */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
}

/* =============================================================================
   TOUCH DEVICE — HIDE CUSTOM CURSOR
   ============================================================================= */

@media (hover: none) and (pointer: coarse) {
  .custom-cursor,
  .cursor-dot {
    display: none !important;
  }
}

/* =============================================================================
   PERFORMANCE — CSS CONTAINMENT
   ============================================================================= */

.card,
.card1,
.bento-item,
.servicio-item,
.testimonio-card,
.blog-card,
.faq-item {
  contain: layout style;
}

section {
  contain: layout style;
  padding: var(--space-3xl, 6rem) 0;
}

@media (max-width: 768px) {
  section {
    padding: var(--space-2xl, 4rem) 0;
  }
}


/* =============================================================================
   SECTION IMAGES — ANIMATED STYLES
   ============================================================================= */

/* Section images — restrained, professional sizing */

.section-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 0 auto 2rem;
  max-width: 280px;
  box-shadow: none;
}

.section-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  transition: transform 0.6s ease;
}

/* Compact variant — same size, no decoration */
.section-img-wrapper.img-compact {
  max-width: 280px;
  box-shadow: none;
  background: transparent;
  border: none;
}

.section-img-wrapper.img-compact img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  padding: 0;
}

/* Mockup variant — same max size */
.section-img-wrapper.img-mockup {
  max-width: 280px;
  box-shadow: none;
}

.section-img-wrapper.img-mockup img {
  border-radius: 16px;
  object-fit: contain;
  height: auto;
}

/* --- Float animation (gentle up/down) --- */
.anim-float {
  animation: imgFloat 6s ease-in-out infinite;
}

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

/* --- Pulse glow border --- */
.anim-pulse-glow {
  box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.4);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px 0 rgba(30, 144, 255, 0.15); }
  50% { box-shadow: 0 0 35px 8px rgba(30, 144, 255, 0.35); }
}

/* --- Ken Burns (slow zoom + pan) --- */
.anim-ken-burns img {
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* --- Parallax drift (slow horizontal) --- */
.anim-drift {
  animation: imgDrift 12s ease-in-out infinite alternate;
}

@keyframes imgDrift {
  0% { transform: translateX(0) scale(1); }
  100% { transform: translateX(-8px) scale(1.02); }
}

/* --- Shimmer overlay (animated light sweep) --- */
.anim-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: shimmerSweep 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  100% { left: 150%; }
}

/* --- Rotate Slow (for decorative elements) --- */
.anim-rotate-slow {
  animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Section image overlay (dark gradient for text readability) --- */
.section-img-overlay {
  position: relative;
}

.section-img-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

/* --- Hero section background image animation --- */
.hero-bg-animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
  animation: heroBgPan 25s ease-in-out infinite alternate;
}

@keyframes heroBgPan {
  0% { transform: scale(1.05) translate(0, 0); }
  50% { transform: scale(1.12) translate(-1%, 1%); }
  100% { transform: scale(1.05) translate(1%, -1%); }
}

/* --- CTA section image --- */
.cta-img-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cta-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  animation: heroBgPan 20s ease-in-out infinite alternate;
}

/* --- Responsive adjustments for section images --- */
@media (max-width: 768px) {
  .section-img-wrapper {
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .section-img-wrapper img {
    border-radius: 14px;
    max-height: 220px;
  }

  .section-img-wrapper.img-compact img {
    max-height: 180px;
  }

  .section-img-wrapper.img-mockup img {
    max-height: 220px;
  }
  
  @keyframes imgFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
}

/* =============================================================================
   ANIMATION UTILITIES — KEYFRAMES & CLASSES
   ============================================================================= */

/* Ken Burns zoom effect */
@keyframes kenBurnsZoom {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1%, -1%); }
  100% { transform: scale(1) translate(0, 0); }
}
.anim-ken-burns-zoom {
  animation: kenBurnsZoom 12s ease-in-out infinite;
}

/* Shimmer loading effect */
@keyframes shimmerLoad {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.anim-shimmer-load {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  background-size: 200% auto;
  animation: shimmerLoad 3s linear infinite;
}

/* Floating animation */
@keyframes floatSimple {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.anim-float-simple {
  animation: floatSimple 5s ease-in-out infinite;
}

/* Drift animation */
@keyframes driftMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(6px, -8px) rotate(1deg); }
  66% { transform: translate(-4px, 4px) rotate(-1deg); }
}
.anim-drift-move {
  animation: driftMove 8s ease-in-out infinite;
}

/* Pulse glow drop-shadow effect */
@keyframes pulseGlowDrop {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4)); }
  50% { filter: drop-shadow(0 0 24px rgba(99, 102, 241, 0.8)); }
}
.anim-pulse-glow-drop {
  animation: pulseGlowDrop 3s ease-in-out infinite;
}

/* Fade in up animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-anim {
  animation: fadeInUp 0.6s ease forwards;
}
.fade-up-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================================
   CLASS ALIASES — HTML-compatible names pointing to the keyframes above
   These ensure .anim-ken-burns, .anim-shimmer, etc. work alongside the
   previously existing classes defined earlier in this file.
   ============================================================================= */

/* Alias: ken-burns zoom effect (matches HTML usage of .anim-ken-burns-zoom) */
.anim-ken-burns-zoom {
  /* already defined above; alias for clarity */
}

/* Alias: shimmer load (matches HTML usage of .anim-shimmer) */
/* .anim-shimmer already defined earlier via ::after pseudo-element */

/* Alias: float (matches HTML usage of .anim-float) */
/* .anim-float already defined earlier using imgFloat keyframe */

/* Alias: drift (matches HTML usage of .anim-drift) */
/* .anim-drift already defined earlier using imgDrift keyframe */

/* Alias: pulse-glow (matches HTML usage of .anim-pulse-glow) */
/* .anim-pulse-glow already defined earlier using pulseGlow keyframe */

/* Alias: fade-in — also respond to .visible (already defined in SCROLL REVEAL) */
/* .fade-in already defined earlier; activated by adding .visible class */

/* Alias: fade-up — also respond to .show (already defined in SCROLL REVEAL) */
/* .fade-up already defined earlier; activated by adding .show class */

/* =============================================================================
   IMAGE SIZING UTILITIES
   ============================================================================= */

.section-image img,
.img-wrapper img,
.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Prevent layout shift - aspect ratios */
.hero-visual img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.testimonial-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* =============================================
   BLOG ARTICLE STYLES
   ============================================= */
.blog-article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem var(--space-md, 1.5rem);
}

.article-header-full {
  padding: calc(80px + 3rem) var(--space-md, 1.5rem) 3rem;
  text-align: center;
  background: var(--c-bg);
}

.article-meta-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.article-meta-full time,
.article-meta-full .reading-time,
.article-meta-full .author {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.article-content-full {
  padding: 3rem var(--space-md, 1.5rem);
  max-width: 800px;
  margin: 0 auto;
}

.article-content-full h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 2.5rem 0 1rem;
  color: var(--c-text);
}

.article-content-full h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin: 2rem 0 0.75rem;
  color: var(--c-text);
}

.article-content-full p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--c-text-muted);
}

.article-content-full ul,
.article-content-full ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content-full li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--c-text-muted);
}

.article-content-full blockquote {
  border-left: 4px solid var(--c-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--c-surface);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
}

.article-cta-section {
  padding: 4rem var(--space-md, 1.5rem);
  background: var(--c-surface);
  text-align: center;
  border-top: 1px solid var(--c-border);
}

.article-cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.article-cta-section p {
  color: var(--c-text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-inline: auto;
}

.article-tag-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--c-accent);
  color: white;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.article-title-full {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.article-excerpt-full {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--c-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.article-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--r-xl, 40px);
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .article-header-full {
    padding: calc(70px + 2rem) var(--space-sm, 1rem) 2rem;
  }
  .article-content-full {
    padding: 2rem var(--space-sm, 1rem);
  }
  .article-meta-full {
    gap: 0.5rem;
  }
}
