/* =========================================================
   FTT ILICA brand theme
   Loaded after style.css. Recolours the site to the logo
   (shield red + charcoal) and gives it its own look:
   rounded shapes, pill buttons, sentence-case headings,
   badge eyebrows and slanted section edges.
   Layout, markup and animations are unchanged.
   ========================================================= */

:root {
    --brand: #e3262b;
    --brand-dark: #b81d22;
    --brand-soft: #fdecec;
    --brand-rgb: 227, 38, 43;
    --dark: #2e353d;
    --dark-2: #232a31;
    --text: #2e353d;
    --muted: #66707a;
    --surface: #f3f5f7;
    --font-head: "Sora", sans-serif;
    --font-body: "Inter", sans-serif;
    --radius: 14px;
}

/* ---------- Buttons: pills instead of square blocks ---------- */
.btn-brand,
.btn-outline-light {
    border-radius: 50px;
    text-transform: none;
    letter-spacing: .01em;
    font-weight: 600;
}

.btn-brand {
    --bs-btn-focus-shadow-rgb: var(--brand-rgb);
    font-size: .92rem;
}

.btn-lg {
    font-size: .98rem;
}

@media (hover: hover) {
    .btn-brand:hover {
        box-shadow: 0 12px 26px rgba(var(--brand-rgb), .35);
    }
}

/* ---------- Topbar ---------- */
.topbar {
    background: var(--dark-2);
    color: #c9d0d6;
}

.topbar a {
    color: #c9d0d6;
}

/* ---------- Header ---------- */
.site-header {
    border-bottom: 0;
    box-shadow: 0 1px 0 #e8ebee;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 28px rgba(46, 53, 61, .1);
}

.logo {
    gap: .6rem;
    font-weight: 800;
    font-size: 1.55rem;
    letter-spacing: .03em;
}

.logo-mark {
    width: auto;
    height: 46px;
    object-fit: contain;
}

.logo:hover .logo-mark {
    rotate: none !important;
}

@media (hover: hover) {
    .logo:hover .logo-mark {
        transform: translateY(-2px) scale(1.05);
    }
}

.logo-mark {
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.site-header .nav-link {
    font-weight: 600;
    font-size: .93rem;
    letter-spacing: 0;
    text-transform: none;
}

/* Dot under the active / hovered link instead of a full underline */
.site-header .nav-link::after {
    left: 50%;
    right: auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    translate: -50% 0;
    transform: scale(0);
    transform-origin: center;
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
    transform: scale(1);
}

.site-header .dropdown-toggle::after {
    width: auto;
    height: auto;
    border-radius: 0;
    translate: none;
}

.site-header .dropdown-menu {
    border-top: 0;
    border-radius: var(--radius);
    padding: .5rem;
}

.site-header .dropdown-item {
    border-radius: 8px;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    background: var(--brand-soft);
}

@media (max-width: 991.98px) {
    .logo {
        font-size: 1.3rem;
    }

    .logo-mark {
        width: auto;
        height: 38px;
    }

    .site-header .dropdown-menu {
        background: var(--surface);
    }
}

/* ---------- Hero ---------- */
.hero {
    background: var(--dark);
}

.hero-overlay {
    background: linear-gradient(100deg, rgba(35, 42, 49, .9) 0%, rgba(35, 42, 49, .62) 38%, rgba(35, 42, 49, .12) 68%, rgba(var(--brand-rgb), .12) 100%);
}

/* Slanted red edge instead of a flat line */
.hero-overlay::after {
    height: 10px;
    clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}

@media (max-width: 991.98px) {
    .hero-overlay {
        background: linear-gradient(100deg, rgba(35, 42, 49, .9) 0%, rgba(35, 42, 49, .6) 60%, rgba(35, 42, 49, .25) 100%);
    }
}

@media (max-width: 575.98px) {
    .hero-overlay {
        background: linear-gradient(180deg, rgba(35, 42, 49, .5) 0%, rgba(35, 42, 49, .85) 100%);
    }
}

/* Eyebrow as a badge */
.hero-eyebrow {
    padding: .45rem 1rem .45rem .5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .08em;
    text-shadow: none;
}

.hero-eyebrow::before {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (max-width: 575.98px) {
    .hero-eyebrow::before {
        display: inline-block;
    }
}

.hero-title {
    font-weight: 800;
    text-transform: none;
    letter-spacing: -.02em;
    line-height: 1.08;
}

.hero-title span {
    background: linear-gradient(90deg, #ff4a4f 0%, #ff9a9c 45%, #ff4a4f 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-arrow {
    border-radius: 14px;
}

.hv-glow {
    background: radial-gradient(circle, rgba(var(--brand-rgb), .5) 0%, rgba(var(--brand-rgb), .12) 45%, rgba(var(--brand-rgb), 0) 70%);
}

.hv-ring-2 {
    border-color: rgba(var(--brand-rgb), .8);
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.hv-chip {
    text-transform: none;
    letter-spacing: .01em;
    font-weight: 600;
    font-size: .8rem;
}

.scroll-progress {
    background: linear-gradient(90deg, var(--brand), #ff7a7d);
}

/* ---------- Ticker: red strip ---------- */
.ticker {
    background: var(--brand);
}

.ticker-list li {
    font-weight: 700;
    letter-spacing: .1em;
}

.ticker-list li::before {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23e3262b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Section headings ---------- */
.section-eyebrow {
    padding: .4rem .95rem;
    border-radius: 50px;
    background: var(--brand-soft);
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .14em;
}

.section-eyebrow::before,
.section-eyebrow::after,
.js-reveal .reveal .section-eyebrow::before,
.js-reveal .reveal .section-eyebrow::after,
.js-reveal .reveal.is-visible .section-eyebrow::before,
.js-reveal .reveal.is-visible .section-eyebrow::after {
    display: none;
}

.section-title {
    font-weight: 800;
    text-transform: none;
    letter-spacing: -.02em;
}

/* Brush-style underline under the highlighted word */
.section-title span {
    position: relative;
    white-space: nowrap;
}

.section-title span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.08em;
    height: .16em;
    border-radius: 4px;
    background: currentColor;
    opacity: .22;
}

/* ---------- Categories ---------- */
.featured-categories {
    background: var(--surface);
}

.category-card {
    border-radius: 18px;
    background: var(--dark);
}

.category-card-img::before {
    background: linear-gradient(180deg, rgba(35, 42, 49, 0) 40%, rgba(35, 42, 49, .6) 70%, rgba(35, 42, 49, .92) 100%);
}

.category-card-title {
    font-weight: 700;
    text-transform: none;
}

.category-card-count {
    text-transform: none;
    letter-spacing: .01em;
}

.category-icon {
    border-radius: 10px;
    border-color: var(--brand);
    background: var(--brand);
    color: var(--white);
}

.category-card::before {
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--brand-rgb), .28), rgba(var(--brand-rgb), 0) 60%);
}

@media (hover: hover) {
    .category-card:hover .category-card-title {
        color: var(--white);
    }

    .category-card:hover .category-icon {
        background: var(--white);
        color: var(--brand);
        border-color: var(--white);
    }
}

/* ---------- New products ---------- */
.nps-tab {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    font-size: .88rem;
    border-color: #e1e5e9;
}

.nps-panel {
    background: var(--surface);
    border-radius: 24px;
}

.nps-figure img {
    border-radius: 18px;
}

.nps-feat {
    border-radius: 12px;
}

.nps-feat strong {
    font-weight: 700;
}

.nps-num {
    border-radius: 8px;
}

.nps-cat {
    letter-spacing: .1em;
}

.nps-badge {
    background: var(--brand);
    border-radius: 50px;
    padding: .28rem .7rem;
}

.nps-title {
    font-weight: 700;
}

.nps-specs li {
    border-color: #dfe3e7;
}

.nps-link {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: .92rem;
}

@media (max-width: 767.98px) {
    .nps-tab {
        font-size: .74rem;
        border-radius: 50px;
    }

    .nps-panel {
        border-radius: 18px;
    }
}

/* ---------- About ---------- */
.ab-media::before {
    border-radius: 14px 0 0 0;
}

.ab-img-main,
.ab-img-small {
    border-radius: 18px;
}

.ab-badge {
    border-radius: 16px;
}

.ab-badge {
    animation-name: badgeGlowFtt;
}

.ab-points i {
    color: var(--brand);
}

/* ---------- Brands ---------- */
.brd-section {
    background: var(--dark);
}

.brd-section::before {
    background: radial-gradient(circle, rgba(var(--brand-rgb), .25) 0%, rgba(var(--brand-rgb), 0) 70%);
}

.brd-section .section-eyebrow {
    background: rgba(var(--brand-rgb), .18);
    color: #ff7a7d;
}

.brd-card {
    border-radius: var(--radius);
}

.brd-name {
    font-weight: 800;
    letter-spacing: .02em;
}

.brd-distributor {
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(var(--brand-rgb), .25);
}

.brd-dist-btn {
    border-radius: 50px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

/* ---------- Blog ---------- */
.bl-section {
    background: var(--surface);
}

.bl-card {
    border-radius: 18px;
}

.bl-tag {
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 50px;
    padding: .32rem .75rem;
}

.bl-title {
    font-weight: 700;
}

.bl-more {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: .9rem;
}

/* ---------- Contact ---------- */
.ct-wrap {
    border-radius: 22px;
}

.ct-info {
    background: var(--dark);
}

.ct-info::after {
    border-color: rgba(var(--brand-rgb), .16);
}

.ct-icon {
    border-radius: 12px;
    background: rgba(var(--brand-rgb), .16);
    color: #ff6266;
}

.ct-label {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: .85rem;
}

.ct-input {
    border-radius: 10px;
    background: var(--surface);
    border-color: #e1e5e9;
}

.ct-input:focus {
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .15);
}

.ct-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e3262b' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 8px;
}

/* ---------- Footer ---------- */
.ft {
    background: var(--dark-2);
    border-top: 0;
}

/* Slanted red band on top of the footer */
.ft::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 8px;
    background: var(--brand);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
}

.ft-title {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.ft-title::after {
    border-radius: 4px;
}

.ft-social a,
.ct-social a,
.topbar-social a {
    border-radius: 10px;
}

.ft-top-btn {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(var(--brand-rgb), .35);
}

/* ---------- Keyframes ---------- */
@keyframes badgeGlowFtt {
    0%, 100% { box-shadow: 0 14px 30px rgba(227, 38, 43, .35); }
    50%      { box-shadow: 0 14px 30px rgba(227, 38, 43, .35), 0 0 0 10px rgba(227, 38, 43, .14); }
}
