/* ===== VARIABLES Y ESTILOS BASE ===== */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #20c997;
    --orange-color: #f58220;
    --text-blue: #1e3a5f;
    --dark-color: #212529;
    --darker-color: #1a1e21;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
header {
    background-color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header.scrolled {
    padding: 5px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-floating-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--darker-color);
    padding: 30px 0;
}

.bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-weight: 500;
}

.bar-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.bar-divider {
    width: 1px;
    height: 30px;
    background-color: rgba(255,255,255,0.2);
}

/* ===== SECTIONS GENERAL ===== */
section {
    padding: 100px 0;
}

.section-title {
    text-align: left;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title h2 span {
    font-weight: 700;
    color: var(--text-blue);
}

.section-title-left {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title-left span {
    font-weight: 700;
    color: var(--text-blue);
}

.section-title-left::after {
    display: none;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--gray-color);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: linear-gradient(rgba(248, 249, 250, 0.8), rgba(248, 249, 250, 0.8)), url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 4px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--text-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--text-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.card-line {
    width: 100%;
    height: 1px;
    background-color: #eee;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* ===== HOW WE WORK SECTION ===== */
.how-we-work {
    background-color: #fff;
    overflow: hidden;
}

.how-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.process-container {
    position: relative;
    padding: 60px 0;
}

.process-line {
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-blue);
    z-index: 1;
    opacity: 0.3;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 5px;
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background-color: var(--text-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 8px #fff;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-blue);
    font-weight: 600;
    line-height: 1.2;
}

.how-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== WHY US SECTION ===== */
.why-us {
    background: linear-gradient(rgba(248, 249, 250, 0.85), rgba(248, 249, 250, 0.85)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.why-agenda-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-list {
    list-style: none;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-blue);
}

.why-list li i {
    color: var(--orange-color);
    font-size: 1.3rem;
}

.agenda-box {
    text-align: center;
    color: var(--text-blue);
}

.agenda-box h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.agenda-line {
    width: 60%;
    height: 1px;
    background-color: rgba(30, 58, 95, 0.2);
    margin: 0 auto 20px;
}

.agenda-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.agenda-button {
    background-color: var(--orange-color);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.agenda-button:hover {
    background-color: #e67610;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 130, 32, 0.3);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--darker-color);
    color: #fff;
    padding: 80px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-info i {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .about-grid, .how-grid, .why-grid, .why-agenda-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-floating-bar {
        position: static;
        margin-top: 50px;
    }
    .bar-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
}
