/* ============================================================
   Astar Toptancısı — Public site
   Design system on top of Bootstrap 5.
   ============================================================ */

:root {
    /* Brand */
    --navy-900: #061529;
    --navy-800: #0B2545;
    --navy-700: #13315C;
    --navy-600: #1C4576;
    --navy-100: #DCE6F2;

    --accent-300: #F7BE72;
    --accent-400: #F0A03C;
    --accent-500: #E08A1E;
    --accent-600: #C4761A;

    /* Neutrals */
    --gray-25: #FCFCFD;
    --gray-50: #F7F9FC;
    --gray-100: #EDF1F7;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0F172A;

    --success: #1F7A5A;
    --whatsapp: #25D366;

    /* Shape */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Elevation */
    --shadow-xs: 0 1px 2px rgba(8, 21, 41, .05);
    --shadow-sm: 0 1px 3px rgba(8, 21, 41, .06), 0 1px 2px rgba(8, 21, 41, .04);
    --shadow-md: 0 4px 12px rgba(8, 21, 41, .07), 0 2px 4px rgba(8, 21, 41, .04);
    --shadow-lg: 0 12px 28px rgba(8, 21, 41, .10), 0 4px 10px rgba(8, 21, 41, .05);
    --shadow-xl: 0 24px 56px rgba(8, 21, 41, .16), 0 8px 20px rgba(8, 21, 41, .07);
    --shadow-accent: 0 8px 22px rgba(224, 138, 30, .32);

    /* Motion */
    --ease: cubic-bezier(.22, .61, .36, 1);
    --t-fast: .16s;
    --t-base: .26s;

    --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    background: #fff;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.22;
}

h1 {
    font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
}

h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.25rem);
}

p {
    color: var(--gray-600);
}

.lead {
    font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem);
    line-height: 1.7;
    color: var(--gray-600);
}

a {
    color: var(--navy-700);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease);
}

a:hover {
    color: var(--navy-800);
}

:focus-visible {
    outline: 2px solid var(--accent-500);
    outline-offset: 3px;
    border-radius: 2px;
}

::selection {
    background: var(--accent-500);
    color: #fff;
}

img {
    max-width: 100%;
}

/* ---------- Inline icon system ---------- */

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -.2em;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 26px;
    height: 26px;
}

.icon-solid {
    fill: currentColor;
    stroke: none;
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, rgba(224, 138, 30, .16), rgba(224, 138, 30, .06));
    color: var(--accent-600);
    flex: 0 0 auto;
}

.icon-circle-navy {
    background: linear-gradient(140deg, rgba(19, 49, 92, .12), rgba(19, 49, 92, .04));
    color: var(--navy-700);
}

/* ---------- Buttons ---------- */

.btn {
    --bs-btn-font-weight: 600;
    border-radius: var(--radius-sm);
    padding: .6rem 1.25rem;
    letter-spacing: -.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: background-color var(--t-fast) var(--ease),
                border-color var(--t-fast) var(--ease),
                color var(--t-fast) var(--ease),
                box-shadow var(--t-base) var(--ease),
                transform var(--t-fast) var(--ease);
}

.btn-lg {
    padding: .8rem 1.6rem;
    font-size: 1rem;
}

.btn:active {
    transform: translateY(1px);
}

.btn-accent {
    background: linear-gradient(180deg, var(--accent-400), var(--accent-500));
    border: 1px solid var(--accent-500);
    color: #21160A;
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover, .btn-accent:focus {
    background: linear-gradient(180deg, var(--accent-500), var(--accent-600));
    border-color: var(--accent-600);
    color: #1B1206;
    box-shadow: var(--shadow-accent);
}

.btn-navy {
    background: var(--navy-800);
    border: 1px solid var(--navy-800);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-navy:hover, .btn-navy:focus {
    background: var(--navy-700);
    border-color: var(--navy-700);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.btn-outline-navy {
    border: 1px solid var(--gray-300);
    color: var(--navy-800);
    background: #fff;
}

.btn-outline-navy:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-outline-light-navy {
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
}

.btn-outline-light-navy:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
}

.btn-whatsapp {
    background: var(--whatsapp);
    border: 1px solid var(--whatsapp);
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1FBE5B;
    border-color: #1FBE5B;
    color: #fff;
    box-shadow: 0 8px 22px rgba(37, 211, 102, .3);
}

.btn-ghost-light {
    color: var(--navy-100);
    border: 1px solid transparent;
    background: transparent;
}

.btn-ghost-light:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

/* ---------- Top bar ---------- */

.topbar {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .72);
    font-size: 13.5px;
    letter-spacing: -.005em;
}

.topbar a {
    color: rgba(255, 255, 255, .72);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.topbar a:hover {
    color: #fff;
}

.topbar .icon {
    stroke-width: 1.6;
    opacity: .8;
}

.topbar-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .07);
    transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.topbar-social a:hover {
    background: var(--accent-500);
    color: #fff;
}

/* ---------- Header ---------- */

.site-header {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 0 rgba(8, 21, 41, .02);
}

.site-header .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy-800);
    letter-spacing: -.03em;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
}

.site-header .navbar-brand:hover {
    color: var(--navy-700);
}

/* Fixed height (not max-height) so small logo files are scaled up instead of
   rendering at their intrinsic size; contain keeps any aspect ratio safe. */
.brand-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

@media (min-width: 992px) {
    .brand-logo {
        height: 48px;
        max-width: 260px;
    }
}

.site-header .nav-link {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 15px;
    padding: .65rem .95rem;
    border-radius: var(--radius-xs);
    position: relative;
    transition: color var(--t-fast) var(--ease);
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: .95rem;
    right: .95rem;
    bottom: .3rem;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base) var(--ease);
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--navy-800);
}

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

.site-header .dropdown-menu {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    margin-top: .5rem;
}

.site-header .dropdown-item {
    border-radius: var(--radius-xs);
    padding: .5rem .75rem;
    font-weight: 500;
    color: var(--gray-700);
}

.site-header .dropdown-item:hover {
    background: var(--gray-50);
    color: var(--navy-800);
}

.navbar-toggler {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-xs);
    padding: .35rem .55rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    background:
        radial-gradient(1100px 520px at 12% -10%, rgba(224, 138, 30, .20), transparent 60%),
        radial-gradient(900px 460px at 92% 8%, rgba(28, 69, 118, .70), transparent 62%),
        linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 48%, #0E2A50 100%);
    color: #fff;
    padding: 56px 0 0;
    overflow: hidden;
    isolation: isolate;
}

/* Woven-texture overlay — reinforces the textile context without an image request. */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .16;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 9px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .32) 0 1px, transparent 1px 9px);
    mask-image: radial-gradient(120% 90% at 70% 20%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000 0%, transparent 72%);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 1.35rem + 3.3vw, 3.5rem);
    letter-spacing: -.035em;
    line-height: 1.1;
    max-width: 15ch;
}

.hero .lead {
    color: rgba(255, 255, 255, .78);
    max-width: 52ch;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--accent-300);
    border-radius: 999px;
    padding: .35rem .9rem .35rem .7rem;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.hero-badge .icon {
    color: var(--accent-400);
}

.hero-accent {
    color: var(--accent-400);
}

/* Hero visual */

.hero-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, .14);
    aspect-ratio: 4 / 3.2;
    background: linear-gradient(150deg, #143561, #0B2545 60%, #08203E);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-visual svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, transparent 45%, rgba(6, 21, 41, .55));
    pointer-events: none;
}

.hero-chip {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, .95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: .7rem .95rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    backdrop-filter: blur(8px);
}

.hero-chip-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.2;
}

.hero-chip-sub {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.2;
}

.hero-chip-tl {
    top: 18px;
    left: 18px;
}

.hero-chip-br {
    right: 18px;
    bottom: 18px;
}

/* Hero slider */

.hero-carousel .carousel-item {
    transition: opacity .6s var(--ease);
}

.hero-visual picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 32px;
}

.hero-nav {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(6px);
    padding: 0;
    transition: background-color var(--t-fast) var(--ease),
                border-color var(--t-fast) var(--ease),
                transform var(--t-fast) var(--ease);
}

.hero-nav:hover {
    background: var(--accent-500);
    border-color: var(--accent-500);
    color: #21160A;
    transform: translateY(-2px);
}

/* Bootstrap positions indicators absolutely; the hero keeps them in flow. */
.hero-dots {
    position: static;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.hero-dots [data-bs-slide-to] {
    width: 28px;
    height: 4px;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, .28);
    opacity: 1;
    text-indent: 0;
    transition: background-color var(--t-base) var(--ease), width var(--t-base) var(--ease);
}

.hero-dots [data-bs-slide-to]:hover {
    background: rgba(255, 255, 255, .5);
}

.hero-dots [data-bs-slide-to].active {
    width: 44px;
    background: var(--accent-500);
}

/* Trust strip */

.hero-trust {
    margin-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: rgba(6, 21, 41, .35);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 20px 0;
    color: rgba(255, 255, 255, .82);
    font-size: 14.5px;
    font-weight: 500;
}

.trust-item .icon {
    color: var(--accent-400);
}

.trust-item strong {
    color: #fff;
    font-weight: 700;
    display: block;
    line-height: 1.25;
}

.trust-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    display: block;
    line-height: 1.3;
}

/* Entry motion */

.reveal {
    animation: reveal-up .7s var(--ease) both;
}

.reveal-1 { animation-delay: .05s; }
.reveal-2 { animation-delay: .14s; }
.reveal-3 { animation-delay: .23s; }
.reveal-4 { animation-delay: .32s; }

@keyframes reveal-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
    position: relative;
    background:
        radial-gradient(760px 320px at 88% -30%, rgba(224, 138, 30, .18), transparent 62%),
        linear-gradient(150deg, var(--navy-900), var(--navy-800) 70%);
    color: #fff;
    padding: 48px 0 52px;
    overflow: hidden;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: .5rem;
}

.page-hero .lead {
    color: rgba(255, 255, 255, .74);
    max-width: 62ch;
    margin-bottom: 0;
}

.page-hero .breadcrumb {
    margin-bottom: .85rem;
    font-size: 13.5px;
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, .62);
}

.page-hero .breadcrumb a:hover {
    color: #fff;
}

.page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, .95);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .35);
}

.breadcrumb {
    --bs-breadcrumb-divider: "›";
}

/* ---------- Sections ---------- */

.section {
    padding: 64px 0;
}

.section-sm {
    padding: 48px 0;
}

.section-alt {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.section-dark {
    position: relative;
    background:
        radial-gradient(800px 380px at 15% 0%, rgba(224, 138, 30, .14), transparent 60%),
        linear-gradient(160deg, var(--navy-900), var(--navy-800));
    color: rgba(255, 255, 255, .78);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #fff;
}

.section-dark p {
    color: rgba(255, 255, 255, .68);
}

.section-head {
    max-width: 62ch;
    margin-bottom: 40px;
}

.section-head-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--accent-600);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .6rem;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-500);
}

.section-dark .eyebrow,
.hero .eyebrow {
    color: var(--accent-400);
}

.section-head p {
    margin-bottom: 0;
}

/* ---------- Cards ---------- */

.card-flat {
    position: relative;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    height: 100%;
    overflow: hidden;
    transition: transform var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease),
                border-color var(--t-base) var(--ease);
}

a.card-flat:hover,
.card-flat:hover {
    transform: translateY(-4px);
    border-color: var(--gray-300);
    box-shadow: var(--shadow-lg);
}

.card-media-wrap {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
}

.card-media {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s var(--ease);
}

.card-media-wide {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s var(--ease);
}

.card-flat:hover .card-media,
.card-flat:hover .card-media-wide {
    transform: scale(1.06);
}

.card-media-empty {
    aspect-ratio: 4 / 3;
    width: 100%;
    display: block;
    background:
        repeating-linear-gradient(90deg, rgba(19, 49, 92, .05) 0 1px, transparent 1px 8px),
        repeating-linear-gradient(0deg, rgba(19, 49, 92, .04) 0 1px, transparent 1px 8px),
        var(--gray-100);
}

.card-title-link {
    color: var(--navy-800);
    font-weight: 700;
    letter-spacing: -.015em;
    transition: color var(--t-fast) var(--ease);
}

.card-flat:hover .card-title-link {
    color: var(--accent-600);
}

.card-arrow {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-700);
}

.card-arrow .icon {
    transition: transform var(--t-base) var(--ease);
}

.card-flat:hover .card-arrow .icon {
    transform: translateX(4px);
}

/* Category card */

.category-card .card-media-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 21, 41, .72));
}

.category-card .card-media-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
}

.category-card .card-media-caption h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: .1rem;
}

.category-count {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .82);
}

/* Feature card */

.feature-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 26px;
    height: 100%;
    box-shadow: var(--shadow-xs);
    transition: transform var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease),
                border-color var(--t-base) var(--ease);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.feature-card h3 {
    font-size: 1.05rem;
    margin: 1rem 0 .4rem;
}

.feature-card p {
    font-size: 14.5px;
    margin-bottom: 0;
}

/* ---------- Spec chips & stock badge ---------- */

.spec-chip {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 3px 10px;
    color: var(--gray-600);
    white-space: nowrap;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 11px;
    letter-spacing: -.01em;
}

.stock-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.stock-0 {
    background: rgba(31, 122, 90, .1);
    color: var(--success);
}

.stock-1 {
    background: rgba(224, 138, 30, .14);
    color: var(--accent-600);
}

.stock-2 {
    background: var(--gray-100);
    color: var(--gray-600);
}

.badge-float {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
}

/* ---------- Process timeline ---------- */

.process-step {
    position: relative;
    padding: 26px 22px;
    height: 100%;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: background-color var(--t-base) var(--ease),
                border-color var(--t-base) var(--ease),
                transform var(--t-base) var(--ease);
}

.process-step:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(224, 138, 30, .45);
    transform: translateY(-4px);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: linear-gradient(150deg, var(--accent-400), var(--accent-600));
    color: #21160A;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -.02em;
    box-shadow: var(--shadow-accent);
}

.process-step h3 {
    font-size: 1.02rem;
    margin: 1rem 0 .35rem;
}

.process-step p {
    font-size: 14.5px;
    margin-bottom: 0;
}

.process-line {
    display: none;
}

/* ---------- Stats ---------- */

.stats-band {
    background: linear-gradient(160deg, var(--gray-50), #fff);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.stat-item {
    text-align: center;
    padding: 8px 4px;
}

.stat-value {
    font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
    background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-500);
    margin-top: .25rem;
}

.section-dark .stat-value {
    background: linear-gradient(160deg, #fff, var(--navy-100));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-dark .stat-label {
    color: rgba(255, 255, 255, .6);
}

/* ---------- Logo wall / marquee ---------- */

.logo-box {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: border-color var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease),
                transform var(--t-base) var(--ease);
}

.logo-box:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.logo-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .62;
    transition: filter var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}

.logo-box:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.logo-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gray-500);
    text-align: center;
    letter-spacing: -.01em;
}

.logo-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 44s linear infinite;
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-track .logo-box {
    width: 190px;
    flex: 0 0 190px;
}

@keyframes marquee {
    to { transform: translateX(calc(-50% - 8px)); }
}

/* ---------- CTA band ---------- */

.cta-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(620px 320px at 88% 10%, rgba(224, 138, 30, .28), transparent 60%),
        linear-gradient(150deg, var(--navy-800), var(--navy-900));
    color: #fff;
    padding: 56px 0;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 10px);
    mask-image: radial-gradient(90% 100% at 100% 50%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(90% 100% at 100% 50%, #000, transparent 70%);
}

.cta-band > .container {
    position: relative;
}

.cta-band h2 {
    color: #fff;
    margin-bottom: .4rem;
}

.cta-band p {
    color: rgba(255, 255, 255, .74);
    margin-bottom: 0;
}

/* ---------- Catalog filters & empty state ---------- */

.overline-sm {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.filter-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 8px;
    scrollbar-width: thin;
}

.filter-chip {
    flex: 0 0 auto;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: .5rem 1rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    background: #fff;
    white-space: nowrap;
    box-shadow: var(--shadow-xs);
    transition: all var(--t-fast) var(--ease);
}

.filter-chip:hover {
    border-color: var(--navy-700);
    color: var(--navy-800);
    box-shadow: var(--shadow-sm);
}

.filter-chip.active {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.filter-count {
    opacity: .6;
    font-size: 12px;
    margin-left: .3rem;
}

.empty-state {
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    padding: 64px 24px;
    text-align: center;
    background: linear-gradient(160deg, var(--gray-50), #fff);
}

.empty-state .icon-circle {
    margin-bottom: 1rem;
}

/* ---------- Product detail ---------- */

.product-main-image,
.product-main-empty {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--gray-100);
    display: block;
    box-shadow: var(--shadow-md);
}

.thumb-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.thumb-btn {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    padding: 0;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.thumb-btn:hover,
.thumb-btn.is-active {
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px rgba(224, 138, 30, .16);
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spec-table {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 0;
}

.spec-table th {
    width: 42%;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-500);
    background: var(--gray-50);
    border-color: var(--gray-200);
    padding: .7rem 1rem;
}

.spec-table td {
    color: var(--gray-900);
    font-weight: 600;
    font-size: 14.5px;
    border-color: var(--gray-200);
    padding: .7rem 1rem;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: 0;
}

/* ---------- Sidebar / forms ---------- */

.sidebar-card {
    background: linear-gradient(160deg, var(--gray-50), #fff);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 92px;
}

.form-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.form-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: .3rem;
}

.form-control,
.form-select {
    border-color: var(--gray-200);
    border-radius: var(--radius-sm);
    padding: .65rem .85rem;
    font-size: 15px;
    background-color: var(--gray-25);
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--navy-600);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(28, 69, 118, .1);
}

.form-check-input:checked {
    background-color: var(--navy-800);
    border-color: var(--navy-800);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(28, 69, 118, .12);
    border-color: var(--navy-600);
}

/* ---------- Contact ---------- */

.contact-tile {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
    height: 100%;
    box-shadow: var(--shadow-xs);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.contact-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.contact-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: .15rem;
}

.contact-value {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--navy-800);
    line-height: 1.45;
    word-break: break-word;
}

a.contact-value:hover {
    color: var(--accent-600);
}

/* ---------- Maps ---------- */

.map-frame {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    line-height: 0;
    box-shadow: var(--shadow-md);
    background: var(--gray-100);
}

.map-frame iframe,
.map-frame img {
    width: 100% !important;
    border: 0;
    display: block;
    height: 420px;
}

.footer-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    line-height: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    filter: grayscale(35%) contrast(1.05);
}

.footer-map iframe,
.footer-map img {
    width: 100% !important;
    border: 0;
    display: block;
    height: 340px;
}

/* ---------- Footer ---------- */

.site-footer {
    position: relative;
    background: linear-gradient(180deg, var(--navy-900), #04101F);
    color: rgba(255, 255, 255, .66);
    padding-top: 56px;
    font-size: 14.5px;
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.site-footer .footer-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    text-transform: none;
    margin-bottom: .75rem;
}

.footer-logo {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

/* Used when no light logo exists: a white plate keeps a dark logo readable on the dark footer. */
.footer-logo-plate {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    height: 52px;
}

.site-footer p {
    color: rgba(255, 255, 255, .6);
    font-size: 14.5px;
}

.site-footer a {
    color: rgba(255, 255, 255, .66);
}

.site-footer a:hover {
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: .55rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.footer-links a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-500);
    opacity: 0;
    transition: opacity var(--t-fast) var(--ease);
}

.footer-links a:hover {
    transform: translateX(3px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
}

.footer-contact li + li {
    margin-top: .85rem;
}

.footer-contact .icon {
    color: var(--accent-400);
    margin-top: .2rem;
}

.footer-social {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: background-color var(--t-fast) var(--ease),
                border-color var(--t-fast) var(--ease),
                transform var(--t-fast) var(--ease);
}

.footer-social a:hover {
    background: var(--accent-500);
    border-color: var(--accent-500);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 44px;
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .5);
}

.footer-bottom a:hover {
    color: #fff;
}

/* ---------- Prose (admin-managed HTML) ---------- */

.prose {
    max-width: 70ch;
    color: var(--gray-600);
    font-size: 16.5px;
}

.prose h2 {
    font-size: 1.5rem;
    margin-top: 2.25rem;
    margin-bottom: .75rem;
}

.prose h3 {
    font-size: 1.2rem;
    margin-top: 1.75rem;
    margin-bottom: .5rem;
}

.prose p,
.prose ul,
.prose ol {
    margin-bottom: 1.15rem;
}

.prose li {
    margin-bottom: .35rem;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin: 1.5rem 0;
}

.prose blockquote {
    border-left: 3px solid var(--accent-500);
    padding-left: 1.1rem;
    color: var(--gray-700);
    font-style: italic;
    margin: 1.5rem 0;
}

/* ---------- Accordion ---------- */

.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md) !important;
    margin-bottom: .65rem;
    overflow: hidden;
    background: #fff;
}

.accordion-button {
    font-weight: 600;
    color: var(--navy-800);
    background: #fff;
    padding: 1rem 1.15rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gray-50);
    color: var(--navy-800);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gray-200);
}

.accordion-body {
    color: var(--gray-600);
    font-size: 15px;
    padding-top: 0;
}

/* ---------- Alerts ---------- */

.alert {
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-size: 15px;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: rgba(31, 122, 90, .08);
    border-color: rgba(31, 122, 90, .22);
    color: #14523C;
}

.alert-danger {
    background: rgba(190, 40, 40, .07);
    border-color: rgba(190, 40, 40, .2);
    color: #8A2020;
}

/* ---------- 404 ---------- */

.error-code {
    font-size: clamp(5rem, 2rem + 16vw, 11rem);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.06em;
    background: linear-gradient(160deg, var(--navy-100), var(--gray-200));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Global contact actions ---------- */

/* Desktop floating stack (>=992px; Bootstrap's d-none/d-lg-flex handles the breakpoint). */
.contact-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1030;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.fab-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1.15rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: -.01em;
    line-height: 1.2;
    box-shadow: var(--shadow-lg);
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform var(--t-fast) var(--ease),
                box-shadow var(--t-base) var(--ease),
                background-color var(--t-fast) var(--ease);
}

.fab-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.fab-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: var(--shadow-xl);
}

.fab-whatsapp {
    background: var(--whatsapp);
    border-color: var(--whatsapp);
    color: #fff;
}

.fab-whatsapp:hover {
    background: #1FBE5B;
    border-color: #1FBE5B;
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 211, 102, .38);
}

.fab-phone {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}

.fab-phone .icon {
    color: var(--accent-400);
}

.fab-phone:hover {
    background: var(--navy-700);
    border-color: var(--navy-700);
    color: #fff;
    box-shadow: var(--shadow-xl);
}

/* ---------- Mobile sticky bar ---------- */

.mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -6px 20px rgba(8, 21, 41, .1);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}

/* Equal halves when both options exist; a single option stretches to full width. */
.mobile-bar .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: .7rem .5rem;
    font-size: 15px;
}

/* ---------- Utilities ---------- */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy-800);
    color: #fff;
    padding: 12px 16px;
    z-index: 2000;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

.text-navy {
    color: var(--navy-800) !important;
}

.text-muted-soft {
    color: var(--gray-500) !important;
}

.divider-soft {
    border-top: 1px solid var(--gray-200);
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    body:has(.mobile-bar) {
        padding-bottom: 76px;
    }

    .sidebar-card {
        position: static;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-trust {
        margin-top: 36px;
    }

    .trust-item {
        padding: 14px 0;
    }

    .site-header .navbar-collapse {
        border-top: 1px solid var(--gray-200);
        margin-top: .5rem;
        padding-top: .5rem;
    }

    .site-header .nav-link::after {
        display: none;
    }

    .footer-map iframe,
    .footer-map img {
        height: 260px;
    }

    .map-frame iframe,
    .map-frame img {
        height: 320px;
    }
}

@media (max-width: 575.98px) {
    /* Keep the floating hero chips from crowding the small-screen visual. */
    .hero-chip {
        padding: .5rem .7rem;
        gap: .5rem;
    }

    .hero-chip .icon-circle {
        display: none;
    }

    .hero-chip-title {
        font-size: 13.5px;
    }

    .hero-chip-sub {
        font-size: 11px;
    }

    .hero-chip-tl {
        top: 12px;
        left: 12px;
    }

    .hero-chip-br {
        right: 12px;
        bottom: 12px;
    }
}

@media (min-width: 992px) {
    .mobile-bar {
        display: none;
    }

    /* Reserve room so the floating buttons never sit on the footer's bottom row.
       Covers the tallest stack (two 44px buttons + 10px gap) plus its 24px offset. */
    body:has(.contact-fab) .site-footer .footer-bottom {
        padding-bottom: 148px;
    }

    .section {
        padding: 104px 0;
    }

    .section-sm {
        padding: 72px 0;
    }

    .hero {
        padding-top: 84px;
    }

    .page-hero {
        padding: 72px 0 76px;
    }

    /* Connector line across the four process steps. */
    .process-line {
        display: block;
        position: absolute;
        left: 12%;
        right: 12%;
        top: 48px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(224, 138, 30, .45), transparent);
    }

    .filter-bar {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }

    .logo-track {
        animation: none;
        transform: none;
    }

    .logo-marquee {
        overflow-x: auto;
    }

    .card-flat:hover,
    .feature-card:hover,
    .process-step:hover,
    .logo-box:hover,
    .contact-tile:hover {
        transform: none;
    }
}
