:root {
    --color-bg: #ffffff;
    --color-text: #1a1f2b;
    --color-muted: #667085;
    --color-line: #e5e7eb;
    --color-soft: #f6f8fb;
    --color-dark: #0f1728;
    --color-dark-2: #111827;
    --color-primary: #e10600;
    --color-primary-dark: #b90500;
    --color-white: #ffffff;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 30px rgba(15, 23, 40, 0.08);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

.container {
    width: min(92%, 1240px);
    margin: 0 auto;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: fit-content;
}

.logo-smar {
    height: 42px;
    width: auto;
}

.logo-abb {
    height: 30px;
    width: auto;
}

.brand-divider {
    width: 1px;
    height: 28px;
    background: var(--color-line);
}

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

.nav-list a {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.25s ease;
}

.nav-list a:hover {
    color: var(--color-primary);
}

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

.btn-header {
    padding: 11px 18px;
    border-radius: 999px;
    background: #f3f4f6;
    font-weight: 700;
    font-size: 0.95rem;
}

.btn-header:hover {
    background: #e5e7eb;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-text);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 24px rgba(225, 6, 0, 0.2);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px;
    background:
        linear-gradient(135deg, rgba(10, 17, 32, 0.92), rgba(18, 29, 52, 0.86)),
        url("../images/hero/hero-safety.jpg") center/cover no-repeat;
    color: var(--color-white);
}

.hero-bg::before,
.hero-bg::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.45;
}

.hero-bg::before {
    width: 320px;
    height: 320px;
    background: rgba(225, 6, 0, 0.35);
    top: -80px;
    right: 8%;
}

.hero-bg::after {
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.1);
    bottom: -80px;
    left: 4%;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.05;
    margin-bottom: 22px;
    max-width: 820px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: #ff7d78;
}

.hero-description {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.stat-card span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.glass-card {
    width: 100%;
    max-width: 430px;
    padding: 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-strong);
}

.glass-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffb6b2;
    margin-bottom: 10px;
}

.glass-card h2 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 18px;
}

.glass-list {
    display: grid;
    gap: 14px;
}

.glass-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.glass-dot {
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 999px;
    background: #ff7d78;
    flex-shrink: 0;
}

/* TRUST STRIP */
.trust-strip {
    background: var(--color-white);
    position: relative;
    margin-top: -34px;
    z-index: 3;
}

.trust-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 0 0 10px;
}

.trust-item {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: var(--shadow-soft);
}

.trust-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.trust-item span {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* GENERAL */
.section {
    padding: 96px 0;
}

.section-soft {
    background: var(--color-soft);
}

.section-dark {
    background: linear-gradient(180deg, #0f1728, #121b30);
    color: var(--color-white);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 42px;
}

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

.section-label {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-label.light {
    color: #ff8f89;
}

.section-heading h2,
.split-left h2,
.contact-info h2,
.cta-band-inner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.section-heading p,
.split-right p,
.contact-info p {
    color: var(--color-muted);
}

.section-dark .section-heading h2,
.section-dark .service-card h3 {
    color: var(--color-white);
}

.section-dark-text {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* HOMEPAGE IMAGE GRID */
.homepage-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.homepage-image-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 40, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homepage-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 23, 40, 0.08);
}

.homepage-image-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.homepage-image-card h3 {
    padding: 20px 20px 8px;
    font-size: 1.2rem;
}

.homepage-image-card p {
    padding: 0 20px 22px;
    color: #667085;
}

/* SPLIT */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.modern-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 22px;
    padding: 30px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 24px rgba(15, 23, 40, 0.04);
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(15, 23, 40, 0.08);
}

.card-product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 14px;
    margin-bottom: 18px;
    padding: 16px;
}

.card-top-line {
    width: 52px;
    height: 4px;
    border-radius: 999px;
    background: var(--color-primary);
    margin-bottom: 18px;
}

.modern-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.modern-card p {
    color: var(--color-muted);
}

/* SERVICES */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 28px;
}

.service-number {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #ff8f89;
    font-weight: 700;
}

.service-card p {
    color: rgba(255, 255, 255, 0.72);
}

/* REASONS */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reason-box {
    background: linear-gradient(180deg, #ffffff, #fafbfc);
    border: 1px solid var(--color-line);
    border-radius: 22px;
    padding: 30px 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 40, 0.04);
}

.reason-box h3 {
    margin-bottom: 12px;
}

.reason-box p {
    color: var(--color-muted);
}

/* CTA */
.cta-band {
    background: linear-gradient(135deg, #131d33, #1d2944);
    color: var(--color-white);
}

.cta-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cta-band .section-label {
    color: #ff8f89;
}

/* CONTACT */
.contact-section {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.contact-details {
    margin-top: 24px;
}

.contact-details p {
    margin-bottom: 10px;
    color: #344054;
}

.contact-form {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1f2b;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.full-width {
    width: 100%;
}

.form-message {
    margin-top: 10px;
    font-weight: 700;
    color: var(--color-primary);
}

/* FOOTER */
.footer {
    background: #0b1220;
    color: var(--color-white);
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    height: 28px;
    width: auto;
}

.footer-logo-abb {
    height: 22px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .hero-grid,
    .split-section,
    .cards-grid,
    .service-grid,
    .reasons-grid,
    .contact-grid,
    .trust-strip-inner,
    .homepage-image-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
    .nav {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--color-line);
        padding: 20px 0 24px;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .menu-toggle {
        display: block;
    }

    .btn-header {
        display: none;
    }

    .hero {
        padding: 96px 0 76px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .logo-smar {
        height: 34px;
    }

    .logo-abb {
        height: 24px;
    }

    .section {
        padding: 78px 0;
    }

    .homepage-image-card img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .header-inner {
        gap: 12px;
    }

    .brand {
        gap: 10px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .glass-card,
    .contact-form,
    .modern-card,
    .reason-box,
    .service-card,
    .trust-item {
        padding: 24px 20px;
    }

    .homepage-image-card img {
        height: 200px;
    }

    .card-product-image {
        height: 160px;
        padding: 12px;
    }
}