/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #37448c;
    --primary-light: #3D52A0;
    --primary-dark: #1E2D5F;
    --secondary-color: #F8F9FA;
    --accent-color: #FFC107;
    --brand-green: #73bf3a;
    --brand-purple: #6c63ff;
    --brand-cyan: #4fc3f7;
    --text-primary: #212529;
    --text-secondary: #6C757D;
    --text-light: #ADB5BD;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --border-color: #DEE2E6;
    --shadow: 0 2px 20px rgba(55, 68, 140, 0.1);
    --shadow-lg: 0 10px 40px rgba(55, 68, 140, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --cta-gradient: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-cyan) 100%);
    --glow-shadow: 0 0 30px rgba(108, 99, 255, 0.4), 0 0 60px rgba(79, 195, 247, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 1;
}

.btn-primary {
    background: var(--cta-gradient);
    color: var(--white);
    box-shadow: var(--glow-shadow);
    font-weight: 600;
    border-radius: 10px;
    animation: pulse-glow 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--glow-shadow), 0 10px 25px rgba(108, 99, 255, 0.3);
    animation: none;
}

/* Super llamativo botón CTA */
.btn-primary.btn-large {
    background: var(--cta-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: var(--glow-shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary.btn-large:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--glow-shadow), 0 15px 35px rgba(108, 99, 255, 0.3);
    animation: none;
}

.btn-primary.btn-large:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: var(--glow-shadow);
    }
    50% {
        box-shadow: var(--glow-shadow), 0 0 40px rgba(108, 99, 255, 0.6), 0 0 80px rgba(79, 195, 247, 0.4);
    }
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--brand-cyan);
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: var(--brand-cyan);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
}

.nav-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.brand-logo {
    height: 20px;
    max-height: 20px;
    width: auto;
    display: block;
    object-fit: contain;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.brand img {
    height: 40px;
    width: auto;
}

.brand-text {
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
    color: var(--text-primary);
    font-size: 18px;
}

.main-nav {
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.nav-list a,
.nav-link {
    display: inline-flex;
    align-items: center;
    font-size: 15.5px;
    line-height: 1;
    color: var(--text-primary);
    text-decoration: none;
    padding: 10px 0;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    font-weight: 500;
}

.nav-list a:hover,
.nav-link:hover {
    opacity: 0.85;
}

/* Navigation Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 6px;
    transform: translateY(1px);
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-toggle i {
    transform: translateY(1px) rotate(180deg);
}

.has-dropdown .caret {
    margin-left: 6px;
    transform: translateY(1px);
    font-size: 12px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    padding: 8px;
    display: none;
    z-index: 60;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: block;
}

.dropdown li a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #1c2233;
}


.dropdown li a:hover {
    background: #f5f6ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    --network-x: 0px;
    --network-y: 0px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><style>.node{fill:%234ECDC4;stroke:%23ffffff;stroke-width:1;opacity:0.8;}.connection{stroke:%234ECDC4;stroke-width:1;opacity:0.4;}.glow{filter:drop-shadow(0 0 6px %234ECDC4);}</style></defs><g class="network"><circle class="node glow" cx="100" cy="120" r="4"/><circle class="node glow" cx="280" cy="80" r="3"/><circle class="node glow" cx="450" cy="140" r="5"/><circle class="node glow" cx="680" cy="100" r="3"/><circle class="node glow" cx="920" cy="160" r="4"/><circle class="node glow" cx="150" cy="280" r="3"/><circle class="node glow" cx="380" cy="220" r="4"/><circle class="node glow" cx="620" cy="260" r="3"/><circle class="node glow" cx="850" cy="300" r="5"/><circle class="node glow" cx="80" cy="420" r="4"/><circle class="node glow" cx="320" cy="380" r="3"/><circle class="node glow" cx="580" cy="440" r="4"/><circle class="node glow" cx="780" cy="460" r="3"/><circle class="node glow" cx="1000" cy="400" r="4"/><circle class="node glow" cx="200" cy="580" r="3"/><circle class="node glow" cx="460" cy="520" r="5"/><circle class="node glow" cx="720" cy="580" r="4"/><circle class="node glow" cx="940" cy="540" r="3"/><line class="connection" x1="100" y1="120" x2="280" y2="80"/><line class="connection" x1="280" y1="80" x2="450" y2="140"/><line class="connection" x1="450" y1="140" x2="680" y2="100"/><line class="connection" x1="680" y1="100" x2="920" y2="160"/><line class="connection" x1="100" y1="120" x2="150" y2="280"/><line class="connection" x1="280" y1="80" x2="380" y2="220"/><line class="connection" x1="450" y1="140" x2="620" y2="260"/><line class="connection" x1="680" y1="100" x2="850" y2="300"/><line class="connection" x1="920" y1="160" x2="850" y2="300"/><line class="connection" x1="150" y1="280" x2="380" y2="220"/><line class="connection" x1="380" y1="220" x2="620" y2="260"/><line class="connection" x1="620" y1="260" x2="850" y2="300"/><line class="connection" x1="150" y1="280" x2="80" y2="420"/><line class="connection" x1="380" y1="220" x2="320" y2="380"/><line class="connection" x1="620" y1="260" x2="580" y2="440"/><line class="connection" x1="850" y1="300" x2="780" y2="460"/><line class="connection" x1="850" y1="300" x2="1000" y2="400"/><line class="connection" x1="80" y1="420" x2="320" y2="380"/><line class="connection" x1="320" y1="380" x2="580" y2="440"/><line class="connection" x1="580" y1="440" x2="780" y2="460"/><line class="connection" x1="780" y1="460" x2="1000" y2="400"/><line class="connection" x1="80" y1="420" x2="200" y2="580"/><line class="connection" x1="320" y1="380" x2="460" y2="520"/><line class="connection" x1="580" y1="440" x2="720" y2="580"/><line class="connection" x1="780" y1="460" x2="940" y2="540"/><line class="connection" x1="1000" y1="400" x2="940" y2="540"/><line class="connection" x1="200" y1="580" x2="460" y2="520"/><line class="connection" x1="460" y1="520" x2="720" y2="580"/><line class="connection" x1="720" y1="580" x2="940" y2="540"/></g></svg>');
    background-size: 1200px 800px;
    background-repeat: repeat;
    animation: networkSlowMove 45s ease-in-out infinite;
    opacity: 0.6;
    transition: all 0.3s ease-out;
    transform: translate(calc(var(--network-x) * 1), calc(var(--network-y) * 1));
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><defs><style>.node{fill:%23ffffff;stroke:%234ECDC4;stroke-width:1;opacity:0.6;}.connection{stroke:%23ffffff;stroke-width:0.8;opacity:0.3;}.glow{filter:drop-shadow(0 0 4px %23ffffff);}</style></defs><g class="network"><circle class="node glow" cx="180" cy="100" r="2"/><circle class="node glow" cx="400" cy="60" r="3"/><circle class="node glow" cx="620" cy="120" r="2"/><circle class="node glow" cx="800" cy="80" r="3"/><circle class="node glow" cx="220" cy="240" r="2"/><circle class="node glow" cx="480" cy="200" r="3"/><circle class="node glow" cx="720" cy="260" r="2"/><circle class="node glow" cx="900" cy="220" r="3"/><circle class="node glow" cx="120" cy="380" r="3"/><circle class="node glow" cx="360" cy="340" r="2"/><circle class="node glow" cx="600" cy="400" r="3"/><circle class="node glow" cx="840" cy="360" r="2"/><circle class="node glow" cx="280" cy="500" r="2"/><circle class="node glow" cx="520" cy="460" r="3"/><circle class="node glow" cx="760" cy="520" r="2"/><line class="connection" x1="180" y1="100" x2="400" y2="60"/><line class="connection" x1="400" y1="60" x2="620" y2="120"/><line class="connection" x1="620" y1="120" x2="800" y2="80"/><line class="connection" x1="180" y1="100" x2="220" y2="240"/><line class="connection" x1="400" y1="60" x2="480" y2="200"/><line class="connection" x1="620" y1="120" x2="720" y2="260"/><line class="connection" x1="800" y1="80" x2="900" y2="220"/><line class="connection" x1="220" y1="240" x2="480" y2="200"/><line class="connection" x1="480" y1="200" x2="720" y2="260"/><line class="connection" x1="720" y1="260" x2="900" y2="220"/><line class="connection" x1="220" y1="240" x2="120" y2="380"/><line class="connection" x1="480" y1="200" x2="360" y2="340"/><line class="connection" x1="720" y1="260" x2="600" y2="400"/><line class="connection" x1="900" y1="220" x2="840" y2="360"/><line class="connection" x1="120" y1="380" x2="360" y2="340"/><line class="connection" x1="360" y1="340" x2="600" y2="400"/><line class="connection" x1="600" y1="400" x2="840" y2="360"/><line class="connection" x1="120" y1="380" x2="280" y2="500"/><line class="connection" x1="360" y1="340" x2="520" y2="460"/><line class="connection" x1="600" y1="400" x2="760" y2="520"/><line class="connection" x1="280" y1="500" x2="520" y2="460"/><line class="connection" x1="520" y1="460" x2="760" y2="520"/></g></svg>');
    background-size: 800px 500px;
    background-repeat: repeat;
    animation: networkSlowMove 60s ease-in-out infinite reverse;
    opacity: 0.4;
    transition: all 0.3s ease-out;
    transform: translate(calc(var(--network-x) * -0.8), calc(var(--network-y) * -0.8));
}

/* Remover hover estático, ahora será dinámico con JavaScript */

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--secondary-teal);
    font-weight: 700;
}

/* Ensure tech gradient overrides any other styles */
.hero-title .tech-gradient {
    background: linear-gradient(135deg, #4fc3f7 0%, #00bfff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    font-weight: 800 !important;
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.4)) !important;
    animation: subtle-glow 3s ease-in-out infinite alternate !important;
}

.tech-gradient {
    background: linear-gradient(135deg, #4fc3f7 0%, #00bfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    font-weight: 800 !important;
    display: inline-block;
    font-size: inherit;
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.4));
    animation: subtle-glow 3s ease-in-out infinite alternate;
}

@keyframes subtle-glow {
    0% {
        filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(79, 195, 247, 0.6));
    }
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    font-size: 0.9rem;
    background: linear-gradient(135deg, #73bf63 0%, #5aa142 50%, #4a8935 100%);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(115, 191, 99, 0.5), 0 0 40px rgba(115, 191, 99, 0.3);
    animation: checkPulseGlow 2s infinite;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-item i::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.feature-item:hover i {
    box-shadow: 0 0 25px rgba(115, 191, 99, 0.7), 0 0 50px rgba(115, 191, 99, 0.4), 0 0 80px rgba(115, 191, 99, 0.2);
    transform: scale(1.1);
    animation: none;
}

.feature-item i::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.feature-item:hover i::before {
    left: 100%;
}

@keyframes checkPulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(115, 191, 99, 0.5), 0 0 40px rgba(115, 191, 99, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(115, 191, 99, 0.7), 0 0 60px rgba(115, 191, 99, 0.5), 0 0 90px rgba(115, 191, 99, 0.3);
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-teal);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Trust Banner */
.trust-banner {
    background: var(--light-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.trust-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .trust-banner {
        padding: 20px 0;
    }
    
    .trust-text {
        font-size: 0.9rem;
        padding: 0 16px;
    }
}

/* Web Design Section */
.web-design-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.web-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.web-feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.web-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-purple);
}

.web-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-cyan) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}

.web-feature-card h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.web-feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.web-differentiator {
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-cyan) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.web-differentiator::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.differentiator-content p {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

.web-testimonial {
    text-align: center;
    margin: 3rem 0;
}

.web-testimonial blockquote {
    background: var(--white);
    border-left: 4px solid var(--brand-purple);
    padding: 2rem 2.5rem;
    border-radius: 12px;
    margin: 0;
    box-shadow: var(--shadow);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
}

.web-testimonial blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    color: var(--brand-purple);
    opacity: 0.3;
    font-family: serif;
}

.web-cta {
    text-align: center;
    margin-top: 3rem;
}

.web-cta .btn {
    font-size: 1.1rem;
    padding: 16px 32px;
}

@media (max-width: 768px) {
    .web-design-section {
        padding: 80px 0;
    }
    
    .web-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .web-feature-card {
        padding: 1.5rem;
    }
    
    .web-feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .web-differentiator {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .differentiator-content p {
        font-size: 1rem;
    }
    
    .web-testimonial blockquote {
        padding: 1.5rem 2rem;
        font-size: 1rem;
    }
}


/* Nav CTA Button */
.nav-cta {
    display: flex;
    align-items: center;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #5A3FFF, #7A5BFF);
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(90, 63, 255, 0.22);
    white-space: nowrap;
    transform: translateY(0);
    transition: all 0.2s ease;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(90,63,255,.28);
}

.btn-nav:focus { 
    outline: 2px solid rgba(122,91,255,.6); 
    outline-offset: 2px; 
}

.nav-cta .btn-nav[aria-current="page"],
.nav-cta .btn-nav.active {
    background: linear-gradient(90deg, #7A5BFF, #5A3FFF);
    box-shadow: 0 10px 30px rgba(90,63,255,.38);
}

/* Banner Webs */
.banner-webs {
    margin-top: 56px;
    margin-bottom: 48px;
}

.banner-webs__inner {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    gap: 12px; 
    padding: 28px 20px; 
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(124,77,255,.14), rgba(0,188,255,.14));
    border: 1px solid rgba(255,255,255,.15);
    border-top: 2px solid rgba(255,255,255,.25);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.banner-webs .eyebrow {
    font-size: .82rem; 
    letter-spacing: .08em; 
    text-transform: uppercase;
    opacity: .85;
    color: var(--text-secondary);
}

.banner-webs__title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700; 
    margin: 0;
    color: var(--text-primary);
}

.banner-webs__cta {
    margin-top: 6px;
    transition: all 0.2s ease-in-out;
}

.banner-webs__cta:hover {
    background: linear-gradient(90deg, #5A3FFF, #7A5BFF);
    transform: scale(1.03);
    transition: all 0.2s ease-in-out;
}

@media (prefers-color-scheme: light) {
    .banner-webs__inner {
        background: linear-gradient(90deg, rgba(124,77,255,.10), rgba(0,188,255,.10));
        border: 1px solid rgba(0,0,0,.08);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    background: var(--brand-cyan);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(79, 195, 247, 0.3);
}

.feature-card:hover h3 {
    color: white;
}

.feature-card:hover p {
    color: white;
}


.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--brand-violet) 50%, var(--brand-cyan) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="60" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="80" cy="30" r="0.5" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: drift 20s infinite linear;
}

@keyframes drift {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-content .btn {
    margin-top: 1rem;
    position: relative;
    z-index: 3;
}

/* Benefits Section */
.benefits {
    padding: 100px 0 120px 0;
    background: var(--light-gray);
    overflow: hidden;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

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

.benefit-item.reverse {
    direction: rtl;
}

.benefit-item.reverse > * {
    direction: ltr;
}

.benefit-content {
    padding: 2rem 0;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--white);
}

.benefit-content h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.benefit-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.benefit-image {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    will-change: transform, box-shadow;
    background: var(--light-gray);
    border-radius: 16px;
    z-index: 10;
}

.benefit-image:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(55, 68, 140, 0.3);
}

.benefit-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease !important;
}

/* Social Proof */
.social-proof {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.proof-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.proof-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.proof-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

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

.stars i {
    color: #ffd700;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: white;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-cyan));
    flex-shrink: 0;
}

.avatar::before {
    content: attr(data-initials);
}

.testimonial-author h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-feature i {
    color: var(--secondary-teal);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--light-gray);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* Landing Web Design Specific Styles */
#landing-diseno-que-vende .hero {
    padding: 100px 0 60px;
    background: var(--white);
}

#landing-diseno-que-vende .hero::before {
    display: none;
}

#landing-diseno-que-vende .hero-container {
    background: var(--white);
}

#landing-diseno-que-vende .hero-title {
    color: var(--text-dark);
}

#landing-diseno-que-vende .hero-subtitle {
    color: var(--text-dark);
}

#landing-diseno-que-vende .hero-features .feature-item span {
    color: var(--text-dark);
}

#landing-diseno-que-vende .hero-features .feature-item i {
    color: var(--text-dark);
}

#landing-diseno-que-vende .hero-content * {
    color: var(--text-dark) !important;
}

#landing-diseno-que-vende .hero-title {
    color: var(--text-dark) !important;
}

#landing-diseno-que-vende .hero-subtitle {
    color: var(--text-dark) !important;
}

#landing-diseno-que-vende .hero-features {
    color: var(--text-dark) !important;
}

#landing-diseno-que-vende .hero-features .feature-item {
    color: var(--text-dark) !important;
}

#landing-diseno-que-vende .hero-features .feature-item span {
    color: var(--text-dark) !important;
}

#landing-diseno-que-vende .hero-features .feature-item i {
    color: var(--text-dark) !important;
}

/* Excepciones: mantener colores originales */
#landing-diseno-que-vende .hero-title .tech-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#landing-diseno-que-vende .btn {
    color: inherit;
}

/* Mantener las estadísticas con fondo azul para contraste */
#landing-diseno-que-vende .hero-stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
}

/* Asegurar que todo el texto de las estadísticas sea blanco */
#landing-diseno-que-vende .hero-stats * {
    color: var(--white) !important;
}

#landing-diseno-que-vende .hero-stats .stat-item h3,
#landing-diseno-que-vende .hero-stats .stat-item p {
    color: var(--white) !important;
}

/* === /diseno-web-que-vende — Métricas: leyendas en blanco === */
/* Selecciona SOLO los textos debajo de los números grandes de la sección de métricas */
#landing-diseno-que-vende .stats .stat > *:not(:first-child),
#landing-diseno-que-vende #stats .stat > *:not(:first-child),
#landing-diseno-que-vende .metrics .stat > *:not(:first-child),
#landing-diseno-que-vende .why-us .stat > *:not(:first-child),
/* fallback por si la estructura es simple: párrafos/pequeños debajo de cada stat */
#landing-diseno-que-vende .stats p,
#landing-diseno-que-vende #stats p,
#landing-diseno-que-vende .metrics p,
#landing-diseno-que-vende .why-us p {
  color: #ffffff !important;
  opacity: 0.95; /* mejor legibilidad sobre fondo oscuro */
}

/* Garantizar que los números grandes mantengan su color actual (no tocarlos) */
#landing-diseno-que-vende .stats .stat h1,
#landing-diseno-que-vende .stats .stat .value,
#landing-diseno-que-vende #stats .stat h1,
#landing-diseno-que-vende #stats .stat .value {
  color: inherit;
}

/* ===== /diseno-web-que-vende — KPIs: leyendas en blanco ===== */
#landing-diseno-que-vende #kpis-diseno p,
#landing-diseno-que-vende #kpis-diseno small,
#landing-diseno-que-vende #kpis-diseno .caption,
#landing-diseno-que-vende #kpis-diseno [class*="caption"],
#landing-diseno-que-vende #kpis-diseno .stat-caption,
#landing-diseno-que-vende #kpis-diseno .kpi-caption,
#landing-diseno-que-vende #kpis-diseno .label,
#landing-diseno-que-vende #kpis-diseno .meta {
  color: #ffffff !important;
  opacity: 0.95;
}

/* FORZAR TEXTOS A BLANCO - DIRECTO */
#landing-diseno-que-vende .hero-stats p {
  color: #ffffff !important;
}

#landing-diseno-que-vende .stat-item p {
  color: #ffffff !important;
}

/* MÁXIMA PRIORIDAD - FORZAR BLANCO */
body #landing-diseno-que-vende .hero-stats .stat-item p,
html body #landing-diseno-que-vende .hero-stats p,
#landing-diseno-que-vende div.hero-stats div.stat-item p {
  color: white !important;
  color: #ffffff !important;
}

/* Asegurar que los números grandes mantengan su color/estilo actual (no tocarlos) */
#landing-diseno-que-vende #kpis-diseno h1,
#landing-diseno-que-vende #kpis-diseno h2,
#landing-diseno-que-vende #kpis-diseno h3,
#landing-diseno-que-vende #kpis-diseno .value,
#landing-diseno-que-vende #kpis-diseno .stat-value {
  color: inherit;
}

/* ==== CHAT DEMO INTERACTIVO - iPhone Mockup ==== */
.chat-demo-container {
    position: relative;
    display: inline-block;
    max-width: 320px;
    opacity: 0;
    transform: translateY(30px);
    animation: phoneSlideIn 1.2s ease-out 0.5s forwards;
}

.phone-mockup {
    background: #1a1a1a;
    border-radius: 28px;
    padding: 8px;
    box-shadow: 
        0 0 0 2px #333,
        0 25px 50px rgba(0,0,0,0.3),
        0 10px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 320px;
    position: relative;
    overflow: hidden;
}

/* Status Bar */
.phone-status-bar {
    background: #f8f9fa;
    padding: 8px 20px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #000;
    border-radius: 20px 20px 0 0;
}

.time {
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 4px;
    font-size: 10px;
}

/* Chat Header */
.chat-header {
    background: #f8f9fa;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.back-arrow {
    font-size: 20px;
    color: #007AFF;
    font-weight: 600;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

.contact-details {
    line-height: 1.2;
}

.contact-name {
    font-weight: 600;
    font-size: 13px;
    color: #000;
}

.contact-status {
    font-size: 11px;
    color: #34d399;
    font-weight: 500;
}

.header-right {
    display: flex;
    gap: 15px;
    font-size: 16px;
}

/* Chat Messages */
.chat-messages {
    background: #f8f9fa;
    min-height: 380px;
    max-height: 380px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(15px) scale(0.9);
    animation: messageAppear 0.6s ease forwards;
    position: relative;
}

.message.bot {
    background: #e5e7eb;
    color: #374151;
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

.message.user {
    background: #007AFF;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}

.message .emoji {
    font-size: 16px;
    margin-right: 4px;
}

/* Chat Input */
.chat-input-container {
    background: #f8f9fa;
    padding: 8px 16px 16px;
}

.typing-indicator {
    display: none;
    padding: 8px 14px;
    background: #e5e7eb;
    color: #6b7280;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    width: fit-content;
    font-size: 12px;
    margin-bottom: 8px;
    align-items: center;
}

.typing-indicator.active {
    display: flex;
    animation: fadeInUp 0.3s ease forwards;
}

.typing-dots {
    margin-left: 8px;
    display: flex;
    gap: 2px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typingDots 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }
.typing-dots span:nth-child(3) { animation-delay: 0s; }

.input-bar {
    background: white;
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d1d5db;
}

.input-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #9ca3af;
}

.send-button {
    color: #007AFF;
    font-size: 18px;
    font-weight: 600;
}

/* Home Indicator */
.home-indicator {
    background: #f8f9fa;
    padding: 8px 0 12px;
    display: flex;
    justify-content: center;
    border-radius: 0 0 20px 20px;
}

.home-indicator::after {
    content: '';
    width: 120px;
    height: 4px;
    background: #000;
    border-radius: 2px;
}

/* Animaciones */
@keyframes phoneSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingDots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .chat-demo-container {
        max-width: 280px;
    }
    
    .chat-messages {
        min-height: 320px;
        max-height: 320px;
    }
    
    .message {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* ==== GRID-3 REASONS SECTION ==== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.reason {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.reason:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.reason .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 24px;
    color: white;
}

.reason h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.reason .desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Forzar texto negro en la sección why-us para landing diseño web */
#landing-diseno-que-vende .reason h4 {
    color: var(--primary-color) !important;
}

#landing-diseno-que-vende .reason .desc {
    color: #374151 !important;
}

/* Espaciado consistente entre secciones en landing diseño web */
#landing-diseno-que-vende .section {
    padding: 4rem 0;
}

#landing-diseno-que-vende #why-us {
    padding-bottom: 4rem;
}

#landing-diseno-que-vende #reviews {
    padding-top: 4rem;
}

/* === /diseno-web-que-vende — Hero: alinear mockup a la derecha y centrar layout === */

/* 1) Contenedor del hero: ancho controlado y centrado */
#landing-diseno-que-vende #hero-diseno .container {
  max-width: 1280px;              /* evita hueco a la derecha en pantallas anchas */
  margin-inline: auto;            /* centra el contenido */
  gap: clamp(24px, 4vw, 64px);
  padding-inline: clamp(16px, 4vw, 48px);
}

/* 2) Si el hero usa grid, aseguramos 2 columnas equilibradas (texto | mockup) */
@supports (display: grid) {
  #landing-diseno-que-vende #hero-diseno .container {
    display: grid;
    grid-template-columns: minmax(520px, 1fr) minmax(360px, 560px);
    align-items: center;
  }
}

/* 3) Empujar el mockup al borde derecho del contenedor */
#landing-diseno-que-vende #hero-diseno .hero-mockup {
  justify-self: end;              /* en grid: alinea a la derecha */
  margin: 0;
  position: relative !important;
  left: auto !important;
  right: 0 !important;
  transform: translateX(6%);      /* empuja un poco más a la derecha; ajustá 0–10% si querés */
}

/* 4) Tamaño del mockup controlado (sin desbordes) */
#landing-diseno-que-vende #hero-diseno .hero-mockup img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  object-position: right;
}

/* 5) Vista XL: permitir un empuje un toque mayor si hay aire extra a la derecha */
@media (min-width: 1440px) {
  #landing-diseno-que-vende #hero-diseno .container { max-width: 1320px; }
  #landing-diseno-que-vende #hero-diseno .hero-mockup { transform: translateX(8%); }
}

/* 6) Vista tablet/mobile: 1 columna y mockup centrado bajo el texto */
@media (max-width: 1024px) {
  #landing-diseno-que-vende #hero-diseno .container {
    grid-template-columns: 1fr;
  }
  #landing-diseno-que-vende #hero-diseno .hero-mockup {
    justify-self: center;
    transform: none;
    margin-top: 24px;
  }
  #landing-diseno-que-vende #hero-diseno .hero-mockup img {
    max-width: 420px;
  }
}

/* 7) Seguridad: sin scroll lateral por sombras/traslaciones */
#landing-diseno-que-vende #hero-diseno { overflow-x: clip; }

/* Calendario debajo del texto en landing diseño web - Máxima especificidad */
body#landing-diseno-que-vende .contact .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ocultar cualquier grid en la sección de contacto del landing */
body#landing-diseno-que-vende .contact-grid,
body#landing-diseno-que-vende .contact-info,
body#landing-diseno-que-vende .contact-form-container,
body#landing-diseno-que-vende .contact-form {
    display: contents !important;
}

#landing-diseno-que-vende .contact .section-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

#landing-diseno-que-vende .contact .contact-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

#landing-diseno-que-vende .contact .contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 300px;
    text-align: left;
}

#landing-diseno-que-vende .contact .contact-feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

#landing-diseno-que-vende .contact #my-cal-inline-virtual-solutions {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 2rem;
}

/* Responsive para grid de razones */
@media (max-width: 968px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reason {
        padding: 1.5rem;
    }
    
    .reason .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 1rem;
    }
}

/* ---- Landing: Diseño web que vende — Texto principal en negro ---- */
#landing-diseno-que-vende #hero-diseno h1,
#landing-diseno-que-vende #hero-diseno .subhead,
#landing-diseno-que-vende #hero-diseno p,
#landing-diseno-que-vende #hero-diseno li,
#landing-diseno-que-vende #hero-diseno small,
#landing-diseno-que-vende #hero-diseno blockquote {
  color: #0b0b0b !important; /* negro legible */
}

/* No tocar color de botones del hero */
#landing-diseno-que-vende #hero-diseno .btn,
#landing-diseno-que-vende #hero-diseno .btn * {
  color: inherit !important; /* se mantiene el color definido por tus estilos de botón */
}

/* Mantener el acento/gradiente de "Venden" y "vender solas" */
#landing-diseno-que-vende #hero-diseno .text-gradient,
#landing-diseno-que-vende #features .text-gradient {
  /* si ya existe esta clase en el proyecto, no la dupliques; este bloque asegura que no se pise con el negro */
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: var(--brand-gradient, linear-gradient(90deg, #6D5EF7, #63D1FF)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* === Landing: Diseno Web que Vende — Fix de contraste en HERO === */

/* 1) Texto de bullets y copys del HERO en negro */
#landing-diseno-que-vende #hero-diseno .hero-bullets li,
#landing-diseno-que-vende #hero-diseno .hero-bullets li span,
#landing-diseno-que-vende #hero-diseno .hero-bullets li a,
#landing-diseno-que-vende #hero-diseno .hero-features,
#landing-diseno-que-vende #hero-diseno .hero-features *,
#landing-diseno-que-vende #hero-diseno .feature-item,
#landing-diseno-que-vende #hero-diseno .feature-item span,
#landing-diseno-que-vende .hero-features .feature-item span,
#landing-diseno-que-vende .feature-item span {
  color: #0b0b0b !important;   /* negro legible */
}

/* 2) Botón secundario del HERO (ej. "Cómo funciona") en negro */
#landing-diseno-que-vende #hero-diseno .hero-cta .btn.btn-secondary,
#landing-diseno-que-vende #hero-diseno .hero-cta .btn.btn-secondary * {
  color: #0b0b0b !important;
}

/* Estados hover/focus con texto blanco para contraste con fondo celeste */
#landing-diseno-que-vende #hero-diseno .hero-cta .btn.btn-secondary:hover,
#landing-diseno-que-vende #hero-diseno .hero-cta .btn.btn-secondary:focus {
  color: #ffffff !important;
}

/* 3) No tocar el acento/gradiente de "venden" o "venden solas" */
#landing-diseno-que-vende #hero-diseno .text-gradient,
#landing-diseno-que-vende #features .text-gradient {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: var(--brand-gradient, linear-gradient(90deg, #6D5EF7, #63D1FF)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.logos {
    padding: 3rem 0;
    background: var(--bg-light);
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-info h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-feature i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-feature h4 {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.contact-feature p {
    margin: 0;
    color: var(--text-secondary);
}

/* Form Styles */
.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: var(--white);
}

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

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

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Ajustes responsivos */
@media (max-width: 1280px) {
    .brand-logo {
        height: 18px;
        max-height: 18px;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        height: 16px;
        max-height: 16px;
    }
}

/* RESPONSIVE finos para que no se "rompa" */
@media (max-width: 1180px) {
    .nav-list {
        gap: 22px;
    }
    .nav-list a, .nav-link {
        font-size: 15px;
    }
    .btn-nav {
        height: 34px;
        font-size: 14px;
        padding: 0 12px;
    }
}

@media (max-width: 1060px) {
    .nav-list {
        gap: 18px;
    }
    .nav-list a, .nav-link {
        font-size: 14.5px;
    }
    .btn-nav {
        height: 32px;
        font-size: 13.5px;
        padding: 0 10px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }

    .main-nav.active {
        left: 0;
    }

    .nav-link {
        padding: 1rem 0;
        margin: 0 2rem;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-cta {
        margin-left: 0;
        margin: 1.5rem 2rem 0;
        padding: 1rem 0;
        border-top: 2px solid var(--primary-color);
        background: linear-gradient(135deg, rgba(90,63,255,.05), rgba(122,91,255,.08));
    }

    .nav-cta .btn-nav {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 700;
        box-shadow: 0 6px 20px rgba(90,63,255,.3);
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

    .benefit-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefit-item.reverse {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .proof-badges {
        justify-content: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Retell Chat Widget Mobile Optimization */
    [id*="retell"] iframe,
    [class*="retell"] iframe,
    iframe[src*="retell"] {
        max-height: 70vh !important;
        max-width: 90vw !important;
        bottom: 80px !important;
        right: 10px !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    }
    
    [id*="retell-widget"] {
        max-height: 70vh !important;
        max-width: 90vw !important;
        bottom: 80px !important;
        right: 10px !important;
        z-index: 999 !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .features,
    .benefits,
    .testimonials,
    .faq,
    .contact,
    .cta-section {
        padding: 60px 0;
    }

    .feature-card,
    .contact-form {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem;
    }

    /* Additional Retell Chat Widget Mobile Optimization for smaller screens */
    [id*="retell"] iframe,
    [class*="retell"] iframe,
    iframe[src*="retell"] {
        max-height: 60vh !important;
        max-width: 95vw !important;
        bottom: 70px !important;
        right: 5px !important;
        left: 5px !important;
        margin: 0 auto !important;
    }
    
    [id*="retell-widget"] {
        max-height: 60vh !important;
        max-width: 95vw !important;
        bottom: 70px !important;
        right: 5px !important;
        left: 5px !important;
    }
}

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

@keyframes networkSlowMove {
    0% {
        transform: translate(0px, 0px) scale(1);
        background-position: 0% 0%;
    }
    25% {
        transform: translate(-15px, -10px) scale(1.02);
        background-position: 25% 25%;
    }
    50% {
        transform: translate(10px, -8px) scale(0.98);
        background-position: 50% 50%;
    }
    75% {
        transform: translate(-8px, 12px) scale(1.01);
        background-position: 75% 75%;
    }
    100% {
        transform: translate(0px, 0px) scale(1);
        background-position: 100% 100%;
    }
}

@keyframes networkHoverMove {
    0% {
        transform: translate(0px, 0px) scale(1.02);
        background-position: 0% 0%;
    }
    25% {
        transform: translate(-40px, -30px) scale(1.08);
        background-position: 30% 20%;
    }
    50% {
        transform: translate(35px, -25px) scale(0.95);
        background-position: 70% 60%;
    }
    75% {
        transform: translate(-30px, 40px) scale(1.05);
        background-position: 80% 90%;
    }
    100% {
        transform: translate(0px, 0px) scale(1.02);
        background-position: 100% 100%;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success/Error states */
.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    white-space: pre-line;
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
    white-space: pre-line;
}


/* Contact Section Styles */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    width: 100%;
    align-items: start;
}

.contact-feature {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-feature h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-feature p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 1rem;
}

#my-cal-inline-virtual-solutions {
    margin-top: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-features {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
}

/* Try Assistant Section */
.try-assistant {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8f5ff 0%, #f1e8ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.try-assistant::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.assistant-content {
    position: relative;
    z-index: 1;
}

.assistant-title {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--brand-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.assistant-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.btn-talk {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-talk:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.btn-talk i {
    margin-right: 10px;
    font-size: 20px;
}

/* Retell Modal Styles */
.retell-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.retell-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.retell-modal-content {
    background-color: #f5f5f5;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: visible;
    z-index: 10001;
}

.retell-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.retell-close:hover {
    color: #333;
}

.retell-header {
    text-align: center;
    margin-bottom: 30px;
}

.retell-name {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.retell-status {
    color: #666;
    font-size: 16px;
}

.retell-visual {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.retell-avatar {
    position: relative;
    width: 120px;
    height: 120px;
}

.retell-circle-outer {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #a3e8d8 0%, #7dd3c0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 24px rgba(163, 232, 216, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.retell-circle-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5eead4 0%, #2dd4bf 100%);
}

.retell-connect-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #5eead4 0%, #2dd4bf 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.retell-connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 234, 212, 0.4);
}

.retell-connect-btn.connected {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.retell-voices-btn {
    width: 100%;
    padding: 12px;
    background: white;
    color: #666;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.retell-voices-btn:hover {
    background: #f8f8f8;
    border-color: #d5d5d5;
}

.retell-audio-controls {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    margin-top: 20px;
}

.retell-control {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    position: relative;
}

.retell-control i {
    color: #999;
    margin-right: 15px;
    font-size: 18px;
}

.retell-select {
    flex: 1;
    padding: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    color: #666;
    max-width: 280px;
    position: relative;
    z-index: 10002;
}

.retell-select option {
    background: white;
    color: #666;
    padding: 8px;
}

.retell-transcript {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.retell-transcript.active {
    display: block;
}

.transcript-content {
    max-height: 200px;
    overflow-y: auto;
    padding: 15px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

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

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: rotate(0deg) translateX(30px);
    }
    50% {
        transform: rotate(360deg) translateX(-30px);
    }
}

/* ===== NAV — Mobile layout + drawer (GLOBAL) ===== */
@media (min-width: 769px) {
  .nav-toggle { display: none !important; }
  #mobile-menu, .mobile-menu, #backdrop { display: none !important; }
}

@media (max-width: 768px) {
  /* Barra en una fila: [hamburguesa | logo | CTA] */
  header .nav-wrap {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--header-bg, #fff);
    position: relative;
    z-index: 1002;
  }

  /* Orden específico */
  .nav-toggle { order: 1; }
  /* Logo: intenta estos selectores comunes; usa el que exista */
  header .logo, header .brand, header .nav a[href="/"] { order: 2; max-width: 160px; }
  /* CTA / pill (ej: "Diseño Web que Vende") a la derecha */
  header .nav-cta,
  header .nav .btn, 
  header .nav .pill,
  header .nav .btn-cta,
  header .nav a[href*="diseno-web-que-vende"] {
    order: 3; margin-left: auto; white-space: nowrap;
    font-size: 14px; line-height: 1; padding: 10px 14px;
  }

  /* Ocultar la lista de enlaces del nav; irán al drawer */
  header nav ul { display: none !important; }
  .main-nav { display: none !important; }

  /* Botón hamburguesa */
  .nav-toggle{
    display: inline-flex !important; width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border: 1px solid rgba(0,0,0,.12); border-radius: 10px;
    background: #fff; cursor: pointer;
  }
  .nav-toggle span { display:block; width:20px; height:2px; background:#222; border-radius:2px; transition:transform .25s, opacity .25s; }
  .nav-toggle span + span { margin-top:4px; }
  .nav-toggle.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2){ opacity:0; }
  .nav-toggle.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

  /* Drawer */
  #mobile-menu{
    position: fixed; top:0; right:0; z-index:1001;
    width:80vw; max-width:360px; height:100dvh;
    padding:24px 20px; background:#fff;
    box-shadow:-24px 0 60px rgba(0,0,0,.2);
    transform: translateX(100%); transition: transform .3s ease;
    overflow-y:auto;
  }
  #mobile-menu.open{ transform: translateX(0); }
  #mobile-menu ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
  #mobile-menu li a{ display:block; padding:10px 4px; font-size:16px; color:#111; text-decoration:none; }

  /* Backdrop */
  #backdrop{
    position: fixed; inset:0; background:rgba(0,0,0,.35);
    opacity:0; pointer-events:none; transition:opacity .3s ease; z-index:1000;
  }
  #backdrop.show{ opacity:1; pointer-events:auto; }

  /* Sin scroll cuando drawer abierto */
  body.no-scroll{ overflow:hidden; }
}

/* ===== Pill NAV mobile fix (solo ≤768px) ===== */
@media (max-width: 768px) {
  /* el header sin bordes/sombras que generen "hairline" */
  header, header .nav {
    background: #fff;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible;          /* evita recortes raros */
    align-items: center;
    min-height: 56px;
    padding: 10px 12px;
  }

  /* orden visual: [hamburguesa | logo | pill] */
  .nav-toggle { order: 1; }
  header .logo, header .brand, header .nav a[href="/"] { order: 2; }
  /* === PILL: "Diseño Web que Vende" === */
  header .nav a[href*="diseno-web-que-vende"],
  header .nav .pill,
  header .nav .btn-cta {
    order: 3;
    margin-left: auto !important;   /* a la derecha */
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;

    /* quitar cualquier borde/outline/ps-element que dibuje la "línea" */
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
  }
  /* apagar pseudo-elementos decorativos que puedan dejar 1px */
  header .nav a[href*="diseno-web-que-vende"]::before,
  header .nav a[href*="diseno-web-que-vende"]::after,
  header .nav .pill::before,
  header .nav .pill::after,
  header .nav .btn-cta::before,
  header .nav .btn-cta::after {
    content: none !important;
  }

  /* estilo limpio del pill sin artefactos */
  header .nav a[href*="diseno-web-que-vende"],
  header .nav .pill,
  header .nav .btn-cta {
    background: linear-gradient(90deg,#6D5EF7,#63D1FF) !important;
    color: #fff !important;
    border-radius: 9999px;
    position: relative !important;
    top: 0 !important; left: auto !important; right: 0 !important;
    transform: none !important;       /* evita subpíxeles */
    background-clip: padding-box;     /* evita "hairline" de gradientes */
    -webkit-background-clip: padding-box;
    filter: none !important;          /* sin glow que se recorte */
  }

  /* si había un contenedor del pill con overflow hidden, desactivarlo */
  header .nav *, header .nav li { overflow: visible !important; }
}

/* ===== MOBILE NAVBAR CLEAN REDESIGN (<=768px) ===== */
@media (max-width: 768px) {
  /* Header container: ultra clean and minimal */
  header, 
  header .site-header,
  header .nav-wrap {
    background: #fff;
    border: 0 !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.08); /* minimal bottom line */
    overflow: visible !important;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 8px 8px 8px 0; /* no left padding */
    height: 56px; /* standard mobile header height */
  }

  /* Left: Hamburger menu - flush to left edge */
  .nav-toggle { 
    order: 1; 
    width: 48px; 
    height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-left: 0; /* ensure no left margin */
    padding: 0;
    flex-shrink: 0;
  }

  /* Center: Brand with full logo */
  header .brand { 
    order: 2; 
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding: 0;
    margin: 0;
  }

  /* Show original logo at smaller size */
  header .brand img,
  header .brand-logo {
    display: block !important;
    width: auto;
    height: 24px;
    object-fit: contain;
  }

  /* Remove isotipo */
  header .brand::after {
    display: none !important;
  }

  /* COMPLETELY HIDE CTA button */
  .nav-cta,
  header .nav-cta,
  .nav-cta .btn,
  .nav-cta .btn-nav,
  header .nav-cta .btn-nav {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }

  /* Remove any decorative elements */
  header .nav a[href*="diseno-web-que-vende"]::before,
  header .nav a[href*="diseno-web-que-vende"]::after,
  header .nav .pill::before,
  header .nav .pill::after,
  header .nav .btn-cta::before,
  header .nav .btn-cta::after {
    content: none !important;
    display: none !important;
  }

  /* Clean list styling */
  header .nav li,
  header .nav li::before,
  header .nav li::after {
    border: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
  }

  /* Ensure proper rendering */
  header .nav *, 
  header .nav li, 
  header .nav ul {
    overflow: visible !important;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
  }
}

/* ===== Recorte MOBILE (<=768px) — Asistentes Virtuales ===== */
@media (max-width: 768px) {

  /* Mantener: HERO, KPIs (#kpis), CTA azul (#cta-azul) */
  /* Mostrar solo LAS 4 FUNCIONES CLAVE y ocultar el resto */
  #features .card:nth-child(n+5),
  #features .feature:nth-child(n+5),
  #features [class*="card"]:nth-child(n+5),
  [data-id="features"] .feature-card:nth-child(n+5) {
    display: none !important;
  }

  /* Ocultar bloques redundantes/pesados en mobile */
  #benefit-247,
  #benefit-automatiza,
  #chips-sectores,
  #cross-sell-webs,
  [data-id="cross-sell-webs"] {
    display: none !important;
  }

  /* Testimonios: dejar 3 destacados */
  #testimonials .testimonial:nth-child(n+4),
  #testimonials [class*="card"]:nth-child(n+4),
  #testimonials li:nth-child(n+4),
  #testimonios .testimonial-card:nth-child(n+4) {
    display: none !important;
  }

  /* FAQ: dejar 5 preguntas, ocultar el resto */
  #faq .faq-item:nth-child(n+6),
  #faq details:nth-child(n+6),
  #faq li:nth-child(n+6) {
    display: none !important;
  }

  /* Scheduler: ocultar iframe en mobile, mostrar botón */
  #scheduler iframe,
  #scheduler .embed,
  #scheduler .calendar,
  [data-id="scheduler"],
  #my-cal-inline-virtual-solutions {
    display: none !important;
  }
  #scheduler .schedule-cta,
  .schedule-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  /* CTA azul: solo botón en mobile */
  section#cta-azul .cta-content h2,
  section#cta-azul .cta-content p,
  section.cta-section#cta-azul h2,
  section.cta-section#cta-azul p {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #cta-azul .cta-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 2rem 1rem !important;
    text-align: center !important;
  }

  /* CTA Primer Mes: simplificar en mobile */
  #cta-primer-mes .full-title {
    display: none !important;
  }
  #cta-primer-mes .short-title {
    display: block !important;
  }
  #cta-primer-mes .cta-description,
  #cta-primer-mes .cta-features {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Footer: ocultar texto descriptivo en mobile */
  .footer-logo p {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Footer: ocultar sección Sectores en mobile */
  .footer-links .footer-column:nth-child(2) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Footer: logo más pequeño y centrado en mobile */
  .footer-logo {
    text-align: center !important;
  }
  .footer-logo img {
    max-width: 150px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* Ajustes menores de espaciado para que todo respire */
  section { scroll-margin-top: 72px; }
  #features .card, #features .feature { margin-bottom: 14px; }
  #faq .faq-item, #faq details { margin-bottom: 10px; }
}

/* En desktop el botón de agenda no se ve, solo el iframe */
@media (min-width: 769px) {
  #scheduler .schedule-cta,
  .schedule-cta { 
    display: none !important; 
  }
  
  /* CTA Primer Mes: versión completa en desktop */
  #cta-primer-mes .full-title {
    display: block !important;
  }
  #cta-primer-mes .short-title {
    display: none !important;
  }
  #cta-primer-mes .cta-description,
  #cta-primer-mes .cta-features {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    margin: initial !important;
    padding: initial !important;
  }
  
  /* Footer: mostrar texto en desktop */
  .footer-logo p {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    margin: initial !important;
    padding: initial !important;
  }
  
  /* Footer: mostrar sección Sectores en desktop */
  .footer-links .footer-column:nth-child(2) {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    margin: initial !important;
    padding: initial !important;
  }

  /* CTA Primer Mes: ajustes para desktop */
  #cta-primer-mes .cta-description {
    text-align: center !important;
    max-width: 600px !important;
    margin: 0 auto 2rem auto !important;
  }
  
  #cta-primer-mes .cta-features {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
    margin-top: 2rem !important;
  }
  
  #cta-primer-mes .cta-feature {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    white-space: nowrap !important;
  }
}

/* ===== Mobile full-width fix (sin romper desktop) ===== */

/* base: que nada se "salga" ni se achique */
html, body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;                 /* evita scroll lateral y bandas */
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }

/* full-bleed de secciones: el fondo ocupa todo el ancho */
section, .section, .hero, header, footer { width: 100%; }

/* MOBILE ONLY */
@media (max-width: 768px) {
  /* Contenedores típicos: sin max-width fijo en mobile */
  .container, .wrapper, main, header .nav, footer .container,
  #landing-diseno-que-vende .container, .section .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  /* Si hay estilos inline con width/max-width grandes, forzá 100% */
  [style*="max-width:1200px"], [style*="max-width: 1280px"],
  [style*="width:1200px"],     [style*="width: 1280px"],
  [style*="width:960px"] {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Fondos del hero/secciones para que no dejen "bordes" */
  .hero, #hero-diseno, .section.has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Cualquier empuje horizontal que achique el layout, apagarlo */
  #hero-diseno .hero-mockup,
  .hero [class*="mockup"] {
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  /* Columnas → una sola columna si hace falta */
  .row, .grid, [class*="grid-"] { margin-left: 0 !important; margin-right: 0 !important; }
  .row > *, .grid > * { min-width: 0; }

  /* Evitar recortes por contenedores con overflow */
  [class*="container"], [class*="wrapper"] { overflow: visible; }
}

/* ===== Reviews Carousel — layout limpio, centrado y suave ===== */
#testimonials .container{max-width:1100px;margin-inline:auto;padding-inline:clamp(12px,4vw,24px);}
#testimonials .section-head{text-align:center;margin-bottom:20px;}
#testimonials .section-head h2{margin:0 0 8px;}
#testimonials .section-sub{color:#667085;margin:0;}

.reviews-carousel{position:relative;overflow:hidden}
.reviews-track{display:flex;will-change:transform;transition:transform .55s cubic-bezier(.22,.61,.36,1)}
.review-slide{flex:0 0 100%;padding:0 12px;display:flex;justify-content:center}
.review-card{
  width:min(700px,92vw);background:#fff;border-radius:16px;
  box-shadow:0 10px 30px rgba(16,24,40,.08);
  padding:24px 24px 20px;min-height:240px
}
.stars{color:#F5B301;letter-spacing:2px;margin-bottom:10px;font-size:18px}
blockquote{margin:0 0 16px;color:#475467;font-size:18px;line-height:1.5}
.author{display:flex;align-items:center;gap:12px}
.avatar{
  width:36px;height:36px;border-radius:50%;background:#3f4aa8;color:#fff;
  display:grid;place-items:center;font-weight:700
}
.author .meta{display:flex;flex-direction:column}
.author .meta span{color:#667085;font-size:14px}

/* controles */
.reviews-carousel .nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:999px;border:0;background:#fff;
  box-shadow:0 8px 24px rgba(16,24,40,.12);cursor:pointer;font-size:24px;line-height:1
}
.reviews-carousel .nav.prev{left:12px}
.reviews-carousel .nav.next{right:12px}

/* dots */
.reviews-carousel .dots{display:flex;gap:8px;justify-content:center;margin-top:14px}
.reviews-carousel .dots button{
  width:8px;height:8px;border-radius:999px;border:0;background:#D0D5DD;cursor:pointer
}
.reviews-carousel .dots button.is-active{background:#3f4aa8}

/* responsive */
@media (min-width:768px){
  .review-card{width:min(680px,80vw)}
}
@media (prefers-reduced-motion:reduce){
  .reviews-track{transition: none}
}

/* Mobile testimonials title adjustments */
@media (max-width: 768px) {
  #testimonials .section-head .desktop-title {
    display: none;
  }
  
  #testimonials .section-head .mobile-title {
    display: block;
    text-align: center;
  }
  
  #testimonials .section-head .desktop-only {
    display: none;
  }
}

@media (min-width: 769px) {
  #testimonials .section-head .mobile-title {
    display: none;
  }
  
  #testimonials .section-head .desktop-title {
    display: block;
  }
  
  /* Hide mobile-only button on desktop */
  .mobile-only-btn {
    display: none !important;
  }
}

/* Mobile-only button styling */
@media (max-width: 768px) {
  .mobile-only-btn {
    display: inline-flex !important;
    margin-top: 0.5rem;
  }
}

/* ===== Why-IA — layout robusto y legible ===== */
#why-ia {
  margin-top: 4rem;
}

#why-ia .container{
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(12px, 4vw, 24px);
}

#why-ia .why-head{
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 28px);
}

#why-ia .why-item{
  display: grid;
  grid-template-columns: 1.05fr 1fr;  /* copy un pelín más ancho */
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  margin-bottom: clamp(24px, 6vw, 64px);
}

/* Copy */
#why-ia .why-copy{
  max-width: 640px;
}
#why-ia .why-copy h3{
  margin: 0 0 10px;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.15;
}
#why-ia .why-copy p{
  margin: 0;
  color: #475467;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  max-width: 58ch;
}

/* Media (imagen) */
#why-ia .why-media{
  margin: 0;
  justify-self: center;
}
#why-ia .why-media img{
  width: min(620px, 100%);
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(16,24,40,.12);
  object-fit: cover;
}

/* Ícono (si lo tenés) */
#why-ia .why-copy .icon,
#why-ia .why-copy [class*="icon-"],
#why-ia .why-copy .emoji,
#why-ia .why-copy .badge{
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: #3f4aa8;
  color: #fff;
  margin-bottom: 10px;
}

/* ===== Responsivo ===== */
@media (max-width: 1024px){
  #why-ia .why-item{ grid-template-columns: 1fr 1fr; }
  #why-ia .why-media img{ width: 100%; }
}
@media (max-width: 768px){
  #why-ia .why-item{
    grid-template-columns: 1fr;    /* una sola columna */
    gap: 14px;
  }
  /* En mobile, siempre copy arriba y foto abajo */
  #why-ia .why-item .why-copy{ order: 1; }
  #why-ia .why-item .why-media{ order: 2; }
  #why-ia .why-copy h3{ font-size: clamp(20px, 6vw, 26px); }
  #why-ia .why-copy p{ font-size: 16px; }
  #why-ia .why-media img{ width: 100%; }
}

/* Por si alguna imagen estaba desplazada por estilos previos */
#why-ia .why-media,
#why-ia .why-media *{
  transform: none !important;
  left: auto !important;
  right: auto !important;
}

/* Sólo en el chat del hero de la landing */
#hero-diseno .phone-chat .quick-actions,
#hero-diseno .phone-chat .actions { 
  display: none !important; 
}

/* Títulos móviles vs desktop para why-ia */
#why-ia .mobile-title {
  display: none;
}

#why-ia .desktop-title {
  display: inline;
}

@media (max-width: 768px) {
  #why-ia .mobile-title {
    display: inline;
  }
  
  #why-ia .desktop-title {
    display: none;
  }
  
  #why-ia .desktop-only {
    display: none !important;
  }
  
  #why-ia .why-head {
    text-align: center;
    margin-bottom: clamp(20px, 5vw, 32px);
  }
  
  #why-ia .why-head h2 {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.2;
    margin: 0;
  }
}

/* ===== "Hablá con un asesor" — Mobile tidy (≤768px) ===== */
@media (max-width: 768px) {
  #contacto {
    padding-inline: clamp(12px, 4vw, 20px);
  }

  /* Grid de 3 pasos, centrado y respirado */
  #contacto .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 14px;
    align-items: start;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 14px;
  }

  /* Tarjetas compactas */
  #contacto .step {
    background: transparent;      /* mantené tu estética */
    box-shadow: none;
    padding: 0;
  }

  /* Ícono consistente */
  #contacto .step .icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    margin: 0 auto 8px;
    /* si tu diseño usa este color, mantenelo; si no, se ignora */
    background: var(--brand-600, #3f4aa8);
    color: #fff;
  }
  #contacto .step .icon svg, 
  #contacto .step .icon img { width: 28px; height: 28px; }

  /* Títulos cortos y legibles */
  #contacto .step h3 {
    margin: 0;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.15;
    font-weight: 700;
  }

  /* Ocultar descripciones en mobile (solo los textos de cada paso) */
  #contacto .step .desc,
  #contacto .step p:not(:first-child) { 
    display: none !important; 
  }

  /* Subtítulo bajo el H2: un poco más chico en mobile */
  #contacto .sub {
    font-size: 14px;
    color: #667085;
    margin: 6px 0 8px;
    text-align: center;
  }

  /* CTA full-width y centrada - solo la primera */
  #contacto .steps + .cta-agenda {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 10px auto 0;
    text-align: center;
  }
  
  /* Ocultar el botón duplicado debajo del calendario */
  #contacto .schedule-cta {
    display: none !important;
  }

  /* Muy pantallas estrechas: permitir scroll horizontal suave si no entra */
  @media (max-width: 360px) {
    #contacto .steps {
      grid-auto-flow: column;
      grid-template-columns: repeat(3, 70%);
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    #contacto .step { scroll-snap-align: center; }
  }
}

/* Cross-sell más secundario respecto a Contacto */
#cross-sell-webs { 
  margin-block: clamp(20px, 4vw, 40px); 
}
#cross-sell-webs .label {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: #667085; display: inline-block; margin-bottom: 6px;
}
#cross-sell-webs .card, 
#cross-sell-webs .banner {
  background: #F5F7FF; /* tono claro */
  box-shadow: 0 10px 28px rgba(16,24,40,.06);
  border-radius: 16px;
}

/* Botón del cross-sell más discreto con borde - reglas específicas */
#cross-sell-webs .banner-webs__cta.btn-secondary,
#cross-sell-webs .btn-secondary {
  background: transparent !important;
  border: 2px solid var(--brand-600, #3f4aa8) !important;
  color: var(--brand-600, #3f4aa8) !important;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

#cross-sell-webs .banner-webs__cta.btn-secondary:hover,
#cross-sell-webs .btn-secondary:hover {
  background: var(--brand-600, #3f4aa8) !important;
  color: white !important;
  transform: translateY(-1px);
  border: 2px solid var(--brand-600, #3f4aa8) !important;
}

/* ===== Nav CTA: outline con degradé de marca ===== */
:root{
  /* Colores de tu marca (ajusta si querés) */
  --vs-violet: #6A5CFF;   /* violeta */
  --vs-blue:   #59B6FF;   /* celeste */
  --vs-text:   #111111;   /* texto base en nav blanco */
}

#nav-cta-web{
  /* outline degradé usando background-clip */
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--vs-violet) 0%, var(--vs-blue) 100%) border-box;
  color: var(--vs-text);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  display: inline-block;
  box-shadow: none;
  transition: background .25s ease, color .2s ease, box-shadow .25s ease;
}

/* limpiar pseudo-elementos heredados (glows, gradientes) si los hubiera */
#nav-cta-web::before,
#nav-cta-web::after{ display:none !important; }

/* Hover: relleno celeste, texto blanco; se mantiene el borde degradé */
#nav-cta-web:hover{
  background:
    linear-gradient(var(--vs-blue), var(--vs-blue)) padding-box,
    linear-gradient(90deg, var(--vs-violet) 0%, var(--vs-blue) 100%) border-box;
  color: #fff;
  box-shadow: 0 8px 24px rgba(89,182,255,.25);
}

/* Focus accesible */
#nav-cta-web:focus-visible{
  outline: 3px solid rgba(89,182,255,.45);
  outline-offset: 2px;
}

/* Active sin "salto" */
#nav-cta-web:active{
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(89,182,255,.28);
}

/* Mobile: ancho cómodo si va dentro del menú */
@media (max-width: 768px){
  #nav-cta-web{
    width: 100%;
    max-width: 360px;
    margin: 8px auto 0;
    text-align: center;
    padding: 12px 18px;
  }
}

/* Respeta preferencias de movimiento */
@media (prefers-reduced-motion: reduce){
  #nav-cta-web{ transition: none; }
}

:root{
  --vs-violet: #6A5CFF;
  --vs-blue:   #59B6FF;
  --vs-text:   #111;
  --vs-white:  #fff;
}

/* Aplica solo cuando el HTML tenga la marca .is-desktop (puesta por el script) */
.is-desktop .btn-primary{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; padding:12px 20px; border-radius:999px; font-weight:800;
  color: var(--vs-white); text-decoration:none; line-height:1;
  background: linear-gradient(90deg,var(--vs-violet),var(--vs-blue));
  border: 0; box-shadow: 0 10px 28px rgba(89,182,255,.3);
  transition: transform .03s ease, box-shadow .25s ease, filter .2s ease;
}
.is-desktop .btn-primary:hover{ filter:brightness(1.03); box-shadow:0 12px 30px rgba(89,182,255,.36); }
.is-desktop .btn-primary:active{ transform: translateY(0); }

.is-desktop .btn-outline{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; padding:10px 18px; border-radius:999px; font-weight:800;
  color: var(--vs-text); text-decoration:none; line-height:1;
  border:2px solid transparent;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(90deg,var(--vs-violet),var(--vs-blue)) border-box;
  box-shadow:none; transition: background .25s ease, color .2s ease, box-shadow .25s ease;
}
.is-desktop .btn-outline:hover{
  background:
    linear-gradient(var(--vs-blue),var(--vs-blue)) padding-box,
    linear-gradient(90deg,var(--vs-violet),var(--vs-blue)) border-box;
  color:#fff; box-shadow:0 8px 24px rgba(89,182,255,.25);
}

/* Asegurar que el CTA del nav tenga outline en desktop */
.is-desktop #nav-cta-web{ 
  border:2px solid transparent;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(90deg,var(--vs-violet),var(--vs-blue)) border-box !important;
  color: var(--vs-text) !important;
  border-radius:999px; padding:10px 18px; font-weight:800; line-height:1;
}
.is-desktop #nav-cta-web:hover{
  background:
    linear-gradient(var(--vs-blue),var(--vs-blue)) padding-box,
    linear-gradient(90deg,var(--vs-violet),var(--vs-blue)) border-box !important;
  color:#fff !important;
}

/* Por si quedó alguna sticky CTA de versiones previas: ocultarla en desktop */
.is-desktop .sticky-cta{ display:none !important; }

/* === Fix de organización de bullet points en mobile === */
@media (max-width: 768px) {
  .hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
  }
  
  .hero-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
  }
  
  .hero-features .feature-item span {
    flex: 1;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-features .feature-item i {
    flex-shrink: 0;
    margin-top: 2px;
  }
}

/* Solo desktop (el script añade la clase is-desktop si ya lo usás; si no, aplica igual) */
@media (min-width: 769px){
  /* Ajustes suaves para el panel azul */
  .cta-note{
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.85);   /* el panel es oscuro */
    text-align: center;
  }

  /* Si ese botón tenía "glow" muy fuerte, lo suavizamos */
  .btn-primary{
    box-shadow: 0 10px 28px rgba(89,182,255,.28);
  }
  .btn-primary:hover{
    box-shadow: 0 12px 34px rgba(89,182,255,.34);
  }
}

/* ===== "Hablá con un asesor" — MOBILE (solo /diseno-web-que-vende/) ===== */
@media (max-width: 768px) {
  #contacto-webs {
    padding-inline: clamp(12px, 4vw, 20px);
  }

  #contacto-webs .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 14px;
    align-items: start;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 14px;
  }

  #contacto-webs .step {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  #contacto-webs .step .icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    margin: 0 auto 8px;
    background: var(--brand-600, #3f4aa8);
    color: #fff;
  }
  #contacto-webs .step .icon svg,
  #contacto-webs .step .icon img { width: 28px; height: 28px; }

  #contacto-webs .step h3 {
    margin: 0;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.15;
    font-weight: 700;
  }

  /* ocultar descripciones en mobile */
  #contacto-webs .step .desc,
  #contacto-webs .step p:not(:first-child) {
    display: none !important;
  }

  #contacto-webs .sub {
    font-size: 14px;
    color: #667085;
    margin: 6px 0 8px;
    text-align: center;
  }

  /* CTA full-width y centrada - solo la primera */
  #contacto-webs .steps + .cta-agenda {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 10px auto 0;
    text-align: center;
  }
  
  /* Ocultar el botón duplicado si existe */
  #contacto-webs .schedule-cta {
    display: none !important;
  }

  /* ultra angosto: scroll horizontal suave */
  @media (max-width: 360px) {
    #contacto-webs .steps {
      grid-auto-flow: column;
      grid-template-columns: repeat(3, 70%);
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    #contacto-webs .step { scroll-snap-align: center; }
  }
}

/* ===== Fix CTA de mitad de página (solo mobile) ===== */
@media (max-width: 768px){
  /* Fondo del bloque: pasar a gris claro y quitar brillos del contenedor */
  .cta-mid--mobile-fix{
    background: #F3F5F9 !important;   /* gris claro */
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: none !important;
  }
  .cta-mid--mobile-fix::before,
  .cta-mid--mobile-fix::after{
    display: none !important;          /* por si el glow del panel era pseudo-elemento */
  }

  /* Centrado del contenido del bloque */
  .cta-mid--mobile-fix{ text-align: center; }
  .cta-mid--mobile-fix > *{ margin-left: auto; margin-right: auto; }

  /* Botón: mantener su estilo/gradiente, pero forzar UNA sola línea */
  .cta--one-line{
    white-space: nowrap !important;    /* no partir el texto */
    width: -moz-fit-content;
    width: fit-content;                 /* que no se expanda a 100% */
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;                 /* leve ajuste para que no corte */
    padding-right: 20px;
    /* NO tocamos background/colores para conservar el diseño */
  }

  /* Si algún estilo previo forzaba el botón a 100% */
  .cta--one-line.btn, 
  .cta--one-line.btn-primary{
    min-width: 0 !important;
  }
}
