* {
    box-sizing: border-box;
}

:root {
    --fixpoint-font-ui: "Segoe UI", Arial, sans-serif;
    --fixpoint-font-semibold: "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
    --fixpoint-font-mono: Consolas, "Courier New", monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--fixpoint-font-ui);
    font-weight: 400;
    background: #000;
    color: #eee;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: var(--profile-background-image, none) center center / cover no-repeat;
    opacity: 0.6;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.34);
}

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

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
strong,
.site-navigation a,
.navigation-action,
.menu-toggle,
.button,
.fixpoint-feature-pill,
.fixpoint-short-action {
    font-family: var(--fixpoint-font-semibold);
    font-weight: 600;
}

.eyebrow,
.fixpoint-kicker,
.fixpoint-location-label {
    font-family: var(--fixpoint-font-mono);
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 140, 0, 0.18);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(14px);
}

.fixpoint-site-header .container {
    width: min(1420px, calc(100% - 36px));
}

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

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: #fff;
    text-decoration: none;
}

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

.brand-logo {
    width: auto;
    max-width: 156px;
    height: 40px;
    object-fit: contain;
}

.site-navigation {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 18px;
    min-height: 78px;
}

.site-navigation a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #ddd;
    text-decoration: none;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease;
}

.site-navigation a:not(.navigation-action)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #ff8c00;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.site-navigation a:hover,
.site-navigation a:focus-visible,
.site-navigation a.is-active {
    color: #ff8c00;
}

.site-navigation a.is-active::after,
.site-navigation a:not(.navigation-action):hover::after,
.site-navigation a:not(.navigation-action):focus-visible::after {
    transform: scaleX(1);
}

.navigation-action,
.button-primary {
    background: #ff8c00;
    color: #fff !important;
}

.navigation-action {
    align-self: center;
    min-height: 42px;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
}

.navigation-action:hover,
.navigation-action:focus-visible {
    background: #f18100;
    color: #fff !important;
}

.fixpoint-login-icon {
    position: relative;
    display: inline-block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: currentColor;
}

.fixpoint-login-icon::before {
    content: "";
    position: absolute;
    top: 1px;
    right: 0;
    width: 7px;
    height: 14px;
    border: 1.8px solid currentColor;
    border-left: 0;
    border-radius: 0 2px 2px 0;
}

.fixpoint-login-icon::after {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.fixpoint-login-icon > span::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 4px;
    width: 5px;
    height: 5px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #151515;
    color: #fff;
    padding: 9px 13px;
    cursor: pointer;
}

#hero,
#about,
#product-categories,
#service-center,
#advantages,
#gallery,
#contact-details {
    scroll-margin-top: 88px;
}

.hero-section {
    min-height: 560px;
    display: grid;
    align-items: center;
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.72), rgba(0, 0, 0, 0.72));
}

.hero-content {
    max-width: 940px;
}

.hero-logo {
    max-width: 240px;
    max-height: 100px;
    margin: 0 auto 26px;
    object-fit: contain;
}

.eyebrow {
    color: #ff8c00;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    color: #ff8c00;
    font-size: clamp(3rem, 8vw, 5.6rem);
    line-height: 1.04;
}

.hero-title {
    margin: 0 auto 6px;
    color: #eee;
    font-size: clamp(1.25rem, 3vw, 2rem);
}

.hero-description {
    max-width: 880px;
    margin: 0 auto;
    color: #ccc;
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 160ms ease, opacity 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid #555;
    background: rgba(21, 21, 21, 0.9);
    color: #fff;
}

.content-section {
    padding: 50px 0;
}

.section-muted {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    background: rgba(9, 9, 9, 0.82);
}

.section-heading h2 {
    margin-bottom: 26px;
    color: #ff8c00;
    font-size: clamp(2rem, 4vw, 3rem);
}

.card-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.profile-card,
.contact-card,
.gallery-item {
    border: 1px solid #2b2b2b;
    border-radius: 15px;
    background: rgba(21, 21, 21, 0.95);
}

.profile-card {
    padding: 25px;
}

.card-icon {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 1.55rem;
}

.profile-card h3 {
    margin-bottom: 10px;
    color: #fff;
}

.profile-card p {
    margin-bottom: 0;
    color: #ccc;
}

.gallery-item {
    margin: 0;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.contact-card {
    padding: 28px;
}

.contact-row {
    display: grid;
    grid-template-columns: minmax(160px, 240px) 1fr;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #2b2b2b;
}

.contact-row a {
    color: #ff8c00;
}

.contact-address {
    padding-top: 22px;
}

.contact-address p {
    margin: 8px 0 0;
    color: #ccc;
}

.fixpoint-short-section {
    padding: 30px 0;
}

.fixpoint-short-card {
    border: 1px solid rgba(255, 140, 0, 0.22);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(24, 24, 24, 0.97), rgba(12, 12, 12, 0.94));
    padding: 28px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.fixpoint-short-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 34px;
}

.fixpoint-kicker {
    margin-bottom: 8px;
    color: #ff8c00;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.fixpoint-short-card h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.2;
}

.fixpoint-short-description {
    max-width: 760px;
    margin-bottom: 0;
    color: #c8c8c8;
}

.fixpoint-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.fixpoint-feature-pill {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid #333;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: #eee;
    font-size: 0.86rem;
    text-align: center;
}

.fixpoint-location-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
}

.fixpoint-location-label {
    color: #ff8c00;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fixpoint-location-address {
    color: #fff;
    font-size: 0.94rem;
    line-height: 1.55;
}

.fixpoint-short-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 6px;
    padding: 9px 15px;
    border-radius: 8px;
    background: #ff8c00;
    color: #fff;
    text-decoration: none;
    font-size: 0.86rem;
}

.fixpoint-short-action:hover,
.fixpoint-short-action:focus-visible {
    background: #f18100;
}

.site-footer {
    padding: 30px 0;
    border-top: 1px solid #222;
    background: #000;
    color: #888;
    text-align: center;
}

@media (max-width: 1180px) {
    .site-navigation {
        gap: 13px;
    }

    .site-navigation a {
        font-size: 0.82rem;
    }
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-navigation {
        display: none;
        position: absolute;
        top: 78px;
        left: 18px;
        right: 18px;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 14px;
        border: 1px solid #2b2b2b;
        border-radius: 12px;
        background: rgba(11, 11, 11, 0.98);
        box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
    }

    .site-navigation.is-open {
        display: flex;
    }

    .site-navigation a {
        min-height: 44px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 0.92rem;
    }

    .site-navigation a:not(.navigation-action)::after {
        display: none;
    }

    .site-navigation a.is-active {
        background: rgba(255, 140, 0, 0.1);
    }

    .navigation-action {
        align-self: stretch;
        justify-content: center;
        margin-top: 6px;
    }

    .fixpoint-short-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 820px) {
    .gallery-item img {
        height: auto;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

@media (max-width: 640px) {
    .fixpoint-site-header .container {
        width: min(100% - 24px, 1420px);
    }

    .brand-logo {
        max-width: 138px;
        height: 36px;
    }

    .fixpoint-short-card {
        padding: 20px;
    }

    .fixpoint-feature-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .site-navigation a:not(.navigation-action)::after {
        transition: none;
    }
}

/* FixPoint Home / Hero viewport scaling */
#hero.hero-section {
    min-height: calc(100vh - 78px);
    min-height: calc(100svh - 78px);
    min-height: calc(100dvh - 78px);
    padding: clamp(32px, 6vh, 80px) 0;
}

#hero .hero-content {
    width: min(1120px, calc(100% - 40px));
    max-width: clamp(720px, 72vw, 1120px);
}

#hero .hero-logo {
    width: auto;
    max-width: clamp(170px, 14vw, 300px);
    max-height: clamp(72px, 11vh, 132px);
    margin-bottom: clamp(16px, 3vh, 32px);
}

#hero h1 {
    margin-bottom: clamp(12px, 2vh, 22px);
    font-size: clamp(2.8rem, 5.2vw, 6.2rem);
}

#hero .hero-title {
    margin-bottom: clamp(5px, 1vh, 10px);
    font-size: clamp(1.15rem, 1.7vw, 2.25rem);
}

#hero .hero-description {
    max-width: clamp(620px, 64vw, 980px);
    font-size: clamp(0.98rem, 1.15vw, 1.35rem);
    line-height: 1.55;
}

#hero .hero-actions {
    margin-top: clamp(20px, 3vh, 36px);
    gap: clamp(10px, 1vw, 16px);
}

#hero .button {
    min-height: clamp(44px, 5vh, 54px);
    padding: clamp(10px, 1.2vh, 14px) clamp(18px, 1.8vw, 30px);
    font-size: clamp(0.9rem, 0.9vw, 1rem);
}

@media (max-height: 700px) and (min-width: 821px) {
    #hero.hero-section {
        padding: 24px 0;
    }

    #hero .hero-logo {
        max-width: clamp(150px, 12vw, 220px);
        max-height: 72px;
        margin-bottom: 14px;
    }

    #hero h1 {
        margin-bottom: 10px;
        font-size: clamp(2.4rem, 7vh, 4.5rem);
    }

    #hero .hero-title {
        font-size: clamp(1.05rem, 2.6vh, 1.55rem);
    }

    #hero .hero-description {
        font-size: clamp(0.92rem, 2.1vh, 1.08rem);
    }

    #hero .hero-actions {
        margin-top: 16px;
    }
}

@media (max-width: 640px) {
    #hero.hero-section {
        min-height: calc(100svh - 78px);
        padding: clamp(28px, 5vh, 48px) 0;
    }

    #hero .hero-content {
        width: min(940px, calc(100% - 24px));
        max-width: none;
    }

    #hero .hero-logo {
        max-width: clamp(150px, 46vw, 220px);
        max-height: clamp(64px, 10vh, 92px);
        margin-bottom: clamp(14px, 2.4vh, 22px);
    }

    #hero h1 {
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    #hero .hero-title {
        font-size: clamp(1.05rem, 5vw, 1.45rem);
    }

    #hero .hero-description {
        max-width: 100%;
        font-size: clamp(0.95rem, 4vw, 1.08rem);
    }

    #hero .hero-actions {
        margin-top: clamp(18px, 3vh, 26px);
    }

    #hero .button {
        min-height: 46px;
        padding: 11px 18px;
        font-size: 0.94rem;
    }
}
