/* ========================================
   BIOTÉCNICA PLÁSTICOS - ESTILOS CSS
   ======================================== */

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Logo Header */
.logo-header {
    background: #fff;
    padding: 3rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-logo {
    max-height: 12rem;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Navegación */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #16a34a;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #f0fdf4 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(22, 163, 74, 0.1), rgba(37, 99, 235, 0.1));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 4rem 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge .icon {
    width: 24px;
    height: 24px;
}

.hero-title {
    font-size: clamp(1.875rem, 5vw, 3rem);
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto 2rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #fff;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-badge .icon {
    width: 24px;
    height: 24px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
}

.text-green {
    color: #16a34a;
}

.text-blue {
    color: #2563eb;
}

.section-intro {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.75;
}

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

.values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    padding: 1rem 0;
}

.values-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-outline {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid #16a34a;
    color: #16a34a;
    border-radius: 9999px;
    font-weight: 600;
}

/* What We Do */
.what-we-do {
    margin-top: 6rem;
    background: linear-gradient(to right, #f0fdf4, #dbeafe);
    padding: 3rem;
    border-radius: 1rem;
}

.subsection-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
    text-align: center;
    margin-bottom: 1rem;
}

.subsection-description {
    font-size: 1.25rem;
    color: #4b5563;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto 3rem;
}

.process-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    text-align: center;
    margin: 3rem 0 2rem;
}

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

.process-step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-weight: bold;
    font-size: 1.125rem;
}

.step-green {
    background: #16a34a;
}

.step-blue {
    background: #2563eb;
}

.process-step h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.process-step p {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-description {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.product-card:hover .product-title {
    color: #16a34a;
}

.product-description {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Certifications Section */
.certifications-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #fff 100%);
}

.iso-card {
    max-width: 48rem;
    margin: 3rem auto;
    padding: 2rem;
    background: linear-gradient(to right, #f0fdf4, #dbeafe);
    border-radius: 1rem;
    text-align: center;
}

.iso-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(to right, #16a34a, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iso-icon .icon {
    width: 48px;
    height: 48px;
    color: #fff;
}

.iso-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.iso-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 2px solid #16a34a;
    color: #16a34a;
    border-radius: 9999px;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.iso-description {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.75;
}

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

.benefit-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon .icon {
    width: 24px;
    height: 24px;
}

.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: #4b5563;
    line-height: 1.625;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #dbeafe 0%, #dcfce7 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.contact-info-card,
.contact-form-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-info-card h3,
.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.email-icon {
    background: #dbeafe;
}

.phone-icon {
    background: #dcfce7;
}

.location-icon {
    background: #f3e8ff;
}

.clock-icon {
    background: #fed7aa;
}

.contact-icon .icon {
    width: 24px;
    height: 24px;
}

.contact-item strong {
    display: block;
    color: #111827;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #4b5563;
}

/* Form Styles */
.contact-form,
.job-form {
    margin-top: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.captcha-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(to right, #2563eb, #16a34a);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(to right, #1d4ed8, #15803d);
}

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

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: #fff;
}

.faq-container {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.25rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-item summary:hover {
    background: #f9fafb;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #16a34a;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: #4b5563;
    line-height: 1.75;
}

/* Hiring Section */
.hiring-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.hiring-form-card {
    max-width: 32rem;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.form-card-title .icon {
    width: 20px;
    height: 20px;
}

.form-card-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    margin-top: 0.5rem;
}

.form-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.375rem;
}

.form-note .icon {
    width: 16px;
    height: 16px;
    color: #6b7280;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.form-note p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Footer */
.footer {
    background: #111827;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

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

.footer-col h4 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-col p {
    line-height: 1.75;
    margin-bottom: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #16a34a;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

/* Utilities */
.icon {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f3f4f6;
    }

    .mobile-menu-btn {
        display: block;
    }

    .navbar .container {
        justify-content: space-between;
        padding: 0 1rem;
    }

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

@media (max-width: 768px) {
    .main-logo {
        max-height: 8rem;
    }

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

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu-btn,
    .btn,
    .footer {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }
}
