:root {
    --bg-color: #ffffff;
    --text-color: #002d5a;
    /* Navy focus */
    --text-muted: #64748b;
    --primary: #003865;
    /* Navy Blue from Logo */
    --primary-dark: #002142;
    --accent: #f58220;
    /* Orange from Logo */
    --accent-bg: #fff7ed;
    /* Light Orange secondary */
    --accent-text: #ea580c;
    --dark-btn: #003865;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;

    --transition-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    line-height: 1.2;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: #fff;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #000;
}

.logo-badge {
    background: #0f172a;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 900;
}

.logo .highlight {
    color: var(--accent);
}

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

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links i,
.nav-links svg {
    display: none !important;
    /* Totalmente ocultos en escritorio */
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-contact-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone {
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 0.95rem;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: #334155;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid #e5e7eb;
}

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-bg);
    color: var(--accent-text);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.tagline,
.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tagline {
    background: var(--accent-bg);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--primary-dark);
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-highlight {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.features-list {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--accent);
}

/* Hero Image */
.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
    /* Placeholder height */
    background: #f3f4f6;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.exp-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.exp-text h4 {
    font-size: 1.25rem;
    color: var(--text-color);
}

.exp-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* About Section */
.section {
    padding: 6rem 0;
}

.about-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 40px 0 40px 0;
    /* Asymmetric radius for style */
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-icon-bg {
    width: 48px;
    height: 48px;
    background: var(--accent-bg);
    border-radius: 12px;
    /* Soft square */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.1rem;
}

.stat-info p {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Services Section */
.bg-light {
    background-color: #f8fafc;
}

.section-header.text-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: var(--transition-fast);
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent-bg);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon i {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
}

.service-features li i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: #fff;
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid #f1f5f9;
    position: relative;
    transition: var(--transition-fast);
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.quote-icon {
    color: var(--accent-bg);
    margin-bottom: 1.5rem;
}

.quote-icon i {
    width: 40px;
    height: 40px;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Contact Section */
.bg-dark {
    background-color: #0f172a;
}

.text-white {
    color: white;
}

.text-white h2,
.text-white h3,
.text-white h4 {
    color: white;
}

.text-accent {
    color: var(--primary) !important;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact-info-col h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.contact-info-col p {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-circle {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: #94a3b8;
}

.contact-form-col {
    background: white;
    padding: 3.5rem;
    border-radius: 32px;
    color: var(--text-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

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

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--accent-bg);
}

.w-full {
    width: 100%;
}

/* Footer */
.main-footer {
    padding: 4rem 0;
    border-top: 1px solid #f1f5f9;
}

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

.footer-logo h3 {
    font-weight: 900;
    letter-spacing: -0.05em;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--primary);
}

/* Mobile Adjustments */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-info-col {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .hero-grid,
    .about-grid-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content,
    .about-content {
        margin: 0 auto;
    }

    .stats-grid {
        text-align: left;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-list {
        justify-content: center;
    }

    .nav-contact-info {
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        padding: 1.5rem 0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 0;
        border-top: 1px solid #f1f5f9;
        animation: slideDown 0.3s ease-out;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 1rem 2rem;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid #f8fafc;
        color: var(--primary);
    }

    .nav-links a i,
    .nav-links a svg {
        display: block !important;
        /* Mostrar en móvil */
        width: 20px;
        height: 20px;
        color: var(--accent);
        margin-right: 0.5rem;
    }

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

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

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--primary);
        cursor: pointer;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #0f172a;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

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

    .whatsapp-float i {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
        /* Hide tooltip on mobile to save space */
    }
}