/* ========================================
   GC Group - Landing Page Styles
   Modern Enterprise Aesthetic
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    /* Colors - Modern Enterprise Palette */
    --color-primary: #0891B2;
    --color-primary-dark: #0E7490;
    --color-primary-light: #22D3EE;
    --color-accent: #06B6D4;

    /* Neutrals */
    --color-dark: #1E293B;
    --color-charcoal: #334155;
    --color-gray-700: #475569;
    --color-gray-600: #64748B;
    --color-gray-500: #94A3B8;
    --color-gray-400: #CBD5E1;
    --color-gray-300: #E2E8F0;
    --color-gray-200: #F1F5F9;
    --color-gray-100: #F8FAFC;
    --color-white: #FFFFFF;

    /* Backgrounds */
    --bg-dark: #1E293B;
    --bg-charcoal: #2D3A4F;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(8, 145, 178, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-header--center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    max-width: 600px;
}

.section-header--center .section-subtitle {
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

.btn--secondary {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-gray-300);
}

.btn--secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn--large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* ---------- Header / Navigation ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.6rem 0; /* antes 1rem */
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.4rem 0; /* antes 0.75rem */
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
}

.nav__logo-img {
    height: 86px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.nav__logo-text {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

/* Show text fallback when image fails */
.nav__logo-img:not([src]) + .nav__logo-text,
.nav__logo-img[src=""] + .nav__logo-text {
    display: flex;
}

.logo-gc {
    color: var(--color-primary);
}

.logo-group {
    color: var(--color-white);
}

.header.scrolled .logo-gc {
    color: var(--color-primary);
}

.header.scrolled .logo-group {
    color: var(--color-dark);
}

.footer__logo .logo-gc {
    color: var(--color-primary);
}

.footer__logo .logo-group {
    color: var(--color-white);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-200);
    position: relative;
}

.header.scrolled .nav__link {
    color: var(--color-gray-700);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link--cta {
    padding: 0.625rem 1.25rem;
    background: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: var(--radius-md);
}

.nav__link--cta::after {
    display: none;
}

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

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    position: relative;
    transition: var(--transition-base);
}

.header.scrolled .hamburger {
    background: var(--color-dark);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: inherit;
    transition: var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-charcoal) 100%);
    padding-top: 5rem;
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(8, 145, 178, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero__badge {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary-light);
    padding: 0.5rem 1rem;
    background: rgba(8, 145, 178, 0.15);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.hero__title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--color-gray-400);
    margin-bottom: var(--space-lg);
    max-width: 520px;
}

.hero__buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero__buttons .btn--secondary {
    color: var(--color-gray-300);
    border-color: var(--color-gray-600);
}

.hero__buttons .btn--secondary:hover {
    color: var(--color-primary-light);
    border-color: var(--color-primary);
}

/* Hero Visual / Graphics */
.hero__visual {
    position: relative;
    height: 500px;
}

.hero__graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-sm);
}

.card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-white);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 28%;
    right: 5%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: -4s;
}

.card-4 {
    bottom: 35%;
    right: 15%;
    animation-delay: -1s;
}

.hero__circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(8, 145, 178, 0.2);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
    animation-delay: -1s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(8, 145, 178, 0.3) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    animation-delay: -2s;
}

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

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

/* Hero Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray-500);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-gray-600);
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 20px; opacity: 0.5; }
}

/* ---------- About Section ---------- */
.about {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(8, 145, 178, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about__content {
    max-width: 540px;
}

.about__text {
    color: var(--color-gray-600);
    margin-bottom: var(--space-sm);
}

.about__text:last-of-type {
    margin-bottom: var(--space-lg);
}

.about__stats {
    display: flex;
    gap: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-300);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat__number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat__label {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-top: 0.25rem;
}

.about__visual {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about__card {
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.about__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.about__card-icon svg {
    stroke: var(--color-primary);
}

.about__card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.about__card p {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin-bottom: 0;
}

/* ---------- Services Section ---------- */
.services {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--color-gray-200) 0%, var(--color-gray-100) 50%, var(--bg-white) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 60%;
    background: radial-gradient(ellipse at bottom left, rgba(8, 145, 178, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.service-card {
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-300);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    transition: var(--transition-slow);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

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

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.service-card__icon svg {
    stroke: var(--color-primary);
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card__text {
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-700);
}

.service-card__features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Service card subsections */
.service-card__subsections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.service-card__subsection {
    padding-top: var(--space-sm);
}

.service-card__subtitle {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(8, 145, 178, 0.2);
}

.service-card--expanded .service-card__text {
    margin-bottom: var(--space-sm);
}

@media (max-width: 480px) {
    .service-card__subsections {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

/* ---------- Clients Section ---------- */
.clients {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--color-gray-100) 100%);
    position: relative;
    overflow: hidden;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gray-300), transparent);
}

.clients .section-header {
    margin-bottom: var(--space-xl);
}

.clients__carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients__track {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    width: max-content;
    animation: scrollLogos 25s linear infinite;
}

.clients__logo {
    flex-shrink: 0;
    width: 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-base);
}

.clients__logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.clients__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Client placeholder styling */
.client-placeholder {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    color: var(--color-gray-500);
    transition: var(--transition-base);
}

.client-placeholder svg {
    stroke: var(--color-gray-400);
    transition: var(--transition-base);
}

.client-placeholder span {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.clients__logo:hover .client-placeholder {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.clients__logo:hover .client-placeholder svg {
    stroke: var(--color-primary);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.clients__carousel:hover .clients__track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .clients__track {
        gap: var(--space-xl);
    }

    .clients__logo {
        width: 120px;
        height: 45px;
    }
}

/* ---------- Why Us Section ---------- */
.why-us {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-charcoal) 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.why-us .section-label {
    color: var(--color-primary-light);
}

.why-us .section-title {
    color: var(--color-white);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.why-card {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(8, 145, 178, 0.3);
    transform: translateY(-4px);
}

.why-card__number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.why-card__title {
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.why-card__text {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    margin-bottom: 0;
}

/* ---------- Process Section ---------- */
.process {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(8, 145, 178, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.process__timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
}

.process__timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
        var(--color-primary) 0%,
        var(--color-primary-light) 50%,
        var(--color-primary) 100%);
    opacity: 0.3;
}

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

.process-step__marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.process-step:hover .process-step__marker {
    background: var(--color-primary);
    transform: scale(1.1);
}

.process-step__marker span {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.process-step:hover .process-step__marker span {
    color: var(--color-white);
}

.process-step__title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.process-step__text {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin-bottom: 0;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- CTA Section ---------- */
.cta {
    position: relative;
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    overflow: hidden;
}

.cta__bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta__circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta__circle--1 {
    width: 500px;
    height: 500px;
    top: -250px;
    right: -100px;
}

.cta__circle--2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
}

.cta__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta__title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta__title .gradient-text {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta__text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
}

.cta .btn--primary {
    background: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta .btn--primary:hover {
    background: var(--color-gray-100);
}

/* ---------- Footer ---------- */
.footer {
    padding: var(--space-3xl) 0 var(--space-lg);
    background: var(--bg-dark);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.footer__logo-img {
    height: 76px;
    width: auto;
    object-fit: contain;
}

.footer__logo-text {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

/* Show text fallback when image fails */
.footer__logo-img:not([src]) + .footer__logo-text,
.footer__logo-img[src=""] + .footer__logo-text {
    display: flex;
}

.footer__tagline {
    color: var(--color-gray-500);
    max-width: 300px;
    margin-bottom: 0;
}

.footer__contact h4,
.footer__links h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray-400);
    font-size: 0.9375rem;
}

.footer__list li svg {
    stroke: var(--color-primary);
    flex-shrink: 0;
}

.footer__list a {
    color: var(--color-gray-400);
}

.footer__list a:hover {
    color: var(--color-primary-light);
}

.footer__bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

.footer__bottom p {
    color: var(--color-gray-600);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Intersection Observer Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__visual {
        display: none;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about__content {
        max-width: none;
    }

    .about__visual {
        flex-direction: row;
    }

    .about__card {
        flex: 1;
    }

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

    .why-us__grid {
        grid-template-columns: 1fr;
    }

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

    .process__timeline::before {
        display: none;
    }

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

    .footer__brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        background: var(--bg-dark);
        transition: var(--transition-slow);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__menu .nav__link {
        color: var(--color-gray-300);
        font-size: 1.125rem;
    }

    .nav__toggle {
        display: block;
        z-index: 1001;
    }

    .nav__toggle.active .hamburger {
        background: transparent;
    }

    .nav__toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav__toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero__scroll {
        display: none;
    }

    .about__visual {
        flex-direction: column;
    }

    .about__stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .process__timeline {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .process-step {
        display: flex;
        gap: var(--space-md);
        text-align: left;
    }

    .process-step__marker {
        margin: 0;
        flex-shrink: 0;
        width: 56px;
        height: 56px;
    }

    .process-step__content {
        flex: 1;
    }

    .process-step__text {
        max-width: none;
        margin: 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer__brand {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .btn--large {
        padding: 0.875rem 1.5rem;
    }
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 6.5rem;   /* 👈 Subimos el botón */
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4),
                0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:active {
    transform: scale(1.05);
}

.whatsapp-float svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
    }

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

/* ---------- Print Styles ---------- */
@media print {
    .header,
    .hero__visual,
    .hero__scroll,
    .cta,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    h1, h2, h3 {
        color: #000;
    }
}
/* ---------- Scroll To Top Button ---------- */
.scroll-top {
    position: fixed;
    bottom: 2rem; /* 👈 más arriba que WhatsApp */
    right: 2rem;    /* 👈 misma alineación que WhatsApp */
    z-index: 998;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;

    background: var(--color-primary);
    border-radius: 50%;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.4);

    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-top:hover {
    transform: scale(1.1);
    background: var(--color-primary-dark);
}

/* Visible when scrolling */
.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

