/* ===== KATIMJAM - Professional Logistics/Distribution Theme ===== */
/* Colors: Dark Teal (#1a2f38) + White (#ffffff) + Light Gray (#f0f0f0) */

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

:root {
    --primary: #1a2f38;
    --primary-light: #2a4a56;
    --primary-dark: #0f1c22;
    --white: #ffffff;
    --gray-light: #f0f0f0;
    --gray: #e0e0e0;
    --gray-dark: #666666;
    --text: #333333;
    --whatsapp: #25D366;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: url('img/hero.png') center center / cover no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 47, 56, 0.85);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--gray);
}

.hero-text > p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 550px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 47, 56, 0.3);
}

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

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

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

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

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

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

.services-grid.products-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--gray-light);
    padding: 35px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 47, 56, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 15px;
    font-weight: 500;
}

.about-content p {
    color: var(--gray-dark);
    margin-bottom: 25px;
}

.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: 8px;
}

.value-item i {
    color: var(--primary);
    font-size: 1rem;
}

.value-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
}

.icon-large {
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-large i {
    font-size: 5rem;
    color: var(--white);
}

.accent-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(26, 47, 56, 0.15);
    text-align: center;
}

.accent-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.accent-text {
    font-size: 0.9rem;
    color: var(--gray-dark);
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: var(--primary);
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.2);
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

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

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--whatsapp);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 2rem;
}

.cta-text {
    text-align: left;
}

.cta-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

.cta-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 20px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero {
        min-height: 500px;
        padding: 140px 0 80px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-visual {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-list a {
        font-size: 1.1rem;
    }

    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 0 60px;
        min-height: 450px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .values-list {
        grid-template-columns: 1fr;
    }

    .icon-large {
        width: 150px;
        height: 150px;
    }

    .icon-large i {
        font-size: 3.5rem;
    }

    .accent-box {
        bottom: -20px;
        right: -20px;
        padding: 20px 25px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border: 2px dashed #ccc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 200px;
}
.image-placeholder::before { content: "Imagen"; }
.image-placeholder.about-image { min-height: 300px; }

img.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
