/* Variables Globales */
:root {
    --primary-dark: #0f0f1e;
    --primary-light: #1a1a2e;
    --accent-lilac: #9d4edd;
    --accent-celeste: #00d4ff;
    --accent-lilac-light: #c77dff;
    --accent-celeste-light: #72ddf7;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --border-color: #2a2a3e;
    --shadow: 0 10px 40px rgba(157, 78, 221, 0.2);
    --transition: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    z-index: 1000;
    transition: var(--transition);
    padding: 0 30px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: var(--transition);
    align-self: center;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    transition: var(--transition);
    margin: 0;
    padding: 0;
    display: block;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

.logo i {
    color: var(--accent-celeste);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-celeste);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-lilac), var(--accent-celeste));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-celeste);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 0;
    padding-top: 120px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/Diseño.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.5), rgba(26, 26, 46, 0.5));
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(157, 78, 221, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    position: relative;
    gap: 40px;
    max-width: 900px;
}

.hero-content {
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-lilac-light) 40%, var(--accent-celeste) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.1;
    animation: slideInDown 0.8s ease;
    word-spacing: 0.15em;
    text-shadow: 0 20px 60px rgba(157, 78, 221, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--accent-celeste);
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
    animation: slideInUp 0.8s ease 0.1s backwards;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.8;
    animation: slideInUp 0.8s ease 0.2s backwards;
    letter-spacing: 0.3px;
}

.hero-cta {
    animation: slideInUp 0.8s ease 0.3s backwards;
}

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
}

.scroll-arrow i {
    font-size: 2rem;
    color: var(--accent-celeste);
    display: block;
}

/* Partículas */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    pointer-events: none;
}

.particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-celeste), transparent);
    border-radius: 50%;
}

@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(var(--drift));
    }
}

@keyframes float-up-delayed {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(var(--drift));
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Botones */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-lilac), var(--accent-celeste));
    color: white;
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.6);
}

/* Secciones */
section {
    padding: 80px 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-celeste));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    color: var(--accent-celeste);
}

/* Servicios */
.servicios {
    padding: 100px 20px;
    position: relative;
}

.servicios::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, rgba(15, 15, 30, 0), rgba(15, 15, 30, 1));
    pointer-events: none;
}

.servicios::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, rgba(15, 15, 30, 1), rgba(15, 15, 30, 0));
    pointer-events: none;
}

.servicios-header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeIn 0.8s ease;
}

.servicios-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 2px;
}

.servicios-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
}

.servicio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.servicio-card:nth-child(1) { animation-delay: 0.1s; }
.servicio-card:nth-child(2) { animation-delay: 0.2s; }
.servicio-card:nth-child(3) { animation-delay: 0.3s; }
.servicio-card:nth-child(4) { animation-delay: 0.4s; }

.servicio-image {
    width: 200px;
    height: 200px;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.servicio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(157, 78, 221, 0.3));
    transition: var(--transition);
}

.servicio-card:hover .servicio-image img {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 40px rgba(0, 212, 255, 0.4));
}

.servicio-card h3 {
    font-size: 1.3rem;
    color: var(--accent-celeste);
    margin-bottom: 12px;
    transition: var(--transition);
}

.servicio-card:hover h3 {
    color: var(--accent-lilac-light);
}

.servicio-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
}

.servicios-cta {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(0, 212, 255, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: slideInUp 0.8s ease 0.5s backwards;
}

.servicios-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-celeste);
}

.servicios-cta p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Características */
.caracteristicas {
    padding: 100px 20px;
    position: relative;
    overflow: visible;
}

.caracteristicas::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, rgba(15, 15, 30, 0), rgba(15, 15, 30, 1));
    pointer-events: none;
    z-index: 10;
}

.caracteristicas::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, rgba(15, 15, 30, 1), rgba(15, 15, 30, 0));
    pointer-events: none;
    z-index: 10;
}

.caracteristicas .container {
    position: relative;
    z-index: 1;
}

.caracteristicas h2 {
    font-size: 3.2rem;
    margin-bottom: 40px;
    text-align: center;
    color: white;
    letter-spacing: 2px;
    font-weight: 800;
    animation: slideInDown 0.8s ease;
}

.caracteristicas-intro {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 80px;
    animation: fadeIn 0.8s ease 0.2s backwards;
}

.caracteristicas-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 2;
    font-weight: 400;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.caracteristica-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.12), rgba(0, 212, 255, 0.08));
    border: 2px solid var(--accent-celeste);
    border-radius: 25px;
    padding: 45px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.caracteristica-card:nth-child(1) { animation-delay: 0.3s; }
.caracteristica-card:nth-child(2) { animation-delay: 0.4s; }
.caracteristica-card:nth-child(3) { animation-delay: 0.5s; }
.caracteristica-card:nth-child(4) { animation-delay: 0.6s; }

.caracteristica-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.25), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.caracteristica-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), transparent);
    transition: width 0.4s ease;
    z-index: 0;
}

.caracteristica-card:hover {
    border-color: var(--accent-lilac-light);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-8px) translateX(5px);
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.18), rgba(0, 212, 255, 0.12));
}

.caracteristica-card:hover::before {
    left: 100%;
}

.caracteristica-card:hover::after {
    width: 100%;
}

.caracteristica-icon {
    min-width: 130px;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.caracteristica-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px rgba(157, 78, 221, 0.45));
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.caracteristica-card:hover .caracteristica-icon img {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 12px 35px rgba(0, 212, 255, 0.55));
}

.caracteristica-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.caracteristica-card h3 {
    font-size: 1.25rem;
    color: white;
    font-weight: 700;
    line-height: 1.6;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, white, var(--accent-celeste));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
}

.caracteristica-card:hover h3 {
    -webkit-text-fill-color: var(--accent-celeste);
    background: none;
}

/* Responsive */
@media (max-width: 768px) {
    .caracteristicas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .caracteristica-card {
        padding: 30px;
        gap: 25px;
    }

    .caracteristica-icon {
        min-width: 90px;
        width: 90px;
        height: 90px;
    }

    .caracteristica-card h3 {
        font-size: 1rem;
    }

    .caracteristicas h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .caracteristicas {
        padding: 60px 15px;
    }

    .caracteristicas h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .caracteristicas-intro {
        margin-bottom: 40px;
    }

    .caracteristicas-intro p {
        font-size: 0.95rem;
    }

    .caracteristica-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }

    .caracteristica-icon {
        min-width: 80px;
        width: 80px;
        height: 80px;
    }

    .caracteristica-card h3 {
        font-size: 0.9rem;
    }
}



/* Casos de Éxito */
.casos-exito {
    background-image: url('../img/diseño2.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    padding: 120px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casos-exito::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.7), rgba(26, 26, 46, 0.7));
    z-index: 1;
    pointer-events: none;
}

.casos-exito::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(157, 78, 221, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.casos-exito .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.casos-exito .servicios-cta {
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    animation: slideInUp 0.8s ease;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.casos-exito .servicios-cta:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.1);
}

.casos-exito .servicios-cta h3 {
    font-size: 1.8rem;
    color: var(--accent-celeste);
    margin-bottom: 15px;
    font-weight: 600;
}

.casos-exito .servicios-cta p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.caso-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.caso-header i {
    font-size: 2.5rem;
    color: var(--accent-celeste);
}

.caso-header h3 {
    font-size: 1.3rem;
}

.caso-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contacto */
.contacto {
    padding: 100px 20px;
    position: relative;
}

.contacto h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    color: white;
    letter-spacing: 1px;
    font-weight: 700;
}

.contacto::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, rgba(15, 15, 30, 0), rgba(15, 15, 30, 1));
    pointer-events: none;
}

.contacto::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, rgba(15, 15, 30, 1), rgba(15, 15, 30, 0));
    pointer-events: none;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.contacto-form {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 40px;
}

.contacto-form h3 {
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 0;
    padding: 12px 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(176, 176, 192, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-celeste);
    background: transparent;
    box-shadow: none;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.info-item {
    display: flex;
    gap: 25px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    align-items: flex-start;
}

.info-item::before {
    display: none;
}

.info-item:hover {
    border: none;
    box-shadow: none;
    transform: translateX(0);
    background: transparent;
}

.info-item i {
    font-size: 2rem;
    color: var(--accent-celeste);
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    flex-shrink: 0;
}

.info-item div {
    flex: 1;
}

.info-item h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    padding: 60px 20px 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, rgba(15, 15, 30, 0), rgba(15, 15, 30, 1));
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--accent-celeste);
    margin-bottom: 15px;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-celeste);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-lilac), var(--accent-celeste));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.4);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: calc(100vh - 60px);
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-container {
        gap: 30px;
    }

    h2 {
        font-size: 2rem;
    }

    .servicios-grid,
    .casos-grid {
        grid-template-columns: 1fr;
    }

    .contacto-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacto-form,
    .info-item {
        padding: 25px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.85rem;
    }

    .caracteristicas-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .caracteristica-card {
        padding: 35px;
        gap: 30px;
    }

    .caracteristica-icon {
        min-width: 100px;
        width: 100px;
        height: 100px;
    }

    .caracteristica-card h3 {
        font-size: 1.05rem;
    }

    .caracteristicas h2 {
        font-size: 2.5rem;
    }

    .caracteristicas-intro {
        margin-bottom: 60px;
    }

    .caracteristicas-intro p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        height: 60px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .hero {
        margin-top: 60px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    section {
        padding: 40px 15px;
    }

    .stats {
        padding: 60px 15px;
    }

    .stats .container {
        gap: 20px;
    }

    .stat-item {
        padding: 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }

    .caracteristicas {
        padding: 70px 15px;
    }

    .caracteristicas h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .caracteristicas-intro {
        margin-bottom: 40px;
    }

    .caracteristicas-intro p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .caracteristicas-grid {
        gap: 20px;
    }

    .caracteristica-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .caracteristica-icon {
        min-width: 90px;
        width: 90px;
        height: 90px;
    }

    .caracteristica-card h3 {
        font-size: 0.95rem;
    }
}
