:root {
    --primary-color: #dd7737;
    --primary-hover: #c46226;
    --dark-bg: #111b21;
    --light-bg: #f8f9fa;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    background-color: var(--dark-bg);
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-legal {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-whatsapp-sm {
    background-color: #25d366;
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
}

/* HERO BANNER */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://suministrostang.com/tang/public/images/principal/entrada.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    background-color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-top: 15px;
    color: var(--white);
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 30px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* INTERCALADOS / CTA BANNER */
.cta-banner {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-secondary:hover {
    opacity: 0.9;
}

/* SECCIONES GENERICAS */
.section {
    padding: 60px 20px;
}

.bg-light {
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* GALERÍA RESPONSIVE (3 filas de 2 en móvil / 2 filas de 3 en desktop) */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantalla pequeña */
    gap: 15px;
}

.hero-logo-wrapper {
    width: 110px;
    height: 110px;
    margin: 0 auto 15px auto; /* Centrado horizontalmente */
    border-radius: 50%;      /* Redondeado */
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: var(--white);
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* GRID DE TESTIMONIOS */
.grid-reviews {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.review-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(221, 119, 55, 0.15); /* Brillo suave con tu color principal */
}

.stars {
    color: #ffc107; /* Amarillo dorado para las 5 estrellas */
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.avatar-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.reviewer-info h4 {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-dark);
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .grid-gallery {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas en desktop */
        gap: 25px;
    }
}

.card-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.card-item:hover img {
    transform: scale(1.05);
}

.card-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* RUTAS */
.rutas-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

@media (min-width: 768px) {
    .rutas-wrapper {
        flex-direction: row;
    }
    
    .grid-reviews {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas en computadoras */
        gap: 25px;
    }
}

.rutas-image, .rutas-list {
    flex: 1;
    width: 100%;
}

.minivan-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rutas-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.rutas-list li {
    background: var(--white);
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-weight: 600;
    font-size: 0.9rem;
}

.rutas-list i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* MAPA */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* FOOTER */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 50px 20px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-bottom: 6px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #a0aec0;
}

/* ANIMACIONES DE ENTRADA (IntersectionObserver) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}