* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevenir desbordamiento horizontal */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #e8e8e8 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    color: #2a2a2a;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}


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

/* Cursor personalizado */
/* Animación de partículas que sigue el cursor */
.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cursor-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    animation: particleFade 1s ease-out forwards;
    will-change: transform, opacity;
}

@keyframes particleFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
}

/* Partículas más grandes al pasar sobre elementos interactivos */
.cursor-particle.large {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.4);
}

@media (hover: none) or (pointer: coarse) {
    .cursor-trail {
        display: none !important;
    }
}

/* Líneas decorativas animadas */
.decorative-lines {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    animation: lineMove 20s linear infinite;
}

.line-1 {
    width: 1px;
    height: 100%;
    left: 20%;
    animation-duration: 25s;
}

.line-2 {
    width: 1px;
    height: 100%;
    left: 60%;
    animation-duration: 30s;
    animation-delay: -10s;
}

.line-3 {
    width: 100%;
    height: 1px;
    top: 40%;
    animation-duration: 20s;
    animation-delay: -5s;
}

@keyframes lineMove {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Fondo con caracteres e iconos animados */
.code-background {
    position: absolute;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    font-family: 'Source Code Pro', monospace;
    line-height: 1.8;
    left: 0;
    right: 0;
}

/* En móviles, usar absolute para que se mueva con el scroll */
.code-char {
    font-weight: 700;
    animation: codeFloat 30s infinite ease-in-out;
    user-select: none;
    pointer-events: none;
    text-shadow: 0 0 10px currentColor;
    will-change: transform, opacity;
    opacity: 0.5;
    display: block;
    visibility: visible;
    transform-origin: center center;
    position: fixed;
}

/* En móviles, cambiar a absolute para mejor rendimiento durante scroll */
@media (max-width: 768px) {
    .code-background {
        position: fixed;
        height: 100vh;
        min-height: 100%;
    }
    
    .code-char {
        position: fixed;
        /* Usar transform en lugar de left/top para mejor rendimiento */
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

@keyframes codeFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    20% {
        transform: translate(40px, -40px) rotate(72deg) scale(1.1);
        opacity: 0.65;
    }
    40% {
        transform: translate(-30px, -60px) rotate(144deg) scale(0.95);
        opacity: 0.6;
    }
    60% {
        transform: translate(50px, -30px) rotate(216deg) scale(1.05);
        opacity: 0.65;
    }
    80% {
        transform: translate(-20px, -50px) rotate(288deg) scale(1.0);
        opacity: 0.6;
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        opacity: 0.5;
    }
}

/* Variaciones de color para los caracteres - Fondo blanco */
.code-char.color-1 {
    color: rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.code-char.color-2 {
    color: rgba(50, 50, 50, 0.35);
    text-shadow: 0 0 10px rgba(50, 50, 50, 0.15);
}

.code-char.color-3 {
    color: rgba(100, 100, 100, 0.3);
    text-shadow: 0 0 10px rgba(100, 100, 100, 0.1);
}

.code-char.color-4 {
    color: rgba(0, 0, 0, 0.35);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.code-char.color-5 {
    color: rgba(80, 80, 80, 0.3);
    text-shadow: 0 0 10px rgba(80, 80, 80, 0.1);
}

/* Contenedor principal - Layout horizontal */
.main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Breakpoint intermedio para evitar colisiones */
@media (max-width: 1100px) {
    .main-wrapper {
        gap: 40px;
        padding: 60px 40px;
    }
}

@media (max-width: 900px) {
    .main-wrapper {
        gap: 35px;
        padding: 50px 35px;
    }
}

/* Sección izquierda */
.left-section {
    display: flex;
    flex-direction: column;
    gap: 50px;
    animation: slideInLeft 1s ease-out;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.08) 0%, transparent 70%);
    animation: pulse-ring 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.2;
    }
}

.logo {
    width: 220px;
    height: 220px;
    max-width: 100%;
    display: block;
    animation: rotate 15s linear infinite, float-logo 5s ease-in-out infinite;
    filter: brightness(0) drop-shadow(0 0 15px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: brightness(0) drop-shadow(0 0 25px rgba(0, 0, 0, 0.4));
    animation-play-state: paused;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.05);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.05);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

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

.title-content {
    text-align: left;
}

.company-name {
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: fadeIn 1s ease-out;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 25px;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.1);
    animation: glow 3s ease-in-out infinite alternate;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@keyframes glow {
    from {
        text-shadow: 
            0 2px 10px rgba(0, 0, 0, 0.2),
            0 4px 15px rgba(0, 0, 0, 0.1);
    }
    to {
        text-shadow: 
            0 2px 15px rgba(0, 0, 0, 0.3),
            0 4px 20px rgba(0, 0, 0, 0.15),
            0 6px 25px rgba(0, 0, 0, 0.1);
    }
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(30, 30, 30, 0.8);
    font-weight: 400;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 30px;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.slogan {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    margin-top: 30px;
    animation: fadeInUp 1.2s ease-out 0.5s both;
    transition: all 0.3s ease;
    max-width: 550px;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.slogan:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.04) 100%);
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slogan i {
    font-size: 2rem;
    color: #2a2a2a;
    animation: pulse-glow 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
    }
}

.slogan span {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2a2a2a;
    line-height: 1.5;
    font-style: italic;
}

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

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

/* Sección derecha */
.right-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    animation: slideInRight 1s ease-out;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

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

.specialties-box,
.contact-box {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.specialties-box:hover::before,
.contact-box:hover::before {
    left: 100%;
}

.specialties-box:hover,
.contact-box:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.section-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label i {
    font-size: 1.5rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

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

/* Especialidades */
.specialties {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 1.1rem;
    font-weight: 500;
}

.specialty-item:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 0, 0, 0.05);
}

/* En móviles, reducir el efecto hover */
@media (max-width: 768px) {
    .specialty-item:hover,
    .contact-item:hover {
        transform: scale(1.01);
    }
}

.specialty-item:hover i {
    transform: rotate(15deg) scale(1.1);
    color: #2a2a2a;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}

.specialty-item i {
    font-size: 1.8rem;
    color: #2a2a2a;
    width: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Contacto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-decoration: none;
    color: #2a2a2a;
    animation: fadeInItem 1s ease-out both;
    text-align: left;
}

.contact-item:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInItem {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 0, 0, 0.05);
}

.contact-item:hover .contact-icon-wrapper {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.contact-item:hover .contact-icon-wrapper i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon-wrapper i {
    font-size: 1.4rem;
    color: #2a2a2a;
    transition: all 0.3s ease;
}

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

.contact-text {
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

/* Ajustes para pantallas grandes (computadores) - contenido en viewport completo */
@media (min-width: 992px) {
    html {
        height: 100%;
        overflow: hidden;
    }

    body {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden; /* Evita scroll vertical */
        display: flex;
        flex-direction: column;
    }

    .main-wrapper {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        padding: 30px 60px; /* Reducir padding vertical aún más */
        gap: 25px; /* Reducir gap entre columnas */
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        overflow: hidden;
    }

    .left-section {
        gap: 25px; /* Reducir gap interno */
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        min-height: 0;
    }

    .right-section {
        gap: 20px; /* Reducir gap entre cajas */
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        min-height: 0;
    }

    /* Ajustar tamaños para que quepa todo */
    .logo {
        width: 160px;
        height: 160px;
        flex-shrink: 0;
    }

    .main-title {
        font-size: 3rem;
        margin-bottom: 10px;
        line-height: 1.1;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .slogan {
        font-size: 0.95rem;
        padding: 10px 18px;
        margin-top: 0;
    }

    .specialties-box,
    .contact-box {
        padding: 20px; /* Reducir padding interno */
        flex-shrink: 0;
    }

    .section-label {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .title-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 0;
    }
}

/* Para pantallas muy grandes, ajustar aún más */
@media (min-width: 1400px) {
    .main-wrapper {
        padding: 50px 80px;
    }
}

/* Responsive - Tablets grandes */
@media (max-width: 1200px) and (min-width: 992px) {
    body {
        height: auto;
        overflow-y: auto;
    }

    .main-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 50px;
        min-height: auto;
        height: auto;
        max-height: none;
    }

    .left-section {
        text-align: center;
        align-items: center;
        gap: 40px;
    }

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

    .subtitle {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .slogan {
        max-width: 90%;
        margin: 30px auto 0;
    }

    .right-section {
        gap: 35px;
        max-width: 700px;
        margin: 0 auto;
    }
}

/* Responsive - Tablets */
@media (max-width: 991px) and (min-width: 769px) {
    body {
        height: auto;
        overflow-y: auto;
    }

    .main-wrapper {
        grid-template-columns: 1fr !important;
        gap: 45px;
        padding: 50px 40px;
        min-height: auto;
        height: auto;
        max-height: none;
    }
    
    .left-section,
    .right-section {
        width: 100%;
        max-width: 100%;
    }

    .left-section {
        text-align: center;
        align-items: center;
        gap: 35px;
    }

    .logo {
        width: 170px;
        height: 170px;
    }

    .main-title {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 1.15rem;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .slogan {
        max-width: 95%;
        margin: 25px auto 0;
        font-size: 1.05rem;
    }

    .right-section {
        gap: 30px;
        max-width: 650px;
        margin: 0 auto;
    }

    .specialties-box,
    .contact-box {
        padding: 28px;
    }
}

/* Responsive - Móviles grandes */
@media (max-width: 768px) {
    html {
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .main-wrapper {
        grid-template-columns: 1fr !important;
        padding: 40px 20px;
        gap: 50px;
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .left-section,
    .right-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .left-section {
        gap: 40px;
        text-align: center;
    }

    .logo-container {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .logo {
        width: 150px;
        height: 150px;
    }

    .title-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .company-name {
        font-size: 1.1rem;
        margin-bottom: 10px;
        letter-spacing: 0.12em;
        font-weight: 600;
    }

    .main-title {
        font-size: 2.2rem;
        line-height: 1.25;
        margin-bottom: 18px;
        font-weight: 700;
    }

    .subtitle {
        font-size: 1rem;
        line-height: 1.7;
        max-width: 100%;
        margin-bottom: 25px;
        color: rgba(30, 30, 30, 0.85);
    }

    .slogan {
        font-size: 0.9rem;
        padding: 18px 20px;
        margin-top: 10px;
        max-width: 100%;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        text-align: center;
        border-radius: 12px;
    }

    .slogan i {
        font-size: 1.6rem;
    }

    .slogan span {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .right-section {
        gap: 35px;
        width: 100%;
    }

    .specialties-box,
    .contact-box {
        padding: 30px 22px;
        width: 100%;
        border-radius: 18px;
    }

    .section-label {
        font-size: 1.4rem;
        margin-bottom: 25px;
        text-align: center;
        justify-content: center;
        font-weight: 600;
    }

    .specialty-item,
    .contact-item {
        padding: 20px;
        min-height: 60px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .specialty-item:last-child,
    .contact-item:last-child {
        margin-bottom: 0;
    }

    .code-background {
        font-size: 0.85rem;
    }
    
    .code-char {
        font-size: 0.75rem !important;
    }
}

/* Responsive - Móviles medianos */
@media (max-width: 576px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        padding: 35px 18px;
        gap: 45px;
    }

    .left-section {
        gap: 35px;
    }

    .main-title {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .logo {
        width: 140px;
        height: 140px;
    }

    .company-name {
        font-size: 1.05rem;
        margin-bottom: 10px;
        letter-spacing: 0.1em;
    }

    .subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .slogan {
        font-size: 0.85rem;
        padding: 16px 18px;
        margin-top: 8px;
        gap: 10px;
    }

    .slogan i {
        font-size: 1.5rem;
    }

    .slogan span {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .right-section {
        gap: 30px;
    }

    .specialties-box,
    .contact-box {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .section-label {
        font-size: 1.3rem;
        margin-bottom: 22px;
    }

    .specialty-item,
    .contact-item {
        padding: 18px;
        font-size: 0.95rem;
        min-height: 58px;
    }

    .contact-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .contact-icon-wrapper i {
        font-size: 1.35rem;
    }

    .contact-text {
        font-size: 0.95rem;
    }
}

/* Responsive - Móviles pequeños */
@media (max-width: 480px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 16px;
        gap: 40px;
    }

    .left-section {
        gap: 32px;
    }

    .main-title {
        font-size: 1.85rem;
        line-height: 1.25;
        margin-bottom: 16px;
        font-weight: 700;
    }

    .logo {
        width: 130px;
        height: 130px;
    }

    .company-name {
        font-size: 0.95rem;
        margin-bottom: 10px;
        letter-spacing: 0.1em;
        font-weight: 600;
    }

    .subtitle {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .slogan {
        padding: 16px 16px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
        font-size: 0.8rem;
        margin-top: 10px;
        border-radius: 12px;
    }

    .slogan i {
        font-size: 1.4rem;
    }

    .slogan span {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .right-section {
        gap: 28px;
    }

    .specialties-box,
    .contact-box {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .section-label {
        font-size: 1.25rem;
        margin-bottom: 20px;
        flex-direction: row;
        gap: 10px;
        text-align: center;
        justify-content: center;
        font-weight: 600;
    }

    .section-label i {
        font-size: 1.2rem;
    }

    .specialty-item {
        padding: 18px;
        font-size: 0.95rem;
        flex-direction: row;
        gap: 14px;
        text-align: left;
        justify-content: flex-start;
        min-height: 56px;
        align-items: center;
    }

    .specialty-item i {
        font-size: 1.5rem;
        flex-shrink: 0;
        width: 32px;
        text-align: center;
    }

    .contact-item {
        padding: 18px;
        font-size: 0.9rem;
        flex-direction: row;
        gap: 14px;
        text-align: left;
        justify-content: flex-start;
        min-height: 56px;
        align-items: center;
    }

    .contact-icon-wrapper {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .contact-icon-wrapper i {
        font-size: 1.25rem;
    }

    .contact-text {
        font-size: 0.9rem;
        word-break: break-word;
        line-height: 1.5;
    }

    .code-background {
        font-size: 0.75rem;
    }
    
    .code-char {
        font-size: 0.65rem !important;
    }
}

/* Responsive - Móviles muy pequeños */
@media (max-width: 360px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        padding: 28px 14px;
        gap: 35px;
    }

    .left-section {
        gap: 28px;
    }

    .main-title {
        font-size: 1.7rem;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    .company-name {
        font-size: 0.9rem;
    }

    .subtitle {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }

    .slogan {
        padding: 14px 14px;
        font-size: 0.75rem;
    }

    .slogan i {
        font-size: 1.3rem;
    }

    .slogan span {
        font-size: 0.75rem;
    }

    .specialties-box,
    .contact-box {
        padding: 22px 16px;
    }

    .section-label {
        font-size: 1.15rem;
        margin-bottom: 18px;
    }

    .specialty-item,
    .contact-item {
        padding: 16px;
        font-size: 0.9rem;
        min-height: 54px;
    }

    .contact-icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .contact-icon-wrapper i {
        font-size: 1.15rem;
    }
}
