/* =========================================== */
/*           ESTILOS PROFESIONALES             */
/* =========================================== */

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

:root {
    /* Colores profesionales */
    --primary: #2d5bff;
    --primary-dark: #1a4cff;
    --primary-light: #4a7aff;
    --secondary: #00c9ff;
    --accent: #00ff9d;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    --dark: #0a0f23;
    --darker: #060917;
    --dark-light: #1a2036;
    --light: #ffffff;
    --light-muted: #f0f2ff;
    --muted: #94a3b8;
    --muted-dark: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --card-bg: rgba(26, 32, 54, 0.8);
    --card-bg-solid: #1a2036;
    --card-bg-hover: rgba(37, 47, 79, 0.8);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-dark: rgba(255, 255, 255, 0.05);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 30px 90px rgba(0, 0, 0, 0.4);
    --shadow-primary: 0 10px 30px rgba(45, 91, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* Reset y estilos base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background: var(--dark);
    color: var(--light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: var(--header-height);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(45, 91, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 201, 255, 0.05) 0%, transparent 20%);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 2rem);
    width: 100%;
}

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

.skip-link {
    position: fixed;
    left: -9999px;
    top: 20px;
    background: var(--gradient);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    z-index: 9999;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
}

.skip-link:focus {
    left: 20px;
}

/* =========================================== */
/*               HEADER MEJORADO               */
/* =========================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-slow);
    will-change: transform, background;
    height: var(--header-height);
}

header.scrolled {
    background: rgba(10, 15, 35, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(30px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(45, 91, 255, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 1px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: var(--light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-list a:not(.nav-cta):hover,
.nav-list a:not(.nav-cta):focus {
    color: var(--primary);
    background: rgba(45, 91, 255, 0.1);
}

.nav-list a i {
    font-size: 0.9rem;
}

.nav-list a.nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}

.nav-list a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(45, 91, 255, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 3rem;
    height: 3rem;
    position: relative;
    z-index: 1001;
    color: var(--light);
    background: var(--glass);
    border-radius: 10px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(45, 91, 255, 0.2);
}

.hamburger {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger span:nth-child(1) {
    top: 0.25rem;
}

.hamburger span:nth-child(2) {
    top: 0.75rem;
}

.hamburger span:nth-child(3) {
    top: 1.25rem;
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =========================================== */
/*              HERO SECTION                   */
/* =========================================== */

.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(45, 91, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 201, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(45, 91, 255, 0.15);
    color: var(--primary);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(45, 91, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat:hover {
    border-color: rgba(45, 91, 255, 0.3);
    transform: translateY(-5px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 91, 255, 0.2);
    border-radius: 10px;
    color: var(--primary);
    font-size: 1.2rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.25rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: min(500px, 70vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-device {
    position: relative;
    width: 300px;
    height: 400px;
    background: linear-gradient(145deg, #1a2036, #0f1429);
    border-radius: 30px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 20px;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-device:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
}

.device-screen {
    width: 100%;
    height: calc(100% - 40px);
    background: var(--dark);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    width: 100%;
    height: 100%;
    padding: 20px;
}

.website-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2d5bff, #00c9ff);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.9;
}

.preview-header {
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.preview-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    margin-right: 5px;
}

.preview-body {
    padding: 20px;
}

.preview-item {
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
    border-radius: 5px;
    animation: loading 2s infinite alternate;
}

@keyframes loading {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.device-base {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 10px;
    background: #0a0f23;
    border-radius: 0 0 10px 10px;
}

.floating-card {
    position: absolute;
    background: var(--card-bg-solid);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    width: 140px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.card-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    left: 30%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
    width: 160px;
    z-index: 3;
}

.card-3 {
    bottom: 10%;
    right: 5%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    color: var(--primary);
}

.floating-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

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

/* =========================================== */
/*              SECCIONES GENERALES            */
/* =========================================== */

.section {
    padding: 3.5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(45, 91, 255, 0.15);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(45, 91, 255, 0.3);
    backdrop-filter: blur(10px);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =========================================== */
/*              SERVICIOS                      */
/* =========================================== */

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

.service-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 91, 255, 0.15);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(45, 91, 255, 0.25);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.service-features li i {
    color: var(--accent);
    font-size: 0.9rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(45, 91, 255, 0.1);
    color: var(--primary);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(45, 91, 255, 0.2);
    cursor: pointer;
    border: none;
    font-family: inherit;
    width: 100%;
}

.service-link:hover {
    background: rgba(45, 91, 255, 0.2);
    transform: translateY(-2px);
    gap: 1rem;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--card-bg-hover);
    box-shadow: var(--shadow-xl);
    border-color: rgba(45, 91, 255, 0.2);
}

/* =========================================== */
/*              PORTAFOLIO                     */
/* =========================================== */

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

.portfolio-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(45, 91, 255, 0.3);
}

.portfolio-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 35, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-links {
    display: flex;
    gap: 1rem;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: var(--light);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.portfolio-link:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.portfolio-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(10, 15, 35, 0.9);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.portfolio-content p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(45, 91, 255, 0.15);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(45, 91, 255, 0.3);
}

/* =========================================== */
/*              BENEFICIOS                     */
/* =========================================== */

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

.benefits-list {
    margin-top: 2.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 91, 255, 0.15);
    border-radius: 16px;
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1.5rem;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    background: rgba(45, 91, 255, 0.25);
    transform: scale(1.1);
}

.benefit-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.benefit-content p {
    color: var(--muted);
    line-height: 1.7;
}

.benefits-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-circle {
    text-align: center;
    max-width: 150px;
}

.circle-progress {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0deg, rgba(45, 91, 255, 0.1) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 1s ease;
}

.circle-progress::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background: var(--card-bg-solid);
    border-radius: 50%;
}

.progress-value {
    position: relative;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-circle p {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* =========================================== */
/*              PRECIOS                        */
/* =========================================== */

.pricing {
    position: relative;
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}

.pricing-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(45, 91, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 201, 255, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(45, 91, 255, 0.1), rgba(10, 15, 35, 0.9));
    transform: scale(1.05);
    z-index: 2;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-primary);
}

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

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    font-size: 3.0rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.price span {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 500;
}

.pricing-description {
    color: var(--muted);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent);
    font-size: 0.9rem;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
}

.pricing-btn.primary {
    background: var(--gradient);
    border: none;
}

.pricing-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.pricing-popular {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.pricing-note {
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(45, 91, 255, 0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(45, 91, 255, 0.2);
}

.pricing-note p {
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.pricing-note i {
    color: var(--primary);
}

/* =========================================== */
/*              CONTACTO                       */
/* =========================================== */

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

.contact-details {
    margin-top: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    background: var(--glass);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: rgba(45, 91, 255, 0.3);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 91, 255, 0.15);
    border-radius: 16px;
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-item p {
    color: var(--light);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-item small {
    color: var(--muted);
    font-size: 0.85rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.contact-cta {
    margin-top: 2rem;
    background: rgba(45, 91, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(45, 91, 255, 0.2);
}

.contact-cta p {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.call-btn {
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.call-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

/* Formulario */
.contact-form {
    background: var(--card-bg-solid);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.form-header p {
    color: var(--muted);
    font-size: 0.95rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--light);
    font-size: 0.95rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1rem;
}

.input-with-icon input,
.input-with-icon textarea,
.input-with-icon select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--light);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

.input-with-icon textarea {
    padding-left: 3rem;
    padding-top: 1rem;
    min-height: 140px;
    resize: vertical;
}

.input-with-icon select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.input-with-icon input:focus,
.input-with-icon textarea:focus,
.input-with-icon select:focus {
    border-color: var(--primary);
    background: rgba(45, 91, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(45, 91, 255, 0.1);
}

.error-message {
    display: block;
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2em;
}

.form-actions {
    margin-top: 2rem;
}

.form-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.spinner {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

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

.status-text {
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: var(--radius);
    min-height: 1.2em;
    font-weight: 500;
    text-align: center;
}

.status-text.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-text.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* =========================================== */
/*              BOTONES                        */
/* =========================================== */

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn.primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn.primary:hover {
    background: var(--gradient-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(45, 91, 255, 0.4);
}

.btn.secondary {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

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

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

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

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* =========================================== */
/*              FOOTER MEJORADO                */
/* =========================================== */

footer {
    padding: 3.5rem 0 2rem;
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient);
}

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

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-social a:hover {
    background: rgba(45, 91, 255, 0.2);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-newsletter h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-newsletter p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    position: relative;
}

.input-with-button {
    display: flex;
    gap: 0.5rem;
}

.input-with-button input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--light);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.input-with-button input:focus {
    border-color: var(--primary);
}

.btn-newsletter {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-newsletter:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-copyright {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-location {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-legal a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-contact a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Focus visible para accesibilidad */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 3px solid rgba(45, 91, 255, 0.3);
    outline-offset: 2px;
    border-radius: 8px;
}
/* =========================================== */
/*              RESPONSIVE RE-DISEÑADO         */
/* =========================================== */

/* MÓVIL PEQUEÑO (hasta 576px) */
@media (max-width: 576px) {
    body {
        padding-top: 65px;
        font-size: 14px;
    }
    
    :root {
        --header-height: 65px;
        --radius: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* HEADER ARREGLADO */
    header {
        height: var(--header-height);
        backdrop-filter: blur(10px);
    }
    
    .navbar {
        padding: 0.5rem 0;
        height: var(--header-height);
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    /* NAVEGACIÓN MÓVIL - CORREGIDO COMPLETAMENTE */
    .nav-toggle {
        display: flex;
        width: 45px;
        height: 45px;
        background: var(--glass);
        border-radius: 8px;
    }
    
    .nav-list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(10, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
        overflow-y: auto;
        margin: 0;
    }
    
    .nav-list.active {
        transform: translateX(0);
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        padding: 1rem 1.5rem;
        width: 100%;
        justify-content: flex-start;
        font-size: 1rem;
        border-radius: var(--radius);
        margin-bottom: 0.25rem;
    }
    
    .nav-list a.nav-cta {
        margin-top: 1rem;
        padding: 1rem 1.5rem !important;
        justify-content: center;
    }
    
    /* HERO SECTION MOBILE */
    .hero {
        min-height: auto;
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        width: 100%;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .floating-card {
        display: none;
    }
    
    /* SECCIONES GENERALES */
    .section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* SERVICIOS */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .service-features li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .service-link {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    /* PORTAFOLIO */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .portfolio-content {
        padding: 1.5rem;
    }
    
    .portfolio-content h3 {
        font-size: 1.1rem;
    }
    
    .portfolio-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .portfolio-tags {
        gap: 0.5rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
    
    /* BENEFICIOS */
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto;
    }
    
    .benefit-content h3 {
        font-size: 1.1rem;
    }
    
    .benefit-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .benefits-stats {
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .circle-progress {
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem;
    }
    
    .circle-progress::before {
        width: 100px;
        height: 100px;
    }
    
    .progress-value {
        font-size: 1.5rem;
    }
    
    /* PRECIOS */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .pricing-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    .pricing-card.featured {
        transform: none;
        order: 0;
    }
    
    .pricing-badge {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .pricing-header h3 {
        font-size: 1.4rem;
    }
    
    .price {
        font-size: 2.2rem;
    }
    
    .pricing-features li {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }
    
    .pricing-btn {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    /* CONTACTO */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
    }
    
    .contact-item p, .contact-item small {
        font-size: 0.9rem;
    }
    
    .contact-cta {
        padding: 1.25rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.4rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .input-with-icon input,
    .input-with-icon textarea,
    .input-with-icon select {
        padding: 0.875rem 1rem 0.875rem 2.5rem;
        font-size: 16px; /* Previene zoom en iOS */
    }
    
    .input-with-icon i {
        left: 0.875rem;
    }
    
    .form-actions .btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-newsletter {
        text-align: center;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    /* WHATSAPP FLOAT */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* TABLET (577px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    :root {
        --header-height: 70px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* HEADER TABLET */
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(10, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
        overflow-y: auto;
        margin: 0;
    }
    
    .nav-list.active {
        transform: translateX(0);
    }
    
    .nav-list a {
        padding: 1rem 1.5rem;
        width: 100%;
        justify-content: flex-start;
        font-size: 1rem;
    }
    
    /* HERO TABLET */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }
    
    .hero-ctas {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: block;
        height: 300px;
    }
    
    .hero-device {
        width: 250px;
        height: 350px;
        margin: 0 auto;
    }
    
    .floating-card {
        width: 120px;
        padding: 1rem;
    }
    
    /* SERVICIOS TABLET */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* PORTAFOLIO TABLET */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* BENEFICIOS TABLET */
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .benefit-item {
        gap: 1.5rem;
    }
    
    /* PRECIOS TABLET */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        grid-column: span 2;
    }
    
    /* CONTACTO TABLET */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    /* FOOTER TABLET */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr auto 1fr;
    }
}

/* DISPOSITIVOS MUY PEQUEÑOS (menos de 400px) */
@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .portfolio-grid {
        gap: 1rem;
    }
    
    .portfolio-content {
        padding: 1.25rem;
    }
    
    .portfolio-content h3 {
        font-size: 1rem;
    }
    
    .portfolio-content p {
        font-size: 0.8rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .footer-links h3,
    .footer-newsletter h3 {
        font-size: 1rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* AJUSTES PARA LANDSCAPE EN MÓVIL */
@media (max-height: 500px) and (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 1.5rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        text-align: left;
    }
    
    .hero-ctas {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .hero-ctas .btn {
        flex: 1;
        min-width: calc(50% - 0.5rem);
        padding: 0.75rem 1rem;
    }
    
    .hero-visual {
        display: block;
        height: 200px;
    }
    
    .hero-device {
        width: 180px;
        height: 240px;
    }
    
    .floating-card {
        display: none;
    }
    
    .nav-list {
        max-height: 300px;
        overflow-y: auto;
    }
}

/* MEJORAS DE TOUCH PARA MÓVIL */
@media (max-width: 768px) {
    .btn,
    .nav-cta,
    .service-link,
    .portfolio-link,
    .pricing-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Previene zoom en iOS */
    input,
    textarea,
    select,
    button {
        font-size: 16px !important;
    }
    
    /* MEJOR SCROLL EN MÓVIL */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* OPTIMIZAR ANIMACIONES PARA MÓVIL */
    .service-card:hover,
    .portfolio-card:hover,
    .pricing-card:hover,
    .contact-item:hover {
        transform: none !important;
    }
    
    .service-card:active,
    .portfolio-card:active,
    .pricing-card:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease;
    }
}

/* MEJORAS DE RENDIMIENTO PARA MÓVILES */
@media (max-width: 768px) {
    .hero-background,
    .pricing-background {
        background-attachment: scroll;
    }
    
    /* Desactivar efectos hover pesados en móvil */
    .btn::before {
        display: none;
    }
    
    .service-card::before {
        display: none;
    }
}

/* CORRECCIÓN ESPECÍFICA PARA MENÚ MÓVIL */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .nav-list.active {
        display: flex;
    }
}

/* ======= STYLES.CSS — PARTE 6 de 6 ======= */
/* pricing (continuación) */
.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(45, 91, 255, 0.1), rgba(10, 15, 35, 0.9));
    transform: scale(1.05);
    z-index: 2;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-primary);
}

/* CONTACTO */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

/* Footer and WhatsApp */
footer {
    padding: 3.5rem 0 2rem;
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

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

/* WhatsApp float button styling */
.whatsapp-float {
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    position: fixed;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.05) rotate(6deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.45);
}

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

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    padding: 1.5rem 1.8rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.faq-item summary {
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] {
    border-color: var(--primary);
    background: rgba(45,91,255,0.12);
}

.faq-item p {
    margin-top: 1rem;
    color: var(--muted);
    line-height: 1.6;
}

/* RESPONSIVE ADJUSTMENTS (media queries abbreviated) */
@media (max-width: 1024px) {
    .container { padding: 0 18px; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    .nav-toggle { display: flex; }
    .nav-list { position: fixed; top: var(--header-height); left: 0; width: 100%; height: calc(100vh - var(--header-height)); background: rgba(10,15,35,0.98); flex-direction: column; padding: 2rem; gap: 1rem; transform: translateX(-100%); transition: transform .3s ease; z-index: 999; overflow-y: auto; }
    .nav-list.active { transform: translateX(0); }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-content { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 400px) {
    .hero-text h1 { font-size: 1.6rem; }
    .service-card { padding: 1.25rem; }
    .portfolio-content { padding: 1.25rem; }
}

/* Small polish: reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* End of stylesheet */
