/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    /* Paleta de colores corporativos PARAMEX */
    --primary-color: #254439; /* Verde Musgo Principal - Pantone 560 C */
    --primary-dark: #1a2f26; /* Verde Musgo más oscuro */
    --primary-light: #6b8a71; /* Verde Pálido Complementario - Pantone 5625 C */
    --secondary-color: #6b8a71; /* Verde Pálido Complementario */
    --accent-color: #a8b8aa; /* Gris Claro Complementario */
    --dark-bg: #1a1a1a; /* Negro 97 Principal */
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #4CAF50;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
    /* Tipografías corporativas */
    --font-title: 'Montserrat', sans-serif; /* Para títulos - usando Montserrat como alternativa a Changeling Neo */
    --font-subtitle: 'Montserrat', sans-serif; /* Para subtítulos - usando Montserrat como alternativa a Artford */
    --font-main: 'Montserrat', sans-serif; /* Para texto corrido - Montserrat */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===========================
   Container & Utilities
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Override inline styles for mobile */
    section[style*="padding"] {
        padding: 48px 0 !important;
    }
    
    h2[style*="font-size: 36px"],
    h2[style*="font-size: 32px"] {
        font-size: 28px !important;
    }
    
    p[style*="font-size: 18px"] {
        font-size: 16px !important;
    }
    
    div[style*="max-width: 800px"],
    div[style*="max-width: 900px"] {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--text-light);
    border-color: var(--primary-dark);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.btn-white {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

.btn-white:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    padding: 8px 0;
}

/* ===========================
   Header & Navigation
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 16px 0;
}

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

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-link-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.nav-link-cta:hover {
    background-color: var(--primary-dark);
    color: white !important;
}

.nav-link-cta::after {
    display: none;
}

.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
    z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 24px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background-color: #f5f7f5;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-cta {
        flex-direction: column;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
    }
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f5f7f5 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(138, 161, 95, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.hero-features li {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
}

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

.hero-illustration {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.hero-illustration svg {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

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

@media (max-width: 968px) {
    .hero {
        padding: 100px 0 60px;
    }

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

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

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

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ===========================
   Trust Section
   =========================== */
.trust-section {
    padding: 60px 0;
    background-color: #fafafa;
    text-align: center;
}

.trust-text {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-logo {
    opacity: 0.6;
    transition: var(--transition);
}

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

.placeholder-logo {
    padding: 20px 40px;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-gray);
}

/* ===========================
   Why Section
   =========================== */
.why-section {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.benefit-card {
    padding: 40px 32px;
    background-color: #fafafa;
    border-radius: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background-color: white;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    border-radius: 12px;
    margin-bottom: 24px;
}

.benefit-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

@media (max-width: 968px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

/* ===========================
   Stats Section
   =========================== */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
}

.stats-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.stats-subtitle {
    font-size: 16px;
    text-align: center;
    opacity: 0.9;
    margin-bottom: 60px;
}

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

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-detail {
    font-size: 13px;
    opacity: 0.8;
}

@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Services Preview Section
   =========================== */
.services-preview {
    padding: 100px 0;
    background-color: white;
}

.services-showcase {
    margin: 60px 0;
}

.dashboard-mockup {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.mockup-header {
    padding: 16px 20px;
    background-color: #f5f5f5;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

.mockup-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 400px;
}

.mockup-sidebar {
    background-color: #fafafa;
    padding: 24px 0;
    border-right: 1px solid var(--border-color);
}

.mockup-menu-item {
    padding: 12px 24px;
    font-size: 14px;
    color: var(--text-gray);
    transition: var(--transition);
    cursor: pointer;
}

.mockup-menu-item.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
}

.mockup-main {
    padding: 40px;
}

.mockup-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mockup-stat h4 {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
    font-weight: 500;
}

.mockup-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

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

@media (max-width: 768px) {
    .mockup-content {
        grid-template-columns: 1fr;
    }

    .mockup-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .mockup-card {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
}

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

.cta-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 32px;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-contact li {
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.7;
}

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

.footer-legal a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

/* ===========================
   WhatsApp Floating Button
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
}

/* ===========================
   Form Styles
   =========================== */
.form-group {
    margin-bottom: 24px;
}

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
    background-color: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 95, 127, 0.1);
}

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

.form-error {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 4px;
}

/* ===========================
   Utility Classes
   =========================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ===========================
   Mobile Overrides
   =========================== */
@media (max-width: 576px) {
    .hero-title {
        font-size: 36px !important;
    }
    
    .section-title {
        font-size: 28px !important;
    }
    
    .benefit-title,
    .service-title {
        font-size: 20px !important;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .form-container {
        padding: 24px 20px !important;
    }
    
    .contact-info-card {
        padding: 20px !important;
    }
}


