/* ========================================
   POTENCIA WEB - Premium Landing Page
   Apple-inspired design with modern animations
   Updated: Outline text, client-focused, sectors, code-to-app
   ======================================== */

/* CSS Variables */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --bg-card: #0d0d0d;
    
    /* Red accent (sophisticated, not flashy) */
    --red-primary: #e63946;
    --red-secondary: #ff6b6b;
    --red-glow: rgba(230, 57, 70, 0.15);
    --red-muted: #c1121f;
    
    /* Green for positive indicators only */
    --green-positive: #22c55e;
    --green-bright: #4ade80;
    --green-glow: rgba(34, 197, 94, 0.2);
    
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    
    --font-primary: 'Quicksand', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 1s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 60px var(--red-glow);
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--gray-300);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ambient Light Effects */
.ambient-light {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.ambient-light-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: ambientFloat1 20s ease-in-out infinite;
}

.ambient-light-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    bottom: 20%;
    left: -150px;
    animation: ambientFloat2 25s ease-in-out infinite;
}

.ambient-light-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation: ambientFloat3 18s ease-in-out infinite;
}

@keyframes ambientFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.1); }
    66% { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes ambientFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.15); }
}

@keyframes ambientFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-30px, 20px) scale(1.05); }
    75% { transform: translate(20px, -30px) scale(0.9); }
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

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

/* Keyword Highlight - Red + Italic */
.outline-text {
    color: var(--red-primary);
    font-style: italic;
    position: relative;
    display: inline-block;
    letter-spacing: -0.01em;
}

.outline-text::after {
    content: none;
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

/* Prevent words from breaking into multiple lines mid-word */
.text-reveal .word {
    display: inline-block;
    white-space: nowrap;
}

.text-reveal .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Animation Classes */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: all var(--transition-slow);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }
.delay-5 { transition-delay: 0.75s; }
.delay-6 { transition-delay: 0.9s; }

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transform: none;
    will-change: transform;
    transition: background var(--transition-medium), border-bottom-color var(--transition-medium), transform var(--transition-medium);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header.is-hidden {
    transform: translateY(-110%);
}

.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-drawer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    flex: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 0 8px var(--red-primary));
}

.logo-accent {
    color: var(--red-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.nav-menu > li:not(.has-submenu) > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: width var(--transition-fast);
}

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

.nav-menu > li:not(.has-submenu) > a:hover::after {
    width: 100%;
}

/* Submenu Styles */
.has-submenu:hover a svg {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 180px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.submenu a:hover {
    background: rgba(230, 57, 70, 0.1);
    color: var(--red-primary);
}

.nav-ctas {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-muted) 100%);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-primary.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 14px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--gray-300);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--gray-700);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gray-600);
    color: var(--white);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--red-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.btn-ghost::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 6px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, currentColor 35%, currentColor 65%, transparent 100%);
    border-radius: 999px;
    opacity: 0.45;
    transform: scaleX(0.65);
    transform-origin: center;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    pointer-events: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    color: var(--red-secondary);
}

.btn-ghost:hover::after,
.btn-ghost:focus-visible::after {
    opacity: 0.95;
    transform: scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background: rgba(20, 20, 20, 0.85);
    border-color: rgba(255, 255, 255, 0.16);
}

.mobile-menu-toggle:active {
    transform: scale(0.98);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 999px;
    opacity: 0.9;
    transition: all var(--transition-fast);
    transform-origin: center;
}

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

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

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

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
    z-index: 998;
}

body.mobile-nav-open .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* Evita glitches del menú en modo sticky (iOS/Safari/Android) */
body.mobile-nav-open .header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    padding: 140px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

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

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.08;
    text-wrap: balance;
    will-change: opacity, transform, filter;
    transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Keep small groups together (e.g. "por WhatsApp") */
.hero-title .keep-together {
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .hero-title .keep-together {
        white-space: normal;
    }
}

/* Smooth blur/fade between rotating hero titles */
.hero-title.is-swapping {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(14px);
}

.hero-subtitle {
    font-size: 1.22rem;
    color: var(--gray-400);
    margin-bottom: 32px;
    max-width: 540px;
    font-weight: 400;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-300);
}

.feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 10px;
    color: var(--red-primary);
    flex-shrink: 0;
}

.feature-icon.positive {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green-positive);
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.visual-container {
    position: relative;
    transform-style: preserve-3d;
    animation: floatVisual 6s ease-in-out infinite;
}

@keyframes floatVisual {
    0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
    50% { transform: translateY(-10px) rotateX(2deg) rotateY(-2deg); }
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

/* Hero mobile loop arrow (hidden by default) */
.transform-arrow.hero-switch-arrow {
    display: none;
}

/* Hero mockup sequence: WhatsApp IA -> Panel */
.hero-visual.hero-seq-ready .mockup-dashboard,
.hero-visual.hero-seq-ready .mockup-mobile,
.hero-visual.hero-seq-ready .mockup-ai {
    opacity: 0;
    transform: translate3d(0, 18px, -30px) scale(0.96);
    filter: blur(12px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    will-change: opacity, transform, filter;
}

.hero-visual.hero-seq-ready .mockup-dashboard {
    transform: translate3d(0, 26px, -60px) scale(0.95) rotateX(7deg);
}

.hero-visual.hero-seq-ready.hero-seq-step1 .mockup-mobile,
.hero-visual.hero-seq-ready.hero-seq-step1 .mockup-ai {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.hero-visual.hero-seq-ready.hero-seq-step2 .mockup-dashboard {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
    filter: blur(0);
    pointer-events: auto;
}

/* Pause loop animations until Step 1 is visible */
.hero-visual.hero-seq-ready .mockup-mobile,
.hero-visual.hero-seq-ready .mockup-ai,
.hero-visual.hero-seq-ready .wa-chat,
.hero-visual.hero-seq-ready .wa-msg,
.hero-visual.hero-seq-ready .wa-typing,
.hero-visual.hero-seq-ready .wa-typing span {
    animation-play-state: paused !important;
}

.hero-visual.hero-seq-ready.hero-seq-step1 .mockup-mobile,
.hero-visual.hero-seq-ready.hero-seq-step1 .mockup-ai,
.hero-visual.hero-seq-ready.hero-seq-step1 .wa-chat,
.hero-visual.hero-seq-ready.hero-seq-step1 .wa-msg,
.hero-visual.hero-seq-ready.hero-seq-step1 .wa-typing,
.hero-visual.hero-seq-ready.hero-seq-step1 .wa-typing span {
    animation-play-state: running !important;
}

.mockup-dashboard {
    background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0;
    width: 420px;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-700);
}

.mockup-dots span:first-child { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:last-child { background: #28c840; }

.mockup-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-400);
}

.mockup-content {
    padding: 20px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    margin-bottom: 16px;
}

.bar {
    flex: 1;
    height: var(--height);
    background: linear-gradient(180deg, var(--red-primary) 0%, var(--red-muted) 100%);
    border-radius: 4px 4px 0 0;
    animation: growBar 1s ease-out forwards;
    transform-origin: bottom;
    opacity: 0;
    filter: hue-rotate(0deg) saturate(1.15) brightness(1.05);
    will-change: transform, opacity, filter;
}

@keyframes growBar {
    from {
        transform: scaleY(0);
        opacity: 0;
        filter: hue-rotate(0deg) saturate(1.15) brightness(1.05);
    }
    to {
        transform: scaleY(1);
        opacity: 1;
        filter: hue-rotate(var(--hue, 110deg)) saturate(1.15) brightness(1.05);
    }
}

.stats-row {
    display: flex;
    gap: 12px;
}

.stat-card {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.stat-card.positive-stat .stat-value {
    color: var(--green-positive);
}

.stat-value {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-positive);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-400);
}

.mockup-mobile {
    position: absolute;
    right: -30px;
    bottom: 20px;
    width: 140px;
    background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    animation: floatMobile 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

.mobile-notch {
    width: 60px;
    height: 20px;
    background: var(--bg-primary);
    border-radius: 0 0 12px 12px;
    margin: 0 auto 10px;
}

.mobile-content {
    padding: 8px;
}

.mobile-header-bar {
    height: 8px;
    background: var(--gray-700);
    border-radius: 4px;
    margin-bottom: 10px;
    width: 70%;
}

.mobile-card {
    height: 40px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
}

/* ========================================
   WhatsApp Chat Micro Animation (Hero)
   ======================================== */
.wa-chat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
    padding: 8px 6px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: visible;
    animation: waChatFloat 6s ease-in-out infinite;
}

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

.wa-msg,
.wa-typing {
    position: relative;
    border-radius: 10px;
    padding: 7px 8px;
    opacity: 0;
    transform: translateY(6px) scale(0.98);
    filter: blur(0.2px);
    animation: waBubble 7.2s ease-in-out infinite;
    will-change: transform, opacity;
}

.wa-in {
    align-self: flex-start;
    width: 74%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-out {
    align-self: flex-end;
    width: 66%;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.14);
}

/* Fake “text” lines (no actual text) */
.wa-msg::before,
.wa-msg::after {
    content: '';
    display: block;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 0.35;
}

.wa-msg::after {
    margin-top: 5px;
    opacity: 0.22;
}

.wa-msg-1::before { width: 72%; }
.wa-msg-1::after { width: 58%; }
.wa-msg-2::before { width: 64%; }
.wa-msg-2::after { width: 42%; }
.wa-msg-3::before { width: 68%; }
.wa-msg-3::after { width: 54%; }

/* Typing indicator */
.wa-typing {
    align-self: flex-start;
    width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    opacity: 0.55;
    animation: waDot 1.2s ease-in-out infinite;
}

.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes waDot {
    0%, 100% { transform: translateY(0); opacity: 0.45; }
    50% { transform: translateY(-2px); opacity: 0.85; }
}

@keyframes waBubble {
    0%, 12% {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }
    18%, 70% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    86%, 100% {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
}

.wa-msg-1 { animation-delay: 0s; }
.wa-msg-2 { animation-delay: 1.2s; }
.wa-msg-3 { animation-delay: 2.4s; }
.wa-msg-4 { animation-delay: 3.6s; }

@media (prefers-reduced-motion: reduce) {
    .wa-chat,
    .wa-msg,
    .wa-typing,
    .wa-typing span {
        animation: none !important;
        transform: none !important;
    }

    .wa-msg,
    .wa-typing {
        opacity: 1;
    }
}

.mobile-nav {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav span {
    width: 20px;
    height: 20px;
    background: var(--gray-700);
    border-radius: 6px;
}

.mockup-ai {
    position: absolute;
    top: 60px;
    right: 110px;
    left: auto;
    background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    box-shadow: var(--shadow-md), 0 0 40px var(--green-glow);
    animation: floatAI 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes floatAI {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, -6px); }
}

.ai-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-positive) 0%, #16a34a 100%);
    border-radius: 12px;
    color: var(--white);
}

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

.whatsapp-icon {
    background: linear-gradient(135deg, var(--green-positive) 0%, #16a34a 100%) !important;
    color: var(--white) !important;
}

.ai-text {
    display: flex;
    flex-direction: column;
}

.ai-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.ai-status {
    font-size: 0.75rem;
    color: var(--green-positive);
}

.ai-pulse {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: var(--green-positive);
    border-radius: 50%;
    animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust {
    padding: 64px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 10, 0.5);
}

.trust-title {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    font-weight: 500;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.logo-item {
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.logo-item:hover {
    opacity: 1;
}

.company-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-400);
}

.company-logo span {
    color: var(--gray-500);
    font-weight: 400;
}

.trust-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.section-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--red-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.16rem;
    color: var(--gray-400);
    font-weight: 400;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: 100px 0;
}

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

.service-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 36px;
    transition: all var(--transition-slow), transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    overflow: hidden;
    /* Estado inicial para animación secuencial */
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card.visible:hover {
    border-color: rgba(230, 57, 70, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(230, 57, 70, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(230, 57, 70, 0.05) 100%);
    border-radius: 16px;
    color: var(--red-primary);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 1.02rem;
    color: var(--gray-400);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--gray-300);
    margin-bottom: 8px;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--green-positive);
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap var(--transition-fast), color var(--transition-fast);
    position: relative;
    padding-bottom: 4px;
}

.service-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, currentColor 35%, currentColor 65%, transparent 100%);
    border-radius: 999px;
    opacity: 0.45;
    transform: scaleX(0.65);
    transform-origin: center;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    pointer-events: none;
}

.service-link:hover,
.service-link:focus-visible {
    gap: 12px;
    color: var(--red-secondary);
}

.service-link:hover::after,
.service-link:focus-visible::after {
    opacity: 0.95;
    transform: scaleX(1);
}

.service-link svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   PROCESS SECTION - New Card Layout
   ======================================== */

/* Process cards use global .delay-* timing */
.process {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.5) 50%, transparent 100%);
}

.process-cards {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.process-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    position: relative;
    transition: all var(--transition-slow), transform var(--transition-medium), box-shadow var(--transition-medium);
    /* Estado inicial para animación secuencial */
    opacity: 0;
    transform: translateY(25px);
}

.process-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-card.visible:hover {
    border-color: rgba(230, 57, 70, 0.2);
    transform: translateY(-4px);
}

.process-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--red-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
}

.process-icon {
    width: 56px;
    height: 56px;
    margin: 16px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 14px;
    color: var(--red-primary);
}

.process-icon svg {
    width: 28px;
    height: 28px;
}

.process-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 16px;
}

.process-time {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
}

.process-time.positive {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green-positive);
}

.process-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--gray-600);
    padding: 0 8px;
}

/* ========================================
   SECTORS SECTION
   ======================================== */
.sectors {
    padding: 100px 0;
}

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

.sector-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all var(--transition-slow), transform var(--transition-medium), box-shadow var(--transition-medium);
    /* Estado inicial para animación secuencial */
    opacity: 0;
    transform: translateY(20px);
}

.sector-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.sector-card.visible:hover {
    border-color: rgba(230, 57, 70, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sector-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.sector-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.sector-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
}

.sectors-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-500);
}

.sectors-note a {
    color: var(--red-primary);
    text-decoration: none;
    font-weight: 500;
}

.sectors-note a:hover {
    text-decoration: underline;
}

/* ========================================
   CASES SECTION
   ======================================== */
.cases {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.5) 50%, transparent 100%);
}

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

.case-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.case-card:hover {
    border-color: rgba(230, 57, 70, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-header {
    padding: 24px 28px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-company {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.case-type {
    font-size: 0.8rem;
    color: var(--red-primary);
    background: rgba(230, 57, 70, 0.1);
    padding: 6px 12px;
    border-radius: 100px;
}

.case-content {
    padding: 28px;
}

.case-results {
    list-style: none;
    margin-bottom: 24px;
}

.case-results li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-300);
    margin-bottom: 12px;
}

.case-results svg {
    width: 20px;
    height: 20px;
    color: var(--green-positive);
    flex-shrink: 0;
    margin-top: 2px;
}

.case-metrics {
    display: flex;
    gap: 24px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric.positive-metric .metric-value {
    color: var(--green-positive);
}

.metric-value {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-positive);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.cases-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 100px 0;
}

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

.about-text {
    font-size: 1.15rem;
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-bottom: 32px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.feature-check {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2) 0%, rgba(230, 57, 70, 0.05) 100%);
    border-radius: 8px;
    color: var(--red-primary);
    flex-shrink: 0;
}

.feature-check.positive {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.05) 100%);
    color: var(--green-positive);
}

.feature-check svg {
    width: 14px;
    height: 14px;
}

.about-note {
    font-size: 1rem;
    color: var(--gray-500);
    font-style: italic;
    padding-left: 20px;
    border-left: 2px solid var(--red-primary);
}

.about-visual-quote {
    font-size: 1rem;
    color: var(--gray-300);
    text-align: center;
    margin-top: 16px;
    font-weight: 500;
}

/* Code to App Transformation */
.code-to-app {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 100%;
    perspective: 900px;
    transform-style: preserve-3d;
    min-height: 260px;
    background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Stack the steps on top of each other for a true “transform” feel */
.code-to-app .idea-side,
.code-to-app .code-side,
.code-to-app .app-side,
.code-to-app .transform-arrow {
    grid-area: 1 / 1;
}

/* Timeline: Idea -> Código -> App (secuencial, no simultáneo) */
.code-to-app::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.18), transparent);
    transform: skewX(-18deg) translateX(-160%);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.code-to-app.animate::after {
    animation: transformSweepOnce 8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.code-to-app > * {
    position: relative;
    z-index: 1;
}

@keyframes transformSweepOnce {
    0% { transform: skewX(-18deg) translateX(-160%); opacity: 0; }
    12% { opacity: 0.9; }
    50% { transform: skewX(-18deg) translateX(160%); opacity: 0.9; }
    70% { opacity: 0; }
    100% { transform: skewX(-18deg) translateX(160%); opacity: 0; }
}

/* Default states (before animation) */
.code-to-app .code-side,
.code-to-app .app-side,
.code-to-app .transform-arrow {
    opacity: 0;
    transform: translate3d(0, 10px, -20px) scale(0.98);
    filter: blur(10px);
    pointer-events: none;
}

.code-to-app .idea-side {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.code-to-app .app-side {
    display: flex;
}

/* Animate (loop) when visible */
.code-to-app.animate .idea-side {
    animation: stepIdea 8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.code-to-app.animate .arrow-idea {
    animation: stepArrowIdea 8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.code-to-app.animate .code-side {
    animation: stepCode 8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.code-to-app.animate .arrow-code {
    animation: stepArrowCode 8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.code-to-app.animate .app-side {
    animation: stepApp 8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes stepIdea {
    0% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotateY(0deg); filter: blur(0); }
    15% { opacity: 1; transform: translate3d(0, -2px, 10px) scale(1.03) rotateY(-6deg); filter: blur(0); }
    28% { opacity: 0; transform: translate3d(-14px, -10px, -40px) scale(0.94) rotateY(18deg); filter: blur(10px); }
    86% { opacity: 0; transform: translate3d(-14px, -10px, -40px) scale(0.94) rotateY(18deg); filter: blur(12px); }
    96% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotateY(0deg); filter: blur(0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotateY(0deg); filter: blur(0); }
}

@keyframes stepCode {
    0% { opacity: 0; transform: translate3d(16px, 12px, -60px) scale(0.94) rotateY(-18deg); filter: blur(14px); }
    24% { opacity: 0; transform: translate3d(16px, 12px, -60px) scale(0.94) rotateY(-18deg); filter: blur(14px); }
    36% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotateY(0deg); filter: blur(0); }
    58% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotateY(0deg); filter: blur(0); }
    70% { opacity: 0; transform: translate3d(-12px, -8px, -50px) scale(0.95) rotateY(14deg); filter: blur(12px); }
    100% { opacity: 0; transform: translate3d(-12px, -8px, -50px) scale(0.95) rotateY(14deg); filter: blur(14px); }
}

@keyframes stepApp {
    0% { opacity: 0; transform: translate3d(0, 18px, -80px) scale(0.92) rotateX(12deg); filter: blur(16px); }
    56% { opacity: 0; transform: translate3d(0, 18px, -80px) scale(0.92) rotateX(12deg); filter: blur(16px); }
    72% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotateX(0deg); filter: blur(0); }
    88% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotateX(0deg); filter: blur(0); }
    96% { opacity: 0; transform: translate3d(0, -8px, -70px) scale(0.95) rotateX(10deg); filter: blur(14px); }
    100% { opacity: 0; transform: translate3d(0, -8px, -70px) scale(0.95) rotateX(10deg); filter: blur(16px); }
}

@keyframes stepArrowIdea {
    0% { opacity: 0; transform: translate3d(0, 10px, -20px) scale(0.9); }
    10% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    34% { opacity: 1; transform: translate3d(10px, 0, 0) scale(1); }
    46% { opacity: 0; transform: translate3d(18px, -8px, -40px) scale(0.9); }
    100% { opacity: 0; transform: translate3d(18px, -8px, -40px) scale(0.9); }
}

@keyframes stepArrowCode {
    0% { opacity: 0; transform: translate3d(0, 10px, -20px) scale(0.9); }
    38% { opacity: 0; transform: translate3d(0, 10px, -20px) scale(0.9); }
    50% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    72% { opacity: 1; transform: translate3d(10px, 0, 0) scale(1); }
    92% { opacity: 0; transform: translate3d(18px, -8px, -40px) scale(0.9); }
    100% { opacity: 0; transform: translate3d(18px, -8px, -40px) scale(0.9); }
}

.idea-side {
    flex: 0 0 auto;
}

.idea-card {
    width: 240px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.idea-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.idea-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.idea-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.idea-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.code-side {
    width: min(420px, 100%);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 14px;
    overflow: visible; /* allow the label to sit outside */
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.65);
} 

.transform-step-label {
    position: absolute;
    top: 14px;
    left: 14px;
    transform: none;
    padding: 8px 14px;
    background: rgba(148, 163, 184, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Keep labels inside each stacked step */
.code-side,
.app-side {
    position: relative;
}

.code-side .transform-step-label {
    top: 14px;
    left: 14px;
    transform: none;
}

.app-side .transform-step-label {
    top: 50%;
    left: -120px;
    right: auto;
    transform: translateY(-50%);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-700);
}

.code-dot:first-child { background: #ff5f57; }
.code-dot:nth-child(2) { background: #febc2e; }
.code-dot:nth-child(3) { background: rgba(34, 197, 94, 0.65); }

.code-title {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--gray-600);
}

.code-content {
    padding: 16px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.7rem;
    line-height: 1.6;
}

.code-line {
    color: var(--gray-400);
    white-space: nowrap;
}

.code-keyword { color: #c678dd; }
.code-var { color: #61afef; }
.code-tag { color: var(--red-secondary); }
.code-string { color: var(--green-positive); }

.transform-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 55%),
                linear-gradient(135deg, var(--red-primary) 0%, var(--red-muted) 100%);
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.25);
}

.transform-arrow svg {
    width: 20px;
    height: 20px;
}

/* Only pulse arrows during the sequence */
.code-to-app.animate .transform-arrow svg {
    animation: pulseArrow 2.2s ease-in-out infinite;
}

@keyframes pulseArrow {
    0%, 100% { transform: translateX(0) scale(1); }
    50% { transform: translateX(2px) scale(1.08); }
}

.app-side {
    display: flex;
    justify-content: center;
}

.app-mockup {
    width: 168px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.65);
}

.app-status-bar {
    display: flex;
    justify-content: space-between;
    padding: 4px 12px 8px;
    font-size: 0.65rem;
    color: var(--gray-400);
}

.app-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 10px;
    margin-bottom: 10px;
}

.app-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.app-avatar {
    width: 20px;
    height: 20px;
    background: var(--red-primary);
    border-radius: 50%;
}

.app-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.app-stat-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
}

.app-stat-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-positive);
}

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

.app-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 10px;
}

.mini-bar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, var(--red-primary) 0%, var(--red-muted) 100%);
    border-radius: 2px;
}

.app-nav-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    font-size: 0.9rem;
    opacity: 0.4;
}

.nav-item.active {
    opacity: 1;
}

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

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 60%);
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--gray-400);
    margin-bottom: 48px;
}

.contact-form {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-300);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--white);
    transition: all var(--transition-fast);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 48px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--white);
}

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

.form-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 64px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(5, 5, 5, 0.8);
}

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

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

.footer-tagline {
    color: var(--gray-400);
    margin-bottom: 8px;
}

.footer-powered {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--gray-500);
}

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

.footer-legal a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--red-primary);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-features {
        max-width: 500px;
        margin: 0 auto 40px;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .visual-container {
        display: flex;
        justify-content: center;
    }
    
    .mockup-dashboard {
        width: 100%;
        max-width: 420px;
    }
}

@media (max-width: 1024px) {
    .nav-drawer {
        display: none;
    }

    .nav-drawer.active {
        display: flex;
        position: fixed;
        top: var(--header-height, 72px);
        left: 16px;
        right: 16px;
        height: calc(100vh - var(--header-height, 72px) - 16px);
        height: calc(100dvh - var(--header-height, 72px) - 16px);
        flex-direction: column;
        justify-content: flex-start;
        gap: 18px;
        padding: 20px;
        background: rgba(10, 10, 10, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
        z-index: 999;
        text-align: center;
    }

    .nav-drawer.active .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
        flex: 1;
        overflow-y: auto;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .nav-drawer.active .nav-menu > li {
        width: 100%;
    }

    .nav-drawer.active .nav-menu a {
        width: 100%;
        justify-content: center;
        font-size: 2rem;
        color: var(--white);
        padding: 10px 0;
    }

    .nav-drawer.active .nav-menu a svg {
        width: 18px;
        height: 18px;
    }

    .nav-drawer.active .nav-ctas {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-drawer.active .nav-ctas a {
        width: 100%;
        justify-content: center;
        font-size: 1.05rem;
    }

    .nav-drawer.active .has-submenu .submenu {
        display: none;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        padding: 8px 0 0;
        min-width: auto;
        box-shadow: none;
    }

    .nav-drawer.active .has-submenu.open .submenu {
        display: block;
    }

    .nav-drawer.active .has-submenu.open > a svg {
        transform: rotate(180deg);
    }

    .nav-drawer.active .submenu a {
        width: 100%;
        justify-content: center;
        font-size: 1.5rem;
        padding: 8px 0;
        color: var(--gray-300);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .about-features,
    .about-note {
        text-align: left;
    }

    .about-features {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .code-to-app {
        min-height: 240px;
        padding: 18px;
    }

    .code-side {
        width: min(520px, 100%);
    }

    .idea-card {
        width: min(320px, 100%);
        justify-content: center;
    }

    .transform-arrow {
        transform: rotate(0deg);
    }
    
    /* Labels en responsive - mantenlos dentro del recuadro */
    .transform-step-label {
        top: auto;
        bottom: 14px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .code-side .transform-step-label {
        top: auto;
        bottom: 14px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    /* Keep the app label away from the mockup */
    .app-side .transform-step-label {
        top: auto;
        bottom: 14px;
        left: 0;
        right: auto;
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .process-arrow {
        display: none;
    }
    
    .process-cards {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 20px 60px;
    }

    /* Reduce el padding vertical de secciones en móvil */
    .services,
    .process,
    .sectors,
    .cases,
    .about,
    .cta-section {
        padding: 30px 0;
    }
    
    .hero-subtitle.reveal-up,
    .hero-features.reveal-up {
        transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    .hero-subtitle.reveal-up:not(.visible),
    .hero-features.reveal-up:not(.visible) {
        transform: translateY(18px);
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-features .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.55s ease,
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    .hero-features.visible .feature-item {
        opacity: 1;
        transform: translateY(0);
    }

    .hero-features.visible .feature-item:nth-child(1) { transition-delay: 0.55s; }
    .hero-features.visible .feature-item:nth-child(2) { transition-delay: 0.63s; }
    .hero-features.visible .feature-item:nth-child(3) { transition-delay: 0.71s; }
    .hero-features.visible .feature-item:nth-child(4) { transition-delay: 0.79s; }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-ghost {
        width: 100%;
        justify-content: center;
    }
    
    /* En móvil: primero el texto, luego el visual */
    .hero-visual {
        order: 0;
    }

    /* En móvil: composición compacta (superpuesta y en diagonal) */
    .visual-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mockup-dashboard {
        display: block;
        width: min(340px, 92vw);
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    /* Reduce un poco el alto del panel en móvil */
    .hero .mockup-dashboard .mockup-content {
        padding: 16px;
    }

    .hero .mockup-dashboard .chart-bars {
        height: 80px;
        gap: 10px;
        margin-bottom: 12px;
    }

    .hero .mockup-dashboard .stats-row {
        gap: 10px;
    }

    .hero .mockup-dashboard .stat-card {
        padding: 10px;
    }

    .hero .mockup-dashboard .stat-value {
        font-size: 1.35rem;
    }

    .mockup-mobile {
        display: block;
        position: absolute;
        right: -12px;
        bottom: -12px;
        width: min(150px, 45vw);
        z-index: 2;
    }

    .mockup-ai {
        position: absolute;
        top: 60px;
        left: -10px;
        right: auto;
        padding: 10px 12px;
        border-radius: 14px;
        gap: 10px;
        z-index: 3;
    }

    /* Sin flecha en móvil: gana espacio */
    .hero-switch-arrow {
        display: none;
    }

    .ai-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .ai-icon svg {
        width: 18px;
        height: 18px;
    }

    .ai-label {
        font-size: 0.78rem;
    }

    .ai-status {
        font-size: 0.68rem;
    }
    
    .sectors-grid {
        grid-template-columns: 1fr;
    }
    
    .process-card {
        max-width: 100%;
    }

    .process-card h3 {
        font-size: 1.25rem;
    }

    .process-card p {
        font-size: 1rem;
    }

    .sector-card h4 {
        font-size: 1.25rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-tagline,
    .footer-powered {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .outline-text {
        color: var(--red-primary);
        font-style: italic;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    /* Slightly smaller hero titles on phones */
    .hero-title {
        font-size: clamp(2.1rem, 8vw, 3.1rem);
    }
    
    .container {
        padding: 0 16px;
    }
    
    .service-card,
    .contact-form {
        padding: 24px;
    }
    
    .case-metrics {
        gap: 16px;
    }

    .case-metrics .metric {
        flex: 1 1 50%;
        align-items: center;
        text-align: center;
        min-width: 0;
    }
}

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--gray-800);
    border-radius: 4px;
}

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

/* Selection */
::selection {
    background: rgba(230, 57, 70, 0.3);
    color: var(--white);
}

/* ========================================
   WHATSAPP BUTTON STYLES
   ======================================== */
.btn-whatsapp-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: #25D366;
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-whatsapp-submit:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-whatsapp-submit svg {
    width: 20px;
    height: 20px;
}

.btn-whatsapp-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #25D366;
    color: white;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-whatsapp-nav:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-whatsapp-nav svg {
    width: 16px;
    height: 16px;
}

/* Checkbox Custom Styles */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray-300);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-600);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #25D366;
    border-color: #25D366;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: 700;
}

/* Form Message Styles */
.form-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 0.95rem;
}

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

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Spinner Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* ========================================
   CONTACT METHOD TOGGLE (App-style)
   ======================================== */
.contact-method-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 12px;
}

.contact-method-toggle {
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 4px;
    width: 100%;
}

.contact-method-toggle input[type="radio"] {
    display: none;
}

.contact-method-toggle .toggle-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.contact-method-toggle .toggle-option svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-method-toggle .toggle-option:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* Email option selected */
.contact-method-toggle input[type="radio"]#contactEmail:checked + .toggle-option {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-muted) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.25);
}

.contact-method-toggle input[type="radio"]#contactEmail:checked + .toggle-option svg {
    stroke: var(--white);
}

/* WhatsApp option selected */
.contact-method-toggle input[type="radio"]#contactWhatsapp:checked + .toggle-option.whatsapp-option {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact-method-toggle input[type="radio"]#contactWhatsapp:checked + .toggle-option.whatsapp-option svg {
    fill: var(--white);
}

/* WhatsApp icon styling when not selected */
.contact-method-toggle .toggle-option.whatsapp-option svg {
    fill: var(--gray-400);
    stroke: none;
}

.contact-method-toggle .toggle-option.whatsapp-option:hover svg {
    fill: #25D366;
}

@media (max-width: 480px) {
    .contact-method-toggle {
        flex-direction: column;
    }
    
    .contact-method-toggle .toggle-option {
        padding: 12px 16px;
    }
}
