/* Non-critical CSS - loaded asynchronously */
/* Styles for below-the-fold content */

/* Sections */
section {
    padding: 8rem 4rem;
}

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

.section-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-deep);
    margin-bottom: 1.5rem;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1.05rem;
}

/* About Section */
.about {
    background: var(--bg-warm);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-soft);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

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

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--taupe-light);
}

.feature-icon-sm {
    width: 48px;
    height: 48px;
    background: var(--bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--taupe-light);
}

.feature-icon-sm img {
    height: 36px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(67%) sepia(30%) saturate(600%) hue-rotate(10deg) brightness(95%);
}

.feature-icon img {
    height: 30px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(67%) sepia(30%) saturate(600%) hue-rotate(10deg) brightness(95%);
}

.feature-text h4 {
    font-size: 1rem;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--taupe);
}

.about-visual {
    position: relative;
}

.about-image-frame {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--taupe-light);
    overflow: hidden;
}

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

.about-image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    z-index: -1;
}

/* Products Section */
.products {
    background: var(--bg-cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--taupe-light);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(61, 61, 61, 0.08);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.6s ease;
}

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

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-deep);
}

.product-tagline {
    font-size: 0.85rem;
    color: var(--taupe);
    margin-bottom: 1.5rem;
}

.product-btn {
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.product-btn:hover {
    gap: 0.8rem;
}

.product-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

/* B2B Section */
.b2b {
    background: var(--text-deep);
    color: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

.b2b::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(196, 163, 90, 0.1) 100%);
}

.b2b .section-label {
    color: var(--accent-gold);
}

.b2b .section-title {
    color: var(--bg-cream);
}

.b2b .section-desc {
    color: var(--taupe);
}

.b2b-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.b2b-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(184, 168, 151, 0.2);
    transition: all 0.4s ease;
}

.b2b-card:hover {
    border-color: var(--accent-gold);
    background: rgba(196, 163, 90, 0.05);
}

.b2b-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(67%) sepia(30%) saturate(600%) hue-rotate(10deg) brightness(95%);
}

.b2b-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--bg-cream);
}

.b2b-card p {
    font-size: 0.95rem;
    color: var(--taupe);
    line-height: 1.6;
}

.b2b-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.b2b-cta .btn {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.b2b-cta .btn::before {
    background: var(--accent-gold);
}

.b2b-cta .btn:hover {
    color: var(--text-deep);
}

/* Contact Section */
.contact {
    background: var(--bg-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-info > p {
    color: var(--text-soft);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--taupe-light);
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-gold);
    fill: none;
    stroke-width: 1.5;
}

.contact-item-text h4 {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-item-text p,
.contact-item-text a {
    color: var(--text-soft);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-text a:hover {
    color: var(--accent-gold);
}

.contact-map {
    background: var(--taupe-light);
    min-height: 300px;
    border: 1px solid var(--taupe-light);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: block;
}

.contact-form {
    padding: 2.5rem;
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--text-deep);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-soft);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--taupe-light);
    background: var(--bg-cream);
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    color: var(--text-deep);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--taupe);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6560' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-submit {
    margin-top: auto;
    padding-top: 1rem;
}

.form-submit button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.form-submit button:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
}

.form-submit button:active {
    transform: translateY(0);
}

.form-submit button:disabled {
    cursor: not-allowed;
    transform: none;
}

.form-submit button.loading {
    background: var(--taupe);
}

.form-submit button.success {
    background: #4a7c59;
}

.form-submit button.error {
    background: #a65d57;
}

/* FAQ Section */
.faq {
    background: var(--bg-cream);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--taupe-light);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-gold);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-deep);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-gold);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 2rem 1.5rem;
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 1rem;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
    }

    .faq-answer-inner {
        padding: 0 1.5rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .faq-answer-inner {
        padding: 0 1.25rem 1rem;
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    background: var(--text-deep);
    color: var(--taupe);
    padding: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--taupe);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--bg-cream);
}

.footer-copy {
    font-size: 0.8rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(61, 61, 61, 0.8);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-cream);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-image {
    background: var(--bg-warm);
}

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

.modal-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--bg-cream);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--text-deep);
}

.modal-close:hover svg {
    stroke: var(--bg-cream);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-deep);
    fill: none;
    stroke-width: 2;
}

.modal-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.modal-desc {
    color: var(--text-soft);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.ingredients-title {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-deep);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--taupe-light);
}

.ingredients-text {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.nutrition-table tr {
    border-bottom: 1px solid var(--taupe-light);
}

.nutrition-table td {
    padding: 0.5rem 0;
    color: var(--text-soft);
}

.nutrition-table td:first-child {
    color: var(--text-deep);
}

.nutrition-table td:last-child {
    text-align: right;
    font-weight: 500;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    section {
        padding: 5rem 2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .about-visual {
        order: -1;
    }

    .b2b-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

    .modal {
        grid-template-columns: 1fr;
        width: 95%;
        max-height: 85vh;
    }

    .modal-image {
        max-height: 250px;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .modal-close svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-addresses {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .products-grid {
        margin: 0 auto;
    }

    .b2b-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .contact-info h2,
    .about-content h2 {
        font-size: 1.8rem;
    }

    .b2b-card {
        padding: 2rem 1.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-name {
        font-size: 1.3rem;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    section {
        padding: 3rem 1rem;
    }

    .modal-image {
        max-height: 200px;
    }

    .modal-content {
        padding: 1.5rem 1rem;
    }

    .ingredients-text {
        font-size: 0.85rem;
    }

    .nutrition-table {
        font-size: 0.8rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer-content {
        padding: 0;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }
}
