/* --- Variables Globales y Reset Básico --- */
:root {
    --primary: #D57A42; /* Naranja terracota cálido y profesional */
    --secondary: #2E2A27; /* Gris oscuro elegante y serio */
    --tertiary: #F4D7B3; /* Beige claro cálido */
    --white: #fff;
    --dark: #1C1C1C;
    --light-gray: #FAF7F3; /* Gris cálido claro */
    --iron: #E3DDD7; /* Tono cálido para fondo */
    --font-title: "Anybody", sans-serif;
    --font-text: "Archivo", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    line-height: 1.6;
    background-color: var(--white);
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.text-center {
    text-align: center;
}

h1, h2, h3 {
    font-family: var(--font-title);
    color: var(--secondary);
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

/* --- Barra de Navegación --- */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 80px;
    max-height: 100px;
    width: auto;
}

.navbar-items {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

/* --- Botón de Hamburguesa (para móviles) --- */
.hamburger-button {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-button span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    transition: all 0.3s;
}

/* --- Sección Hero (Principal) --- */
.hero {
    background-color: var(--iron);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* --- Tarjetas de Características --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* --- Pestañas de Servicios (Tabs) --- */
.tabs {
    margin: 30px 0;
}

.tab-link {
    background: var(--white);
    border: 1px solid var(--iron);
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-link.active, .tab-link:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* --- Sección de Contacto --- */
.contact-section {
    background: var(--secondary);
    color: var(--white);
}

.contact-section h2,
.contact-section a {
    color: var(--white);
}

/* --- Footer --- */
.main-footer {
    background: #2E2A27;
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
}

/* --- Media Queries para Responsividad --- */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-items {
        flex-direction: column;
        padding: 20px 0;
    }

    .hamburger-button {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }
}

/* letras en movimiento Impulsa tu negocio */
/* Carrusel de texto tipo marquee */
.marquee-container {
    margin: 40px 0;
    overflow: hidden;
    background-color: transparent;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.marquee {
    display: flex;
    width: 200%;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-content {
    display: flex;
    width: 50%;
    justify-content: space-around;
    flex-shrink: 0;
}

.marquee-content span {
    font-size: 36px;
    font-weight: bold;
    margin-right: 60px;
    white-space: nowrap;
    background: linear-gradient(to right, #D57A42, #F4D7B3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: font-size 0.3s ease;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 🌐 Responsividad */
@media (max-width: 768px) {
    .marquee-content span {
        font-size: 24px;
        margin-right: 40px;
    }
}

@media (max-width: 480px) {
    .marquee-content span {
        font-size: 18px;
        margin-right: 20px;
    }
}
