/* Variables CSS */
:root {
    --primary-green: #2d8f3f;
    --secondary-green: #1f6b2c;
    --accent-yellow: #f4d03f;
    --light-green: #4caf50;
    --dark-green: #1b5e20;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-gray: #666666;
    --border-gray: #e0e0e0;
}

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

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    line-height: 1.7em;
    font-weight: 500;
    color: var(--dark-gray);
    background-color: var(--white);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.header-top {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-icon, .email-icon {
    font-size: 16px;
}

.header-main {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-container {
    text-align: center;
}

.logo {
    height: 180px;
    width: auto;
    margin: 0 auto;
}

/* Navegación */
.navigation {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 50px;;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 5px;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

/* Colores específicos para cada enlace del menú */
.nav-menu li:nth-child(1) .nav-link { background-color: var(--primary-green); } /* Inicio */
.nav-menu li:nth-child(2) .nav-link { background-color: var(--accent-yellow); color: var(--dark-gray); } /* Historia */
.nav-menu li:nth-child(3) .nav-link { background-color: var(--accent-yellow); color: var(--dark-gray); } /* Patatas */
.nav-menu li:nth-child(4) .nav-link { background-color: var(--accent-yellow); color: var(--dark-gray); } /* Carbón */
.nav-menu li:nth-child(5) .nav-link { background-color: var(--accent-yellow); color: var(--dark-gray); } /* Frutas */
.nav-menu li:nth-child(6) .nav-link { background-color: var(--accent-yellow); color: var(--dark-gray); } /* Verduras */
.nav-menu li:nth-child(7) .nav-link { background-color: var(--accent-yellow); color: var(--dark-gray); } /* Contacto */

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0.9;
}

.nav-link.active {
    background-color: var(--secondary-green) !important;
    color: var(--white) !important;
}

/* Hero Section / Slider */
.hero-section {
    position: relative;
    height: 350px;
    overflow: hidden;
    margin-bottom:50px ;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    
}

.hero-title {
  font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif !important;
  font-weight: 700 !important;
  font-variant: small-caps !important;
  font-size: 48px !important;
  color: #ffffff !important;
  text-align: center !important;
  text-shadow: 0em 0.08em 0em #000000 !important;
}

.hero-subtitle {
   font-weight: 700 !important;
  font-size: 36px !important;
  color: #ffffff !important;
  letter-spacing: 10px !important;
  line-height: 1.1em !important;
  text-align: center !important;
  margin-bottom: 30px;
}

.hero-btn {
    background-color: transparent;
    color: white;
    border: 2px solid var(--white);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: transparent;
    color: var(--white);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--white);
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Información principal de la empresa */
.company-intro {
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.company-intro p {
    margin-bottom: 12px;
    font-size: 18px;
    color: var(--dark-gray);
    text-align: justify;
}

.company-intro strong {
    color: var(--dark-gray);
    font-weight: bold;
}

/* Grid de productos showcase */
.products-showcase {
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.products-grid-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    text-align: center;
    background: var(--white);
}

.product-showcase-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 auto 15px;
}

.product-info {
    padding: 0 10px;
}

.product-info h3 {
    font-size: 36px;
    line-height: 1em;
    color: var(--primary-green);
    margin-bottom: 10px;
    font-weight: 500;
}

.product-info p {
    color: var(--text-gray);
    line-height: 1.5;
    font-size: 16px;
}

/* Información adicional con camión */
.company-details {
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.details-text p {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark-gray);
    text-align: justify;
}

.details-text strong {
    color: var(--dark-gray);
    font-weight: bold;
}

.company-truck {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 300px;
}

/* Sección de Carbón */
.carbon-section {
    margin-bottom: 80px;
    padding: 40px 0;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.carbon-image {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-weight: bold;
}

.product-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Productos destacados */
.featured-products {
    margin-bottom: 60px;
}

.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 50px;
    font-weight: bold;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

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

.product-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: bold;
}

.product-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-link {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.product-link:hover {
    background-color: var(--secondary-green);
}

/* Footer */
.footer {
    margin-top: 60px;
}

.footer-orange {
    background-color: var(--accent-yellow);
    padding: 40px 0;
}

.footer-legal {
    text-align: center;
}

.footer-legal h3 {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-legal ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-legal ul li {
    margin: 0;
}

.footer-legal a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--primary-green);
}

.footer-green {
    background-color: var(--primary-green);
    padding: 15px 0;
    text-align: center;
}

.footer-green p {
    color: var(--white);
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu li {
        margin: 2px;
    }
    
    .products-grid-main {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .company-intro {
        padding: 0 15px;
    }
    
    .company-intro p,
    .details-text p {
        text-align: left;
    }
    
    .footer-legal ul {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .products-grid-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Estilos específicos para la página de Historia */

/* Timeline Section */
.timeline-section {
    margin: 60px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-green), var(--accent-yellow));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 120px;
    text-align: center;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 15px 10px;
    border-radius: 50px;
    position: relative;
    z-index: 2;
    margin: 0 30px;
}

.year-number {
    font-weight: bold;
    font-size: 16px;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid var(--accent-yellow);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid var(--accent-yellow);
}

.timeline-content h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.timeline-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
}

/* Company Values Section */
.company-values {
    margin: 80px 0;
    padding: 50px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f0f0 100%);
    border-radius: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-green);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 15px;
}

/* Company Future Section */
.company-future {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border-radius: 16px;
    color: var(--white);
}

.future-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.future-content .section-title-center {
    color: var(--white);
    margin-bottom: 30px;
}

.future-content strong {
    color: var(--accent-yellow);
    font-weight: bold;
}

/* Responsive Design para Historia */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        flex: none;
        width: 80px;
        padding: 10px 5px;
    }
    
    .year-number {
        font-size: 14px;
    }
    
    .timeline-content {
        margin-top: 50px;
        border-left: 4px solid var(--accent-yellow);
        border-right: none;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        border-left: 4px solid var(--accent-yellow);
        border-right: none;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .company-future {
        padding: 30px 20px;
    }
    
    .future-content p {
        text-align: left;
        font-size: 16px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-content {
        padding: 20px;
    }
}

/* Estilos específicos para la página de Historia */

/* Historical Gallery Section */
.historical-gallery {
    margin: 60px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    gap: 50px;
    margin-top: 40px;
}

.historical-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.historical-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.historical-item:nth-child(even) .historical-image {
    order: 2;
}

.historical-item:nth-child(even) .historical-description {
    order: 1;
}

.historical-image {
    position: relative;
}

.historical-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.historical-photo:hover {
    transform: scale(1.02);
}

.historical-description h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.historical-description p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
    text-align: justify;
}

/* Company Values Section */
.company-values {
    margin: 80px 0;
    padding: 50px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f0f0 100%);
    border-radius: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-green);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 15px;
}

/* Company Future Section */
.company-future {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border-radius: 16px;
    color: var(--white);
}

.future-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.future-content .section-title-center {
    color: var(--white);
    margin-bottom: 30px;
}

.future-content strong {
    color: var(--accent-yellow);
    font-weight: bold;
}

/* Responsive Design para Historia */
@media (max-width: 768px) {
    .historical-item,
    .historical-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .historical-item:nth-child(even) .historical-image,
    .historical-item:nth-child(even) .historical-description {
        order: unset;
    }
    
    .historical-photo {
        height: 250px;
    }
    
    .historical-description h3 {
        font-size: 1.3rem;
    }
    
    .historical-description p {
        text-align: left;
        font-size: 15px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .company-future {
        padding: 30px 20px;
    }
    
    .future-content p {
        text-align: left;
        font-size: 16px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .historical-item {
        padding: 25px;
        gap: 30px;
    }
    
    .historical-photo {
        height: 280px;
    }
}

/* Estilos específicos para la página de Historia */

/* Hero Section con fondo de color */
.hero-historia {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    position: relative;
    height: 350px;
    overflow: hidden;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content-historia {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
}

.hero-historia .hero-title {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif !important;
    font-weight: 700 !important;
    font-variant: small-caps !important;
    font-size: 48px !important;
    color: #ffffff !important;
    text-align: center !important;
    text-shadow: 0em 0.08em 0em rgba(0,0,0,0.3) !important;
    margin-bottom: 20px;
}

.hero-historia .hero-subtitle {
    font-weight: 700 !important;
    font-size: 24px !important;
    color: var(--accent-yellow) !important;
    letter-spacing: 2px !important;
    line-height: 1.1em !important;
    text-align: center !important;
}

/* Historical Gallery Section */
.historical-gallery {
    margin: 60px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    gap: 50px;
    margin-top: 40px;
}

.historical-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.historical-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.historical-item:nth-child(even) .historical-image {
    order: 2;
}

.historical-item:nth-child(even) .historical-description {
    order: 1;
}

.historical-image {
    position: relative;
}

.historical-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.historical-photo:hover {
    transform: scale(1.02);
}

.historical-description h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.historical-description p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
    text-align: justify;
}

/* Company Values Section */
.company-values {
    margin: 80px 0;
    padding: 50px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f0f0 100%);
    border-radius: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-green);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 15px;
}

/* Company Future Section */
.company-future {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border-radius: 16px;
    color: var(--white);
}

.future-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.future-content .section-title-center {
    color: var(--white);
    margin-bottom: 30px;
}

.future-content strong {
    color: var(--accent-yellow);
    font-weight: bold;
}

/* Responsive Design para Historia */
@media (max-width: 768px) {
    .hero-historia .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-historia .hero-subtitle {
        font-size: 1.2rem !important;
        letter-spacing: 1px !important;
    }
    
    .hero-historia {
        height: 250px;
    }
    
    .historical-item,
    .historical-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .historical-item:nth-child(even) .historical-image,
    .historical-item:nth-child(even) .historical-description {
        order: unset;
    }
    
    .historical-photo {
        height: 250px;
    }
    
    .historical-description h3 {
        font-size: 1.3rem;
    }
    
    .historical-description p {
        text-align: left;
        font-size: 15px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .company-future {
        padding: 30px 20px;
    }
    
    .future-content p {
        text-align: left;
        font-size: 16px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .historical-item {
        padding: 25px;
        gap: 30px;
    }
    
    .historical-photo {
        height: 280px;
    }
}