/* ==================== */
/* RESET & VARIABLES */
/* ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Sea & Sky Gradients (Natural Blue) */
    --gradient-purple: linear-gradient(135deg, #0062cc 0%, #0096ff 100%);
    /* Azul Mar a Cielo (Elegante) */
    --gradient-blue: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    /* Azul Profundo */
    --gradient-pink: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-green: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-orange: linear-gradient(135deg, #fa709a 0%, #fee140 100%);

    /* Main Brand Gradient (Ocean) */
    --gradient-main: linear-gradient(135deg, #0250c5 0%, #0096ff 100%);

    /* Colors - Ocean Theme */
    --primary: #0250c5;
    /* Azul Real */
    --secondary: #0096ff;
    /* Azul Cielo */
    --accent: #4facfe;
    --text-dark: #1a1a2e;
    --text-gray: #2d3436;
    /* Un poco más oscuro para legibilidad */
    --text-light: #4a4a4a;
    --bg-light: #f0f7ff;
    /* Tinte azul muy pálido, casi blanco */
    --bg-white: #ffffff;
    --bg-dark: #0a0e27;

    /* Shadows (Deep Blue) */
    --shadow-sm: 0 2px 10px rgba(2, 80, 197, 0.1);
    --shadow-md: 0 8px 30px rgba(2, 80, 197, 0.15);
    --shadow-lg: 0 15px 50px rgba(2, 80, 197, 0.2);
    --shadow-xl: 0 25px 70px rgba(2, 80, 197, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

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

/* ==================== */
/* HEADER */
/* ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-text {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(90deg, #0250c5, #0096ff, #4facfe, #00f2fe, #0096ff, #0250c5);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    animation: logoGradient 3s ease-in-out infinite;
}

@keyframes logoGradient {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary);
}

.btn-contact {
    background: var(--gradient-purple);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: none;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.6), transparent);
    top: -150px;
    right: -150px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.4), transparent);
    bottom: -100px;
    left: -100px;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.4), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Disable orb animations on mobile for performance */
@media (min-width: 769px) {
    .gradient-orb {
        animation: floatOrb 25s ease-in-out infinite;
    }

    .orb-1 {
        animation-delay: 0s;
    }

    .orb-2 {
        animation-delay: 8s;
    }

    .orb-3 {
        animation-delay: 16s;
    }
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.hero-centered {
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    animation: fadeInUp 0.6s ease;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    /* Wider for PC */
    position: relative;
    z-index: 2;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    /* Aumentado de 56px a 64px en PC */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease;
    letter-spacing: -1px;
    max-width: 1000px;
    /* Wider for PC */
    margin-left: auto;
    margin-right: auto;
}

/* More vibrant gradient (Sea & Sky) */
.gradient-text {
    background: linear-gradient(135deg, #0250c5 0%, #0096ff 50%, #4facfe 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 5px;
    /* Prevent letter cut-off */
}

.animated-title {
    animation: textShine 4s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.hero-description {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 36px;
        /* Much smaller for mobile readability */
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 16px;
        /* Readable body text */
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .btn-custom-primary {
        width: 100%;
        /* Full width button on mobile */
        padding: 16px 20px;
        font-size: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.hero-description strong {
    color: var(--text-dark);
    font-weight: 700;
}

.hero-cta {
    margin-bottom: 48px;
    animation: fadeInUp 1.2s ease;
}

.btn-custom-primary {
    background: var(--gradient-purple);
    color: white;
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

.cta-subtext {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

.btn-primary {
    background: var(--gradient-purple);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

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

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

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

.btn-glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    }

    50% {
        box-shadow: 0 5px 40px rgba(102, 126, 234, 0.6);
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    /* Centered stats */
    gap: 48px;
    animation: fadeInUp 1.4s ease;
}

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

.stat-number {
    font-size: 42px;
    font-weight: 900;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Floating Cards */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.card-icon {
    font-size: 32px;
}

.card-text {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 14px;
}

.card-1 {
    top: 0;
    left: 0;
}

.card-2 {
    top: 15%;
    right: 0;
}

.card-3 {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.card-4 {
    bottom: 15%;
    right: 10%;
}

.card-5 {
    bottom: 0;
    left: 20%;
}

/* Only animate on desktop */
@media (min-width: 769px) {
    .floating-card {
        animation: floatCard 5s ease-in-out infinite;
    }

    .card-1 {
        animation-delay: 0s;
    }

    .card-2 {
        animation-delay: 1s;
    }

    .card-3 {
        animation-delay: 2s;
    }

    .card-4 {
        animation-delay: 3s;
    }

    .card-5 {
        animation-delay: 4s;
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ==================== */
/* SERVICES SECTION */
/* ==================== */
.services {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

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

.section-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

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

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

.service-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(102, 126, 234, 0.1);
    /* opacity: 0;  <-- ELIMINADO: ahora visible siempre */
    /* transform: translateY(30px); <-- ELIMINADO */
    opacity: 1;
    transform: none;
    /* animation: fadeInUp... Eliminamos la dependencia de animación para ver */
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-purple);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 40px;
    filter: grayscale(1) brightness(0) invert(1);
}

.service-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.service-description {
    font-size: 16px;
    /* Subimos a 16px para mejor lectura */
    color: var(--text-gray);
    /* Un gris oscuro casi negro que cansa menos la vista */
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 500;
    /* Un toque extra de grosor */
}

.service-cta {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.9;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.service-cta strong {
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-gray);
    font-size: 14px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all var(--transition-fast);
}

.service-features li:hover {
    color: var(--primary);
    padding-left: 8px;
}

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

/* ==================== */
/* SKILLS SECTION */
/* ==================== */
.skills {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.skill-category {
    background: white;
    padding: 28px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.skill-category h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: var(--gradient-purple);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.skill-tag:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-sm);
}

/* ==================== */
/* PROCESS SECTION */
/* ==================== */
.process {
    padding: 100px 0;
    background: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: white;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==================== */
/* PROJECTS SECTION */
/* ==================== */
.projects {
    padding: 100px 0;
    background: var(--bg-light);
    /* Cambio sutil para diferenciar fondo */
}

/* Estilos para cuando la tarjeta es un enlace */
.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.project-link-hint {
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.project-card-link:hover .project-link-hint {
    border-color: var(--primary);
    transform: translateX(5px);
}



.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.project-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 240px;
    background: var(--gradient-purple);
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05));
}

.project-img-1 {
    background-image: url('pos-dashboard-modern.png');
    background-size: cover;
    /* Asegura que cubra todo el área */
    background-position: center center;
    /* Centrado perfecto para mostrar el dashboard */
}

.project-img-2 {
    background-image: url('restaurant-showcase.png');
    background-size: cover;
    background-position: center center;
}

.project-img-3 {
    background-image: url('dental-showcase.png');
    background-size: cover;
    background-position: center center;
}

.project-img-4 {
    background: var(--gradient-orange);
}

.project-img-5 {
    background: var(--gradient-green);
}

.project-img-6 {
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
}

.project-info {
    padding: 28px;
}

.project-category {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-info h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.project-info p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* ==================== */
/* WHY CHOOSE SECTION */
/* ==================== */
.why-choose {
    padding: 100px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 36px 24px;
    background: white;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: inline-block;
    transition: all var(--transition-normal);
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* ==================== */
/* CONTACT SECTION */
/* ==================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
}

.contact .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.contact .section-title,
.contact .section-subtitle,
.contact .contact-description {
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    /* Align vertically center */
}

.contact-info {
    color: white;
    text-align: center;
    /* Center text */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center flex items */
}

.contact-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 500px;
    /* Prevent text from traversing full width if too wide */
    margin-left: auto;
    margin-right: auto;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* Increased gap slightly */
    margin-bottom: 40px;
    align-items: center;
    /* Center the feature blocks */
    width: 100%;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle background for better grouping */
    padding: 12px 20px;
    border-radius: 12px;
    width: fit-content;
    /* Hug content */
    text-align: left;
    /* Keep internal text left aligned for readability */
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-feature strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 2px;
}

.contact-feature p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 16px 40px;
    /* Wider button */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: white;
    color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

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

.btn-submit {
    background: var(--gradient-purple);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================== */
/* FOOTER */
/* ==================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ==================== */
/* FLOATING WHATSAPP */
/* ==================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse 2s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.8);
    }
}

/* ==================== */
/* RESPONSIVE MOBILE FIRST */
/* ==================== */

/* Tablets */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
        /* Reducido a 16px para aprovechar más la pantalla */
    }

    /* Header Mobile */
    .header .container {
        padding: 0 20px;
    }

    .nav-link {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        padding: 0;
        /* Quitamos padding extra del contenedor interno */
        width: 100%;
    }

    .hero-title {
        font-size: 48px;
        /* Aumentado de 42px a 48px en Móvil */
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 5px;
        /* Menos padding lateral en el texto */
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 32px;
    }

    .hero-stats {
        gap: 24px;
        justify-content: space-around;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Sections Mobile */
    .services,
    .skills,
    .process,
    .projects,
    .why-choose,
    .contact {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
    }

    /* Skills Mobile */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Process Mobile */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Projects Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Features Mobile */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Mobile */
    .contact-form-container {
        padding: 28px;
    }

    /* Footer Mobile */
    .footer-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Floating WhatsApp Mobile */
    .floating-whatsapp {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 42px;
        /* Aumentado drásticamente (antes 28px) */
    }

    .section-title {
        font-size: 32px;
    }

    .logo-text {
        font-size: 34px;
        /* Aumentado drásticamente (antes 22px) */
    }

    .btn-primary,
    .btn-secondary {
        font-size: 14px;
        padding: 12px 24px;
    }
}
/* IMÁGENES DE PROYECTOS (Corrección para Hosting) */
.project-img-1 { background-image: url('pos-showcase.png'); background-size: cover; background-position: center; }
.project-img-2 { background-image: url('restaurant-showcase.png'); background-size: cover; background-position: center; }
.project-img-3 { background-image: url('dental-showcase.png'); background-size: cover; background-position: center; }

/* Mobile Fixes & Restructuring overrides */
a, .nav-link, .project-card-link, .service-card, .btn-primary, .btn-secondary { text-decoration: none !important; }
.project-img-1, .project-img-2, .project-img-3 { background-size: cover !important; background-position: center !important; }
