﻿/* RESET */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* ===============================
   IMAGE SYSTEM — HARD CONSTRAINTS
   =============================== */

/* CATEGORY */
.img-category {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

/* PRODUCT */
.img-product {
    width: 100%;
    height: 360px;
    overflow: hidden;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* ===============================
   HEADER — EXACT MATCH
   =============================== */

.header-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* NAV LINKS */
.nav-link {
    color: #444;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .nav-link:hover {
        color: #000;
    }

    .nav-link.active {
        color: #000;
    }

/* CTA BUTTON */
.header-cta {
    background: #111;
    color: #fff;
    padding: 10px 22px;
    font-size: 13px;
    letter-spacing: 0.05em;
    transition: background 0.2s ease;
}

    .header-cta:hover {
        background: #000;
    }

@media (max-width: 640px) {
    .header-cta {
        padding: 8px 14px;
        font-size: 11px;
    }
}

.mobile-link {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    padding: 12px 0;
}

    .mobile-link.active {
        color: #000;
    }

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slideDown {
    animation: slideDown 0.25s ease-out forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.animate-slideInRight {
    animation: slideInRight 0.3s ease-out forwards;
}

header {
    transition: box-shadow 0.2s ease;
}

    header.scrolled {
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }

.hero-text {
    text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
/* ===============================
   GLOBAL ABOUT SECTIONS
   =============================== */

.about-hero,
.about-who,
.about-why {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===============================
   FABRIC OVERLAY (CONTINUOUS)
   =============================== */

.about-overlay {
    background: linear-gradient( to right, rgba(246, 241, 236, 0.98) 0%, rgba(246, 241, 236, 0.95) 50%, rgba(246, 241, 236, 0.70) 65%, rgba(246, 241, 236, 0.35) 80%, rgba(246, 241, 236, 0.10) 100% );
    width: 100%;
    padding: 110px 0;
}

/* ===============================
   CONTENT CONTAINER
   =============================== */

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 90px;
}

    .about-container.narrow {
        max-width: 820px;
        padding-left: 90px;
    }

    /* ===============================
   TYPOGRAPHY
   =============================== */

    .about-container h1,
    .about-container h2 {
        font-family: 'Playfair Display', serif;
        color: #111;
        margin-bottom: 24px;
    }

    .about-container h1 {
        font-size: 52px;
        line-height: 1.15;
    }

    .about-container h2 {
        font-size: 42px;
        line-height: 1.2;
    }

.about-text p {
    max-width: 560px;
}

/* ===============================
   REMOVE SECTION GAPS (CRITICAL)
   =============================== */

.about-hero,
.about-who {
    margin-bottom: 0;
}

    .about-hero + .about-who,
    .about-who + .about-why {
        margin-top: 0;
    }

/* ===============================
   WHY CHOOSE US
   =============================== */

.center {
    text-align: center;
    margin-bottom: 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 70px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.about-text p {
    max-width: 100%;
    color: #222;
}

.mission-values {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(6px);
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    margin-top: -50px;
}

.mv-block {
    border-left: 3px solid #d8cfc6;
    padding-left: 20px;
}

    .mv-block h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .mv-block p {
        font-size: 15px;
        line-height: 1.7;
        color: #333;
    }

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===============================
   PREMIUM WHY CARDS
   =============================== */

.why-card {
    position: relative;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    padding: 44px 30px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

    /* Soft fabric highlight */
    .why-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 14px;
        background: linear-gradient( 180deg, rgba(255,255,255,0.45), rgba(255,255,255,0) );
        pointer-events: none;
    }

    /* Hover = premium lift */
    .why-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 60px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.7);
        background: rgba(255,255,255,0.9);
    }

    /* Headings */
    .why-card h4 {
        font-size: 19px;
        font-weight: 500;
        margin-bottom: 14px;
        color: #111;
    }

    /* Text */
    .why-card p {
        font-size: 14.5px;
        line-height: 1.65;
        color: #444;
    }

/* ===============================
   SEDEX (PERFECT CENTER)
   =============================== */

.sedex-block {
    text-align: center;
    max-width: 640px;
    margin: 70px auto 0;
}

    .sedex-block img {
        display: block;
        margin: 0 auto 24px;
        height: 64px;
    }

    .sedex-block p {
        font-size: 14px;
        color: #333;
        margin-bottom: 30px;
    }

/* ===============================
   CTA
   =============================== */

.cta-btn {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 14px 38px;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-decoration: none;
}

    .cta-btn:hover {
        background: #000;
    }

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* MOBILE — 1 card */
@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .about-overlay {
        padding: 110px 20px 80px;
    }
}

.about-container,
.about-container.narrow {
    padding-left: 0;
    text-align: left;
}

    .about-container h1 {
        font-size: 34px;
    }

    .about-container h2 {
        font-size: 30px;
    }

    .about-container p {
        max-width: 100%;
    }

.sedex-block {
    margin-top: 60px;
}

@media (max-width: 480px) {
    .about-container h1 {
        font-size: 30px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .about-container h1 {
        font-size: 30px;
        line-height: 1.2;
    }
}

/* ================= CONTACT PAGE ================= */

.contact-hero,
.contact-main {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay */
.contact-overlay {
    width: 100%;
    height: 100%;
    padding: 120px 20px;
    /* LEFT strong fade ? RIGHT clear image */
    background: linear-gradient( to right, rgba(245, 239, 233, 0.92) 0%, rgba(245, 239, 233, 0.88) 35%, rgba(245, 239, 233, 0.65) 55%, rgba(245, 239, 233, 0.35) 70%, rgba(245, 239, 233, 0.10) 100% );
}

/* ================= HERO ================= */

.contact-hero-content {
    max-width: 1200px;
    margin: auto;
}

    .contact-hero-content h1 {
        font-family: 'Playfair Display', serif;
        font-size: 48px;
        margin-bottom: 20px;
    }

    .contact-hero-content p {
        max-width: 620px;
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

/* ================= GRID ================= */

.contact-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
}

/* ================= FORM ================= */

.contact-form h2,
.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 10px;
}

.form-sub {
    font-size: 14px;
    margin-bottom: 25px;
    max-width: 420px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    margin-top: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    background: rgba(255,255,255,0.95);
    border-radius: 4px;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.note {
    font-size: 12px;
    margin: 15px 0;
    color: #444;
}

.send-btn {
    background: #111;
    color: #fff;
    padding: 14px 42px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

    .send-btn:hover {
        background: #000;
    }

/* ================= INFO ================= */

.contact-info {
    background: rgba(255,255,255,0.88);
    padding: 30px;
    border-radius: 6px;
}

.info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.icon {
    font-size: 20px;
    line-height: 1;
}

.map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    margin-top: 15px;
    border-radius: 6px;
}

/* ================= VALIDATION ================= */

.validation-summary {
    color: darkred;
    font-size: 13px;
    margin-bottom: 10px;
}

.validation-message {
    font-size: 12px;
    color: darkred;
}

/* ================= MOBILE FIXES ================= */

@media (max-width: 900px) {
    .contact-overlay {
        padding: 60px 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero-content h1 {
        font-size: 32px;
    }

    .contact-hero-content p {
        font-size: 15px;
        max-width: 100%;
    }

    .contact-form h2,
    .contact-info h2 {
        font-size: 24px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* prevents iOS zoom */
    }

    .send-btn {
        width: 100%;
        padding: 15px;
    }

    .map iframe {
        height: 180px;
    }
}

/* ================= SMALL PHONES ================= */

@media (max-width: 480px) {
    .contact-overlay {
        padding: 45px 14px;
    }

    .contact-hero-content h1 {
        font-size: 28px;
    }

    .contact-form label {
        font-size: 13px;
    }

    .note {
        font-size: 11px;
    }
}

.success-msg {
    background: #e6f4ea;
    color: #1b5e20;
    padding: 12px;
    margin-bottom: 16px;
}

.error-msg {
    background: #fdecea;
    color: #b71c1c;
    padding: 12px;
    margin-bottom: 16px;
}
/* ================= FIX CLICK BLOCKING ================= */

/* Overlay should not capture clicks */
/* Only disable pointer events INSIDE contact sections */
.contact-main .contact-overlay,
.contact-hero .contact-overlay {
    pointer-events: none;
}

/* Re-enable inside contact content */
.contact-main .contact-grid,
.contact-main .contact-grid * {
    pointer-events: auto;
}

/* Allow interaction inside content */
.contact-hero-content,
.contact-grid,
.contact-form,
.contact-form * {
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

/* Extra safety for submit button */
.send-btn {
    position: relative;
    z-index: 10;
}

footer {
    position: relative;
    z-index: 50;
}

/* ===============================
   INQUIRY DROPDOWN — STABLE
   =============================== */

.inquiry-group {
    position: relative;
}

/* Button */
.inquiry-btn {
    background: #111;
    color: #fff;
    padding: 10px 22px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

/* Invisible hover bridge */
.inquiry-bridge {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
}

/* Dropdown */
.inquiry-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 14px);
    width: 200px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Show dropdown */
.inquiry-group:hover .inquiry-dropdown,
.inquiry-group:hover .inquiry-bridge {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Items */
.inquiry-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

    .inquiry-item:hover {
        background: #f6f4f1;
        transform: translateX(4px);
    }

    /* Divider */
    .inquiry-item + .inquiry-item {
        border-top: 1px solid rgba(0,0,0,0.06);
    }

/* ===============================
   MOBILE FLOATING BUTTON
   =============================== */

.inquiry-fab {
    background: #111;
    color: #fff;
    padding: 14px 20px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
    z-index: 100;
    left: auto
}
/* Inquiry dropdown headings */
.inquiry-group-title {
    padding: 10px 18px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(0,0,0,.55);
    background: rgba(0,0,0,.03);
    border-top: 1px solid rgba(0,0,0,.06);
}

.inquiry-dropdown .inquiry-group-title:first-child {
    border-top: none;
    border-radius: 10px 10px 0 0;
}

/* ================= IMAGE ZOOM ================= */

.zoom-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f5;
}

.zoom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
}

/* Desktop hover */
@media (hover: hover) {
    .zoom-wrapper:hover .zoom-image {
        transform: scale(1.12);
    }
}

/* Mobile tap hint */
@media (hover: none) {
    .zoom-wrapper:active .zoom-image {
        transform: scale(1.08);
    }
}

.zoom-wrapper {
    cursor: zoom-in;
}
/* ===== ENSURE PRODUCT CARDS ARE CLICKABLE ===== */
a {
    pointer-events: auto;
}

.img-product,
.img-product * {
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

.mv-block h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.mv-block p {
    font-size: 15px;
    line-height: 1.7;
    color: #222;
}

@media (max-width: 768px) {
    .mission-values {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
/* CHATBOT */
.chatbot {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 320px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease;
    z-index: 9999;
    pointer-events: none;
}

    .chatbot.open {
        transform: scale(1);
        pointer-events: auto;
    }

.chatbot-header {
    background: #111;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

    .chatbot-header button {
        background: none;
        border: none;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
    }

.chatbot-body {
    padding: 16px;
}

.bot-msg {
    background: #f6f4f1;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
}

.chatbot-body button {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

    .chatbot-body button:hover {
        background: #f5f5f5;
    }

/* Floating button */
.chatbot-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #111;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0,0,0,0.3);
    z-index: 9999;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 720px;
    margin: auto;
    background: #111;
    color: #fff;
    padding: 18px 22px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

    .cookie-actions button {
        padding: 8px 14px;
        font-size: 13px;
        border: none;
        cursor: pointer;
    }

        .cookie-actions button:first-child {
            background: #fff;
            color: #111;
        }

        .cookie-actions button:last-child {
            background: transparent;
            color: #fff;
            border: 1px solid #fff;
        }

.hidden {
    display: none;
}

/* ===============================
   FIX HEADER OVERLAP (ABOUT)
   =============================== */

.about-hero {
    min-height: auto /* desktop safety */
}

@media (max-width: 640px) {
    .about-hero {
        min-height: auto
        /* header + iOS safe area */
    }
}

.about-hero .about-container {
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}

body {
    padding-top: env(safe-area-inset-top);
}

@media (max-width: 640px) {
    .chatbot-fab {
        bottom: 90px; /* move it above cookie banner */
    }
}
/* ===============================
   ABOUT PAGE — MOBILE FIX
   =============================== */

@media (max-width: 640px) {
    /* Reduce vertical pressure */
    .about-overlay {
        padding: 60px 16px;
    }

    /* Remove forced left spacing */
    .about-container {
        padding-left: 0;
    }

    /* Prevent content collision */
    .about-grid {
        margin-top: 24px;
        gap: 32px;
    }

    /* ? REMOVE desktop overlap trick */
    .mission-values {
        margin-top: 0;
    }

    /* Improve readability */
    .about-text p,
    .mv-block p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Headings scale */
    .about-container h1 {
        font-size: 32px;
    }

    .about-container h2 {
        font-size: 28px;
    }
}
/* ===============================
   MOBILE INQUIRY (TAP VERSION)
   =============================== */

.mobile-inquiry {
    position: fixed;
    bottom: 90px; /* above cookie banner */
    right: 16px;
    z-index: 10000;
}

/* Floating button */
.mobile-inquiry-btn {
    background: #111;
    color: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.06em;
    border: none;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

/* Dropdown */
.mobile-inquiry-dropdown {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

    /* OPEN STATE */
    .mobile-inquiry-dropdown.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

@media (max-width: 640px) {
    .mobile-inquiry {
        top: 88px; /* below sticky header */
        bottom: auto;
        right: 16px;
    }

    .mobile-inquiry-btn {
        padding: 12px 20px;
        font-size: 13px;
        box-shadow: 0 10px 26px rgba(0,0,0,0.25);
    }

    .mobile-inquiry-dropdown {
        top: calc(100% + 10px);
        bottom: auto;
    }
}

@media (max-width: 768px) {
    .mobile-inquiry {
        position: fixed;
        top: 70px; /* just below header */
        right: 12px;
        bottom: auto;
        z-index: 10001;
    }

    .mobile-inquiry-btn {
        padding: 10px 18px;
        font-size: 13px;
        border-radius: 999px;
    }

    .mobile-inquiry-dropdown {
        top: calc(100% + 8px);
        bottom: auto;
    }
}
/* =========================
   10+ YEARS BADGE – FINAL
   ========================= */

.years-wrapper {
    position: absolute;
    top: 20px;
    left: 32px;
    z-index: 15;
}

/* Badge */
.years-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12), inset 0 0 0 5px rgba(255,255,255,0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: badgeEnter 0.9s ease-out forwards;
}

/* Text */
.years-number {
    font-size: 38px;
    font-weight: 400;
    color: #111;
    line-height: 1;
}

.years-plus {
    font-size: 14px;
    margin-top: -4px;
}

.years-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #374151;
}

.years-sub {
    font-size: 10px;
    color: #6B7280;
}

/* ✅ MOBILE FIX */
@media (max-width: 768px) {
    .years-wrapper {
        top: 12px;
        right: auto; /* remove left */
        right: 12px; /* move to top-right */
        z-index: 30;
    }

    .years-circle {
        width: 75px; /* smaller */
        height: 75px;
        box-shadow: 0 12px 25px rgba(0,0,0,0.12), inset 0 0 0 3px rgba(255,255,255,0.45);
    }

    .years-number {
        font-size: 24px;
    }

    .years-plus {
        font-size: 10px;
        margin-top: -2px;
    }

    .years-label {
        font-size: 8px;
        letter-spacing: 0.10em;
    }

    .years-sub {
        font-size: 8px;
    }
}

/* Entry animation */
@keyframes badgeEnter {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================
   DESKTOP ONLY ADJUSTMENT
   ========================= */
@media (min-width: 1024px) {
    .years-wrapper {
        top: auto;
        left: auto;
        bottom: 48px;
        right: 48px;
        z-index: 5; /* keep below content */
        pointer-events: none !important;
    }

        .years-wrapper,
        .years-wrapper * {
            pointer-events: none !important;
        }

    .years-circle {
        width: 140px;
        height: 140px;
    }

    .years-number {
        font-size: 52px;
    }
}

/* ===============================
   FACTORY OVERLAY — CONTINUOUS
   =============================== */

/* ================================
   FACTORY PROFILE DOCUMENT PAGE CSS
   ================================ */

/* ===== Layout ===== */
.fp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 78px 24px;
}

.fp-overlay {
    background: rgba(255, 255, 255, 0.68);
}

    .fp-overlay.soft {
        background: rgba(255, 255, 255, 0.78);
    }

.fp-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.fp-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.fp-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.10) 100%);
}

.fp-hero-card {
    position: relative;
    max-width: 720px;
    padding: 44px 42px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.55);
}
/* top small label */
.fp-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.70);
    margin-bottom: 10px;
}
/* better title */
.fp-hero-title {
    font-size: 60px;
    line-height: 1.05;
    margin: 0 0 12px;
    font-family: Georgia, serif;
    color: #0d0d0d;
}

/* ===== Typography ===== */
.fp-hero h1 {
    font-size: 52px;
    line-height: 1.1;
    margin: 0 0 12px;
    font-family: Georgia, serif;
    color: #111;
}

/* better subtitle */
.fp-hero-sub {
    font-size: 16px;
    max-width: 560px;
    margin: 0 0 18px;
    color: rgba(0, 0, 0, 0.72);
    line-height: 1.6;
}

.fp-title-row {
    margin-bottom: 18px;
}

    .fp-title-row h2 {
        margin: 0 0 8px;
        font-size: 34px;
        font-family: Georgia, serif;
        color: #111;
    }

    .fp-title-row p {
        margin: 0;
        color: #333;
        font-size: 15px;
    }

/* ===== Badges ===== */
/* upgraded badges */
.fp-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .fp-badges .badge {
        padding: 9px 14px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.90);
        color: #fff;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.3px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    }

.badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.86);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.4px;
}

/* ===== Grid ===== */
.fp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.offer-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== Document Card ===== */
.doc-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .doc-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    }

.doc-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.doc-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.06);
    font-size: 22px;
    flex: 0 0 auto;
}

.doc-card h3 {
    margin: 0;
    font-size: 18px;
    color: #111;
    font-weight: 900;
}

.doc-card p {
    margin: 4px 0 0;
    color: #555;
    line-height: 1.55;
    font-size: 13px;
}

/* ===== Buttons ===== */
.doc-btn {
    display: inline-block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .doc-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
    }

/* ===== CTA ===== */
.fp-cta {
    margin-top: 34px;
    text-align: center;
    background: rgba(255, 255, 255, 0.90);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

    .fp-cta h3 {
        margin: 0 0 8px;
        font-size: 24px;
        font-family: Georgia, serif;
        color: #111;
    }

    .fp-cta p {
        margin: 0 0 16px;
        color: #444;
    }

.cta-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 12px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .cta-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
    }

/* ===== Responsive ===== */
/* Responsive */
@media (max-width: 980px) {
    .fp-hero {
        min-height: 460px;
    }

    .fp-hero-card {
        padding: 34px 28px;
        border-radius: 18px;
    }

    .fp-hero-title {
        font-size: 46px;
    }
}

@media (max-width: 620px) {
    .fp-hero {
        min-height: 420px;
    }

    .fp-hero-card {
        padding: 28px 20px;
    }

    .fp-hero-title {
        font-size: 38px;
    }

    .fp-hero-sub {
        font-size: 15px;
    }
}

/* ============================
   MOBILE MENU DRAWER - ORANGEBLUE
   ============================ */

.mobile-hamburger {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 0;
    background: rgba(0,0,0,.06);
    display: grid;
    place-items: center;
    gap: 4px;
}

    .mobile-hamburger span {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #111;
        display: block;
    }

/* Drawer wrapper */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

    .mobile-menu.open {
        pointer-events: all;
    }

/* Overlay */
.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    transition: opacity .25s ease;
}

.mobile-menu.open .mobile-menu-overlay {
    opacity: 1;
}

/* Panel */
.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 86%;
    max-width: 360px;
    padding: 16px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid rgba(0,0,0,.08);
    box-shadow: -20px 0 60px rgba(0,0,0,.25);
    transform: translateX(115%);
    transition: transform .25s ease;
}

.mobile-menu.open .mobile-menu-panel {
    transform: translateX(0);
}

/* Head */
.mobile-menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px 14px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.mobile-menu-title {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 0;
    background: rgba(0,0,0,.06);
    font-size: 18px;
}

/* Links */
.mobile-menu-links {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-link {
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    color: #111;
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(0,0,0,.04);
    transition: background .2s ease;
}

    .mobile-menu-link:hover {
        background: rgba(0,0,0,.08);
    }

    /* Active NavLink */
    .mobile-menu-link.active {
        background: #111;
        color: #fff;
    }

/* Inquiry actions */
.mobile-menu-actions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,.08);
    display: grid;
    gap: 10px;
}

.mobile-menu-subtitle {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: rgba(0,0,0,.55);
    margin-bottom: 4px;
}

.mobile-menu-action {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 14px 14px;
    border-radius: 16px;
    background: #111;
    color: #fff;
    font-weight: 900;
}

/* ==========================================
   FACTORY PROFILE - MOBILE FIXES
   ========================================== */

@media (max-width: 768px) {
    /* Reduce section padding */
    .fp-container {
        padding: 46px 16px !important;
    }

    /* Better title sizing */
    .fp-title-row h2 {
        font-size: 26px !important;
        line-height: 1.2;
    }

    .fp-title-row p {
        font-size: 14px !important;
        line-height: 1.55;
    }

    /* Force grid to 1 column (NO overflow) */
    .fp-grid,
    .offer-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    /* Improve card spacing + remove extra height */
    .doc-card {
        padding: 16px !important;
        border-radius: 16px !important;
        gap: 10px !important;
    }

    /* Make icon smaller */
    .doc-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        font-size: 20px !important;
    }

    /* card title smaller */
    .doc-card h3 {
        font-size: 16px !important;
        line-height: 1.25;
    }

    /* description smaller */
    .doc-card p {
        font-size: 13px !important;
        line-height: 1.5;
    }

    /* Button: compact and full width */
    .doc-btn {
        width: 100%;
        padding: 12px 12px !important;
        font-size: 14px !important;
        border-radius: 14px !important;
    }

    /* CTA section spacing */
    .fp-cta {
        padding: 18px !important;
        border-radius: 16px !important;
    }

        .fp-cta h3 {
            font-size: 18px !important;
        }

        .fp-cta p {
            font-size: 13px !important;
        }

    .cta-btn {
        width: 100%;
        padding: 12px 14px !important;
        border-radius: 14px !important;
    }

    /* Prevent background fixed on mobile (fix lag + weird scroll) */
    .fp-section {
        background-attachment: scroll !important;
    }
}

/* Extra small phones */
@media (max-width: 420px) {
    .fp-container {
        padding: 40px 14px !important;
    }

    .fp-title-row h2 {
        font-size: 24px !important;
    }

    .doc-head {
        gap: 10px !important;
    }

    .doc-card {
        padding: 14px !important;
    }
}

@media(max-width:768px) {
    .cookie-banner {
        width: calc(100% - 20px) !important;
        left: 10px !important;
        right: 10px !important;
        bottom: 12px !important;
        border-radius: 16px !important;
        padding: 14px !important;
    }
}
/* ===========================
   MOBILE MENU SCROLL FIX
   =========================== */

/* Whole drawer container */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

/* Panel must scroll */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(92vw, 420px);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    /* ✅ Allow scrolling */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Keep safe padding */
    padding-bottom: 30px;
}

/* Ensure header stays visible */
.mobile-menu-head {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(18px);
}

/* Overlay stays behind */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-buttons {
    position: relative;
    z-index: 60;
    pointer-events: auto;
}

@media (min-width: 1024px) {
    .years-wrapper,
    .years-circle {
        pointer-events: none !important;
    }
}

.hero-overlay-block {
    pointer-events: none !important;
    z-index: 1;
}