/* Variables */
:root {
    --primary-color: #F20000;
    --secondary-color: #c2c2c2;
    --blue-color: #0014a6;
    --accent-color: #000000;
    --light-color: #FFFFFF;
    --gray-color: #333333;
    --red-light: #FF6B6B;
    --yellow-light: #c2c2c2;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'segoe ui', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.secondary-btn {
    background: var(--secondary-color);
    color: var(--accent-color);
    border: 2px solid var(--secondary-color);
}

.secondary-btn:hover {
    background: var(--light-color);
    color: var(--accent-color);
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Top Bar */
.top-bar {
    background: var(--gray-color);
    color: var(--light-color);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--light-color);
    margin-left: 15px;
    font-size: 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Header */
.main-header {
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    background: var(--primary-color);
    z-index: 100;
    border-bottom: 0px solid var(--accent-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-slogan {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-top: 5px;
    margin-left: 40px;
}

/* Header promo */
.header-promo {
    background: var(--secondary-color);
    color: var(--accent-color);
    padding: 8px 15px;
    border-radius: 4px;
    margin: 0 20px;
    text-align: center;
    font-weight: bold;
    position: relative;
    flex-grow: 1;
    max-width: 300px;
}

.promo-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--light-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    white-space: nowrap;
}

.header-promo p {
    margin: 10px 0 0;
    font-size: 0.9rem;
}

/* Main Nav */
.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 40px;
}

.main-nav a {
    font-weight: 600;
    position: relative;
    padding: 8px 6px;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.main-nav a:hover:after {
    width: 100%;
}

.main-nav .active a {
    color: var(--accent-color);
}

.highlight-nav {
    background: var(--secondary-color);
    padding: 12px 11px;
    border-radius: 12px;
    font-weight: bold;
}

.highlight-nav:hover {
    background: var(--light-color);
    color: var(--accent-color);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
}

.cart-icon {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-right: 20px;
    position: relative;
}

.cart-icon:hover {
    color: var(--primary-color);
}

.cart-icon:after {
    content: '3';
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: var(--accent-color);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(111, 111, 111, 0.8)), 
                url('../assets/images/layuntafrente.jpg') center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    color: var(--light-color);
    position: relative;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.banner-subtitle {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--light-color);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.banner-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

/* Contenedor principal del countdown */
.offer-countdown {
    position: relative;
    z-index: 100;
    margin: 2rem auto;
    max-width: 800px;
}

/* Versión Fija que sigue al usuario */
.countdown-sticky {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    animation: slideDown 0.5s ease-out;
    z-index: 999;
}

@keyframes slideDown {
    from { transform: translate(-50%, -20px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* Versión Normal Centrada */
.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.countdown-item {
    background: var(--primary-color);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-3px);
}

.countdown-item span {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
}

.countdown-item small {
    color: var(--light-color);
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Banner features */
.banner-features {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-color);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Banner promo */
.banner-promo {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    background: var(--secondary-color);
    color: var(--accent-color);
    padding: 1rem;
    border-radius: 8px;
    max-width: 250px;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease-out;
}

.promo-tag {
    display: block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Savings Section */
.savings-section {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 3rem 0;
    text-align: center;
}

.savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.saving-card {
    background: var(--light-color);
    color: var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.saving-card:hover {
    transform: translateY(-5px);
}

.saving-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.saving-card p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray-color);
    opacity: 0.7;
}

.save-badge {
    background: var(--secondary-color);
    color: var(--accent-color);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

/* Catalog Section */
.catalog-section {
    padding: 3rem 0;
    background: var(--light-color);
}

.catalog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2rem 0;
}

.filter-btn {
    padding: 8px 15px;
    background: var(--light-color);
    color: var(--accent-color);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--light-color);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--secondary-color);
    color: var(--accent-color);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 1;
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.product-description {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 40px;
}

.product-price {
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-old-price {
    text-decoration: line-through;
    color: var(--gray-color);
    font-size: 0.9rem;
    opacity: 0.7;
}

.product-save {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Features Section */
.features-section {
    background: var(--gray-color);
    padding: 4rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Siempre 3 columnas */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.feature-card {
  min-height: 280px;
  padding: 2rem;
  background-color: #FFFFFF;
  border: 1px solid #9E9E9E;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(198, 40, 40, 0.2); /* Sombra roja */
}

.feature-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1rem;
}
/* Brands Section */
.brands-section {
    padding: 1rem 0;
    background: var(--light-color);
    border-top: 0px solid var(--secondary-color);
}

.brands-carousel {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    overflow-x: auto;
}

.brands-carousel img {
    height: 100px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brands-carousel img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* Footer */
.main-footer {
    background: var(--gray-color);
    color: var(--light-color);
    padding: 3rem 0 1rem;
    border-top: 5px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.footer-col p, .footer-col a {
    color: #ffffff;
    margin-bottom: 0.8rem;
    display: block;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-col i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.newsletter-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
}

.newsletter-form button {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: var(--accent-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--red-light);
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--accent-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: var(--accent-color);
    color: var(--light-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #424242;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.legal-links a {
    color: #bdbdbd;
    font-size: 0.8rem;
}

.legal-links a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 992px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-promo {
        margin: 15px 0;
        max-width: 100%;
    }
    
    .main-nav {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 500px;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .banner-subtitle {
        font-size: 1.2rem;
    }
    
    .banner-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .banner-promo {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--light-color);
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 0 2rem;
    }
    
    .main-nav li {
        margin: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .offer-countdown {
        width: 100%;
    }
    
    .countdown-item {
        min-width: 60px;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 450px;
    }
    
    .banner-content {
        padding: 0 1rem;
    }
    
    .banner-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .countdown-timer {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 8px 5px;
    }
    
    .countdown-item span {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
/* Estilos específicos para Contacto */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('../assets/images/contact-bg.jpg') center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
}

.contact-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.contact-hero .subtitle {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.contact-section {
    padding: 4rem 0;
    background: var(--yellow-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-map {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(227, 25, 55, 0.2);
    outline: none;
}

.form-group select {
    appearance: none;
    background: url("data:image/svg+xml;charset=utf-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewbox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 1rem center/1.2em;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: none;
}

.invalid {
    border-color: var(--primary-color) !important;
}

.invalid + .error-message {
    display: block;
}

.notification {
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 15px 25px;
    border-radius: 8px;
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

.notification .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,0.5);
    animation: progress 5s linear;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes progress {
    from { width: 100%; }
    to { width: 0; }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}
/* Historia Page */
.history-hero {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 16, 16, 0.7)), 
                url('../assets/images/layuntafrente.jpg') center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
}

.history-timeline {
    padding: 4rem 0;
    background: var(--light-color);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem 0;
}

.timeline-item.reverse {
    direction: rtl;
}

.timeline-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.timeline-content {
    direction: ltr;
    padding: 2rem;
    background: var(--yellow-light);
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--gray-color);
}

cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-details {
    list-style: none;
    margin: 1.5rem 0;
}

.timeline-details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(227, 25, 55, 0.05);
    border-radius: 1rem;
}

.value-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .timeline-item {
        grid-template-columns: 1fr;
    }
    
    .timeline-image img {
        height: 300px;
    }
    
    .timeline-item.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .history-hero {
        height: 40vh;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}
/* ESTILOS PARA SECCIÓN SUCURSALES - Sección nueva a agregar */
.sucursales-section {
    padding: 2rem 0;
    background: #c2c2c2;
}

.sucursales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sucursal-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.sucursal-card:hover {
    transform: translateY(-5px);
}

.sucursal-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.sucursal-title {
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
}

.sucursal-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.sucursal-icon {
    color: #e74c3c;
    font-size: 1.2rem;
}

.sucursal-horario {
    background: #fff9e6;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.horario-title {
    font-weight: 600;
    color: #e67e22;
    margin-bottom: 0.5rem;
}

.sucursal-contacto {
    margin-top: 1.5rem;
}

.telefono-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #27ae60;
    font-weight: 600;
    text-decoration: none;
}

.telefono-link:hover {
    color: #219a52;
}

/* Mapa interactivo */
.sucursales-mapa {
    height: 400px;
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Adaptación responsive */
@media (max-width: 768px) {
    .sucursales-grid {
        grid-template-columns: 1fr;
    }
    
    .sucursales-section {
        padding: 2rem 0;
    }
    
    .sucursales-mapa {
        height: 300px;
    }
}
/* Estilos específicos para el catálogo */
.catalog-main {
    padding: 2rem 0;
}

.catalog-header {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.catalog-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: space-between;
}

.search-filter {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #3498db;
    border-radius: 25px;
    padding-right: 40px;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
}

.filter-selectors {
    display: flex;
    gap: 1rem;
}

.category-filter, .sort-filter {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}

.catalog-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-pricing {
    margin: 1rem 0;
}

.current-price {
    font-size: 1.4rem;
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: #95a5a6;
}

.discount {
    color: #e74c3c;
    font-weight: bold;
}

.unit-price {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.add-to-cart {
    flex: 1;
    padding: 0.8rem;
}

.btn-detail {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.page-link {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #2c3e50;
}

.page-link.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    .catalog-tools {
        flex-direction: column;
    }
    
    .filter-selectors {
        flex-direction: column;
    }
    
    .page-title {
        font-size: 2rem;
    }
}
/* Estilos para el carrusel de videos */
.video-carousel {
    padding: 80px 20px;
    background: #f4f4f4;
}

.yunta-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 10px;
}

.carousel-slide video {
    width: 100%;
    border-radius: 16px;
    background: #000;
}

/* Mascota */
.mascota {
    position: fixed;
    bottom: 150px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
}

.mascota img {
    width: 80px;
    height: auto;
    animation: flotar 3s ease-in-out infinite;
}

@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-float img {
    width: 60%;
    filter: brightness(0) invert(1);
}
.boton-contacto button {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.boton-contacto button:hover {
    background: var(--red-light);
}
.franq-banner {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(107, 107, 107, 0.8)), 
                url('../assets/images/layunta-front.jpg') center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    color: var(--light-color);
    position: relative;
}
.btn-frq {
    display: flex;
    justify-content: center;
    padding: 2px 2px;
    background: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-frq:hover {
    background: var(--light-color);
    color: var(--primary-color);
}
.section-subtitle-franq {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 0,5rem;
    font-size: 1.3rem;
}
.history-timeline-franq {
    padding: 4rem 0;
    background: var(--light-color);
}
.banner-precios-increibles {
    margin: 0;
    padding: 0;
    background-image: url('../assets/images/preciosincreibleslayunta.png');
    background-repeat: no-repeat;
    background-size: 1480px 200px; /* medidas exactas */
    background-position: center top;
    height: 200px; /* altura igual al fondo si querés ajustar exacto */
    
}
.banner-chat-velez {
    display: flex;
    justify-content: center;
    background-image: url('../assets/images/canal.png');
    background-repeat: no-repeat;
    background-size: 1000px 250px;
    background-position: center top;
    height: 250px;
      
}

.video-carousel {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.video-item video {
  width: 80%;
  max-width: 800px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Botones */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.8);
  border: none;
  font-size: 32px;
  color: #000;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s, transform 0.2s;
}

.carousel-btn:hover {
  background-color: #fff;
  transform: scale(1.1);
}

.left-btn {
  left: 10px;
}

.right-btn {
  right: 10px;
}
.yunta-carousel {
  position: relative;
  max-width: 920px;
  margin: 2rem auto;
  background-color: #E0E0E0; /* Gris Claro fondo tarjeta */
  border: 2px solid #C62828; /* Rojo Corporativo */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(198,40,40,0.3);
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding: 0;
  margin: 0;
  list-style: none;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide video {
  width: 100%;
  border-radius: 5px;
  outline: none;
  background-color: #2E2E2E; /* Gris Oscuro fondo video */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #C62828; /* Rojo Corporativo */
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.2rem 0.8rem;
  cursor: pointer;
  border-radius: 3px;
  transition: background-color 0.3s ease;
  user-select: none;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: #E53935; /* Rojo Suave */
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}
.feature-logo {
  width: 100px;       /* tamaño del logo */
  height: 100px;
  object-fit: contain; 
  display: block;
  margin-bottom: 0.5rem;
}
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.video-container video {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  background-color: #2E2E2E; /* Fondo oscuro de tu paleta */
}
/* ===============================
   SECCIÓN HISTORIA / HITOS
   =============================== */

#hitos {
    background: #f7f7f7;
    padding: 80px 20px;
}

#hitos h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* Contenedor principal */
.hitos-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Línea vertical central */
.hitos-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        #e31937,
        transparent
    );
}

/* Card de cada hito */
.hito {
    position: relative;
    width: 45%;
    padding: 32px;
    margin: 50px 0;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

/* Cuando entra en viewport */
.hito.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Izquierda / derecha */
.hito.left {
    margin-right: auto;
}

.hito.right {
    margin-left: auto;
}

/* Punto de conexión con la línea */
.hito::before {
    content: "";
    position: absolute;
    top: 36px;
    width: 14px;
    height: 14px;
    background: #e31937;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(227,25,55,0.25);
}

.hito.left::before {
    right: -39px;
}

.hito.right::before {
    left: -39px;
}

/* Tipografía */
.hito h3 {
    color: #e31937;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.hito p {
    color: #333333;
    font-size: 1rem;
    line-height: 1.7;
}

/* ===============================
   RESPONSIVE MOBILE
   =============================== */

@media (max-width: 768px) {

    .hitos-container::before {
        left: 20px;
    }

    .hito {
        width: 100%;
        margin-left: 40px;
        padding: 26px;
    }

    .hito.left,
    .hito.right {
        margin-left: 40px;
        margin-right: 0;
    }

    .hito::before {
        left: -30px;
        right: auto;
    }
}

/* =========================
   SECCIÓN RESPONSABILIDAD EMPRESARIAL
========================= */
.responsabilidad {
    background-color: #fff8f0;
    padding: 60px 20px;
    text-align: center;
}

.responsabilidad h2 {
    color: #E31937; /* Rojo institucional */
    font-size: 2.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.responsabilidad p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #333;
    font-size: 1.1em;
    line-height: 1.7;
}

.responsabilidad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.resp-item {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgb(255, 11, 11);
    padding: 10px;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resp-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.resp-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.resp-item h3 {
    color: #000;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
}

.resp-item p {
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================
   SECCIÓN NOTICIAS
========================= */
.noticias {
    background-color: #fefefe;
    padding: 70px 20px;
    text-align: center;
}

.noticias h2 {
    color: #E31937;
    font-size: 2.2em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.noticias .intro-text {
    max-width: 750px;
    margin: 0 auto 50px;
    color: #444;
    font-size: 1.1em;
    line-height: 1.6;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.noticia-item {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticia-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.noticia-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.noticia-content {
    padding: 20px;
    text-align: left;
}

.noticia-content h3 {
    color: #000;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.noticia-content .fecha {
    display: block;
    font-size: 0.9em;
    color: #999;
    margin-bottom: 10px;
}

.noticia-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-noticia {
    display: inline-block;
    background-color: #E31937;
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.btn-noticia:hover {
    background-color: #b51227;
}
.section-divider {
    width: 100%;
    height: 14px;
    background: var(--yellow-light);
    margin: 0px 0;
}
/* ===============================
   REFINAMIENTO HEADER – JERARQUÍA
   =============================== */

/* Navegación más clara */
.main-nav a {
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* Items secundarios (informativos) */
.main-nav li:not(:last-child) a {
    opacity: 0.85;
}

.main-nav li:not(:last-child) a:hover {
    opacity: 1;
}

/* CTA más protagonista */
.main-nav a.highlight-nav {
    font-size: 0.9rem;
    letter-spacing: 0.6px;
    box-shadow: 0 6px 18px rgba(227,25,55,0.25);
}

/* Logo con más aire */
.main-header .logo {
    padding-right: 20px;
}

/* Separación visual suave entre logo y menú */
.main-header .container {
    gap: 30px;
}
