/* ============================================================
   F&S Polymer — Consolidated Stylesheet
   Clean Industrial Premium Theme
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --navy-900: #001570;
    --navy-800: #082078;
    --navy-700: #102C80;
    --navy-600: #183888;
    --navy-500: #204490;
    --navy-400: #5B6BA0;
    --navy-200: #CFDEFE;
    --navy-100: #E6EEFE;
    --navy-50: #F1F5F9;

    --teal-600: #4D7FF1;
    --teal-500: #6A96F4;
    --teal-400: #51C5FD;
    --teal-50: #E8F0FE;

    --amber-500: #F59E0B;
    --amber-600: #D97706;
    --amber-50: #FFFBEB;

    --orange-500: #EA580C;
    --orange-50: #FFF7ED;

    --bg-white: #FFFFFF;
    --bg-light: #F1F5F9;
    --bg-warm: #E6EEFE;

    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 21, 112, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 21, 112, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 21, 112, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 21, 112, 0.12);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--bg-white);
    color: var(--navy-700);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--navy-900);
}

a { text-decoration: none; }

.container { max-width: 1200px; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-navy { color: var(--navy-900) !important; }
.text-teal { color: var(--teal-600) !important; }
.text-amber { color: var(--amber-600) !important; }
.text-muted-custom { color: var(--navy-500); }
.text-muted-light { color: var(--navy-400); }
.text-accent { color: var(--teal-600); }
.text-white-force { color: #fff; }

.bg-soft-teal { background: var(--teal-50); }
.bg-soft-amber { background: var(--amber-50); }
.bg-soft-orange { background: var(--orange-50); }
.bg-light-custom { background: var(--bg-light); }
.bg-warm-custom { background: var(--bg-warm); }
.bg-navy { background: var(--navy-900); }

.border-muted { border: 1px solid var(--navy-200); }
.border-muted-imp { border-color: var(--navy-200) !important; }
.border-accent { border-color: var(--teal-500); }
.border-white-08 { border-color: rgba(255, 255, 255, 0.08); }
.border-white-08-imp { border-color: rgba(255, 255, 255, 0.08) !important; }

.rounded-12 { border-radius: 12px; }
.rounded-16 { border-radius: 1rem; }
.rounded-20 { border-radius: 1.25rem; }
.rounded-24 { border-radius: 1.5rem; }
.rounded-pill-custom { border-radius: 999px; }

.fw-600 { font-weight: 600; }
.lh-1 { line-height: 1; }
.tracking-wide { letter-spacing: 0.12em; }

.fs-small { font-size: 0.85rem; }
.fs-xs { font-size: 0.75rem; }
.fs-smaller { font-size: 0.8rem; }

.mw-sm { max-width: 600px; }
.mw-md { max-width: 780px; }
.mw-lg { max-width: 860px; }
.mw-xl { max-width: 1100px; }
.mw-540 { max-width: 540px; }

.icon-box {
    width: 54px; height: 54px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.25rem;
}
.icon-box-sm {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 1rem;
}
.icon-box-round {
    width: 72px; height: 72px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-gap-1 { gap: 0.25rem; }
.flex-gap-2 { gap: 0.5rem; }
.flex-gap-3 { gap: 1rem; }

.overflow-hidden { overflow: hidden; }

.footer-link {
    color: var(--navy-400);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover { color: var(--teal-400); }

.step-number {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--teal-50); color: var(--teal-600);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}

.visually-hidden {
    position: absolute; left: -9999px;
}

.mw-400 { max-width: 400px; }
.minw-70 { min-width: 70px; }

.custom-badge-amber { border: 1px solid rgba(217,119,6,0.15); padding: 0.35rem 1rem; }
.hero-h1-subpage { font-size: clamp(2.2rem,5vw,3.2rem); letter-spacing: -0.03em; }
.hero-p-subpage { font-size: 1.1rem; }
.bullet-dot { font-size: 1.2rem; margin-top: 2px; }
.padded-card { padding: 2.5rem; }
.emoji-large { font-size: 1.5rem; }
.bg-white-06 { background: rgba(255,255,255,0.06); }
.max-w-500 { max-width: 500px; }

.brand-dot-sm {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--teal-500);
    border-radius: 50%;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--navy-200);
    transition: box-shadow 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy-900) !important;
}

.navbar-brand .brand-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--teal-600);
    border-radius: 50%;
    margin-left: 3px;
}

.nav-link {
    color: var(--navy-600) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
    transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active { color: var(--navy-900) !important; }

.navbar-toggler { border: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230F172A' stroke-width='2' d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
    background: var(--navy-900);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary-custom:hover {
    background: var(--navy-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.btn-accent {
    background: var(--teal-600);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-accent:hover {
    background: var(--teal-500);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(77, 127, 241, 0.3);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: var(--navy-900);
    border: 1.5px solid var(--navy-200);
    border-radius: 999px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
}

.btn-wa {
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-wa:hover {
    background: #1DA851;
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================================
   HERO (index.html)
   ============================================================ */
.hero {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: linear-gradient(165deg, #FFFFFF 0%, var(--bg-light) 50%, var(--bg-warm) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(77, 127, 241, 0.06), transparent 70%);
    top: -200px; right: -150px;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 70%, rgba(81, 197, 253, 0.04), transparent 70%);
    bottom: -100px; left: -80px;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--teal-50);
    border: 1px solid rgba(77, 127, 241, 0.15);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--teal-600);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.hero h1 .highlight { color: var(--teal-600); }
.hero p {
    font-size: 1.15rem;
    color: var(--navy-500);
    max-width: 540px;
    margin-bottom: 2.5rem;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--navy-500);
}
.hero-stats span { display: flex; align-items: center; gap: 0.4rem; }
.hero-stats .check { color: var(--teal-600); font-weight: 700; }

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.page-hero {
    padding: 120px 0 60px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(77, 127, 241, 0.06), transparent 70%);
    top: -150px; right: -100px;
    pointer-events: none;
}
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.page-hero p {
    font-size: 1.1rem;
    color: var(--navy-500);
    max-width: 600px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    background: var(--teal-50);
    color: var(--teal-600);
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    margin-bottom: 0.75rem;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--navy-500);
    max-width: 600px;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
    background: var(--bg-white);
    border: 1px solid var(--navy-200);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.product-card:hover {
    border-color: var(--teal-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.product-card .grade-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.grade-hard { background: #FEE2E2; color: #991B1B; }
.grade-medium { background: #DBEAFE; color: #1E40AF; }
.grade-soft { background: #FEF3C7; color: #92400E; }
.grade-verysoft { background: #D1FAE5; color: #065F46; }

/* ============================================================
   WHY CARD
   ============================================================ */
.why-card {
    background: var(--bg-white);
    border: 1px solid var(--navy-200);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.why-card:hover {
    border-color: var(--teal-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ============================================================
   VALUE CARD (about.html)
   ============================================================ */
.value-card {
    background: var(--bg-white);
    border: 1px solid var(--navy-200);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.value-card:hover {
    border-color: var(--teal-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ============================================================
   TIMELINE (about.html)
   ============================================================ */
.timeline-item {
    padding-left: 2rem;
    border-left: 2px solid var(--teal-500);
    position: relative;
    padding-bottom: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -6px; top: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--teal-600);
    border: 2px solid var(--teal-50);
}

/* ============================================================
   SPEC LIST (products.html)
   ============================================================ */
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--navy-500);
    border-bottom: 1px solid var(--navy-100);
    display: flex;
    justify-content: space-between;
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li strong { color: var(--navy-800); }

/* ============================================================
   SERVICE CARD (customization.html)
   ============================================================ */
.service-card {
    background: var(--bg-white);
    border: 1px solid var(--navy-200);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.service-card:hover {
    border-color: var(--teal-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ============================================================
   CONTACT CARD (contact.html)
   ============================================================ */
.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--navy-200);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.contact-card:hover {
    border-color: var(--teal-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ============================================================
   FORM
   ============================================================ */
.form-input {
    background: var(--bg-white) !important;
    border: 1.5px solid var(--navy-200) !important;
    color: var(--navy-900) !important;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}
.form-input:focus {
    border-color: var(--teal-500) !important;
    box-shadow: 0 0 0 4px rgba(77, 127, 241, 0.1) !important;
}
.form-input::placeholder { color: var(--navy-400); }

.form-select-custom {
    background-color: var(--bg-white) !important;
    border: 1.5px solid var(--navy-200) !important;
    color: var(--navy-700) !important;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%2394A3B8' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
.form-select-custom:focus {
    border-color: var(--teal-500) !important;
    box-shadow: 0 0 0 4px rgba(77, 127, 241, 0.1) !important;
}
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--navy-700); margin-bottom: 0.4rem; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 44px; height: 44px;
    background: var(--navy-900);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover {
    background: var(--teal-600);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.floating-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px; height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}
.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
    color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy-900); color: var(--navy-400); }

/* ============================================================
   SKIP TO CONTENT
   ============================================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 8px;
    z-index: 10000;
    padding: 8px 16px;
    background: var(--navy-900);
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-in.visible { opacity: 1; transform: translateY(0); }
.animate-in-delay-1 { transition-delay: 0.08s; }
.animate-in-delay-2 { transition-delay: 0.16s; }
.animate-in-delay-3 { transition-delay: 0.24s; }
.animate-in-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .animate-in { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   ACCORDION OVERRIDE
   ============================================================ */
.accordion-button:not(.collapsed) {
    background: var(--teal-50);
    color: var(--teal-600);
    box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--navy-200); }
.accordion-item { border-radius: 12px; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--navy-200); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-400); }

/* ============================================================
   ADDITIONAL UTILITIES (products.html)
   ============================================================ */
.bg-gradient-warm {
    background: linear-gradient(145deg, var(--bg-light), var(--bg-warm));
}

.cta-heading {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.btn-email {
    background: rgba(255, 255, 255, 0.06);
    color: var(--navy-400);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.8rem;
}
.btn-email:hover {
    color: var(--teal-400);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        border-radius: 1rem;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--navy-200);
        box-shadow: var(--shadow-lg);
    }
    .hero h1 { font-size: 2.6rem; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 575.98px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 0.5rem; }
    .hero-stats span { font-size: 0.85rem; }
}

/* ============================================================
   PRIVACY PAGE SPECIFIC
   ============================================================ */
.privacy-container { max-width: 860px; }
.privacy-container p { color: var(--navy-500); }
