:root {
    --bg: #f2f6f4;
    --ink: #0f2320;
    --muted: #4b615d;
    --panel: #ffffff;
    --accent: #008a5a;
    --accent-2: #f6b513;
    --line: #d9e5df;
    --radius: 16px;
    --shadow: 0 20px 45px rgba(3, 50, 35, 0.14);
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-Thin.ttf") format("truetype");
    font-style: normal;
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-ExtraLight.ttf") format("truetype");
    font-style: normal;
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-ExtraBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-ThinItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-ExtraLightItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-LightItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-Italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-MediumItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-SemiBoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-BoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "TH Sarabun New";
    src: url("../fonts/Sarabun-ExtraBoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 800;
    font-display: swap;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "TH Sarabun New", "TH SarabunPSK", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(1000px 500px at 90% -20%, rgba(246, 181, 19, 0.18), transparent 60%),
        radial-gradient(800px 400px at -10% 10%, rgba(0, 138, 90, 0.18), transparent 60%),
        var(--bg);
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(242, 246, 244, 0.85);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.brand img {
    display: block;
    width: 220px;
    height: 44px;
    max-width: none;
    flex-shrink: 0;
    transform: scale(1.5);
    transform-origin: left center;
}

.main-nav {
    display: flex;
    flex: 1;
    min-width: 0;
    position: relative;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2;
    padding-top: 30px;
}

.home-en .main-nav {
    font-size: 0.88rem;
}

.main-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    padding: 0.24rem 0.45rem;
    font: inherit;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible {
    background: rgba(0, 138, 90, 0.08);
    color: #063b2c;
    outline: none;
}

.main-nav .nav-link.is-active {
    background: #008a5a;
    color: #ffffff;
}

.main-nav .nav-link-shop,
.main-nav .nav-link-shop:visited,
.main-nav .nav-link-shop:hover,
.main-nav .nav-link-shop:focus-visible {
    color: #c91919;
    font-style: italic;
    animation: shopBlink 1s step-end infinite;
}

@keyframes shopBlink {
    0%,
    50% {
        opacity: 1;
    }
    50.01%,
    100% {
        opacity: 0;
    }
}

.nav-dropdown {
    position: relative;
}

.lang-dropdown {
    position: absolute;
    top: 0;
    right: 0;
}

.nav-toggle {
    appearance: none;
}

.nav-caret {
    font-size: 0.72em;
    transition: transform 220ms ease;
}

.lang-toggle {
    min-width: 48px;
    justify-content: center;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.lang-toggle img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.lang-menu {
    min-width: 176px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-option img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 230px;
    display: grid;
    gap: 0.2rem;
    padding: 0.55rem;
    border: 1px solid rgba(12, 63, 47, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 35px rgba(5, 36, 26, 0.18);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
    z-index: 40;
}

.dropdown-menu a {
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    color: #0f2e25;
    transition: background-color 180ms ease, color 180ms ease;
}

.submenu {
    position: relative;
}

.submenu-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    background: transparent;
    color: #0f2e25;
    font: inherit;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
}

.submenu-caret {
    font-size: 0.8em;
    transition: transform 180ms ease;
}

.submenu-panel {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    display: grid;
    gap: 0.2rem;
    padding: 0.5rem;
    border: 1px solid rgba(12, 63, 47, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 28px rgba(5, 36, 26, 0.16);
    z-index: 45;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(6px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.submenu:hover > .submenu-panel,
.submenu:focus-within > .submenu-panel,
.submenu.is-open > .submenu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible {
    background: rgba(0, 138, 90, 0.12);
    color: #043426;
    outline: none;
}

.submenu:hover > .submenu-toggle .submenu-caret,
.submenu:focus-within > .submenu-toggle .submenu-caret,
.submenu.is-open > .submenu-toggle .submenu-caret {
    transform: rotate(90deg);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: rgba(0, 138, 90, 0.12);
    color: #043426;
    outline: none;
}

.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease;
}

.nav-dropdown.is-open .nav-caret,
.nav-dropdown:focus-within .nav-caret {
    transform: rotate(-180deg);
}

@media (min-width: 921px) {
    .home-en .product-dropdown .submenu-panel {
        max-height: 65vh;
        overflow-y: auto;
    }

    .home-en .product-dropdown .anchor-menu > .submenu-panel {
        max-height: none;
        overflow: visible;
    }

    .home-en .product-dropdown .hammer-drive-menu > .submenu-panel {
        left: calc(100% - 1px);
    }

    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity 220ms ease, transform 220ms ease;
    }

    .nav-dropdown:hover .nav-caret {
        transform: rotate(-180deg);
    }

    .submenu:hover > .submenu-toggle .submenu-caret {
        transform: rotate(90deg);
    }

    .submenu:hover > .submenu-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition: opacity 180ms ease, transform 180ms ease;
    }
}
.hero-calculator {
    padding: 4px 0 28px;
}

.hero {
    padding: 64px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 2rem;
    align-items: center;
}

.home-en .hero-grid img {
    max-width: 100%;
    height: auto;
}

.company-hero-overlay {
    position: relative;
}

.company-hero-overlay img {
    display: block;
    width: 100%;
    height: auto;
}

.company-hero-overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(20px, 4vw, 56px);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.62) 38%, rgba(255, 255, 255, 0.14) 60%, rgba(255, 255, 255, 0) 82%);
}

.company-hero-overlay-content p {
    max-width: min(620px, 48vw);
    margin: 0;
    margin-left: clamp(14px, 10vw, 300px);
    color: #253544;
    text-align: left;
    line-height: 1.55;
    font-size: clamp(13px, 1.05vw, 22px);
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.55);
}

@media (max-width: 1024px) {
    .company-hero-overlay-content {
        align-items: flex-start;
        padding-top: clamp(20px, 6vw, 52px);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.66) 44%, rgba(255, 255, 255, 0.1) 100%);
    }

    .company-hero-overlay-content p {
        max-width: 88%;
        margin-left: clamp(8px, 4vw, 20px);
        font-size: clamp(12px, 1.9vw, 16px);
        line-height: 1.5;
    }
}

.kicker {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.09em;
    font-size: 0.78rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.7rem);
    line-height: 1.05;
    margin: 8px 0 16px;
}

h4 {
    font-size: 32px;
    line-height: 1.05;
    margin: 8px 0 16px;
}

h5 {
    font-size: 18px;
    line-height: 1.05;
    margin: 8px 0 16px;
}

h6 {
    font-size: 40px;
    line-height: 1.05;
    margin: 8px 0 16px;
}

.lead {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 62ch;
}

.lead-company {
    color: #2e2d2d;
    font-size: 1.08rem;
    max-width: 62ch;
}

.btn {
    margin-top: 16px;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #006e47);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #cc0202, #cc0202);
}

.btn-line-addon:hover {
    background: linear-gradient(135deg, #cc0202, #cc0202) !important;
}

.hero-card {
    background: linear-gradient(165deg, #0d2a23, #113a2f);
    color: #eaf5f1;
    border-radius: calc(var(--radius) + 6px);
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.download-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.download-modal-overlay.is-open {
    display: flex;
}

.download-modal {
    background: #fff;
    border-radius: var(--radius, 12px);
    padding: 28px;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    box-shadow: var(--shadow);
    position: relative;
}

.download-modal h3 {
    margin: 0 0 4px;
}

.download-modal p {
    margin: 0 0 16px;
    color: #555;
}

.download-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: 0;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: #888;
}

.download-modal label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.download-modal input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.download-modal .btn {
    margin-top: 4px;
    width: 100%;
    border: 0;
    text-align: center;
}

.download-modal .download-modal-error {
    color: #c0392b;
}

.download-modal-error {
    font-size: 0.85rem;
    margin: -8px 0 12px;
    display: none;
}

.pulse {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 181, 19, 0.65), rgba(246, 181, 19, 0));
    position: absolute;
    right: -20px;
    top: -20px;
    animation: pulse 3.2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.17); opacity: 0.35; }
}

.section {
    padding: 30px 0;
}

.section-products {
    padding: 10px 0;
}

.section-footer {
    padding-top: 200px;
    padding-bottom: 30px;
    padding-left: 0px;
    padding-right: 0px;
}

.catalogue-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 14px;
}

.catalogue-head p {
    margin: 0;
    color: var(--muted);
}

.catalogue-slider {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--panel);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(7, 42, 30, 0.08);
    padding: 14px 0;
}

.catalogue-track {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 720;
    overflow: hidden;
}

.catalogue-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 900ms ease, visibility 0s linear 900ms;
}

.catalogue-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 900ms ease;
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-image {
    border-radius: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    align-items: flex-end;
}

.slide-image::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(3, 20, 15, 0.02), rgba(3, 20, 15, 0.22)),
        linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.slide-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slide-image-1 {
    background: linear-gradient(155deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.16));
}

.slide-image-company.slide-image-1 {
    background: linear-gradient(155deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.05));
}

.slide-image-company::after {
    background:
        linear-gradient(180deg, rgba(3, 20, 15, 0.01), rgba(3, 20, 15, 0.1)),
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.slide-image-2 {
    background: linear-gradient(155deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.14));
}

.slide-image-3 {
    background: linear-gradient(155deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.15));
}

.slide-image-4 {
    background: linear-gradient(155deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.15));
}

.slide-content {
    position: relative;
    z-index: 2;
    width: min(1120px, 92vw);
    margin: 0 auto 42px;
    color: #f4fbf8;
    max-width: none;
    border: 0;
    background: transparent;
    padding: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.slide-content-company {
    position: relative;
    z-index: 2;
    width: min(1120px, 92vw);
    margin: 0 auto 320px;
    color: #1b1b1b;
    max-width: none;
    border: 0;
    background: transparent;
    padding: 0;
}

.slide-chairman-signature {
    position: absolute;
    right: clamp(560px, 20vw, 380px);
    bottom: clamp(34px, 8vw, 86px);
    z-index: 2;
    color: #141414;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.slide-chairman-signature h3 {
    margin: 0 0 10px;
    font-size: clamp(26px, 2.05vw, 44px);
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.slide-chairman-signature p {
    margin: 0;
    font-size: clamp(13px, 0.96vw, 22px);
    line-height: 1.35;
    font-weight: 600;
}

.slide-panel {
    position: relative;
    isolation: isolate;
    display: block;
    max-width: 100%;
    padding: 12px 18px;
}

.slide-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: calc((100% - 100vw) / 2);
    width: 100vw;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(55, 56, 56, 0.4);
    backdrop-filter: blur(2px);
}

.slide-panel > * {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
    filter: blur(8px);
    transition:
        opacity 15ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 830ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 830ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.catalogue-slide.is-active.text-animate .slide-panel > * {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.catalogue-slide.is-active.text-animate .slide-panel .slide-kicker {
    transition-delay: 138ms;
}

.catalogue-slide.is-active.text-animate .slide-panel h3 {
    transition-delay: 276ms;
}

.catalogue-slide.is-active.text-animate .slide-panel p {
    transition-delay: 414ms;
}

@media (prefers-reduced-motion: reduce) {
    .slide-panel > * {
        transition: none;
        filter: none;
        transform: none;
        opacity: 1;
    }

    .main-nav .nav-link-shop {
        animation: none;
    }
}

.slide-kicker {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffd87a;
    font-size: 0.74rem;
}

.slide-content h3 {
    margin: 8px 0 8px;
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    max-width: none;
    white-space: nowrap;
}

.slide-content p {
    color: rgba(240, 253, 247, 0.92);
    max-width: 60ch;
    font-size: clamp(0.9rem, 1.9vw, 1.5rem);
}

.catalogue-arrow-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    width: min(1440px, 96vw);
    margin: 0 auto;
    left: 0;
    right: 0;
}

.slider-arrow {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(10, 39, 30, 0.62);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 220ms ease, transform 220ms ease, background 220ms ease;
}

.slider-arrow.left {
    margin-left: 24px;
}

.slider-arrow.right {
    margin-right: 24px;
}

.catalogue-slider:hover .slider-arrow,
.catalogue-slider:focus-within .slider-arrow {
    opacity: 1;
    transform: translateY(0);
}

.slider-arrow:hover {
    background: rgba(0, 138, 90, 0.88);
}

.slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #acc6bb;
    cursor: pointer;
}

.dot.is-active {
    background: var(--accent);
    transform: scale(1.22);
}

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.two-col2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.two-col > h1 {
    grid-column: 1 / -1;
    margin: 0;
    color: #033a32;
    text-align: center;
}

.two-col > h2 {
    grid-column: 1 / -1;
    margin: 0;
    color: #033a32;
    text-align: center;
}

.catalog-title {
    font-size: 2.5rem;
}

.two-col > a {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
}

.contact-social-links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.contact-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #007f53;
}

.contact-social-links a:hover {
    background: #e50000;
}

.contact-social-links a:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}

.contact-social-links img {
    display: block;
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.inquiry-form {
    padding: 32px;
    border: 1px solid #e8ece9;
    border-radius: 8px;
    background: #fff;
    color: #30291f;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.inquiry-form > h2 {
    margin: 0 0 28px;
    padding-bottom: 24px;
    border-bottom: 3px solid #007e52;
    font-size: 28px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.inquiry-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.inquiry-field {
    min-width: 0;
}

.inquiry-full {
    grid-column: 1 / -1;
}

.inquiry-field label {
    display: block;
    margin: 0;
    font-weight: 500;
}

.inquiry-field label span {
    color: #c91919;
}

.inquiry-field input,
.inquiry-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #bfc3c0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    box-shadow: none;
}

.inquiry-field input {
    min-height: 48px;
}

.inquiry-field textarea {
    min-height: 160px;
    resize: vertical;
}

.inquiry-field input:focus,
.inquiry-field textarea:focus {
    outline: none;
    border-bottom: 2px solid #b77c00;
}

.inquiry-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.7;
}

.inquiry-consent input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: #b77c00;
}

.download-modal .inquiry-consent input {
    padding: 0;
}

.download-modal .inquiry-consent label {
    display: inline;
    margin: 0;
}

.inquiry-privacy-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.inquiry-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.inquiry-submit {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 54px;
    padding: 6px 6px 6px 28px;
    border: 0;
    border-radius: 999px;
    background: #007f53;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.inquiry-submit:hover:not(:disabled) {
    background: #00633f;
}

.inquiry-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.inquiry-submit-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #007f53;
    font-size: 24px;
}

.inquiry-notice {
    padding: 12px 16px;
    border-left: 3px solid;
    overflow-wrap: anywhere;
}

.inquiry-notice ul {
    margin: 0;
    padding-left: 20px;
}

.inquiry-error {
    background: #fff1f0;
    color: #9c2020;
}

.inquiry-success {
    background: #eff8f2;
    color: #00633f;
}

.inquiry-honeypot {
    display: none;
}

.inquiry-privacy-dialog {
    width: 640px;
    max-width: calc(100vw - 32px);
    max-height: 85vh;
    padding: 24px;
    border: 0;
    border-radius: 8px;
    color: var(--ink);
}

.inquiry-privacy-dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.inquiry-privacy-dialog > form {
    display: flex;
    justify-content: flex-end;
}

.inquiry-privacy-dialog button[type="submit"] {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 640px) {
    .inquiry-form {
        padding: 20px;
    }

    .inquiry-form > h2 {
        font-size: 22px;
    }

    .inquiry-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}

.company-map-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.company-map-panel {
    min-width: 0;
}

.company-map-panel > h2 {
    margin: 0 0 12px;
    font-size: 1.125rem;
    font-weight: 400;
    text-decoration: underline;
}

.company-map-zoom,
.company-map-panel > iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 578 / 744;
    border: 0;
}

.company-map-zoom {
    cursor: zoom-in;
}

.company-map-zoom:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.company-map-zoom > img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.company-map-lightbox {
    width: 900px;
    max-width: calc(100vw - 32px);
    max-height: 90vh;
    max-height: 90dvh;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #fff;
    overflow: auto;
}

.company-map-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

.company-map-lightbox-toolbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-end;
    padding: 8px;
    background: #fff;
}

.company-map-lightbox-close {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #eef3f0;
    color: var(--ink);
    font-size: 28px;
    cursor: pointer;
}

.company-map-lightbox-close:hover {
    background: #d9e5df;
}

.company-map-lightbox > img {
    display: block;
    width: 100%;
    height: auto;
}

body:has(.company-map-lightbox[open]) {
    overflow: hidden;
}

@media (max-width: 640px) {
    .company-map-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}

.head-office-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}

.head-office-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #007f53;
}

.head-office-social-links a:hover {
    background: #cc0202;
}

.head-office-social-links a:focus-visible {
    outline: 2px solid #007f53;
    outline-offset: 4px;
}

.head-office-social-links img {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0;
    filter: brightness(0) invert(1);
}

.company-contact-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: start;
    gap: 24px;
}

.company-contact-shop-banners {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.company-contact-shop-banner {
    display: block;
    width: 170px;
    max-width: 100%;
}

.company-contact-shop-banner-swap {
    position: relative;
}

.company-contact-shop-banner img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.company-contact-shop-banner-hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 150ms ease;
}

.company-contact-shop-banner-swap:hover .company-contact-shop-banner-hover-image,
.company-contact-shop-banner-swap:focus-visible .company-contact-shop-banner-hover-image {
    opacity: 1;
}

@media (max-width: 640px) {
    .company-contact-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}

.two-col >.btn {
    grid-column: 1 / -1;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 300px;
    background: linear-gradient(135deg, var(--accent), #006e47);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow);
    text-align: center;
}

.two-col article,
.cards article,
.form-section {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(5, 30, 18, 0.06);
    padding: 20px;
    overflow: hidden;
}

.product-steel-about article {
    text-align: left;
}

.two-col article img,
.two-col2 article img,
.cards article img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 300ms ease;
}

.two-col article:hover img,
.two-col2 article:hover img,
.cards article:hover img {
    transform: scale(1.08);
}

.two-col2 article img.actual-size-image {
    display: inline-block;
    width: auto;
    max-width: none;
    height: auto;
}

.two-col2 article:hover img.actual-size-image {
    transform: none;
}

.alt {
    background: linear-gradient(0deg, rgba(0, 138, 90, 0.07), rgba(0, 138, 90, 0.07));
}

@keyframes slideInFromRight {
            
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-animate {
    opacity: 0;
}

.scroll-animate-left {
    opacity: 0;
}

.scroll-animate-up  {
    opacity: 0;
}

.scroll-animate-up30  {
    opacity: 0;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom30 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-animation-left {    
    animation: slideInFromLeft 1000ms ease-out forwards;
    
}

.slide-in-animation {    
    animation: slideInFromRight 1000ms ease-out forwards;
    
}

.slide-in-animation-up {
    animation: slideInFromBottom 1000ms ease-out forwards; 
    
}

.slide-in-animation-up30 {
    animation: slideInFromBottom30 1000ms ease-out forwards; 
    
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scroll-animate-fade {
    opacity: 0;
    animation: fadeIn 5200ms ease-out forwards;
}

.animate-fade {
    opacity: 0;
    animation: fadeIn 1200ms ease-out forwards;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

h2,
h3 {
    margin-top: 0;
}

.product-title-main,
.product-title-en {
    margin: 0 !important;
    line-height: 1.55;
}

.product-title-en {
    margin-top: -2px !important;
}


.install-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
}

.youtube-wrap {
    width: 560px;
    margin: 0 auto;
}

.youtube-wrap iframe {
    display: block;
    width: 560px;
    height: 315px;
    border: 0;
}

.form-section form {
    display: grid;
    gap: 10px;
}

label {
    font-size: 0.9rem;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid #b7cdc3;
    border-radius: 10px;
    padding: 11px;
    font: inherit;
}

.calculator-form {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.calculator-form h3 {
    margin-top: 0;
}

.calculator-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.calculator-heading {
    color: #033a32;
}

.calculator-fields label {
    display: grid;
    gap: 7px;
}

.calculator-label-title {
    white-space: nowrap;
    height: 20px;
}

.calculator-result-label {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    color: green;
    font-size: 18px;
    text-align: center;
}

.calculator-result-field {
    grid-column: auto;
    min-height: 128px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 12px 30px rgba(5, 30, 18, 0.06);
    text-align: center;
}

.calculator-result-value {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.calculator-result-field h1 {
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    line-height: 1;
}

.calculator-fields select {
    width: 100%;
    height: 46px;
    min-height: 46px;
    border: 1px solid #9fc4b5;
    border-radius: 10px;
    padding: 10px 42px 10px 13px;
    color: var(--ink);
    background-color: #fff;
    background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
        linear-gradient(135deg, var(--accent) 50%, transparent 50%);
    background-position: calc(100% - 19px) 20px, calc(100% - 13px) 20px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    font: inherit;
    cursor: pointer;
    appearance: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.calculator-fields select:hover {
    border-color: var(--accent);
    background-color: #f8fcfa;
}

.calculator-fields select:focus-visible {
    border-color: var(--accent);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(0, 138, 90, 0.16);
}

.calculator-result {
    max-width: 760px;
    margin: 20px auto 0;
    padding: 20px 24px;
    border-left: 4px solid #d71920;
    background: #f7f8f8;
}

.calculator-result h3 {
    margin-top: 0;
}

@media (max-width: 640px) {
    .calculator-fields {
        grid-template-columns: 1fr;
    }
}

textarea {
    resize: vertical;
}

.alert {
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.alert.error {
    background: #ffe9e8;
    border: 1px solid #ffc8c5;
    color: #8f1b1b;
}

.alert.success {
    background: #e7f8ee;
    border: 1px solid #b8e7c8;
    color: #16542f;
}

.site-footer {
    margin-top: 28px;
    border-top: 1px solid var(--line);
    color: #405953;
}

.site-footer .container {
    padding: 18px 0 30px;
}

@media (max-width: 920px) {
    .nav-wrap {
        min-height: auto;
        padding: 10px 0;
        gap: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .brand img {
        width: 220px;
        height: 44px;
        max-width: none;
    }

    .hero-grid,
    .two-col,
    .two-col2,
    .cards {
        grid-template-columns: 1fr;
    }

    .catalogue-head {
        display: block;
    }

    .slide-image {
        height: 100%;
    }

    .slide-content {
        width: 92vw;
        margin-bottom: 18px;
    }

    .slide-chairman-signature {
        right: clamp(110px, 16vw, 230px);
        bottom: clamp(18px, 5vw, 48px);
    }

    .slide-chairman-signature h3 {
        font-size: clamp(17px, 3.9vw, 28px);
    }

    .slide-chairman-signature p {
        font-size: clamp(10px, 2vw, 14px);
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
        opacity: 1;
        transform: translateY(0);
    }

    .slider-arrow.left {
        margin-left: 10px;
    }

    .slider-arrow.right {
        margin-right: 10px;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
        position: static;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        gap: 0.5rem;
        font-size: 1rem;
        padding-top: 0;
        padding-bottom: 2px;
    }

    .nav-dropdown {
        width: min(310px, 100%);
    }

    .lang-dropdown {
        width: auto;
        position: static;
        flex-shrink: 0;
    }

    .nav-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .lang-toggle {
        width: auto;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        margin-top: 0.4rem;
        border-radius: 12px;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none;
    }

    .nav-dropdown.is-open .dropdown-menu {
        display: grid;
    }

    .submenu-panel {
        position: static;
        display: none;
        min-width: 0;
        margin-top: 0.35rem;
        margin-left: 0.5rem;
        border-radius: 10px;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none;
    }

    .submenu.is-open .submenu-panel {
        display: grid;
    }
}
