/* Variables CSS */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--background-white);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bandera-argentina.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15;
    z-index: 9999;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

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

/* Botones */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

.btn-secondary:hover {
    background-color: #d97706;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

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

/* Header y Navegación */
.site-header {
    background-color: #020300;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    color: white;
}

.nav-link {
    font-weight: 500;
    color: white;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
    display: block;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-title {
    color: var(--text-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.section-title {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 4rem;
    color: var(--text-secondary);
}

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

.service-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* CTA Section */
.cta {
    padding: 0rem 0;
    background-color: var(--primary-color);
    color: white;
}

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

.cta h2 {
    color: white;
    margin-bottom: 0rem;
}

.cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0rem;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    .cta-button {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero .container,
    .historia-grid,
    .features-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    h1, .hero-title { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .container {
        padding: 0 1rem;
    }

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

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* Scroll suave y accesibilidad */
html {
    scroll-behavior: smooth;
}

.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Page Header */
.page-header {
    background-color: var(--background-light);
    padding: 6rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Historia Section */
.historia {
    padding: 6rem 0;
}

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.historia-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.historia-list {
    list-style: none;
    margin: 2rem 0;
}

.historia-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.check-icon {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background-color: var(--background-white);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 25px;
    height: 25px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    fill: white;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 0rem;
    font-size: 1.2rem;
}

/* Products Page */
.products-section {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.products-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-item {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-content {
    padding: 0;
}

.product-img {
    width: 322px;
    height: 140px;
    object-fit: cover;
    display: block;
    margin: 0;
}

.product-img.small {
    width: 183px;
    height: 140px;
}

.product-text {
    padding: 0rem;
    margin-top: 1rem;
}

.product-text h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

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

.agro-section {
    background-color: var(--background-light);
    padding: 4rem 0;
    border-radius: var(--border-radius);
}

.agro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.agro-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.agro-features {
    list-style: none;
    margin: 2rem 0;
}

.agro-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.agro-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Portfolio Page */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-image {
    height: 200px;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-image img {
    max-height: 100px;
    max-width: 150px;
    object-fit: contain;
}

.client-info {
    padding: 1.5rem;
}

.client-info h3 {
    margin-bottom: 0.5rem;
}

.client-sector {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-section {
    margin: 6rem 0;
    text-align: center;
}

.testimonials-section h2 {
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.testimonial-author strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--background-light);
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: var(--border-radius);
    text-align: center;
}

.stats-section h2 {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Page */
.contact-header {
    background-color: var(--background-light);
    padding: 6rem 0 3rem;
    text-align: center;
}

.contact-header h1 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.contact-form-section {
    padding: 3rem 0;
    background-color: var(--background-white);
}

/* Inline asterisco para labels requeridos */
.required::after {
    content: " *";
    color: var(--accent-color);
    font-weight: 800;
}

/* Mensajes de formulario */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.success-message {
    background-color: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.error-message {
    background-color: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form {
    background-color: var(--background-white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {   
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Contact form inline labels (desktop) */
.contact-form .form-group {
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;
    column-gap: 1rem;
}

.contact-form .form-group label {
    margin-bottom: 0; /* inline con el input */
    text-align: right;
}

.contact-form .form-group .phone-input {
    display: flex;
    gap: 0.5rem;
}

.contact-form .form-group .phone-input select {
    flex: 0 0 160px;
    width: 160px; /* evita ocupar todo el ancho */
}

.contact-form .form-group .phone-input input {
    flex: 1 1 auto;
    width: auto;
}

/* Elementos sin label: ocupar ambas columnas */
.contact-form .form-group > .g-recaptcha {
    grid-column: 1 / -1;
}

/* Responsive: apilar en móviles */
@media (max-width: 768px) {
    .contact-form .form-group {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .contact-form .form-group label {
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .contact-form .form-group .phone-input {
        gap: 0.5rem;
    }

    .contact-form .form-group .phone-input select {
        flex: 0 0 40%;
        width: auto;
    }
}

.contact-info {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    text-align: center;
}

.contact-cta h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-cta p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    margin-top: 6rem;
    text-align: center;
}

.faq-section h2 {
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.faq-item {
    background-color: var(--background-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* About Page */
/* Encabezado de sección genérico usado en About */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
}

/* Grid para tarjetas de valores */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* CTA específica de About */
.cta-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 0;
}

.cta-section h2 { color: white; }

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 3rem 0;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.7;
}

.values-section {
    background-color: var(--background-light);
    padding: 0rem 0;
    margin: 0rem 0;
    border-radius: var(--border-radius);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

/* Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mission, .vision {
    text-align: center;
}

.mission h3, .vision h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    margin: 6rem 0;
    text-align: center;
}

.team-intro {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--background-light);
}

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

.member-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose-section {
    background-color: var(--background-light);
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: var(--border-radius);
    text-align: center;
}

.why-choose-section h2 {
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.reason-item {
    background-color: var(--background-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.reason-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.reason-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Responsive adjustments for all pages */
@media (max-width: 768px) {
    .product-highlight,
    .agro-content,
    .contact-content,
    .about-content,
    .mission-vision,
    .features-cards,
    .products-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modules-grid,
    .portfolio-grid,
    .values-grid,
    .team-grid,
    .reasons-grid,
    .testimonials-grid,
    .stats-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 5rem 0 2rem;
    }
}

/* EDB Page Styles */
.edb-main, .edb-section {
    padding: 4rem 0;
}

.edb-section {
    background-color: var(--background-light);
}

.edb-section:nth-child(even) {
    background-color: var(--background-white);
}

.edb-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.edb-three-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.edb-text h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.edb-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.edb-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

.edb-features li:last-child {
    border-bottom: none;
}

.edb-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.edb-video video {
    width: 580px;
    height: 362px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.edb-intro {
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.edb-description {
    list-style: disc;
    margin: 0 0 0 0;
    padding-left: 2rem;
}

.edb-description li {
    padding: 0;
    border-bottom: none;
    line-height: 1.3;
    margin-bottom: 0rem;
}

.edb-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 362px;
}

/* EDB Características */
.edb-caracteristicas {
    list-style: disc;
    padding-left: 4rem;
}

.edb-caracteristicas li {
    padding: 0;
    border-bottom: none;
    line-height: 1.3;
    margin-bottom: 0rem;
}

.edb-caracteristicas-header {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.edb-caracteristicas-section {
    padding: 4rem 0;
}

.edb-caracteristicas-section h3 {
    margin-top: 2rem;
}

/* Pricing Table */
.pricing-section {
    padding: 0rem 0;
    background-color: var(--background-white);
}

.pricing-table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.pricing-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-table .feature-header {
    text-align: left;
    background-color: var(--text-primary);
}

.pricing-table td {
    padding: 0.2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table .feature-name {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    background-color: var(--background-light);
}

.pricing-table .checkmark {
    color: green;
    font-size: 1.2rem;
    font-weight: bold;
}

.pricing-table .ilimitado {
    color: rgb(30, 75, 172);
    font-size: 1.2rem;
    font-weight: bold;
}

.pricing-table .dash {
    color: red;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Price Row - Highlighted */
.price-row {
    background-color: var(--primary-color);
    color: white;
}

.price-row .price-label{   
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.price-row .price-cell {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    background-color: var(--primary-color);
}

/* Alternating Row Colors - Zebra Stripes */
.pricing-table tbody tr:nth-child(odd) {
    background-color: rgb(236, 236, 192);
}

.pricing-table tbody tr:nth-child(even) {
    background-color: white;
}


/* Override alternating colors for feature-name cells */
.pricing-table tbody tr:nth-child(odd) .feature-name {
    background-color: rgb(236, 236, 192);          
}

.pricing-table tbody tr:nth-child(even) .feature-name {
    background-color: white;
}

.pricing-note {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.pricing-note p {
    margin: 0.2rem 0;
    color: var(--text-primary);
}

.pricing-note strong {
    color: var(--primary-color);
}

/* Responsive Table */
@media (max-width: 768px) {
    .pricing-table {
        font-size: 0.9rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 0.5rem;
    }

    .pricing-table .feature-name {
        font-size: 0.9rem;
    }
}

/* Portfolio/Objectives Page Styles */
.objectives-section {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.objectives-two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.objective-item {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.objective-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.objective-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    align-items: stretch;
}

.objective-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.objective-text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.objective-number {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.objective-text h3 {
    color: var(--text-primary);
    margin: 0.5rem 0 1rem;
    font-size: 1.5rem;
}

.objective-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .edb-two-column,
    .objectives-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .objective-content {
        grid-template-columns: 1fr;
    }
    
    .edb-video {
        order: -1;
    }
    
    .edb-video video {
        width: 100%;
        height: auto;
    }
    
    .edb-text {
        height: auto;
    }
}
