:root {
    --bg: #f4f7f5;
    --surface: #ffffff;
    --surface-soft: #edf3ef;
    --ink: #17211c;
    --muted: #627168;
    --line: #d9e3dc;
    --brand: #006b5f;
    --brand-dark: #063f39;
    --accent: #f2a900;
    --danger: #b44a33;
    --shadow: 0 18px 48px rgba(23, 33, 28, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(244, 247, 245, 0.9);
    border-bottom: 1px solid rgba(217, 227, 220, 0.9);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 16px;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
}

.site-nav a:hover {
    background: var(--surface-soft);
    color: var(--ink);
}

.site-nav .nav-cta {
    background: var(--ink);
    color: #fff;
}

.hero {
    position: relative;
    min-height: min(760px, calc(100vh - 74px));
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero img,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero img {
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(6, 63, 57, 0.88), rgba(6, 63, 57, 0.48) 48%, rgba(6, 63, 57, 0.08)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.3), transparent 45%);
}

.hero-content {
    position: relative;
    width: min(720px, calc(100% - 36px));
    margin-left: clamp(18px, 6vw, 86px);
    padding: 80px 0 120px;
    color: #fff;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(46px, 8vw, 104px);
    line-height: 0.92;
    letter-spacing: 0;
}

.hero-copy {
    width: min(620px, 100%);
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 8px;
    font-weight: 800;
}

.button.primary {
    background: var(--accent);
    color: #1d1806;
}

.button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.quick-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    width: min(1180px, calc(100% - 36px));
    margin: -64px auto 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
    box-shadow: var(--shadow);
}

.quick-strip article {
    min-height: 124px;
    padding: 22px;
    background: var(--surface);
}

.quick-strip strong,
.quick-strip span {
    display: block;
}

.quick-strip strong {
    margin-bottom: 6px;
    font-size: 16px;
}

.quick-strip span {
    color: var(--muted);
    font-size: 14px;
}

.section {
    width: min(1180px, calc(100% - 36px));
    margin: 86px auto 0;
}

.intro-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: end;
}

.section h2,
.visit-card h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1;
    letter-spacing: 0;
}

.intro-section > p,
.section-heading + p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    width: min(1180px, calc(100% - 36px));
    margin: 28px auto 0;
}

.category-grid a {
    min-height: 126px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.category-grid a:hover {
    border-color: rgba(0, 107, 95, 0.5);
    box-shadow: 0 12px 24px rgba(0, 107, 95, 0.1);
    transform: translateY(-2px);
}

.category-grid span,
.product-topline span,
.detail-label,
.contact-panel span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.category-grid strong {
    display: block;
    margin-top: 28px;
    font-size: 18px;
}

.section-heading {
    margin-bottom: 24px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.product-card:hover {
    border-color: rgba(0, 107, 95, 0.46);
    box-shadow: 0 16px 34px rgba(23, 33, 28, 0.1);
}

.product-media {
    min-height: 172px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #fff;
    background: var(--brand);
}

.product-media span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    font-size: 13px;
    font-weight: 800;
}

.fan-media {
    background:
        radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.55) 0 7%, transparent 8%),
        conic-gradient(from 30deg at 72% 34%, #d7e0dd 0 9%, transparent 10% 33%, #d7e0dd 34% 43%, transparent 44% 66%, #d7e0dd 67% 76%, transparent 77%),
        linear-gradient(135deg, #006b5f, #1d8379);
}

.cooler-media {
    background:
        linear-gradient(90deg, transparent 0 58%, rgba(255, 255, 255, 0.72) 59% 82%, transparent 83%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0 4px, transparent 4px 12px),
        linear-gradient(135deg, #2b6b89, #63a7ad);
}

.mixer-media {
    background:
        radial-gradient(circle at 68% 42%, #edf3ef 0 16%, transparent 17%),
        radial-gradient(circle at 42% 58%, #d65b45 0 18%, transparent 19%),
        linear-gradient(135deg, #73322d, #d17b37);
}

.switch-media {
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 34px, rgba(23, 33, 28, 0.22) 34px 38px),
        linear-gradient(135deg, #34443d, #81938b);
}

.wire-media {
    background:
        radial-gradient(circle at 66% 50%, transparent 0 24%, rgba(242, 169, 0, 0.9) 25% 34%, transparent 35%),
        radial-gradient(circle at 40% 54%, transparent 0 18%, rgba(180, 74, 51, 0.9) 19% 30%, transparent 31%),
        linear-gradient(135deg, #14352f, #006b5f);
}

.socket-media {
    background:
        radial-gradient(circle at 66% 48%, #17211c 0 3%, transparent 4%),
        radial-gradient(circle at 76% 48%, #17211c 0 3%, transparent 4%),
        linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.82) 49% 88%, transparent 89%),
        linear-gradient(135deg, #3c4f48, #97a8a0);
}

.led-media {
    background:
        radial-gradient(circle at 72% 38%, #fff7c7 0 18%, rgba(242, 169, 0, 0.65) 19% 32%, transparent 33%),
        linear-gradient(135deg, #203a35, #006b5f);
}

.panel-media {
    background:
        radial-gradient(circle at 66% 42%, rgba(255, 255, 255, 0.95) 0 18%, transparent 19%),
        radial-gradient(circle at 42% 58%, rgba(255, 255, 255, 0.78) 0 14%, transparent 15%),
        linear-gradient(135deg, #505950, #d7b14c);
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.product-topline strong {
    color: var(--brand);
    font-size: 14px;
}

.product-card h3,
.detail-card h3,
.service-grid h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.15;
}

.product-card p,
.detail-card p,
.service-grid p,
.visit-card p {
    color: var(--muted);
}

.product-card ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    margin-top: auto;
    color: var(--brand);
    font-weight: 800;
}

.detail-section {
    display: grid;
    gap: 14px;
}

.detail-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1fr);
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    scroll-margin-top: 100px;
}

.detail-card:target {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.18);
}

.detail-label {
    margin-bottom: 10px;
    color: var(--brand);
}

dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

dl div {
    min-height: 92px;
    padding: 14px;
    background: #fbfcfb;
}

dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

dd {
    margin: 6px 0 0;
    font-weight: 700;
}

.service-section {
    padding: 42px;
    border-radius: 8px;
    background: var(--brand-dark);
    color: #fff;
}

.service-section .section-heading {
    width: min(720px, 100%);
}

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

.service-grid article {
    min-height: 180px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

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

.visit-section {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
    gap: 16px;
    width: min(1180px, calc(100% - 36px));
    margin: 86px auto 0;
}

.visit-card,
.contact-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.visit-card {
    min-height: 340px;
    padding: 34px;
}

address {
    margin-top: 28px;
    color: var(--ink);
    font-style: normal;
    font-weight: 800;
}

.contact-panel {
    display: grid;
    overflow: hidden;
}

.contact-panel a {
    padding: 24px;
    border-bottom: 1px solid var(--line);
}

.contact-panel a:last-child {
    border-bottom: 0;
}

.contact-panel a:hover {
    background: var(--surface-soft);
}

.contact-panel strong {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    width: min(1180px, calc(100% - 36px));
    margin: 70px auto 0;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer p {
    margin: 0;
}

@media (max-width: 980px) {
    .site-header,
    .intro-section,
    .detail-card,
    .visit-section {
        grid-template-columns: 1fr;
    }

    .site-header {
        align-items: flex-start;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid,
    .quick-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: static;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .hero {
        min-height: 700px;
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(6, 63, 57, 0.92), rgba(6, 63, 57, 0.42));
    }

    .hero-content {
        width: calc(100% - 36px);
        margin: 0 auto;
        padding-bottom: 96px;
    }

    .quick-strip,
    .category-grid,
    .product-grid,
    dl {
        grid-template-columns: 1fr;
    }

    .service-section,
    .visit-card {
        padding: 24px;
    }

    .site-footer {
        display: block;
    }
}
