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

:root {
    /* colores */
    --primary-gradient: linear-gradient(135deg, #141f31 0%, #141f31 100%);
    --secondary-gradient: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --accent-gradient: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    --warm-gradient: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);

    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fa;

    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;

    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(0, 0, 0, 0.12);

    /* espaciado */
    --container-max: 1280px;
    --section-padding: 120px;
    --section-padding-mobile: 60px;

    /* transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Sora', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 48px);
    max-width: 1280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 16px 32px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(10%) sepia(25%) saturate(2000%) hue-rotate(195deg) brightness(95%) contrast(95%);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #141f31;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: #141f31;
}

.nav-link.active {
    background: #141f31;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-link.active:hover {
    background: #dc2626;
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.country-selector {
    position: relative;
    flex-shrink: 0;
}

.country-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid rgba(20, 31, 49, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    color: #141f31;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(20, 31, 49, 0.08);
}

.country-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(20, 31, 49, 0.12);
}

.country-toggle:focus-visible {
    outline: 2px solid rgba(20, 31, 49, 0.3);
    outline-offset: 2px;
}

.country-code {
    line-height: 1;
}

.country-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
}

.country-selector.open .country-chevron {
    transform: rotate(-135deg) translateY(-1px);
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(20, 31, 49, 0.08);
    box-shadow: 0 18px 45px rgba(20, 31, 49, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition-smooth);
}

.country-selector.open .country-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: #141f31;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.country-option:hover {
    background: rgba(20, 31, 49, 0.06);
}

.country-name {
    line-height: 1.2;
}

.flag-circle {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(20, 31, 49, 0.08);
}

.flag-cl {
    background: linear-gradient(to bottom, #ffffff 0 50%, #d52b1e 50% 100%);
}

.flag-cl::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background: #0039a6;
}

.flag-pe {
    background: linear-gradient(to right, #d91023 0 33.333%, #ffffff 33.333% 66.666%, #d91023 66.666% 100%);
}

/* botones */
.btn,
.navbar-btn,
.cta-btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background: #141f31;
    color: white;
    border-radius: 50px;
    padding: 12px 32px;
    box-shadow: 0 4px 20px rgba(20, 31, 49, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 31, 49, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

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

/* Sección Hero */
.hero {
    padding-top: 120px;
    padding-bottom: 0;
    position: relative;
    overflow: visible;
}

.hero-background-animation {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    background: transparent;
    overflow: visible;
}

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

.hero-content-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    color: #141f31;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    width: fit-content;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 48px;
    letter-spacing: 0.02em;
}

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

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/* Banner de Ancho Completo */
.hero-banner-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 500px;
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 80px;
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.banner-badge {
    position: absolute;
    bottom: 40px;
    left: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.openai-badge svg {
    color: #10a37f;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-1 {
    top: 60px;
    right: 60px;
    animation-delay: 0.5s;
}

.card-2 {
    top: 200px;
    right: 100px;
    animation-delay: 1s;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.card-label {
    font-size: 13px;
    color: var(--text-secondary);
}

@keyframes float {

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

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

/* Sección de Socios */
.partners {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    opacity: 0.4;
    transition: var(--transition-smooth);
    color: var(--text-primary);
}

.partner-logo:hover {
    opacity: 1;
}

/* header de seccion*/
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    color: #141f31;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #141f31 0%, #141f31 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 10px 0;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}



/* seccion de servicios */
.services {
    padding: var(--section-padding) 0;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(220, 225, 235, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 85% 50%, rgba(200, 210, 230, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.section-header-services {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.section-badge-services {
    display: inline-block;
    color: #141f31;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-badge-services::before {
    content: '❯ ';
    margin-right: 4px;
}

.section-title-services {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-primary);
    text-stroke: 2px var(--text-primary);
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.service-card-inner {
    padding: 40px 30px;
    position: relative;
    z-index: 1;
}

/* efecto hover */
.service-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* contenedor de icono */
.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
    color: #1a1a1a;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* animacion de icono - rotar y escalar al pasar el mouse */
.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    color: #141f31;
}

.service-card:hover .service-icon img {
    filter: brightness(0) saturate(100%) invert(44%) sepia(78%) saturate(3151%) hue-rotate(232deg) brightness(98%) contrast(92%);
}

.service-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-highlight {
    color: transparent;
    -webkit-text-stroke: 1px #141f31;
    text-stroke: 1px #141f31;
    display: inline-block;
    transition: all 0.4s ease;
}

.service-card:hover .service-highlight {
    color: #141f31;
    -webkit-text-stroke: 0px;
    text-stroke: 0px;
}

.service-description {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 24px;
}

.service-read-more {
    display: inline-block;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    background: #141f31;
    padding: 8px 16px;
    border-radius: 6px;
}

.service-read-more::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #141f31;
    transition: width 0.3s ease;
}

.service-card:hover .service-read-more {
    background: #0d1419;
    transform: translateX(4px);
}

/* gradiante de overlay */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

/* Sección de Características */
/* Sección Sobre Nosotros */
.about-us {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
}

.about-us-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.1fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.about-us-left {
    position: relative;
}

.about-us-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 56px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.tech-title-main {
    display: block;
    color: #141f31;
    font-weight: 800;
    margin-bottom: 4px;
}

.tech-title-sub {
    display: block;
    color: #141f31;
    font-weight: 800;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-item {
    padding: 12px 20px;
    background: #f3f4f6;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.tech-item:hover {
    background: #e5e7eb;
    transform: translateX(4px);
}

.tech-item.active {
    background: #141f31;
    color: white;
}

.about-us-middle {
    position: relative;
    background: #f8fafc;
    border-radius: 20px;
    padding: 48px 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tech-content.active {
    display: block;
}

.tech-content-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.tech-content-description {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #16a34a;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.faq-question {
    font-size: 15px;
    font-weight: 600;
    color: #141f31;
    margin-bottom: 8px;
    margin: 0 0 8px 0;
}

.faq-answer {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.about-us-right {
    position: relative;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image-logo {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.about-logo-image {
    width: 200px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.about-art-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

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

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

/* Sección de Testimonios */
.testimonials {
    padding: var(--section-padding) 0;
    background-color: #e8eaf0;
    background-image: url('/imagenes/fuyt1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Overlay opcional para mejorar la legibilidad del texto */
.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 0;
}

.testimonials-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Sección Izquierda */
.testimonials-left {
    position: relative;
}

.section-header-left {
    position: sticky;
    top: 120px;
}

.testimonials-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 48px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.testimonials-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-primary);
    text-stroke: 2px var(--text-primary);
    font-weight: 300;
}

.happy-customers {
    display: flex;
    align-items: center;
    gap: 20px;
}

.customers-avatars {
    display: flex;
    align-items: center;
}

.avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.avatar-circle.avatar-2 {
    margin-left: -20px;
}

.customers-info {
    display: flex;
    flex-direction: column;
}

.customers-count {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.customers-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Right Section */
.testimonials-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.testimonial-modern-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
}

.testimonial-modern-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 32px;
    font-weight: 500;
}

.testimonial-modern-author {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.author-modern-avatar {
    flex-shrink: 0;
}

.author-modern-info {
    flex: 1;
}

.author-modern-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-modern-role {
    font-size: 14px;
    color: #ef4444;
    font-weight: 500;
}

.testimonial-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: #1f2937;
    border-radius: 50px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Sección Cta*/
.cta {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sección de Vista Previa del Blog */
.blog-preview {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #141f31 0%, #141f31 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.blog-card-date {
    font-size: 13px;
    color: var(--text-muted);
}

.blog-card-link {
    font-size: 14px;
    font-weight: 600;
    color: #141f31;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.blog-card-link:hover {
    color: #141f31;
    transform: translateX(4px);
}

.blog-view-all {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .blog-preview {
        padding: var(--section-padding-mobile) 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Footer - diseño moderno */
.footer-modern {
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
    min-height: 400px;
}



.footer-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.footer-animation-bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.3) 0%, rgba(26, 26, 26, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.footer-modern-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 60px 60px 60px;
    position: relative;
    z-index: 2;
}

.footer-logo-modern {
    margin-bottom: 24px;
    text-align: center;
}

.footer-logo-modern img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 60px;
    max-width: 100%;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: flex-start;
    position: relative;
}

.footer-contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    width: 100%;
}

.footer-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-info-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-info-item:hover .footer-info-icon {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.footer-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-info-value {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.footer-info-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* Footer con formulario (versión para index) */
.footer-modern.footer-with-form .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.footer-modern.footer-with-form .footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-modern.footer-with-form .footer-heading {
    text-align: left;
    max-width: 600px;
}

.footer-modern.footer-with-form .footer-logo-modern {
    text-align: left;
}

.footer-modern.footer-with-form .footer-form-container {
    display: block;
    width: 100%;
    background: white;
    padding: 48px 40px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35),
                0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-modern.footer-with-form .footer-form-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.45),
                0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Footer sin formulario (predeterminado para servicios) */
.footer-form-container {
    display: none;
}

.footer-form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.footer-form-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

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

.footer-form-group {
    position: relative;
}
.footer-form-group input,
.footer-form-group textarea {
    width: 100%;
    padding: 16px 48px 16px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    color: var(--text-primary);
    background: white;
    transition: all 0.3s ease;
}

.footer-form-group input:focus,
.footer-form-group textarea:focus {
    outline: none;
    border-color: #141f31;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.footer-form-group input::placeholder,
.footer-form-group textarea::placeholder {
    color: #9ca3af;
}

.footer-form-group textarea {
    resize: vertical;
    min-height: 100px;
    padding-top: 16px;
}

.footer-input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    transition: color 0.3s ease;
}

.footer-textarea-icon {
    top: 20px;
    transform: none;
}

.footer-form-group input:focus~.footer-input-icon,
.footer-form-group textarea:focus~.footer-input-icon {
    color: #141f31;
}
.footer-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.footer-submit-btn:hover {
    background: #2d2d2d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.footer-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Mensajes de respuesta del formulario */
.footer-form-response {
    padding: 14px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.footer-form-response p {
    margin: 0;
}

.footer-form-response.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.footer-form-response.error {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

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

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 56px;
    height: 56px;
    background: #141f31;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    background: #141f31;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.5);
}

.scroll-to-top span {
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Footer responsivo*/
@media (max-width: 1024px) {
    .footer-modern-wrapper {
        padding: 60px 40px;
    }

    .footer-contact-info {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-heading {
        font-size: 32px;
    }

    .footer-modern.footer-with-form .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .footer-modern-wrapper {
        padding: 40px 24px;
    }

    .footer-heading {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .footer-contact-info {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-modern.footer-with-form .footer-content {
        gap: 48px;
    }

    .footer-modern.footer-with-form .footer-form-container {
        padding: 32px 24px;
    }

    .footer-modern.footer-with-form .footer-form-title {
        font-size: 24px;
    }

    .scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 24px;
        right: 24px;
    }
}


/* Animaciones de revelado al hacer scroll*/
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Diferentes estilos de animación para variedad */
.service-card.scroll-reveal {
    transform: translateY(60px) scale(0.95);
}

.service-card.scroll-reveal.animated {
    transform: translateY(0) scale(1);
}

.testimonial-modern-card.scroll-reveal {
    transform: translateY(40px);
}

.benefit-card.scroll-reveal {
    transform: translateY(50px);
    transition-duration: 0.7s;
}

.section-title.scroll-reveal {
    transform: translateY(30px);
    transition-duration: 0.9s;
}

.hero-title.scroll-reveal,
.about-us-title.scroll-reveal,
.service-banner-title.scroll-reveal {
    transform: translateY(40px);
    transition-duration: 1s;
}

/* diseño responsivo */
@media (max-width: 1024px) {

    .header {
        padding: 14px 24px;
    }

    .btn-primary {
        padding: 10px 24px;
        font-size: 14px;
    }

    .hero-content-top,
    .features-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-title {
        font-size: 48px;
    }

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-banner-wrapper {
        height: 400px;
    }

    /* testimonios */
    .testimonials-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .section-header-left {
        position: relative;
        top: 0;
    }

    .testimonials-title {
        font-size: 42px;
    }

    /* About Us responsivo*/
    .about-us-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-us-left {
        position: relative;
        top: 0;
    }

    .about-us-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .header {
        top: 10px;
        width: calc(100% - 24px);
        padding: 10px 16px;
        border-radius: 50px;
    }

    .nav {
        gap: 12px;
    }

    .logo {
        font-size: 16px;
    }

    .logo img {
        height: 32px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(20, 31, 49, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu.active .nav-link {
        color: #ffffff;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }

    .nav-menu.active .nav-link.active {
        background: #64748b;
        color: white;
        border-radius: 8px;
    }

    .btn-primary {
        display: none;
        padding: 8px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    .country-toggle {
        min-height: 42px;
        padding: 8px 14px;
    }

    .country-dropdown {
        right: 0;
        min-width: 170px;
    }

    .nav-menu.active .btn-primary {
        display: block;
        background: #141f31;
        color: white;
        border: none;
        padding: 12px 20px;
        margin: 12px 20px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        width: calc(100% - 40px);
        text-align: center;
        cursor: pointer;
    }

    .nav-menu.active .btn-primary:hover {
        background: #1f2937;
        transform: translateY(-2px);
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .country-selector {
        order: 2;
    }

    .header .btn {
        order: 2;
    }

    .hero {
        padding: 140px 0 0;
    }

    .hero-background-animation {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

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

    .cta-title {
        font-size: 36px;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn,
    .cta-btn,
    .navbar-btn {
        display: block;
        width: 100%;
        justify-content: center;
    }

    .floating-card {
        display: none;
    }

    .hero-banner-wrapper {
        height: 300px;
        border-radius: 16px;
    }

    .banner-badge {
        bottom: 20px;
        left: 20px;
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Services */
    .section-title-services {
        font-size: 32px;
    }

    .service-card {
        margin-bottom: 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-title {
        font-size: 24px;
    }

    /* testimonios */
    .testimonials-title {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .testimonial-modern-card {
        padding: 28px;
    }

    .testimonial-modern-text {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .testimonial-stars {
        position: static;
        transform: none;
        margin-top: 16px;
        width: fit-content;
    }

    .happy-customers {
        flex-direction: column;
        align-items: flex-start;
    }

    /* About Us Mobile */
    .about-us-title {
        font-size: 32px;
    }

    .about-tabs {
        gap: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .about-tab {
        font-size: 14px;
        white-space: nowrap;
        padding: 12px 0;
    }

    .about-description {
        font-size: 15px;
    }

    .about-contact-btn {
        font-size: 13px;
        padding: 10px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-primary);
}

/* Service Pages Styles - XY Marketing Style */
/* Service Pages Styles - XY Marketing Style */
/* Service Banner */
.service-banner {
    position: relative;
    height: 400px;
    background-image: url('imagenes/callcenter.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.service-banner.banner-prospeccion {
    background-image: url('imagenes/pdeclientes.jpg');
}

.service-banner.banner-basesdatos {
    background-image: url('imagenes/bd.jpg');
}

.service-banner.banner-geomarketing {
    background-image: url('imagenes/geomarketing.jpg');
}

.service-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.service-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.service-banner-title {
    font-size: 64px;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    margin: 0;
    animation: fadeInUp 0.8s ease;
}

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

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

.service-page-header {
    padding: 140px 0 60px;
    background: var(--bg-primary);
    text-align: center;
}

.service-page-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
}

.service-content {
    padding: 60px 0;
    background: var(--bg-primary);
}

.service-main-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Service Video Section */
.service-video-container {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
    padding: 0 20px;
}

.service-video-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.service-intro {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 32px;
    font-weight: 500;
}

.service-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.service-benefits {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.service-benefits .section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--border-color-hover);
}

.benefit-icon {
    margin: 0 auto 32px;
    width: fit-content;
}

.benefit-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.benefit-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.service-contact {
    padding: 80px 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #141f31;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    color: #4f46e5;
    gap: 16px;
}

.contact-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* Service Form Styles */
.service-form {
    padding: 80px 0;
    background: #1a1a1a;
    position: relative;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 32px;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 12px;
}

.form-subtitle {
    font-size: 16px;
    color: #cbd5e1;
    text-align: center;
    margin-bottom: 40px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: white;
    display: none;
    /* Hidden as per XY design */
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 1px solid #404040;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    color: white;
    background: #2a2a2a;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #141f31;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #cbd5e1;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234a5568' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

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

.form-submit {
    width: fit-content;
    margin: 8px 0 0 0;
    padding: 16px 40px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-submit svg {
    stroke: white;
}

/* Mensajes de respuesta del formulario de servicios */
.form-response {
    padding: 14px 16px;
    border-radius: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.form-response p {
    margin: 0;
}

.form-response.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-response.error {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

/* Responsive for Service Pages */
@media (max-width: 1024px) {
    .service-banner {
        height: 350px;
        margin-top: 70px;
    }

    .service-banner-title {
        font-size: 52px;
    }

    .service-page-title {
        font-size: 44px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .service-banner {
        height: 300px;
        margin-top: 60px;
    }

    .service-banner-title {
        font-size: 36px;
        padding: 0 20px;
    }

    .service-page-header {
        padding: 120px 0 40px;
    }

    .service-page-title {
        font-size: 36px;
    }

    .service-intro {
        font-size: 18px;
    }

    .service-description {
        font-size: 16px;
    }

    .benefit-card {
        padding: 32px 24px;
    }

    .contact-item {
        padding: 32px 24px;
    }

    .form-wrapper {
        padding: 40px 24px;
    }

    .form-title {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Carousel Sections */
.clients-carousel,
.press-carousel {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.press-carousel {
    background: #f8fafc;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    margin-top: 48px;
    position: relative;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 32px;
    animation: carousel-scroll 30s linear infinite;
    padding: 24px 0;
    background: transparent;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 16px));
    }
}

.carousel-item {
    flex: 0 0 calc(16.666% - 26.67px);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-4px);
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(25% - 24px);
    }
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 21.33px);
    }

    .carousel-track {
        gap: 24px;
        padding: 16px 0;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 calc(50% - 16px);
        min-height: 100px;
    }

    .carousel-track {
        gap: 16px;
        padding: 12px 0;
    }
}

@media (max-width: 1060px) {
    .navbar-btn {
        display: none;
    }
}
/* WhatsApp Floating Button Styles */
.whatsapp-float-label {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 12px 16px 12px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    font-weight: 500;
    font-size: 14px;
}

.whatsapp-float-label:hover {
    background: #20ba5a;
    transform: translateX(-5px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-label {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .whatsapp-float-label {
        bottom: 20px;
        right: 20px;
        padding: 10px 14px 10px 10px;
        font-size: 13px;
    }
    
    .whatsapp-label {
        display: none;
    }
}