/* ==========================================================================
   Kanton Cable Industries - Website theme (2026 redesign)
   Loaded after bootstrap.min.css. Admin panel is NOT affected.
   ========================================================================== */
:root {
    --brand: #e92427;
    --brand-dark: #c4161a;
    --brand-soft: #fdecec;
    --ink: #0e1726;
    --ink-2: #1b2638;
    --copper: #c8742b;
    --text: #4a5568;
    --muted: #718096;
    --line: #e7eaf0;
    --surface: #f5f7fa;
    --white: #fff;
    --wa: #25d366;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(14, 23, 38, .06);
    --shadow: 0 12px 32px -12px rgba(14, 23, 38, .18);
    --shadow-lg: 0 24px 60px -20px rgba(14, 23, 38, .28);
    --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
a { color: var(--brand); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid rgba(233, 36, 39, .45); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.container { max-width: 1240px; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 700; border-radius: 999px; padding: .72rem 1.5rem; font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 2px solid transparent; letter-spacing: .01em; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1rem; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -10px rgba(233, 36, 39, .7); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-brand { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-light-solid { background: #fff; color: var(--ink); }
.btn-light-solid:hover { background: var(--ink); color: #fff; }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); }
.link-arrow { font-family: var(--font-head); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: .75rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #ff8a8c; }
.section-heading { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.section-head { margin-bottom: 2.5rem; }
.section-head.text-center { max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head.text-center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { color: var(--muted); margin: 0; }

.rich-text { color: var(--text); }
.rich-text * { text-align: left !important; }               /* override justified text from editor */
.rich-text h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin: 1.6rem 0 .8rem; }
.rich-text h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); margin: 0 0 .8rem; }
.rich-text h2:first-child, .rich-text h3:first-child { margin-top: 0; }
.rich-text p { margin-bottom: 1rem; }
.rich-text b, .rich-text strong { color: var(--ink); }
.rich-text ul, .rich-text ol { padding-left: 1.2rem; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.rich-text td, .rich-text th { border: 1px solid var(--line); padding: .5rem .75rem; }
.text-white-75 { color: rgba(255, 255, 255, .78) !important; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section-tight { padding-top: 0; margin-top: -60px; position: relative; z-index: 3; }
.section-muted { background: var(--surface); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .75); font-size: .85rem; padding: 9px 0; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.topbar-info i { color: var(--brand); margin-right: .4rem; }
.topbar-social { gap: .5rem !important; }
.topbar-social .label { margin-right: .4rem; }
.topbar-social a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: .8rem; }
.topbar-social a:hover { background: var(--brand); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(14, 23, 38, .25); }
.site-header .navbar { min-height: var(--header-h); }
.navbar-brand { padding: 0; margin-right: 1.5rem; }
.navbar-brand img { height: 52px; width: auto; }
.main-nav { gap: .25rem; }
.main-nav .nav-link { font-family: var(--font-head); font-weight: 600; color: var(--ink); padding: .6rem 1rem !important; border-radius: 999px; font-size: .97rem; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.main-nav .dropdown-toggle::after { border: 0; content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; vertical-align: 0; margin-left: .35rem; font-size: .75rem; transition: transform .2s; }
.hover-dropdown .dropdown-menu { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem; min-width: 230px; margin-top: 0; }
.dropdown-menu-wide { min-width: 290px !important; }
.dropdown-item { border-radius: 8px; padding: .55rem .85rem; font-weight: 500; color: var(--ink); font-size: .93rem; white-space: normal; }
.dropdown-item i { color: var(--brand); font-size: .75rem; width: 16px; }
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active { background: var(--brand-soft); color: var(--brand); }
@media (min-width: 992px) {
    .hover-dropdown { position: relative; }
    .hover-dropdown .dropdown-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s ease; top: 100%; left: 0; }
    .hover-dropdown:hover .dropdown-menu, .hover-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .hover-dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }
    .hover-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
}
.header-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.header-call { align-items: center; gap: .65rem; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2; }
.header-call small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .75rem; }
.header-call .icon { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.header-call:hover { color: var(--brand); }
.menu-toggle { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Mobile menu */
.mobile-menu { width: min(340px, 88vw) !important; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-nav, .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > li { border-bottom: 1px solid var(--line); }
.mobile-nav a, .mobile-sub-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: .9rem .25rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); background: none; border: 0; text-align: left; font-size: 1rem; }
.mobile-nav a.active, .mobile-sub-toggle:not(.collapsed) { color: var(--brand); }
.mobile-sub-toggle i { font-size: .8rem; transition: transform .2s; }
.mobile-sub-toggle:not(.collapsed) i { transform: rotate(180deg); }
.mobile-nav ul { padding: 0 0 .6rem .75rem; }
.mobile-nav ul a { padding: .5rem .25rem; font-weight: 500; font-size: .93rem; color: var(--text); }
.mobile-menu-contact { margin-top: 1.5rem; display: grid; gap: .6rem; }
.mobile-menu-contact a:not(.btn) { color: var(--ink); font-weight: 500; }
.mobile-menu-contact i { color: var(--brand); width: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); }
.hero .carousel-item img { aspect-ratio: 1920 / 800; object-fit: cover; }
.hero-arrow { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); color: #fff; border: 1px solid rgba(255, 255, 255, .25); transition: background .2s; }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 8%; opacity: 1; }
.hero .carousel-control-prev:hover .hero-arrow, .hero .carousel-control-next:hover .hero-arrow { background: var(--brand); border-color: var(--brand); }
.hero .carousel-indicators { margin-bottom: 76px; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; border: 0; opacity: .5; }
.hero .carousel-indicators .active { opacity: 1; background: var(--brand); width: 44px; }

/* Trust strip */
.trust-strip { background: var(--ink); color: #fff; padding: 18px 0 78px; }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; }
.trust-strip li { font-family: var(--font-head); font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: .6rem; }
.trust-strip i { color: var(--brand); font-size: 1.05rem; }

/* ---------- Feature cards ---------- */
.feature-card { height: 100%; background: #fff; border-radius: var(--radius); padding: 1.75rem 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.feature-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--brand); transition: width .35s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card:hover::after { width: 100%; }
.feature-icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); box-shadow: 0 10px 20px -10px rgba(233, 36, 39, .8); display: grid; place-items: center; margin-bottom: 1.1rem; }
.feature-icon img { width: 34px; height: 34px; object-fit: contain; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: .55rem; }
.feature-card p { font-size: .93rem; margin: 0; color: var(--muted); line-height: 1.65; }

/* ---------- About (home) ---------- */
.about-media { position: relative; padding: 0 0 28px 28px; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 70%; border-radius: var(--radius); background: repeating-linear-gradient(135deg, var(--brand) 0 2px, transparent 2px 12px); opacity: .22; }
.about-media img { position: relative; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.experience-badge { position: absolute; right: 24px; bottom: 0; background: var(--brand); color: #fff; border-radius: var(--radius); padding: 1.1rem 1.4rem; display: flex; align-items: center; gap: .75rem; box-shadow: 0 18px 40px -16px rgba(233, 36, 39, .8); }
.experience-badge strong { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.experience-badge span { font-weight: 600; line-height: 1.25; font-size: .9rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: .95rem; }
.check-list i { color: var(--brand); margin-top: .3rem; }

/* ---------- Category cards ---------- */
.category-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.category-media { display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.category-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s; }
.category-card:hover .category-media img { transform: scale(1.06); }
.category-body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.15rem 1.15rem; border-top: 1px solid var(--line); flex: 1; }
.category-name { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.category-count { font-size: .85rem; color: var(--brand); font-weight: 600; margin-top: auto; display: flex; align-items: center; gap: .4rem; }

/* ---------- Product cards ---------- */
.product-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s; }
.product-card:hover .product-media img { transform: scale(1.06); }
.badge-off { position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; padding: .3rem .6rem; border-radius: 999px; letter-spacing: .03em; }
.badge-cert { position: absolute; bottom: 12px; left: 12px; background: rgba(14, 23, 38, .85); color: #fff; font-size: .68rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; letter-spacing: .04em; }
.product-body { padding: 1.1rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); }
.product-title { font-size: 1rem; line-height: 1.4; margin-bottom: .4rem; }
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--brand); }
.product-excerpt { font-size: .86rem; color: var(--muted); line-height: 1.6; margin-bottom: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; padding-top: .8rem; border-top: 1px dashed var(--line); }
.price strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.price s { color: var(--muted); font-size: .85rem; margin-left: .35rem; }

/* ---------- Why section ---------- */
.why-section { background: radial-gradient(1000px 500px at 85% 20%, rgba(233, 36, 39, .22), transparent 60%), linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.why-section::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.why-section .container { position: relative; }
.why-grid { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.why-grid li { display: flex; align-items: center; gap: .8rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: .8rem 1rem; color: #fff; font-weight: 600; font-size: .93rem; line-height: 1.35; }
.why-grid span { font-family: var(--font-head); color: var(--brand); font-weight: 800; font-size: 1rem; flex-shrink: 0; }
.why-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- Stats ---------- */
.stats-section { background: var(--brand); color: #fff; padding: 48px 0; background-image: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; }
.stat i { font-size: 1.6rem; opacity: .8; margin-bottom: .4rem; }
.stat strong { font-family: var(--font-head); font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); line-height: 1.1; color: #fff; }
.stat > span { font-weight: 500; opacity: .9; }

/* ---------- Testimonials / horizontal tracks ---------- */
.slider-btns { display: flex; gap: .5rem; flex-shrink: 0; }
.slider-btns button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: all .2s; }
.slider-btns button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.testimonial-track, .related-track { display: grid; grid-auto-flow: column; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 12px; margin: -4px; }
.testimonial-track::-webkit-scrollbar, .related-track::-webkit-scrollbar { display: none; }
.testimonial-track { grid-auto-columns: calc((100% - 3rem) / 3); }
.related-track { grid-auto-columns: calc((100% - 4.5rem) / 4); }
.testimonial-card, .related-item { scroll-snap-align: start; }
.testimonial-card { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; position: relative; border: 1px solid var(--line); }
.testimonial-card::before { content: "\f10d"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 1.5rem; top: 1.25rem; font-size: 2.4rem; color: var(--brand); opacity: .12; }
.stars { color: #f5a623; font-size: .85rem; display: flex; gap: 2px; margin-bottom: .9rem; }
.testimonial-card blockquote { color: var(--ink); font-size: 1rem; line-height: 1.7; margin-bottom: 1.4rem; flex: 1; }
.testimonial-card figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial-card figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.testimonial-card figcaption strong { display: block; font-family: var(--font-head); color: var(--ink); }
.testimonial-card figcaption small { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0; position: relative; z-index: 2; margin-bottom: -70px; }
.cta-inner { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%); border-radius: 22px; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: #fff; box-shadow: 0 30px 60px -30px rgba(196, 22, 26, .8); position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); margin-bottom: .4rem; }
.cta-inner p { margin: 0; opacity: .9; }
.cta-inner .eyebrow-light { color: rgba(255, 255, 255, .85); }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); padding: 130px 0 0; font-size: .94rem; }
.footer-logo img { height: 54px; width: auto; margin-bottom: 1.1rem; }
.footer-about { line-height: 1.75; }
.footer-badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-badges span { border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: .25rem .75rem; font-size: .75rem; font-weight: 600; color: #fff; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--brand); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a { color: rgba(255, 255, 255, .68); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .85rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact i { color: var(--brand); margin-top: .35rem; width: 16px; flex-shrink: 0; }
.footer-contact a { color: rgba(255, 255, 255, .85); }
.footer-contact a:hover { color: #fff; }
.footer-social { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-bottom { margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }

/* ---------- Floating buttons ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: flex; flex-direction: column; gap: .65rem; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.45rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); }
.float-btn:hover { color: #fff; transform: scale(1.08); }
.float-wa { background: var(--wa); position: relative; }
.float-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2s infinite; }
.float-call { background: var(--brand); font-size: 1.2rem; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.go-top { position: fixed; left: 18px; bottom: 18px; z-index: 1040; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.go-top.show { opacity: 1; visibility: visible; transform: none; }
.go-top:hover { background: var(--brand); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 84px); background: linear-gradient(100deg, rgba(14, 23, 38, .95) 0%, rgba(14, 23, 38, .8) 55%, rgba(14, 23, 38, .55) 100%), var(--hero-img) center / cover no-repeat; color: #fff; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--copper)); }
.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); font-weight: 800; margin: 0; max-width: 900px; }
.page-hero p { margin: .75rem 0 0; color: rgba(255, 255, 255, .78); max-width: 640px; font-size: 1.05rem; }
.crumbs { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; }
.crumbs li { display: flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; color: rgba(255, 255, 255, .4); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: #ff8a8c; }

/* ---------- Content + sidebar ---------- */
.content-card .content-cover { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow); max-height: 460px; object-fit: cover; }
.content-card .rich-text { font-size: 1.02rem; line-height: 1.8; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.5rem; }
.side-card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.side-title { font-size: 1.1rem; margin-bottom: 1rem; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.side-links a { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 10px; padding: .7rem 1rem; color: var(--ink); font-weight: 500; font-size: .94rem; border: 1px solid var(--line); }
.side-links a i { font-size: .7rem; color: var(--muted); }
.side-links a:hover, .side-links a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.side-links a:hover i, .side-links a.active i { color: #fff; }
.side-help { background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: rgba(255, 255, 255, .78); border: 0; text-align: center; }
.side-help > i { font-size: 2.2rem; color: var(--brand); margin-bottom: .75rem; }
.side-help h3 { color: #fff; font-size: 1.15rem; }
.side-help p { font-size: .92rem; }

/* ---------- Category page ---------- */
.category-intro { max-width: 860px; margin: 0 auto 2rem; text-align: center; }
.category-intro * { text-align: center !important; }
.category-intro h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); font-weight: 800; }
.category-intro p { color: var(--muted); }
.chip-scroll { display: flex; flex-wrap: wrap; gap: .5rem; padding: 4px 2px 10px; margin-bottom: 1.5rem; justify-content: center; }
.chip { flex-shrink: 0; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 1.25rem; }
.empty-state { text-align: center; padding: 3.5rem 1.5rem; background: var(--surface); border-radius: var(--radius); }
.empty-state > i { font-size: 2.6rem; color: var(--brand); margin-bottom: 1rem; }

/* ---------- Product details ---------- */
.product-gallery { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.product-gallery a { display: block; position: relative; cursor: zoom-in; }
.product-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; background: rgba(14, 23, 38, .8); color: #fff; font-size: .78rem; padding: .35rem .75rem; border-radius: 999px; }
.badge-lg { font-size: .85rem; padding: .4rem .8rem; top: 16px; left: 16px; }
.product-info .eyebrow { margin-bottom: .5rem; }
.product-desc h3 { font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); font-weight: 800; }
.price-box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--brand-soft); border: 1px solid #f9d0d1; border-radius: var(--radius); padding: 1.1rem 1.4rem; margin: 1.25rem 0; }
.price-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--brand); }
.price-now { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.price-now small { font-size: 1rem; color: var(--muted); }
.price-old { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; font-size: .92rem; color: var(--muted); }
.price-old .save { background: #16a34a; color: #fff; font-weight: 700; font-size: .8rem; padding: .25rem .65rem; border-radius: 999px; }
.spec-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.spec-box h3 { font-size: 1rem; margin: 0; padding: .9rem 1.2rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.spec-box h3 i { color: var(--brand); margin-right: .4rem; }
.spec-list > p, .spec-list > div { margin: 0; padding: .7rem 1.2rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-list > p:nth-child(even), .spec-list > div:nth-child(even) { background: #fafbfc; }
.spec-list > p:last-child, .spec-list > div:last-child { border-bottom: 0; }
.spec-list > div:empty, .spec-list > div:has(> br:only-child) { display: none; }
.buy-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.buy-actions .btn { flex: 1 1 200px; }
.assurance { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; font-weight: 500; color: var(--ink); }
.assurance i { color: var(--brand); margin-right: .35rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--surface); box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14, 23, 38, .45); color: #fff; font-size: 1.6rem; opacity: 0; transition: opacity .25s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.lightbox .modal-content { background: transparent; border: 0; position: relative; align-items: center; }
.lightbox img { max-height: 85vh; width: auto; max-width: 100%; border-radius: 12px; background: #fff; }
.lightbox .btn-close { position: absolute; top: -44px; right: 0; opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); z-index: 2; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-nav:hover { background: var(--brand); color: #fff; }
.modal-backdrop.show { opacity: .85; }

/* ---------- Contact ---------- */
.contact-card { height: 100%; text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card .icon { width: 60px; height: 60px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.35rem; margin-bottom: 1rem; }
.contact-card h3 { font-size: 1.1rem; }
.contact-card p { margin: 0; color: var(--text); }
.contact-card a { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-card a:hover { color: var(--brand); }
.form-card { background: var(--surface); border-radius: 20px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); height: 100%; }
.form-label { font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: .35rem; }
.form-control, .form-select { border-radius: 12px; border: 1px solid #d9dee7; padding: .75rem 1rem; font-size: .96rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(233, 36, 39, .12); }
.form-note { font-size: .82rem; color: var(--muted); margin: .75rem 0 0; }
.map-card { height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.map-card iframe { width: 100%; flex: 1; min-height: 360px; border: 0; border-radius: 20px; box-shadow: var(--shadow); }
.quote-modal { border-radius: 20px; border: 0; }
.quote-modal .modal-header { border-bottom: 1px solid var(--line); padding: 1.25rem 1.5rem; align-items: flex-start; }
.quote-modal .modal-title { font-weight: 800; }
.quote-modal .modal-body { padding: 1.5rem; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-wa::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .testimonial-track { grid-auto-columns: calc((100% - 1.5rem) / 2); }
    .related-track { grid-auto-columns: calc((100% - 3rem) / 3); }
}
@media (max-width: 991.98px) {
    :root { --header-h: 72px; }
    .navbar-brand img { height: 44px; }
    .sidebar, .product-gallery { position: static; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .trust-strip ul { justify-content: center; }
    .about-media { margin-bottom: 1rem; }
}
@media (max-width: 767.98px) {
    body { font-size: 15px; }
    .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
    .hero .carousel-indicators { margin-bottom: 64px; }
    .trust-strip { padding: 14px 0 70px; }
    .trust-strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; }
    .trust-strip li { font-size: .85rem; }
    .trust-strip li:last-child { grid-column: 1 / -1; justify-content: center; }
    .section-tight { margin-top: -50px; }
    .feature-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; padding: 1.25rem; }
    .feature-icon { width: 52px; height: 52px; border-radius: 14px; margin: 0; grid-row: span 2; }
    .feature-icon img { width: 28px; height: 28px; }
    .feature-card h3 { font-size: 1rem; margin-bottom: .3rem; align-self: end; }
    .feature-card p { font-size: .88rem; }
    .check-list, .why-grid { grid-template-columns: 1fr; }
    .testimonial-track { grid-auto-columns: 86%; gap: 1rem; }
    .related-track { grid-auto-columns: 62%; gap: 1rem; }
    .product-body { padding: .85rem; }
    .product-title { font-size: .9rem; }
    .product-excerpt { display: none; }
    .price strong { font-size: 1rem; }
    .product-foot { padding-top: .6rem; }
    .badge-cert { display: none; }
    .category-body { padding: .8rem .85rem; }
    .category-name { font-size: .9rem; }
    .category-count { font-size: .78rem; }
    .chip-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
    .experience-badge { right: 12px; padding: .8rem 1rem; }
    .experience-badge strong { font-size: 1.8rem; }
    .price-now { font-size: 1.75rem; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1 1 100%; }
    .footer-bottom { flex-direction: column; text-align: center; padding-bottom: 5rem; }
    .float-actions { right: 12px; bottom: 14px; }
    .float-btn { width: 46px; height: 46px; font-size: 1.25rem; }
    .section-head .slider-btns { display: none; }
}
@media (max-width: 400px) {
    .product-foot .link-arrow { display: none; }
}
