/* ===================================
   VARIABLES Y RESET
   =================================== */
:root {
    --primary-color: #0511F2;
    --primary-dark: #0540F2;
    --secondary-color: #5079F2;
    --accent-color: #91A0F2;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #F2F2F2;
    --bg-dark: #0511F2;
    --border-color: #e5e7eb;
    --border-dark: #d1d5db;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --max-width: 1440px;
    --section-padding: 120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===================================
   KEYFRAME ANIMATIONS
   =================================== */
@keyframes slideUpReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===================================
   UTILIDADES
   =================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 1440px) {
    .container {
        padding: 0 60px;
    }
}

@media (max-width: 968px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.gradient-text::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    opacity: 0.3;
    z-index: -1;
}

.gradient-text.highlight-animate::before {
    animation: highlightReveal 1.2s ease 0.5s forwards;
}

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

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    opacity: 0;
}

.section-header h2.animate-in {
    animation: slideUpReveal 0.8s ease forwards;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0;
}

.section-header p.animate-in {
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* ===================================
   BOTONES
   =================================== */
.btn {
    display: inline-block;
    padding: 18px 48px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    cursor: pointer;
    pointer-events: auto;
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: white;
}

.btn-cta {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
}

.btn-cta:hover {
    background: var(--primary-dark);
}

/* ===================================
   HEADER Y NAVEGACIÓN
   =================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.navbar {
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo-image {
    height: 64px;
    width: auto;
    transition: var(--transition);
}

/* Logo blanco cuando el menú está activo */
body.menu-active .logo-image {
    filter: brightness(0) invert(1);
}

.logo:hover {
    opacity: 0.8;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.logo:hover h1 {
    opacity: 0.8;
}

/* Menu Toggle Button */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    transform-origin: center;
}

.menu-toggle:hover span {
    background: var(--primary-color);
}

/* Animación del hamburguesa a X */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: white;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: white;
}

/* Full Screen Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-color);
    z-index: 1001;
    display: flex;
    align-items: center;
    padding: 80px 60px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 40px 0;
}

.menu-top {
    opacity: 0;
}

.menu-overlay.active .menu-top {
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.menu-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
}

.menu-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.nav-links li {
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.menu-overlay.active .nav-links li {
    animation: slideUpReveal 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.15s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.25s; }
.nav-links li:nth-child(4) { animation-delay: 0.3s; }
.nav-links li:nth-child(5) { animation-delay: 0.35s; }

.nav-links a {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
}

.nav-links a::before {
    content: attr(data-index);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.nav-links a:hover {
    color: var(--accent-color);
    letter-spacing: 0.02em;
}

.menu-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 40px;
    opacity: 0;
}

.menu-overlay.active .menu-footer {
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.menu-footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.menu-services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-tag {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.menu-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.menu-email {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    transition: var(--transition);
}

.menu-email:hover {
    color: var(--accent-color);
}

.menu-social {
    display: flex;
    gap: 20px;
}

.menu-social a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-social a svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.menu-social a:hover {
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: 120px 0 175px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: none;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 32px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-title.animate-in {
    animation: slideUpReveal 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-subtitle.animate-in {
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
    z-index: 10;
}

.hero-cta a {
    position: relative;
    z-index: 10;
}

.hero-cta.animate-in {
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-image.animate-in {
    animation: smoothScaleIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.floating-card {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.92);
}

.hero-image.animate-in .floating-card {
    animation: float 6s ease-in-out 1.5s infinite, cardFadeIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.hero-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    z-index: 2;
    transform: scale(2.50);
    filter: drop-shadow(0 15px 50px rgba(0, 0, 0, 0.3)) 
            drop-shadow(0 05px 30px rgba(0, 0, 0, 0.2));
    opacity: 0;
}

.hero-image.animate-in .hero-card-image {
    animation: imageFadeIn 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    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);
    }
}

@keyframes highlightReveal {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes smoothScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(15px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes imageFadeIn {
    0% {
        opacity: 0;
        transform: scale(2.44) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: scale(2.50) translateY(0);
    }
}

/* ===================================
   SERVICES OFFERING SECTION
   =================================== */
.services-offering {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.services-offering::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 160px);
    height: 1px;
    background: var(--border-color);
}

.services-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.services-hero {
    position: sticky;
    top: 120px;
}

.services-hero .section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.services-hero h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-offering-item {
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
}

.service-offering-item.animate-in {
    animation: slideUpReveal 0.8s ease forwards;
}

.service-offering-item:last-child {
    border-bottom: none;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.service-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.service-title-group {
    flex: 1;
}

.service-offering-item .service-number {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    position: static;
}

.service-offering-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.service-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 90%;
}

.service-includes {
    padding-left: 88px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.service-includes h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.service-includes li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
    display: block;
}

.service-includes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

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

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 160px);
    height: 1px;
    background: var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    background: transparent;
    border: none;
}

.service-card {
    padding: 60px;
    background: white;
    border: none;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.service-card:hover::before {
    width: 100%;
}

.service-card.animated {
    animation: fadeInUp 0.8s ease forwards;
}

.service-card:hover {
    background: var(--bg-secondary);
    transform: translateY(-4px);
}

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

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.0625rem;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 160px);
    height: 1px;
    background: var(--border-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.portfolio-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image::after {
    background: rgba(0, 0, 0, 0.1);
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 32px;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.portfolio-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.0625rem;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: 80px 0;
    background: white;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 160px);
    height: 1px;
    background: var(--border-color);
}

.process-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.process-hero {
    position: sticky;
    top: 120px;
}

.process-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    display: block;
}

.process-hero h2 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.process-list {
    display: flex;
    flex-direction: column;
}

.process-item {
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
}

.process-item:last-child {
    border-bottom: none;
}

.process-item.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.process-item.animate-in:nth-child(1) { animation-delay: 0.1s; }
.process-item.animate-in:nth-child(2) { animation-delay: 0.2s; }
.process-item.animate-in:nth-child(3) { animation-delay: 0.3s; }
.process-item.animate-in:nth-child(4) { animation-delay: 0.4s; }

.process-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    display: block;
}

.process-item h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.process-item p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   CLIENTS SECTION
   =================================== */
.clients {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 160px);
    height: 1px;
    background: var(--border-dark);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    background: transparent;
    border: none;
}

.client-item {
    background: white;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: var(--transition);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.client-item:hover {
    background: var(--bg-secondary);
}

.client-logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 160px);
    height: 1px;
    background: var(--border-dark);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: none;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

.contact-form button {
    width: 100%;
    margin-top: 8px;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, #0511F2 0%, #0540F2 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 10;
    opacity: 0;
}

.cta-title.animate-in {
    animation: slideUpReveal 0.8s ease forwards;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
}

.cta-subtitle.animate-in {
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    padding: 18px 48px;
    font-size: 1.0625rem;
    transition: var(--transition);
    opacity: 0;
}

.btn-white.animate-in {
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.btn-white:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 72px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(5, 17, 242, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    cursor: pointer;
    border: 3px solid white;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: pulseButton 2s ease-in-out infinite;
}

@keyframes pulseButton {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(5, 17, 242, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 8px 40px rgba(5, 17, 242, 0.5), 0 2px 12px rgba(0, 0, 0, 0.15);
    }
}

.scroll-to-top:hover {
    transform: translateX(-50%) translateY(-6px) scale(1.1);
    background: var(--primary-dark);
    box-shadow: 0 16px 48px rgba(5, 17, 242, 0.4), 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: none;
}

.scroll-to-top:active {
    transform: translateX(-50%) translateY(-3px) scale(1.05);
}

.scroll-to-top svg {
    width: 32px;
    height: 32px;
    stroke-width: 3;
}

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #20BA5A;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 24px;
        right: 24px;
        width: 56px;
        height: 56px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-float:active {
        transform: scale(0.95);
    }
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 24px;
        width: 60px;
        height: 60px;
        border-width: 2px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .scroll-to-top svg {
        width: 26px;
        height: 26px;
    }
    
    .scroll-to-top:active {
        transform: translateX(-50%) scale(0.95);
        background: var(--primary-dark);
    }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 80px 0 40px;
    border-top: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand h2 {
    display: none;
}

.footer-brand .footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1.0625rem;
}

.footer-cta {
    text-align: right;
}

.footer-cta-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.4;
}

.footer .btn-primary {
    background: white;
    color: var(--primary-color);
}

.footer .btn-primary:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.social-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 968px) {
    .hero .container,
    .about-content,
    .footer-content,
    .process-content {
        grid-template-columns: 1fr;
    }

    .process-hero {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

    .process-hero h2 {
        font-size: 2.5rem;
    }

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

    .hero-image {
        height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    :root {
        --section-padding: 80px;
    }

    .hero {
        padding: 160px 0 80px;
    }

    .hero .container,
    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-image {
        height: 400px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-section {
        padding: 80px 0;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-hero {
        position: relative;
        top: 0;
    }
    
    .services-hero h2 {
        font-size: 2.5rem;
    }
    
    .service-offering-item {
        padding: 48px 0;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .service-includes {
        padding-left: 0;
    }
    
    .service-includes ul {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

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

@media (max-width: 768px) {
    .menu-overlay {
        padding: 100px 30px 40px;
    }

    .nav-links a {
        font-size: 2.5rem;
    }

    .menu-secondary h3 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .services,
    .portfolio,
    .about,
    .contact {
        padding: 60px 0;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }

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

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

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

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

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .nav-links a {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.0625rem;
    }

    .cta-section {
        padding: 60px 0;
    }

    .menu-overlay {
        padding: 80px 20px 30px;
    }

    .process-item {
        padding: 40px;
        min-height: 260px;
    }
}
