:root {
    --color-primary: #311b4e;
    --color-secondary: #da7941;
    --color-bg: #ffffff;
    --color-text: #111111;
    --radius: 6px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    margin: 0;
}

.navbar {
    background-color: var(--color-primary);
    color: #fff;
    padding: var(--spacing-md);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    min-height: 72px;
    transition: top 0.3s ease;
}

.navbar.hidden {
    top: -100px;
}

.navbar .container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
}

.logo img {
    height: 50px;
}

.menu {
    display: flex;
    gap: var(--spacing-lg);
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.menu a:hover {
    color: var(--color-secondary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Responsivo */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: var(--spacing-md);
        background-color: var(--color-primary);
        padding: var(--spacing-md);
        border-radius: var(--radius);
    }

    .menu.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .logo img {
        height: 40px;
    }
}

.hero {
    background-color: var(--color-primary);
    color: white;
    padding-top: 72px;
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
    position: relative;
}

.hero-content {
    flex: 1 1 400px;
    text-align: left;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    max-width: 600px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
    color: #e0d7f3;
}

.hero-image {
    flex: 1 1 500px;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    height: auto;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1,
    .hero-content p {
        max-width: 100%;
    }
}

.btn-primary {
    background-color: var(--color-secondary);
    color: white;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #c96a38;
}

.hero-pattern {
    position: absolute;
    top: -80px;
    left: -100px;
    width: 280px;
    height: 280px;
    background-image: radial-gradient(#ffffff 1.6px, transparent 1.6px);
    background-size: 16px 16px;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.highlight {
    color: var(--color-secondary);
    animation: pulseColor 2.5s ease-in-out infinite;
}

@keyframes pulseColor {

    0%,
    100% {
        color: var(--color-secondary);
    }

    50% {
        color: #ffffff;
    }
}

.about {
    background-color: #ffffff;
    color: var(--color-text);
    padding: 100px 20px;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1 1 500px;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-image {
    flex: 1 1 400px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

.solutions {
    background-color: #fff;
    color: #333;
    padding: 100px 20px;
    text-align: center;
}

.solutions-container {
    max-width: 1200px;
    margin: auto;
}

.solutions h2 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 40px;
}

.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.solution-card {
    background: #f7f7f7;
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.solution-card h3 {
    padding: 20px;
    font-size: 1.1rem;
}

.btn-secondary {
    margin-bottom: 20px;
    background-color: var(--color-secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #c96a38;
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    text-align: left;
    position: relative;
}

.modal-content h3 {
    color: var(--color-primary);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.contact {
    background-color: #fff;
    color: #333;
    padding: 100px 20px;
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: auto;
}

.contact h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f7f7f7;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.contact-card i {
    font-size: 24px;
}

.contact-card:hover {
    transform: translateY(-3px);
    background-color: #eaeaea;
}

.contact-card.whatsapp {
    color: #25d366;
}

.contact-card.email {
    color: var(--color-primary);
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    font-size: 26px;
    padding: 16px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Tooltip */
.tooltip-whatsapp {
    position: absolute;
    right: 70px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:hover .tooltip-whatsapp {
    opacity: 1;
}

.footer {
    background-color: var(--color-primary);
    color: #cccccc;
    padding: 60px 20px 30px 20px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--color-secondary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.differentials {
    padding: 60px 20px;
    background-color: #f4f4f4;
}

.differentials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.differentials h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.differentials .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.differential-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.differential-item:hover {
    transform: translateY(-5px);
}

.differential-item i {
    font-size: 2rem;
    color: #005baa;
    margin-bottom: 15px;
}

.differential-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #222;
}

.differential-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.differential-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid #eaeaea;
}
