/* =========================================================
   Ratnam Enterprises — original design system
   No third-party template code. Built from scratch on top of
   the official (unmodified) Bootstrap 5 grid/utilities only.
   ========================================================= */

:root {
    /* Brand palette */
    --ink:          #12203a;
    --ink-soft:     #2c3e5c;
    --steel:        #64748b;
    --paper:        #f4f6f8;
    --paper-raised: #ffffff;
    --line:         #e2e6ea;

    --amber:        #e2572b;
    --amber-light:  #f2914d;
    --amber-dim:    #fce4d8;

    --teal:         #0e7c86;
    --teal-light:   #16b6ae;
    --teal-dim:     #d8eeed;

    /* Gradients */
    --grad-brand: linear-gradient(120deg, #e2572b 0%, #c4456e 50%, #0e7c86 100%);
    --grad-ink:   linear-gradient(160deg, #0c1526 0%, #12203a 55%, #0c2e33 100%);
    --grad-fire:  linear-gradient(135deg, #e2572b 0%, #f2914d 100%);
    --grad-it:    linear-gradient(135deg, #0e7c86 0%, #16b6ae 100%);
    --grad-mesh:
        radial-gradient(circle at 15% 20%, rgba(226, 87, 43, .14) 0%, transparent 42%),
        radial-gradient(circle at 85% 15%, rgba(14, 124, 134, .16) 0%, transparent 46%),
        radial-gradient(circle at 70% 90%, rgba(196, 69, 110, .10) 0%, transparent 40%);

    /* Type */
    --font-display: "Sora", "Segoe UI", sans-serif;
    --font-body:    "Inter", "Segoe UI", sans-serif;

    /* Structure */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 16px rgba(18, 32, 58, .08);
    --shadow-md: 0 12px 32px rgba(18, 32, 58, .12);
    --shadow-lg: 0 24px 50px rgba(18, 32, 58, .16);
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 40px;
    --space-5: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    margin: 0;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    z-index: 200;
    font-size: 13px;
}
.skip-link:focus { left: 16px; top: 16px; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

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

a { text-decoration: none; }
img { max-width: 100%; }

::selection { background: var(--amber-dim); }

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

/* ---------- Loading spinner ---------- */
#spinner {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease, visibility 0s linear 0s;
}
#spinner.is-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility 0s linear .5s;
}
.spinner-ring {
    width: 46px;
    height: 46px;
    border: 4px solid var(--line);
    border-top-color: var(--amber);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Eyebrow label ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--teal);
    display: inline-block;
}
.eyebrow::after {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--teal);
    display: inline-block;
}
.eyebrow.amber { color: var(--amber); }
.eyebrow.amber::before { background: var(--amber); }
.eyebrow.amber::after { background: var(--amber); }
.eyebrow.on-dark { color: #7fe3db; }
.eyebrow.on-dark::before { background: #7fe3db; }
.eyebrow.on-dark::after { background: #7fe3db; }

/* ---------- Buttons ---------- */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    color: #fff;
    background: var(--grad-it);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-brand:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.05);
}
.btn-fire { background: var(--grad-fire); }
.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .55);
    color: #fff;
    box-shadow: none;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    box-shadow: none;
}
.btn-outline-ink {
    background: transparent;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    box-shadow: none;
}
.btn-outline-ink:hover {
    background: var(--ink);
    color: #fff;
    box-shadow: none;
}
.btn-sm { padding: 10px 22px; font-size: 13.5px; }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .75);
    font-size: 13.5px;
    padding: 10px 0;
}
.topbar .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}
.topbar-info {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}
.topbar-info a {
    color: rgba(255, 255, 255, .75);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.topbar-info a:hover { color: #fff; }
.topbar-info i { color: var(--amber-light); }

.topbar-note {
    margin-left: auto;
    max-width: 420px;
    text-align: right;
}
.topbar-note span {
    font-weight: 700;
    color: var(--amber-light);
    animation: note-flash 1.8s ease-in-out infinite;
}
@keyframes note-flash {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 4px rgba(226, 87, 43, .35);
    }
    50% {
        opacity: .65;
        text-shadow: 0 0 16px rgba(226, 87, 43, .95), 0 0 28px rgba(226, 87, 43, .5);
    }
}

.topbar-social {
    display: flex;
    gap: 8px;
}
.topbar-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background .2s ease;
}
.topbar-social a:hover { background: var(--amber); }

@media (max-width: 991px) {
    .topbar-note, .topbar-info small.d-none-mobile { display: none; }
}

/* ---------- Navbar ---------- */
.site-navbar {
    background: var(--ink);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.site-navbar .navbar-inner {
    display: flex;
    align-items: center;
    padding: 14px 0;
    gap: var(--space-4);
}
.navbar-cta {
    margin-left: auto;
}
.brand-wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    color: #fff;
    white-space: nowrap;
}
.brand-wordmark span { color: var(--amber-light); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
    background: rgba(255, 255, 255, .1);
    color: var(--amber-light);
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: var(--space-3);
    border-left: 1px solid rgba(255, 255, 255, .16);
}
.navbar-cta-phone {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--grad-fire);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: transform .2s ease;
}
.navbar-cta-phone:hover { transform: scale(1.08); color: #fff; }
.navbar-cta-text { font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.navbar-cta-text strong { display: block; color: #fff; font-weight: 600; }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    border: none;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

@media (max-width: 991px) {
    .nav-toggle { display: flex; }
    .navbar-cta { display: none; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ink);
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 20px 20px;
        display: none;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 12px 14px; }
}

/* ---------- Hero ---------- */
.hero-wrap {
    position: relative;
}
.hero-shell {
    position: relative;
    width: 100%;
    height: clamp(220px, 30vw, 420px);
    overflow: hidden;
    background: var(--ink);
}
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 0;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.hero-slide > .container {
    width: 100%;
}
.hero-slide-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: auto;
    object-position: center 40%;
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: calc(var(--space-5) + 40px) 0 var(--space-5);
}
.hero-slide-content h1 {
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    margin: 16px 0 20px;
    line-height: 1.15;
}
.hero-slide-content p {
    color: #cbd5e1;
    font-size: 1.08rem;
    max-width: 58ch;
    margin-bottom: var(--space-3);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots {
    position: absolute;
    z-index: 3;
    bottom: var(--space-3);
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.hero-dots button {
    width: 22px;
    height: 4px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, .4);
    transition: width .25s ease, background .25s ease;
}
.hero-dots button.is-active {
    width: 34px;
    background: var(--amber);
}

/* Per-slide CTA row — top-right, so it clears the branding/buttons
   already baked into the left side of the slide images. */
.hero-cta-row {
    position: absolute;
    z-index: 4;
    right: var(--space-4);
    top: var(--space-3);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.hero-cta-row .btn-brand {
    white-space: nowrap;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .03em;
    padding: 15px 26px;
    gap: 10px;
    background: var(--amber);
    box-shadow: none;
}
.hero-cta-row .btn-brand:hover {
    background: var(--amber-light);
    box-shadow: none;
    filter: none;
}
.hero-cta-row .btn-outline-light {
    background: rgba(8, 14, 26, .8);
    backdrop-filter: blur(4px);
    border: 2px solid var(--amber);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}
.hero-cta-row .btn-outline-light:hover {
    background: rgba(8, 14, 26, .92);
    border-color: var(--amber-light);
    color: #fff;
}
.hero-cta-row .btn-brand {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}
.hero-cta-row .btn-brand i { font-size: 15px; }

@media (max-width: 768px) {
    .hero-cta-row {
        right: var(--space-2);
        top: var(--space-2);
    }
    .hero-cta-row .btn-brand { padding: 11px 18px; font-size: 12.5px; }
}
@media (max-width: 480px) {
    .hero-cta-row {
        left: var(--space-2);
        right: var(--space-2);
        justify-content: center;
    }
}

/* Logo overlay — sits on top of the crossfading slides, above the headline.
   Shown with its natural transparent background (no solid backing) — a
   drop-shadow keeps it legible against the photo instead. */
.hero-logo-badge {
    position: absolute;
    z-index: 5;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
}
.hero-logo-badge img {
    height: 84px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .45));
}
@media (max-width: 768px) {
    .hero-logo-badge { top: 16px; }
    .hero-logo-badge img { height: 60px; }
}

@media (max-width: 768px) {
    .hero-shell { min-height: 520px; }
}

/* ---------- Stats band ---------- */
.stats-band {
    background: var(--grad-fire);
    padding: 30px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}
.stat-item { display: flex; align-items: center; gap: 12px; }
.stat-item .num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.1rem;
    color: var(--ink);
    line-height: 1;
    flex-shrink: 0;
}
.stat-item .label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
@media (max-width: 991px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Clients marquee ---------- */
.clients-band {
    background: #FF9933;
    overflow: hidden;
    padding: 24px 0;
}
.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clients-scroll 30s linear infinite;
}
.clients-band:hover .clients-track { animation-play-state: paused; }
.clients-item {
    flex-shrink: 0;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
}
.clients-item img {
    max-height: 40px;
    width: auto;
    filter: grayscale(1);
    opacity: .65;
    transition: filter .3s ease, opacity .3s ease;
}
.clients-item:hover img { filter: grayscale(0); opacity: 1; }
.clients-item span,
.clients-item a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
    white-space: nowrap;
}
.clients-item a:hover { color: var(--amber); }
@keyframes clients-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: var(--space-5) 0; }
.section-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark {
    position: relative;
    background: var(--grad-ink);
    color: #fff;
    overflow: hidden;
}
.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-mesh);
}
.section-dark > .container { position: relative; z-index: 1; }
.section-head { max-width: 640px; margin: 0 auto var(--space-4); text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 14px; }
.section-head p { color: var(--steel); margin-top: 14px; }
.section-dark .section-head p { color: #b7c2cf; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
    position: relative;
    background: var(--grad-ink);
    color: #fff;
    padding: 72px 0;
    text-align: center;
    overflow: hidden;
}
.page-header::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); }
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-top: 12px; }
.breadcrumb-trail { margin-top: 14px; font-size: 14px; color: #b7c2cf; }
.breadcrumb-trail a { color: #b7c2cf; }
.breadcrumb-trail a:hover { color: #fff; }
.breadcrumb-trail .sep { margin: 0 8px; opacity: .5; }

/* ---------- About split image ---------- */
.about-media { position: relative; }
.about-media img.primary { width: 78%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.about-media img.secondary {
    position: absolute;
    bottom: -32px;
    right: 0;
    width: 55%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--paper-raised);
}
@media (max-width: 767px) {
    .about-media { margin-bottom: 60px; }
}

/* ---------- Capability line cards ---------- */
.line-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.line-card {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.line-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.line-card.fire::before { background: var(--grad-fire); }
.line-card.it::before { background: var(--grad-it); }
.line-card h3 { font-size: 1.4rem; margin: 14px 0 10px; }
.line-card p { color: var(--steel); margin-bottom: 18px; }
@media (max-width: 767px) { .line-grid { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.service-card {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: #fff;
}
.service-card.fire .service-icon { background: var(--grad-fire); }
.service-card.it .service-icon { background: var(--grad-it); }
.service-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--steel); font-size: 14.5px; margin-bottom: 18px; }
@media (max-width: 991px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .service-grid { grid-template-columns: 1fr; } }

.line-label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.line-label.fire { background: var(--amber-dim); color: #c8481f; }
.line-label.it { background: var(--teal-dim); color: var(--teal); }

/* ---------- Info cards (why-choose-us, contact detail) ---------- */
.info-card {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.info-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--grad-it);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-card h4 { font-size: 15px; margin-bottom: 4px; color: var(--teal); }
.info-card p, .info-card a { font-size: 15px; color: var(--ink); margin: 0; }
.info-card a:hover { color: var(--amber); }

/* ---------- Product / catalog cards ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: var(--space-4); }
.filter-tab {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper-raised);
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
    transition: .25s ease;
}
.filter-tab:hover { border-color: var(--teal); }
.filter-tab.is-active { background: var(--grad-brand); border-color: transparent; color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.product-card {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
    position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media { height: 220px; background: var(--paper); position: relative; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-body { padding: var(--space-2); flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-body h4 {
    font-size: 1.02rem;
    min-height: 2.6em;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-body p { font-size: 13.5px; color: var(--steel); flex: 1; margin: 0; }
.product-price { font-weight: 700; color: var(--ink); font-size: 14.5px; margin-top: auto; }
.product-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--steel);
    border: 1px dashed var(--line);
    border-radius: var(--radius-md);
}
@media (max-width: 991px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius-sm); }
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; transition: transform .4s ease; display: block; }
.gallery-grid figure:hover img { transform: scale(1.06); }
@media (max-width: 767px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Testimonial ---------- */
.testimonial-block { max-width: 720px; margin: 0 auto; text-align: center; }
.testimonial-block p.quote { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin: 18px 0 14px; }
.stars { color: var(--amber); letter-spacing: 3px; font-size: 18px; }

/* ---------- Contact form ---------- */
.contact-panel {
    background: var(--grad-ink);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    position: relative;
    overflow: hidden;
    color: #fff;
}
.contact-panel::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); }
.contact-panel > * { position: relative; z-index: 1; }
.map-panel { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 320px; }
.map-panel iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

.form-field { margin-bottom: 18px; }
.form-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 15px;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, .4); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--teal-light);
    background: rgba(255, 255, 255, .12);
}
.form-field select option { color: var(--ink); }

.alert-box {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 18px;
}
.alert-box.success { background: rgba(22, 182, 174, .18); border: 1px solid var(--teal-light); color: #d3f3f0; }
.alert-box.error { background: rgba(226, 87, 43, .18); border: 1px solid var(--amber); color: #ffe3d6; }

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--grad-brand);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    flex-wrap: wrap;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .18) 0%, transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { color: #fff; font-size: 1.5rem; max-width: 34ch; margin: 0; }
.cta-band .btn-brand { background: #fff; color: var(--ink); box-shadow: none; }
.cta-band .btn-brand:hover { background: #fff; filter: brightness(.96); }

/* ---------- Footer ---------- */
.site-footer { background: var(--grad-ink); color: #fff; padding-top: var(--space-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col-heading { font-family: var(--font-display); font-weight: 700; color: var(--amber-light); font-size: 1.15rem; display: block; margin-bottom: 18px; }
.footer-col p { color: #cbd5e1; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #e2e8f0; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
.footer-links a:hover { color: var(--amber-light); }
.footer-links a i { color: var(--amber-light); font-size: 12px; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: background .2s ease;
}
.footer-social a:hover { background: var(--amber); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; margin-top: var(--space-4); font-size: 13.5px; color: #94a3b8; }
.footer-bottom a { color: var(--amber-light); }

.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-fire);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    z-index: 90;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease;
}

/* ---------- Card shine/flash sweep ----------
   Shared across every card type (line, service, product, info) so hovering
   any card in the site gives the same premium "flash" feedback: a soft
   diagonal streak of light sweeps left-to-right across the card. */
.line-card,
.service-card,
.product-card,
.info-card {
    isolation: isolate;
}
.line-card::after,
.service-card::after,
.product-card::after,
.info-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 20%,
        rgba(255, 255, 255, .35) 45%,
        rgba(255, 255, 255, .55) 50%,
        rgba(255, 255, 255, .35) 55%,
        transparent 80%
    );
    transform: translateX(-140%);
    transition: transform .7s ease;
}
.line-card:hover::after,
.service-card:hover::after,
.product-card:hover::after,
.info-card:hover::after {
    transform: translateX(140%);
}

@media (prefers-reduced-motion: reduce) {
    .line-card::after,
    .service-card::after,
    .product-card::after,
    .info-card::after {
        display: none;
    }
}
/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Staggered cascade — cards in the same grid drop in one after another
   instead of all at once, for a "flash" cascading feel. */
.line-grid > .reveal:nth-child(1),
.service-grid > .reveal:nth-child(1),
.product-grid > .reveal:nth-child(1),
.gallery-grid > .reveal:nth-child(1) { transition-delay: 0s; }

.line-grid > .reveal:nth-child(2),
.service-grid > .reveal:nth-child(2),
.product-grid > .reveal:nth-child(2),
.gallery-grid > .reveal:nth-child(2) { transition-delay: .08s; }

.line-grid > .reveal:nth-child(3),
.service-grid > .reveal:nth-child(3),
.product-grid > .reveal:nth-child(3),
.gallery-grid > .reveal:nth-child(3) { transition-delay: .16s; }

.service-grid > .reveal:nth-child(4),
.product-grid > .reveal:nth-child(4),
.gallery-grid > .reveal:nth-child(4) { transition-delay: .24s; }

.service-grid > .reveal:nth-child(5),
.product-grid > .reveal:nth-child(5) { transition-delay: .32s; }

.service-grid > .reveal:nth-child(6),
.product-grid > .reveal:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .clients-track, .topbar-note span { animation: none; }
}
