
/* ==========================================================================
   1. BASE / RESET
   ========================================================================== */

.steel-highlight {
    color: var(--red-light);
}

p {
    font-size: 16px;
    font-weight: 500;
}

.woocommerce div.product {
    margin-top: 83px;
}

:root {
    --red-light: #E10002;
    --red-dark: #7F0000;
    --tarmal-gradient: linear-gradient(180deg, var(--red-light) 0%, #9d2c2c 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: "Univia Pro", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #1F1F1F;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #FFFFFF;
    background-image:
        linear-gradient(rgba(31, 31, 31, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 31, 31, 0.04) 1px, transparent 1px);
    background-size: 58px 58px, 58px 58px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: 16px;
}


/* ==========================================================================
   2. LAYOUT PRIMITIVES
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    position: relative;
    padding: 80px 0 50px 0;
}

.section.with-bottom-padding {
    padding-bottom: 80px;
}

.section-alt {
    background-color: #F7F8FA;
    background-image:
        radial-gradient(rgba(31, 31, 31, 0.04) 1px, transparent 1.5px),
        linear-gradient(135deg, rgba(237, 48, 52, 0.015), rgba(31, 31, 31, 0) 40%);
    background-size: 26px 26px, 100% 100%;
}

section[id] {
    scroll-margin-top: 96px;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1F1F1F;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red-light);
    margin-bottom: 22px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #ED3034;
    display: inline-block;
}

.eyebrow.center {
    justify-content: center;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-head h2 {
    font-size: 42px;
    margin-bottom: 18px;
}

.section-head p {
    color: #555555;
    font-size: 18px;
}

.lead {
    color: #555555;
    font-size: 18px;
}


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 30px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--tarmal-gradient);
    color: #FFFFFF;
    box-shadow: 0 12px 26px rgba(237, 48, 52, 0.28);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #d5282c;
    box-shadow: 0 18px 34px rgba(237, 48, 52, 0.34);
}

.btn-outline {
    background: var(--tarmal-gradient);
    color: #FFFFFF;
    border: 1px solid #E7E7E7;
}

.btn-outline:hover {
    transform: translateY(-3px);
    background: #d5282c;
    box-shadow: 0 18px 34px rgba(237, 48, 52, 0.34);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.10);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.20);
}


/* ==========================================================================
   5. HEADER + NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        backdrop-filter 0.35s ease;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid #E7E7E7;
    box-shadow: 0 6px 24px rgba(31, 31, 31, 0.06);
}

.site-header.scrolled .nav a:hover {
    color: #ED3034;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 42px;
    width: auto;
    transition: filter 0.35s ease;
}

.nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav a {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    padding: 6px 0;
    transition: color 0.25s ease;
}

.site-header.scrolled .nav a {
    color: #1F1F1F;
}

.nav a:hover {
    color: #ED3034;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-cta {
    height: 48px;
    padding: 0 24px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #FFFFFF;
    position: relative;
    transition: background 0.3s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #FFFFFF;
    transition: transform 0.3s ease, top 0.3s ease;
}

.nav-toggle span::before {
    top: -7px;
}

.nav-toggle span::after {
    top: 7px;
}

.site-header.scrolled .nav-toggle span,
.site-header.scrolled .nav-toggle span::before,
.site-header.scrolled .nav-toggle span::after {
    background: #1F1F1F;
}

/* Dynamic navigation */
.nav li {
    position: relative;
    list-style: none;
}

.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-parent > a,
.nav .current-menu-ancestor > a {
    color: var(--red-light);
}

.nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 15px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 999;
    border-radius: 15px;
    background: rgb(255 255 255 / 84%);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    box-shadow: rgba(31, 31, 31, 0.06) 0 6px 24px;
}

.nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav .sub-menu li {
    width: 100%;
}

.nav .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
}

.nav .sub-menu a:hover {
    background: #f5f5f5;
}

.nav .menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav .sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

.nav .sub-menu .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

/* Mobile menu (dynamic) */
.mobile-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-links a {
    display: block;
    padding: 15px 0;
}

.mobile-links .menu-item-has-children {
    position: relative;
}

.mobile-links .submenu-toggle {
    position: absolute;
    right: 15px;
    top: 16px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    text-align: center;
    line-height: 20px;
    z-index: 2;
}

.mobile-links .menu-item-has-children.dropdown-open > .submenu-toggle {
    transform: rotate(180deg);
}

.mobile-links .menu-item-has-children > .sub-menu {
    display: none;
    margin: 0;
    padding: 0 0 0 20px;
}

.mobile-links .menu-item-has-children.dropdown-open > .sub-menu,
.mobile-links .menu-item-has-children.active > .sub-menu {
    display: block;
}

.mobile-links .menu-item-has-children > a {
    position: relative;
    padding-right: 35px;
}

.mobile-links .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.3s ease;
}

.mobile-links .menu-item-has-children.active > a::after {
    transform: translateY(-25%) rotate(225deg);
}

/* Mobile overlay menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: #FFFFFF;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    padding: 28px 24px 40px;
    visibility: hidden;
}

.mobile-menu.open {
    transform: translateY(0);
    visibility: visible;
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mobile-menu-top img {
    height: 40px;
}

.mobile-close {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E7E7E7;
}

.mobile-close svg {
    width: 22px;
    height: 22px;
    color: #1F1F1F;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.mobile-links a {
    font-size: 16px;
    font-weight: 600;
    padding: 13px 0;
    border-bottom: 1px solid #E7E7E7;
}

.mobile-links a:hover {
    color: #ED3034;
}

.mobile-menu .btn {
    margin-top: 28px;
    width: 100%;
}


/* ==========================================================================
   6. HERO
   ========================================================================== */

.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0b0d10;
    background-image: url('/wp-content/uploads/2026/09/home-page-black.jpg');
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 3;
    padding-left: max(40px, env(safe-area-inset-left));
    padding-right: max(40px, env(safe-area-inset-right));
}

.hero-inner {
    max-width: 760px;
    color: #FFFFFF;
}

.hero .eyebrow {
    color: #E10002;
}

.hero .eyebrow::before {
    background: #ED3034;
}

.hero h1 {
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-h1-accent {
    color: var(--red-light);
    display: inline;
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.90);
    max-width: 600px;
    margin-bottom: 38px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 46px;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 28px;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hero-buttons .btn .btn-label {
    display: inline-block;
    line-height: 1;
}

.hero-buttons .btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 500;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.hero-chip svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #ED3034;
}

.hero-chip > span {
    line-height: 1;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: max(32px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    position: relative;
}

.scroll-mouse::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: #FFFFFF;
    transform: translateX(-50%);
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0%   { opacity: 0; transform: translate(-50%, 0); }
    40%  { opacity: 1; }
    80%  { opacity: 0; transform: translate(-50%, 12px); }
    100% { opacity: 0; }
}


/* ==========================================================================
   7. ABOUT
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media .media {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(31, 31, 31, 0.12);
}

.about-media .media img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.05);
}

.about-floating {
    position: absolute;
    left: -28px;
    bottom: -28px;
    width: 260px;
    padding: 24px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 24px 48px rgba(31, 31, 31, 0.14);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.about-floating .big {
    font-size: 44px;
    font-weight: 700;
    color: var(--red-light);
    line-height: 1;
}

.about-floating .small {
    font-size: 14px;
    color: #555555;
    margin-top: 6px;
}

.about-badge {
    position: absolute;
    right: -20px;
    top: 34px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 15px;
    background: #1F1F1F;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 16px 34px rgba(31, 31, 31, 0.22);
}

.about-badge svg {
    width: 18px;
    height: 18px;
    color: #ED3034;
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 24px;
}

.about-content p {
    color: #555555;
    margin-bottom: 20px;
}

.about-points {
    list-style: none;
    margin: 30px 0 34px;
    display: grid;
    gap: 16px;
}

.about-points li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: #1F1F1F;
}

.about-points .tick {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(237, 48, 52, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.about-points .tick svg {
    width: 14px;
    height: 14px;
    color: #ED3034;
}


/* ==========================================================================
   8. INDUSTRIES (image cards)
   ========================================================================== */

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.industry-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 18px 40px rgba(31, 31, 31, 0.10);
}

.industry-card .media {
    position: absolute;
    inset: 0;
}

.industry-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5) contrast(1.05) brightness(0.9);
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
}

.industry-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 17, 20, 0) 30%, rgba(15, 17, 20, 0.82) 100%);
}

.industry-card:hover .media img {
    transform: scale(1.06);
    filter: grayscale(0.1) contrast(1.05) brightness(0.95);
}

.industry-body {
    position: relative;
    z-index: 2;
    padding: 26px;
    width: 100%;
    background: rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.industry-body h3 {
    font-size: 22px;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.industry-body p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.industry-tag {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}


/* ==========================================================================
   9. METRICS (animated counters)
   ========================================================================== */

.metrics {
    background-color: #F7F8FA;
    background-image:
        radial-gradient(rgba(31, 31, 31, 0.04) 1px, transparent 1.5px),
        linear-gradient(135deg, rgba(237, 48, 52, 0.015), rgba(31, 31, 31, 0) 45%);
    background-size: 26px 26px, 100% 100%;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.metric-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-areas:
        "icon number"
        "icon label"
        "rule rule";
    column-gap: 18px;
    row-gap: 4px;
    align-items: center;
    padding: 38px 32px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #FFFFFF;
    box-shadow: 0 18px 40px rgba(31, 31, 31, 0.06);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 52px rgba(31, 31, 31, 0.10);
}

.metric-icon {
    grid-area: icon;
    width: 56px;
    height: 56px;
    border-radius: 15px;
    background: rgba(237, 48, 52, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-icon svg {
    width: 26px;
    height: 26px;
    color: var(--red-light);
}

.metric-number {
    grid-area: number;
    font-size: 36px;
    font-weight: 700;
    color: #1F1F1F;
    line-height: 1;
}

.metric-label {
    grid-area: label;
    color: #555555;
    font-size: 16px;
    margin-top: 4px;
}

.metric-rule {
    grid-area: rule;
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: var(--tarmal-gradient);
    margin-top: 20px;
}


/* ==========================================================================
   10. SHOWCASE (Products + Projects slider)
   ========================================================================== */

.showcase {
    position: relative;
}

.showcase-viewport {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 26px 60px rgba(31, 31, 31, 0.14);
}

.showcase-track {
    display: flex;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-track.dragging {
    transition: none;
    cursor: grabbing;
}

.showcase-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.showcase-card {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.showcase-media {
    position: absolute;
    inset: 0;
}

.showcase-media img,
.showcase-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-card:hover .showcase-media img {
    transform: scale(1.05);
}

.showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 17, 20, 0.80) 0%, rgba(15, 17, 20, 0.40) 42%, rgba(15, 17, 20, 0.10) 100%),
        linear-gradient(180deg, rgba(15, 17, 20, 0) 45%, rgba(15, 17, 20, 0.55) 100%);
}

.showcase-panel {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 2;
    max-width: 540px;
    padding: 34px;
    border-radius: 15px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.26);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.showcase-type {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: var(--tarmal-gradient);
}

.showcase-panel h3 {
    font-size: 30px;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.18;
}

.showcase-panel p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 22px;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #FFFFFF;
}

.showcase-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.showcase-link:hover svg {
    transform: translateX(4px);
}

/* Controls */
.showcase-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.showcase-dots {
    display: flex;
    gap: 10px;
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(31, 31, 31, 0.18);
    transition: background 0.3s ease, width 0.3s ease;
}

.showcase-dot.active {
    background: #ED3034;
    width: 28px;
    border-radius: 6px;
}

.showcase-arrows {
    display: flex;
    gap: 12px;
}

.showcase-arrow {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    border: 1px solid #E7E7E7;
    background: #FFFFFF !important;
    color: #1F1F1F !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.showcase-arrow:hover {
    background: #ED3034;
    color: #FFFFFF;
    border-color: #ED3034;
    transform: translateY(-2px);
}

.showcase-arrow svg {
    width: 20px;
    height: 20px;
}

/* Scroll hint */
.showcase-scroll-hint {
    position: absolute;
    right: 40px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    z-index: 30;
    pointer-events: none;
}

.hint-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.hint-line {
    width: 70px;
    height: 2px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    transform-origin: right center;
}

/* Dark section variant (Projects) */
.projects .showcase-dot {
    background: var(--red-light);
}

.projects .showcase-dot.active {
    background: #ED3034;
}

.projects .showcase-arrow {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.projects .showcase-arrow:hover {
    background: #ED3034;
    border-color: #ED3034;
}

.product-more {
    margin-top: 40px;
    text-align: center;
    color: #555555;
    font-size: 16px;
}

.product-more strong {
    color: #1F1F1F;
    font-weight: 600;
}


/* ==========================================================================
   11. QUALITY CARDS
   ========================================================================== */

.quality-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.qcard {
    padding: 38px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 18px 40px rgba(31, 31, 31, 0.06);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.qcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 56px rgba(31, 31, 31, 0.12);
    border-color: rgba(237, 48, 52, 0.35);
}

.qcard-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(237, 48, 52, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.qcard-icon svg {
    width: 28px;
    height: 28px;
    color: var(--red-light);
}

.qcard h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.qcard p {
    color: #555555;
    font-size: 15px;
    margin: 0;
}


/* ==========================================================================
   12. CTA BANNER
   ========================================================================== */

.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 130px 0;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.cta-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(15, 17, 20, 0.85) 0%, rgba(15, 17, 20, 0.55) 55%, rgba(15, 17, 20, 0.30) 100%);
}

.cta-banner .container {
    position: relative;
    z-index: 3;
}

.cta-inner {
    max-width: 640px;
    color: #FFFFFF;
}

.cta-inner .eyebrow {
    color: #FFFFFF;
}

.cta-inner h2 {
    font-size: 44px;
    color: #FFFFFF;
    margin-bottom: 18px;
    line-height: 1.15;
}

.cta-inner p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 34px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}


/* ==========================================================================
   13. FAQ
   ========================================================================== */

.faq-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #E7E7E7;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
    border-color: rgba(237, 48, 52, 0.4);
    box-shadow: 0 16px 34px rgba(31, 31, 31, 0.06);
}

.faq-q {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 28px;
    font-size: 18px;
    font-weight: 600;
    color: #1F1F1F;
}

.faq-icon {
    flex: none;
    width: 30px;
    height: 30px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #ED3034;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 16px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-a-inner {
    padding: 0 28px 28px;
    color: #555555;
    font-size: 16px;
}


/* ==========================================================================
   14. CONTACT
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch;
}

.contact-form-card {
    padding: 44px;
    border-radius: 15px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    box-shadow: 0 24px 52px rgba(31, 31, 31, 0.07);
}

.contact-form-card h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: #555555;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1F1F1F;
    margin-bottom: 8px;
}

.field input,
.field textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #E7E7E7;
    border-radius: 15px;
    background: #F7F8FA;
    color: #1F1F1F;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9a9a9a;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: #ED3034;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(237, 48, 52, 0.10);
}

.form-success {
    display: none;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 15px;
    background: rgba(237, 48, 52, 0.08);
    color: #1F1F1F;
    font-size: 15px;
    border: 1px solid rgba(237, 48, 52, 0.25);
}

.form-success.show {
    display: block;
}

.contact-form-card .btn {
    width: 100%;
    margin-top: 8px;
}

/* Contact info column */
.contact-info {
    display: grid;
    gap: 18px;
    align-content: start;
}

.info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(31, 31, 31, 0.07);
}

.info-icon {
    flex: none;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(237, 48, 52, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--red-light);
}

.info-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.info-card p {
    color: #555555;
    font-size: 15px;
    margin: 0;
}

.map-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #E7E7E7;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.map-placeholder {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: #555555;
    background:
        radial-gradient(circle at 30% 40%, rgba(237, 48, 52, 0.08), transparent 40%),
        linear-gradient(135deg, #F7F8FA 0%, #eceef2 100%);
}

.map-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#E7E7E7 1px, transparent 1px),
        linear-gradient(90deg, #E7E7E7 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.map-pin {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    background: #ED3034;
    transform: rotate(-45deg);
    box-shadow: 0 10px 22px rgba(237, 48, 52, 0.35);
}

.map-pin::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
}

.map-label {
    position: relative;
    z-index: 2;
    font-size: 14px;
    font-weight: 500;
}

.social-row {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F1F1F;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

.social-link:hover {
    background: #ED3034;
    color: #FFFFFF;
    border-color: #ED3034;
    transform: translateY(-3px);
}

.social-link svg {
    width: 17px;
    height: 17px;
}


/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.site-footer {
    background: #F7F8FA;
    border-top: 1px solid #E7E7E7;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand img {
    height: 44px;
    margin-bottom: 22px;
}

.footer-brand p {
    color: #555555;
    font-size: 15px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1F1F1F;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer-col a {
    color: #555555;
    font-size: 15px;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover {
    color: #ED3034;
    padding-left: 4px;
}

.footer-news h4 {
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-news p {
    color: #555555;
    font-size: 15px;
    margin-bottom: 18px;
}

.news-form {
    display: flex;
    gap: 10px;
}

.news-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #E7E7E7;
    border-radius: 15px;
    background: #FFFFFF;
    color: #1F1F1F;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-form input:focus {
    outline: none;
    border-color: #ED3034;
    box-shadow: 0 0 0 4px rgba(237, 48, 52, 0.10);
}

.news-form button {
    flex: none;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: var(--tarmal-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.news-form button:hover {
    background: #d5282c;
    transform: translateY(-2px);
}

.news-form button svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 26px 0;
    border-top: 1px solid #E7E7E7;
    color: #555555;
    font-size: 14px;
}

.footer-bottom a {
    color: #555555;
}

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

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* Footer column 4 custom */
.tarmal-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tarmal-footer-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tarmal-footer-icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffecec;
    border-radius: 14px;
    color: #e31e24;
}

.tarmal-footer-icon svg {
    width: 22px;
    height: 22px;
}

.tarmal-footer-content h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
}

.tarmal-footer-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
}

.tarmal-footer-content a {
    color: #666;
    text-decoration: none;
}

.tarmal-footer-content a:hover {
    color: #e31e24;
}


/* ==========================================================================
   16. SCROLL REVEAL
   ========================================================================== */

.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* Accessibility focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(237, 48, 52, 0.55);
    outline-offset: 2px;
    border-radius: 6px;
}


/* ==========================================================================
   17. LEGACY SECTION
   ========================================================================== */

.legacy-section {
    position: relative;
    padding: 130px 0 0;
    overflow: hidden;
    background-color: #F7F8FA;
    background-image:
        linear-gradient(rgba(31, 31, 31, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 31, 31, 0.03) 1px, transparent 1px),
        linear-gradient(135deg, rgba(237, 48, 52, 0.02), rgba(31, 31, 31, 0) 45%);
    background-size: 64px 64px, 64px 64px, 100% 100%;
}

.lg-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.lg-head {
    position: relative;
    z-index: 3;
    max-width: 780px;
    margin-bottom: 56px;
}

.lg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ED3034;
    margin-bottom: 22px;
}

.lg-eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: #ED3034;
}

.lg-head h2 {
    font-size: clamp(32px, 4.4vw, 54px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.lg-head h2 em {
    font-style: normal;
    color: #ED3034;
}

.lg-head p {
    color: #555555;
    font-size: 18px;
    max-width: 620px;
}

.w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.wi {
    display: inline-block;
    will-change: transform;
}

.lg-stage {
    position: relative;
    padding-bottom: 110px;
}

.lg-ghost {
    position: absolute;
    right: -1%;
    top: -42px;
    z-index: 0;
    pointer-events: none;
    width: 60%;
    height: 300px;
}

.lg-ghost span {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    width: 100%;
    text-align: right;
    line-height: 1;
    font-size: clamp(120px, 18vw, 280px);
    font-weight: 700;
    letter-spacing: -0.05em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(31, 31, 31, 0.10);
    opacity: 0;
}

.lg-ghost span.active {
    opacity: 1;
}

/* Track (default vertical / mobile) */
.lg-viewport {
    position: relative;
    z-index: 2;
}

.lg-track {
    display: grid;
    gap: 46px;
}

.lg-panel {
    position: relative;
}

.lg-panel::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 40px;
    bottom: -46px;
    width: 2px;
    background: linear-gradient(180deg, #E7E7E7, rgba(231, 231, 231, 0));
}

.lg-panel:last-child::before {
    display: none;
}

.lg-node {
    position: absolute;
    left: 0;
    top: 26px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #ED3034;
    z-index: 3;
    box-shadow: 0 0 0 6px rgba(237, 48, 52, 0.08);
}

/* Card */
.lg-card {
    position: relative;
    margin-left: 58px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 44px rgba(31, 31, 31, 0.08);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.lg-card:hover {
    box-shadow: 0 34px 64px rgba(31, 31, 31, 0.14);
    border-color: rgba(237, 48, 52, 0.28);
}

.lg-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;
    width: 64px;
    height: 64px;
    background: linear-gradient(225deg, #ED3034 0%, #ED3034 46%, transparent 46.5%);
    pointer-events: none;
}

.lg-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 3;
    border: 1px solid rgba(31, 31, 31, 0.10);
    border-radius: 8px;
    pointer-events: none;
}

.rivet {
    position: absolute;
    z-index: 5;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(31, 31, 31, 0.16);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.rivet.tl { left: 22px; top: 22px; }
.rivet.bl { left: 22px; bottom: 22px; }
.rivet.br { right: 22px; bottom: 22px; }

.lg-tab {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 4;
    width: 54px;
    background: #1F1F1F;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: background 0.4s ease;
}

.lg-card:hover .lg-tab,
.lg-card.is-open .lg-tab {
    background: #ED3034;
}

.lg-card-inner {
    padding-left: 54px;
}

.lg-media {
    position: relative;
    overflow: hidden;
    height: 270px;
}

.lg-media img {
    width: 100%;
    height: 118%;
    object-fit: cover;
    filter: grayscale(0.5) contrast(1.08);
    will-change: transform;
    transition: filter 0.6s ease;
}

.lg-card:hover .lg-media img {
    filter: grayscale(0.05) contrast(1.06);
}

.lg-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 17, 20, 0.42) 0%, rgba(15, 17, 20, 0.05) 42%, rgba(15, 17, 20, 0.30) 100%);
}

.lg-index {
    position: absolute;
    left: 20px;
    top: 18px;
    z-index: 3;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: #FFFFFF;
    padding: 7px 13px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lg-body {
    position: relative;
    z-index: 2;
    padding: 28px 30px 30px;
}

.lg-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.lg-meta i {
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ED3034;
}

.lg-meta span {
    flex: 1;
    height: 1px;
    background: #E7E7E7;
}

.lg-title {
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.lg-text {
    color: #555555;
    font-size: 15.5px;
    line-height: 1.75;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lg-card.is-open .lg-text {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.lg-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #ED3034;
    transition: gap 0.3s ease;
}

.lg-more:hover {
    gap: 13px;
}

.lg-more svg {
    width: 15px;
    height: 15px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lg-card.is-open .lg-more svg {
    transform: rotate(180deg);
}

.lg-more .label-more { display: inline; }
.lg-more .label-less { display: none; }

.lg-card.is-open .lg-more .label-more { display: none; }
.lg-card.is-open .lg-more .label-less { display: inline; }

/* Rail / scrubber */
.lg-rail {
    position: relative;
    z-index: 3;
    margin-top: 44px;
}

.lg-rail-bar {
    position: relative;
    height: 4px;
    background: #E7E7E7;
    border-radius: 4px;
    margin-bottom: 26px;
}

.lg-rail-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #ED3034;
    border-radius: 4px;
}

.lg-handle {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -13px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #ED3034;
    cursor: grab;
    box-shadow: 0 6px 16px rgba(237, 48, 52, 0.30);
    z-index: 4;
    touch-action: none;
}

.lg-handle:active {
    cursor: grabbing;
}

.lg-years {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lg-thumb {
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    width: 80px;
    border-radius: 15px;
    background: #ED3034;
    z-index: 0;
    pointer-events: none;
}

.lg-years button {
    position: relative;
    z-index: 1;
    height: 40px;
    padding: 0 18px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #555555;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.lg-years button:hover {
    transform: translateY(-2px);
    border-color: #ED3034;
    color: #ED3034;
}

.lg-years button.active {
    color: #FFFFFF;
    background: transparent;
    border-color: transparent;
}

.lg-hint {
    display: none;
    align-items: center;
    gap: 10px;
    color: #555555;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 22px;
}

.lg-hint svg {
    width: 26px;
    height: 14px;
    color: #ED3034;
}

/* Horizontal mode (desktop only) */
.legacy-section.is-horizontal .lg-stage {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 0;
}

.legacy-section.is-horizontal .lg-viewport {
    overflow: hidden;
}

.legacy-section.is-horizontal .lg-track {
    display: flex;
    gap: 34px;
    align-items: flex-start;
    will-change: transform;
}

.legacy-section.is-horizontal .lg-panel {
    flex: 0 0 auto;
    width: clamp(400px, 30vw, 480px);
}

.legacy-section.is-horizontal .lg-panel::before,
.legacy-section.is-horizontal .lg-node {
    display: none;
}

.legacy-section.is-horizontal .lg-card {
    margin-left: 0;
}

.legacy-section.is-horizontal .lg-media {
    height: 230px;
}

.legacy-section.is-horizontal .lg-hint {
    display: inline-flex;
}

.legacy-section.is-horizontal .lg-handle {
    display: block;
}

.legacy-section.is-horizontal .lg-card.is-open .lg-text {
    max-height: 34vh;
    overflow-y: auto;
}


/* ==========================================================================
   18. PRODUCT DETAIL PAGE (WooCommerce)
   ========================================================================== */

.pr-cst-bx {
    width: 100%;
    height: 90px;
    background: #1F1F1F;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.custom-product-page {
    display: flex;
    gap: 60px;
    max-width: 1400px;
    margin: auto;
    padding: 85px 20px 80px;
}

.product-left,
.product-right {
    width: 50%;
}

.main-image img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
    overflow: hidden;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    border-radius: 15px;
}

.product-thumbnails img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 1.8px solid transparent;
    border-radius: 15px;
}

.product-thumbnails img.active {
    border-color: #ED3034;
}

.product-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.short-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.enquire-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Product accordion */
.product-accordion {
    border-top: 1px solid #ddd;
    margin-top: 10px;
}

.acc-panel {
    border-bottom: 1px solid #ddd;
}

.acc-heading {
    position: relative;
    padding: 18px 50px 18px 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.acc-heading::-webkit-details-marker {
    display: none;
}

.acc-heading::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.acc-panel[open] > .acc-heading::after {
    content: "\2212";
}

.acc-body {
    padding: 0 18px 20px;
    overflow: hidden;
}


/* ==========================================================================
   19. RELATED PRODUCTS
   ========================================================================== */

.product-cst-section {
    background-color: #ffffff;
}

.related-products {
    padding: 100px 0;
}

.related-products-title {
    letter-spacing: 0.3px;
    font-size: clamp(28px, 3.6vw, 44px);
}

.related-products .section-heading {
    margin-bottom: 50px;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.related-product-image img {
    border-radius: 15px;
    height: 31vh;
    width: 100%;
}

.related-product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    transition: 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
}

.related-products-section {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 1400px;
    padding: 80px 0;
    align-items: center;
    margin: auto;
}

.related-product-info {
    padding: 18px 15px;
}

.related-product-name {
    font-size: 16px;
}

.related-image {
    display: block;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.related-content {
    padding: 20px;
}

.related-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.related-content h3 a {
    text-decoration: none;
    color: #000;
}

.related-description {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.related-enquire-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
}


/* ==========================================================================
   20. BACK-TO-TOP BUTTON
   ========================================================================== */

#backToTopBtn {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 30px;
    right: 30px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    border-radius: 50%;
    background: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 20px, 0) scale(0.8);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    overflow: hidden;
    flex: 0 0 auto;
    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
}

#backToTopBtn:active {
    transform: translate3d(0, 0, 0) scale(0.95);
}

.arrow-icon {
    position: relative;
    z-index: 3;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    pointer-events: none;
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.arrow-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.progress-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
    max-height: none;
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 2;
    flex: none;
}

.progress-ring__bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.progress-ring__circle {
    fill: none;
    stroke: #ed3034;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 131.95;
    stroke-dashoffset: 131.95;
    vector-effect: non-scaling-stroke;
    transition: stroke-dashoffset 0.1s linear;
}


/* ==========================================================================
   21. PRODUCT CATEGORY
   ========================================================================== */

.category-layout {
    display: flex;
    gap: 60px;
    max-width: 1400px;
    margin: auto;
    padding: 80px 20px;
}

.category-sidebar {
    width: 30%;
}

.category-content {
    width: 70%;
}

.sidebar-sticky {
    position: sticky;
    top: 120px;
}

.sidebar-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-box h3 {
    margin-bottom: 20px;
}

.product-range-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #eee;
}

.product-range-thumb {
    width: 25%;
}

.product-range-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-range-title {
    width: 75%;
    font-weight: 600;
}

.download-btn {
    display: block;
    text-align: center;
    padding: 15px;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.cta-card {
    background: #000;
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.cta-card img {
    width: 100%;
    display: block;
}

.cta-content {
    padding: 25px;
}

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

.category-content table {
    width: 100%;
}

.category-content iframe {
    max-width: 100%;
}


/* ==========================================================================
   22. SINGLE POST
   ========================================================================== */

.single-post-page,
.single-post {
    width: 100%;
}

.single-post-featured-image {
    position: relative;
    width: 100%;
    height: 520px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.single-post-featured-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0) 100%
    );
}

.single-post-featured-image > * {
    position: relative;
    z-index: 2;
}

.single-post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.single-post-header {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.single-post-title {
    margin: 0;
}

.single-post-date {
    flex: none;
    white-space: nowrap;
}

.single-post-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 40px 100px;
}

.single-post-content p {
    margin: 0 0 20px;
}

.single-post-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    margin-top: 40px;
    margin-bottom: 15px;
}


/* ==========================================================================
   23. 404 PAGE
   ========================================================================== */

.wi-404,
.wi-404 * {
    box-sizing: border-box;
}

.wi-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 80vh;
    padding: 60px 24px;
    width: 100%;
}

.wi-404__inner {
    max-width: 640px;
    text-align: center;
    width: 100%;
}

.wi-404__code {
    background: var(--tarmal-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(90px, 18vw, 160px);
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.wi-404__title {
    color: var(--wi-black);
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    margin: 16px 0 12px;
}

.wi-404__text {
    color: var(--wi-grey-text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 32px;
}

.wi-404__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.wi-404__btn {
    background: var(--tarmal-gradient);
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wi-404__btn:hover {
    color: #ffffff;
    opacity: 0.9;
    transform: translateY(-1px);
}

.wi-404__btn--outline {
    background: transparent;
    border: 2px solid var(--red-light);
    color: var(--red-light);
    padding: 12px 26px;
}

.wi-404__btn--outline:hover {
    background: var(--red-light);
    color: #ffffff;
}


/* ==========================================================================
   ===============      25. MEDIA QUERIES (ALL BOTTOM)      ==============
   ==========================================================================
   Sorted largest → smallest breakpoint.
   Each breakpoint groups ALL rules for that size in one block.
   ========================================================================== */


/* ---------- HOVER-CAPABLE POINTERS (desktop only) ---------- */
@media (hover: hover) and (pointer: fine) {

    #backToTopBtn:hover {
        background: #ed3034;
        box-shadow: 0 6px 20px rgba(217, 83, 30, 0.4);
        transform: translate3d(0, -4px, 0) scale(1.05);
    }

    #backToTopBtn:hover .arrow-icon {
        transform: translateY(-2px);
    }
}


/* ---------- LARGE DESKTOP (max 1200px) ---------- */
@media (max-width: 1200px) {

    .hero h1 {
        font-size: 52px;
    }

    .about-grid {
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-news {
        grid-column: 1 / -1;
    }
}


/* ---------- SHORT LAPTOPS (legacy specific) ---------- */
@media (min-width: 1025px) and (max-height: 820px) {

    .legacy-section.is-horizontal .lg-media {
        height: 180px;
    }

    .legacy-section.is-horizontal .lg-body {
        padding: 22px 24px 24px;
    }

    .lg-ghost {
        display: none;
    }
}


/* ---------- LEGACY MID-TABLET (641-1024) ---------- */
@media (min-width: 641px) and (max-width: 1024px) {

    .lg-card-inner {
        display: grid;
        grid-template-columns: 0.95fr 1.05fr;
    }

    .lg-media {
        height: 100%;
        min-height: 280px;
    }
}


/* ---------- TABLET / SMALL LAPTOP (max 1024px) ---------- */
@media (max-width: 1024px) {

    /* Layout */
    .container {
        padding: 0 28px;
    }

    .section {
        padding: 96px 0;
    }

    /* Header */
    .nav,
    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero h1 {
        font-size: clamp(32px, 5.5vw, 48px);
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .hero-buttons {
        margin-bottom: 38px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-media {
        max-width: 620px;
    }

    /* Industries + metrics + quality */
    .industry-grid,
    .metrics-grid,
    .quality-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Showcase */
    .showcase-card {
        height: 480px;
    }

    .showcase-panel {
        left: 24px;
        right: 24px;
        bottom: 24px;
        max-width: none;
        padding: 26px;
    }

    .showcase-panel h3 {
        font-size: 24px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-inner h2 {
        font-size: 36px;
    }

    /* Legacy */
    .lg-container {
        padding: 0 28px;
    }

    .legacy-section {
        padding-top: 96px;
    }

    .lg-head {
        margin-bottom: 44px;
    }

    .lg-ghost {
        display: none;
    }

    /* Related products */
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ---------- PRODUCT DETAIL + CATEGORY (max 991px) ---------- */
@media (max-width: 991px) {

    .custom-product-page {
        flex-direction: column;
    }

    .product-left,
    .product-right {
        width: 100%;
    }

    .category-layout {
        flex-direction: column;
    }

    .category-sidebar,
    .category-content {
        width: 100%;
    }

    .sidebar-sticky {
        position: relative;
        top: auto;
    }
}


/* ---------- LANDSCAPE PHONES (short-height) ---------- */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {

    .hero {
        min-height: 100svh;
        padding: 80px 0 30px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: row;
        margin-bottom: 20px;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .hero-features {
        display: none;
    }
}


/* ---------- BACK-TO-TOP MOBILE (max 768px) ---------- */
@media (max-width: 768px) {

    #backToTopBtn {
        width: 46px;
        height: 46px;
        bottom: 20px;
        right: 20px;
        transform: translate3d(0, 20px, 0) scale(0.8);
    }

    #backToTopBtn.show {
        transform: translate3d(0, 0, 0) scale(1);
    }

    .arrow-icon {
        width: 21px;
        height: 21px;
    }

    .progress-ring {
        width: 46px !important;
        height: 46px !important;
    }
}


/* ---------- RELATED PRODUCTS 1-COL (max 767px) ---------- */
@media (max-width: 767px) {

    .related-products-grid {
        grid-template-columns: 1fr;
    }
}


/* ---------- MOBILE PRIMARY (max 720px) ---------- */
@media (max-width: 720px) {

    /* Section spacing */
    .section {
        padding: 72px 0;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        display: flex !important;
        align-items: center !important;
        padding: 90px 0;
    }

    .hero-inner {
        margin-top: auto;
        margin-bottom: auto;
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(28px, 7vw, 40px);
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
        width: 100%;
    }

    .hero-buttons .btn {
        min-height: 46px;
        padding: 10px 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 14px;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .hero-buttons .btn-primary {
        width: 180px;
    }

    .hero-buttons .btn-ghost {
        width: 140px;
    }

    .hero-features {
        display: none;
        gap: 8px;
    }

    .hero-chip {
        padding: 10px 16px;
        font-size: 13px;
        gap: 8px;
    }

    .hero-chip svg {
        width: 16px;
        height: 16px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Section heads */
    .section-head h2,
    .about-content h2 {
        font-size: 30px;
    }

    .section-head p {
        font-size: 16px;
    }

    /* Industries + metrics + quality → single column */
    .industry-grid,
    .metrics-grid,
    .quality-cards {
        grid-template-columns: 1fr;
    }

    .metric-number {
        font-size: 40px;
    }

    /* About floating card */
    .about-floating {
        left: 16px;
        bottom: -22px;
        width: 210px;
    }

    .about-badge {
        right: 12px;
    }

    .about-media .media img {
        height: 400px;
    }

    /* Contact */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .info-card {
        padding: 26px;
    }

    /* Showcase */
    .showcase-card {
        height: 520px;
    }

    .showcase-panel {
        padding: 22px;
    }

    .showcase-panel h3 {
        font-size: 21px;
    }

    .showcase-panel p {
        font-size: 15px;
    }

    .showcase-controls {
        flex-direction: column-reverse;
        gap: 18px;
        align-items: center;
    }

    /* CTA banner */
    .cta-banner {
        padding: 90px 0;
    }

    .cta-inner h2 {
        font-size: 30px;
    }

    .cta-inner p {
        font-size: 17px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Legacy */
    .lg-container {
        padding: 0 20px;
    }

    .legacy-section {
        padding-top: 72px;
    }

    .lg-track {
        gap: 36px;
    }

    .lg-panel::before {
        left: 9px;
        bottom: -36px;
    }

    .lg-node {
        width: 20px;
        height: 20px;
        top: 22px;
    }

    .lg-card {
        margin-left: 42px;
    }

    .lg-card::before {
        width: 48px;
        height: 48px;
    }

    .lg-tab {
        width: 44px;
        font-size: 13px;
        letter-spacing: 0.16em;
    }

    .lg-card-inner {
        padding-left: 44px;
    }

    .lg-media {
        height: 210px;
    }

    .lg-body {
        padding: 24px 22px 26px;
    }

    .lg-title {
        font-size: 20px;
    }

    .lg-head p {
        font-size: 16px;
    }

    .rivet {
        display: none;
    }

    .lg-years button {
        height: 36px;
        padding: 0 14px;
        font-size: 12px;
    }

    .lg-thumb {
        height: 36px;
    }
}


/* ---------- BACK-TO-TOP SMALL (max 480px) ---------- */
@media (max-width: 480px) {

    #backToTopBtn {
        width: 42px;
        height: 42px;
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        border-radius: 50%;
    }

    .progress-ring {
        width: 42px !important;
        height: 42px !important;
    }

    .arrow-icon {
        width: 19px;
        height: 19px;
    }

        .actions {
      flex-direction: column;
    }
    .btn {
      width: 100%;
    }

    .card {
        padding: 7% 9% !important;
    }
}


/* ---------- SMALL MOBILE (max 380px, iPhone SE etc) ---------- */
@media (max-width: 380px) {

    .hero {
        padding: 100px 0 30px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-chip {
        font-size: 12px;
        padding: 8px 12px;
    }

    .hero-chip svg {
        width: 14px;
        height: 14px;
    }
}


/* ---------- TINY MOBILE (max 360px) ---------- */
@media (max-width: 360px) {

    #backToTopBtn {
        width: 40px;
        height: 40px;
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
    }

    .progress-ring {
        width: 40px !important;
        height: 40px !important;
    }

    .arrow-icon {
        width: 18px;
        height: 18px;
    }
}


/* ---------- REDUCED MOTION (accessibility) ---------- */
@media (prefers-reduced-motion: reduce) {

    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .js .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    #backToTopBtn {
        transition: opacity 0.2s ease;
    }

    .arrow-icon {
        transition: none;
    }

    .progress-ring__circle {
        transition: none;
    }

    .hero-video {
        display: none;
    }

    .scroll-mouse::before {
        animation: none;
    }
}

/* Thank you page - css */

  .card {
    width: 100%;
    max-width: 560px;
    text-align: center;
    height: 70vh;
    padding: 7% 0%;
    margin:auto;
  }

  .mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 40px;
    border-radius: 50%;
    border: 2px solid var(--red-light);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mark svg {
    width: 24px;
    height: 24px;
    stroke: var(--red-light);
  }

  .eyebrow {
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--red-dark);
    margin-bottom: 14px;
  }

  h1 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
  }

  p.lead {
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 420px;
    margin: 0 auto 36px;
  }

  .details {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
    margin-bottom: 36px;
    font-size: 14px;
    color: #4a4a4a;
  }

  .details strong {
    color: var(--ink);
  }

  .actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
