/* ============================================================
   N.S. Engineering — site styles
   ============================================================ */

:root {
    --brand: #003e6b;
    --brand-light: #1565a4;
    --brand-accent: #f5a623;
    --brand-dark: #00253f;
    --ink: #1c2733;
    --ink-soft: #4b5563;
    --line: #e1e7f0;
    --bg-soft: #f1f4f9;
    --surface: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 28px 56px rgba(15, 23, 42, 0.14);
    --radius-card: 1rem;
    --radius-pill: 999px;
    --whatsapp: #25d366;
    --whatsapp-hover: #1ebc5a;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background-color: var(--bg-soft);
    background-image: linear-gradient(180deg, #fafbfd 0%, var(--bg-soft) 32%, var(--bg-soft) 100%);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

/* ---------- Top contact bar ---------- */
.top-bar {
    background: var(--brand-dark);
    color: #d9e6f2;
    font-size: 0.85rem;
}
.top-bar a {
    color: #d9e6f2;
    text-decoration: none;
    transition: color 0.15s ease;
}
.top-bar a:hover { color: var(--brand-accent); }
.top-bar .top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0;
}
.top-bar .top-bar-item + .top-bar-item { margin-left: 1.25rem; }
.top-bar .top-bar-item i { color: var(--brand-accent); }

/* ---------- Header / navbar ---------- */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid rgba(0, 62, 107, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.site-header .navbar { background: transparent; }
.site-header .navbar-brand span.fw-bold { letter-spacing: 0.02em; }

.brand-text {
    color: var(--brand);
    font-size: 1.2rem;
    line-height: 1.1;
}
.brand-tagline {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--brand-accent);
    text-transform: uppercase;
    margin-top: 2px;
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--ink-soft);
    position: relative;
    padding: 0.55rem 0.9rem;
}
.navbar .nav-link.active,
.navbar .nav-link:hover { color: var(--brand); }
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.25rem;
    height: 2px;
    background-color: var(--brand);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }

.brand-logo-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 62, 107, 0.08);
    padding: 4px;
}
.brand-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .brand-logo-wrap { width: 44px; height: 44px; }
    .brand-text { font-size: 1rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative;
    min-height: 640px;
    color: #fff;
    display: flex;
    align-items: center;
    padding-block: 4rem;
    background:
        var(--hero-bg-image, none) center/cover no-repeat,
        linear-gradient(135deg, var(--brand-dark), var(--brand-light));
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(0, 28, 50, 0.78) 0%, rgba(0, 47, 88, 0.45) 50%, rgba(0, 28, 50, 0.25) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(255, 255, 255, 0.95) 100%);
    pointer-events: none;
}
.hero .hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: var(--brand-accent);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.hero h1,
.hero .hero-heading {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
}
.hero .hero-sub {
    color: rgba(255, 255, 255, 0.92);
    max-width: 40rem;
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero .btn-accent,
.hero .btn-outline-light,
.hero .btn-whatsapp { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    opacity: 0.85;
}
.hero-scroll:hover { opacity: 1; color: #fff; }
.hero-scroll-line {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
    animation: heroScrollLine 1.6s ease-in-out infinite;
    transform-origin: top center;
}
.hero-scroll i { font-size: 1.3rem; }
@keyframes heroScrollLine {
    0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Page banner (non-home) ---------- */
.page-banner {
    position: relative;
    color: #fff;
    padding: 4rem 0 4.5rem;
    background:
        var(--hero-bg-image, none) center/cover no-repeat,
        linear-gradient(135deg, var(--brand-dark), var(--brand-light));
    overflow: hidden;
}
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(0, 28, 50, 0.86) 0%, rgba(0, 47, 88, 0.62) 100%);
}
.page-banner-inner { position: relative; z-index: 1; }
.page-banner h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.page-banner .page-banner-sub {
    color: rgba(255, 255, 255, 0.88);
    margin: 0.75rem 0 0;
    max-width: 38rem;
}
.page-banner .breadcrumbs {
    color: var(--brand-accent);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.5rem;
}
.page-banner .breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.page-banner .breadcrumbs a:hover { color: var(--brand-accent); }
.page-banner .breadcrumbs i { color: rgba(255, 255, 255, 0.55); margin: 0 0.35rem; }

/* ---------- Intro band ---------- */
.intro-band .intro-text {
    font-size: 1.05rem;
    color: var(--ink);
}
.intro-band strong { color: var(--brand); }

/* ---------- Marquee strip ---------- */
.partner-strip {
    background: linear-gradient(90deg, #fff 0%, #f8fafc 50%, #fff 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.partner-strip .partner-track {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    animation: marquee 32s linear infinite;
    white-space: nowrap;
}
.partner-strip .partner-track span {
    font-weight: 600;
    color: var(--ink-soft);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}
.partner-strip .partner-track span::before {
    content: "★";
    color: var(--brand-accent);
    margin-right: 0.5rem;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Generic sections ---------- */
.section-padding { padding-top: 4rem; padding-bottom: 4rem; }
.section-padding-sm { padding-top: 2rem; padding-bottom: 2rem; }

.section-heading {
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.015em;
}
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-accent);
    display: block;
    margin-bottom: 0.5rem;
}
.section-eyebrow.accent { color: var(--brand-accent); }
.bg-white { background: var(--surface); }
.bg-soft  { background: var(--bg-soft); }
.bg-dark-band {
    background:
        linear-gradient(135deg, rgba(0, 28, 50, 0.96), rgba(0, 47, 88, 0.96)),
        url("../../generated-images/import-export-collage.jpg") center/cover no-repeat;
    color: #fff;
}
.bg-dark-band .section-heading,
.bg-dark-band h2,
.bg-dark-band h3 { color: #fff; }
.text-white-70 { color: rgba(255, 255, 255, 0.78); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; }
.btn-primary {
    background-color: var(--brand);
    border-color: var(--brand);
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
}
.btn-accent {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #00253f;
}
.btn-accent:hover,
.btn-accent:focus {
    background-color: #e09614;
    border-color: #e09614;
    color: #00253f;
}
.btn-whatsapp {
    background-color: var(--whatsapp);
    border-color: var(--whatsapp);
    color: #fff;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background-color: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    color: #fff;
}
.btn-outline-light { border-width: 2px; }

/* ---------- Category cards ---------- */
.category-card {
    background: var(--surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    text-decoration: none;
}
.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 62, 107, 0.18);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}
.category-card .category-image {
    aspect-ratio: 4 / 3;
    background: #f5f7fb;
    overflow: hidden;
    position: relative;
}
.category-card .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.category-card:hover .category-image img { transform: scale(1.05); }
.category-card .category-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.category-card .category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 62, 107, 0.08);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.category-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.25rem;
}
.category-card p {
    font-size: 0.875rem;
    color: var(--ink-soft);
    margin-bottom: 1rem;
}
.category-card .category-link {
    margin-top: auto;
    color: var(--brand);
    font-weight: 600;
    font-size: 0.9rem;
}
.category-card .category-link i {
    transition: transform 0.2s ease;
    margin-left: 0.25rem;
}
.category-card:hover .category-link i { transform: translateX(3px); }

/* ---------- Product cards ---------- */
.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.product-filters button {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.product-filters button:hover {
    border-color: var(--brand);
    color: var(--brand);
}
.product-filters button.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.product-filters .filter-count {
    background: rgba(0, 62, 107, 0.1);
    color: var(--brand);
    border-radius: 999px;
    padding: 0.05rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
}
.product-filters button.is-active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.product-card {
    background: var(--surface);
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid var(--line);
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 62, 107, 0.2);
    box-shadow: var(--shadow-md);
}
.product-card .product-image {
    aspect-ratio: 1 / 1;
    background: #f5f7fb;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}
.product-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    mix-blend-mode: multiply;
}
.product-card:hover .product-image img { transform: scale(1.07); }
.product-card .product-body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card .product-tag {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--brand-accent);
    margin-bottom: 0.25rem;
}
.product-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.6rem;
    line-height: 1.25;
    flex-grow: 1;
}
.product-card .product-actions {
    display: flex;
    gap: 0.35rem;
    margin-top: auto;
}
.product-card .product-actions .btn {
    flex: 1;
    font-size: 0.78rem;
    padding: 0.4rem 0.55rem;
}
.product-card .product-actions .btn-whatsapp {
    flex: 0 0 auto;
    width: 38px;
    padding: 0.4rem;
}

.product-card-compact .product-image { aspect-ratio: 1 / 1; padding: 0.75rem; }
.product-card-compact .product-body { padding: 0.75rem; }
.product-card-compact h4 { font-size: 0.85rem; }

/* ---------- Service tiles ---------- */
.service-tile {
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f5f7fb;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.service-tile:hover img { transform: scale(1.06); }

/* ---------- Pillar cards (A/B/C/D) ---------- */
.pillar-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 1.5rem 1.25rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 62, 107, 0.18);
}
.pillar-card .pillar-letter {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(245, 166, 35, 0.12);
    line-height: 1;
    letter-spacing: -0.04em;
}
.pillar-card h4 {
    color: var(--brand);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
}
.pillar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pillar-card ul li {
    font-size: 0.85rem;
    color: var(--ink-soft);
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.35rem;
}
.pillar-card ul li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-accent);
    font-size: 0.9rem;
}

/* ---------- Chips ---------- */
.chip-group { margin-bottom: 1rem; }
.chip-group.bordered {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 1rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.chip-group-title {
    display: block;
    font-weight: 700;
    color: var(--brand);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.chip {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 62, 107, 0.06);
    color: var(--brand);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(0, 62, 107, 0.1);
}
.chip:hover {
    background: rgba(0, 62, 107, 0.12);
    border-color: rgba(0, 62, 107, 0.25);
}

/* ---------- Import & Export chips (home dark band) ---------- */
.ie-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    height: 100%;
}
.ie-chip:hover {
    background: rgba(245, 166, 35, 0.12);
    border-color: rgba(245, 166, 35, 0.5);
    color: #fff;
    transform: translateY(-2px);
}
.ie-chip i {
    font-size: 1.5rem;
    color: var(--brand-accent);
}

/* ---------- Import & Export tile (services page) ---------- */
.ie-tile {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ie-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 62, 107, 0.2);
    color: var(--ink);
}
.ie-tile-img {
    aspect-ratio: 4 / 3;
    background: #f5f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ie-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ie-tile:hover .ie-tile-img img { transform: scale(1.05); }
.ie-tile-body {
    padding: 0.75rem 0.9rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.ie-tile-body strong {
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 700;
}
.ie-tile-cta {
    font-size: 0.75rem;
    color: var(--brand-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- Stats strip ---------- */
.stats-strip {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    padding: 2.25rem 0;
}
.stats-strip .stat { text-align: center; }
.stats-strip .stat .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-accent);
    line-height: 1;
}
.stats-strip .stat .label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* ---------- Why-us cards ---------- */
.why-us-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.why-us-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 62, 107, 0.18);
    box-shadow: var(--shadow-md);
}
.why-us-card .why-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245, 166, 35, 0.12);
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.why-us-card h4 {
    color: var(--brand);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.why-us-card p {
    font-size: 0.875rem;
    color: var(--ink-soft);
    margin-bottom: 0;
}

/* ---------- Vision chips (about page) ---------- */
.vision-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.vision-chip {
    flex: 1 1 220px;
    display: flex;
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}
.vision-chip i {
    color: var(--brand-accent);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.vision-chip strong {
    display: block;
    color: var(--brand);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}
.vision-chip span {
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.4;
}

/* ---------- About photo ---------- */
.about-photo {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5 / 4;
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Branch pills ---------- */
.branch-pill {
    background: rgba(0, 62, 107, 0.06);
    color: var(--brand);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 62, 107, 0.12);
}

/* ---------- CTA band ---------- */
.cta-band {
    background:
        linear-gradient(135deg, rgba(0, 62, 107, 0.95), rgba(21, 101, 164, 0.95)),
        url("../../generated-images/home-collage.jpg") center/cover no-repeat;
    color: #fff;
    border-radius: 1.25rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.cta-band h2 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.cta-band p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 40rem;
    margin: 0 auto 1.25rem;
}
.cta-band .btn { margin: 0.25rem; }

/* ---------- Contact cards ---------- */
.contact-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    color: var(--ink);
    text-decoration: none;
    display: block;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
    color: var(--ink);
    text-decoration: none;
}
.contact-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 62, 107, 0.08);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.contact-card.contact-card-whatsapp .icon {
    background: rgba(37, 211, 102, 0.15);
    color: var(--whatsapp);
}
.contact-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.25rem;
}
.contact-card .value {
    color: var(--ink);
    font-weight: 700;
    word-break: break-word;
}
.contact-card .label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    color: var(--ink-soft);
    display: block;
    margin-top: 0.25rem;
}

/* ---------- Float button ---------- */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: transform 0.2s ease;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.07);
}
.whatsapp-float i { font-size: 1.9rem; }
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0;   }
}

/* ---------- Forms ---------- */
.form-card {
    background: var(--surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
}
.form-card h3 {
    color: var(--brand);
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.form-control,
.form-select {
    border-radius: 0.6rem;
    padding: 0.55rem 0.85rem;
}
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.15rem rgba(0, 62, 107, 0.18);
    border-color: var(--brand);
}

/* ---------- Loading overlay ---------- */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1055;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.spinner-dot {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    border-radius: 999px;
    background-color: var(--brand);
    animation: bounce 0.8s infinite alternate;
}
.spinner-dot:nth-child(2) { animation-delay: 0.15s; }
.spinner-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
    from { transform: translateY(0);   opacity: 0.7; }
    to   { transform: translateY(-10px); opacity: 1;   }
}

/* ---------- Fade-in animation ---------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeInUp 0.6s ease forwards;
}
.fade-in-up.delay-1 { animation-delay: 0.10s; }
.fade-in-up.delay-2 { animation-delay: 0.20s; }
.fade-in-up.delay-3 { animation-delay: 0.30s; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(180deg, #00253f, #001a2c);
    color: #cbd6e2;
    padding: 3rem 0 1.25rem;
    margin-top: auto;
}
.site-footer h5 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}
.site-footer a {
    color: #cbd6e2;
    text-decoration: none;
}
.site-footer a:hover { color: var(--brand-accent); }
.site-footer .footer-brand {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer ul li {
    margin-bottom: 0.45rem;
    font-size: 0.875rem;
}
.site-footer .branch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.site-footer .branch-list span {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.8rem;
    color: #93a4b5;
}

/* ---------- Focus & accessibility ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .partner-strip .partner-track,
    .fade-in-up,
    .spinner-dot,
    .whatsapp-float::after,
    .hero-scroll-line {
        animation: none !important;
    }
    .partner-strip .partner-track {
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
        row-gap: 0.5rem;
    }
    .fade-in-up { opacity: 1; transform: none; }
    .category-card,
    .product-card,
    .why-us-card,
    .contact-card,
    .ie-tile,
    .ie-chip { transition: none; }
    .category-card:hover,
    .product-card:hover,
    .why-us-card:hover,
    .contact-card:hover,
    .ie-tile:hover,
    .ie-chip:hover { transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
    .hero { min-height: 540px; padding-block: 3rem; }
}
@media (max-width: 767.98px) {
    .top-bar .top-bar-item { display: block; padding: 0.25rem 0; }
    .top-bar .top-bar-item + .top-bar-item { margin-left: 0; }
    .hero { min-height: 480px; padding-block: 2.5rem; }
    .section-padding { padding-top: 2.75rem; padding-bottom: 2.75rem; }
    .cta-band { padding: 2rem 1.25rem; }
    .product-card .product-actions .btn { font-size: 0.72rem; padding: 0.35rem 0.45rem; }
    .product-card .product-actions .btn-whatsapp { width: 34px; }
}
@media (max-width: 575.98px) {
    .hero h1 { font-size: 1.8rem; }
    .stats-strip .stat .num { font-size: 1.6rem; }
}
