:root {
    --navy: #071a36;
    --navy-2: #0b274f;
    --ink: #102033;
    --muted: #667387;
    --line: #d9e2ee;
    --soft: #f3f7fb;
    --white: #ffffff;
    --red: #e11118;
    --steel: #8ea0b8;
    --shadow: 0 22px 48px rgba(7, 26, 54, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.site-icon { width: 20px; height: 20px; flex: 0 0 20px; }
body .motion-reveal {
    opacity: 1 !important;
    transform: none !important;
}

.home-header {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 78px;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto auto;
    align-items: center;
    gap: 28px;
    padding: 12px max(24px, calc((100% - 1240px) / 2));
    color: var(--white);
    background: rgba(7, 26, 54, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

.home-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 950;
}
.home-brand img {
    width: 58px;
    height: 42px;
    object-fit: contain;
}
.home-brand strong {
    min-width: 0;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 850;
}
.home-nav .is-active,
.home-nav a:hover { color: var(--white); }

.home-login,
.primary-action,
.secondary-action,
.cta-section a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 950;
    white-space: nowrap;
}
.home-login,
.primary-action {
    color: var(--white);
    background: var(--red);
    box-shadow: 0 14px 28px rgba(225, 17, 24, 0.22);
}
.secondary-action {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
}

.hero-section {
    position: relative;
    min-height: calc(100dvh - 78px);
    display: grid;
    align-items: end;
    padding: 76px max(24px, calc((100% - 1240px) / 2)) 34px;
    overflow: hidden;
    color: var(--white);
    background-image: linear-gradient(90deg, rgba(7, 26, 54, 0.94), rgba(7, 26, 54, 0.72), rgba(7, 26, 54, 0.18)), var(--hero-image);
    background-position: center;
    background-size: cover;
}
.hero-copy { max-width: 760px; padding-bottom: 64px; }
.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 28px;
}
.hero-copy > span,
.profile-section span,
.vision-mission article > span,
.catalog-hero span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c8d6e8;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-copy h1 {
    max-width: 720px;
    margin: 12px 0 20px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
}
.hero-copy p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 21px;
    line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-contact {
    width: min(740px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}
.hero-contact div { padding: 18px; background: rgba(7, 26, 54, 0.52); }
.hero-contact span { display: block; color: #c8d6e8; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.hero-contact strong { display: block; margin-top: 6px; font-size: 22px; }

main > section:not(.hero-section), .home-footer {
    padding-left: max(24px, calc((100% - 1240px) / 2));
    padding-right: max(24px, calc((100% - 1240px) / 2));
}
.social-strip { padding-top: 22px; padding-bottom: 22px; background: var(--white); border-bottom: 1px solid var(--line); }
.social-strip img { width: 100%; max-height: 64px; display: block; object-fit: contain; }

.profile-section {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(320px, 1fr);
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 54px;
    background: var(--white);
}
.profile-section span { color: var(--red); }
.profile-section h2 { margin: 12px 0 0; color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.14; }
.profile-section p { margin: 0; color: #4d5d72; font-size: 20px; line-height: 1.7; }

.product-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-top: 34px;
    padding-bottom: 72px;
    background: var(--white);
}
.product-tile {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(7, 26, 54, 0.08);
}
.product-tile img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; background: #edf2f8; }
.product-tile div { display: grid; gap: 4px; padding: 14px; }
.product-tile strong { color: var(--navy); font-size: 16px; }
.product-tile span { color: var(--muted); font-weight: 800; }

.vision-mission {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 34px;
    padding-top: 72px;
    padding-bottom: 72px;
    color: var(--white);
    background: var(--navy);
}
.vision-mission article { min-width: 0; }
.vision-mission article > span { color: #9fb6d3; }
.vision-mission h2 { margin: 14px 0 18px; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.18; }
.vision-mission p { margin: 0; color: #d3deeb; line-height: 1.75; }
.vision-mission ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.vision-mission li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: #e8eef6;
    line-height: 1.55;
    font-weight: 750;
}
.vision-mission li .site-icon { color: var(--red); }

.about-page {
    padding: 42px 0 0;
}
.about-page > .about-hero,
.about-page > .about-summary {
    margin-left: max(24px, calc((100% - 1240px) / 2));
    margin-right: max(24px, calc((100% - 1240px) / 2));
    padding-left: 0;
    padding-right: 0;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
    gap: 34px;
    align-items: stretch;
    overflow: hidden;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    box-shadow: var(--shadow);
}
.about-hero > div {
    min-width: 0;
    display: grid;
    align-content: center;
    padding: clamp(34px, 5vw, 64px);
}
.about-hero span,
.about-summary article .site-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.about-hero span {
    color: #c8d6e8;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.about-hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.04;
}
.about-hero p {
    max-width: 660px;
    margin: 0;
    color: #d8e3f0;
    font-size: 20px;
    line-height: 1.65;
}
.about-hero img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    object-fit: cover;
    background: #dfe7f0;
}

.about-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}
.about-summary article {
    min-width: 0;
    display: grid;
    gap: 10px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 32px rgba(7, 26, 54, 0.08);
}
.about-summary article .site-icon {
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 6px;
    color: var(--white);
    background: var(--navy);
}
.about-summary strong { color: var(--navy); font-size: 19px; }
.about-summary span { color: var(--muted); line-height: 1.55; }

.about-page .about-vision {
    margin-top: 28px;
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 48px;
    background: #eef3f8;
}
.cta-section h2 { margin: 0 0 8px; color: var(--navy); font-size: clamp(28px, 3vw, 40px); }
.cta-section p { margin: 0; color: var(--muted); font-size: 18px; }

.home-footer {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) repeat(2, minmax(180px, .6fr));
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 32px;
    color: #d7e1ee;
    background: #061428;
}
.home-footer .home-brand img { width: 56px; height: 40px; }
.home-footer p, .home-footer span, .home-footer a { margin: 0; color: #b7c5d6; font-weight: 750; }
.home-footer > div { display: grid; align-content: start; gap: 10px; }
.home-footer strong { color: var(--white); }
.home-footer small { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; color: #9fb0c6; }

@media (max-width: 980px) {
    .home-header { grid-template-columns: 1fr auto; }
    .home-nav { display: none; }
    .profile-section, .vision-mission, .home-footer { grid-template-columns: 1fr; }
    .product-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-hero, .about-summary { grid-template-columns: 1fr; }
    .about-hero img { min-height: 280px; }
}

@media (max-width: 640px) {
    .home-header {
        min-height: 70px;
        padding: 10px 16px;
        gap: 12px;
        color: var(--white) !important;
        background: rgba(7, 26, 54, 0.96) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    .home-brand img { width: 46px; height: 34px; }
    .home-brand strong { max-width: min(48vw, 190px); color: var(--white) !important; font-size: 14px; }
    .home-login { min-height: 40px; padding-inline: 12px; border-radius: 6px !important; }
    .hero-section { min-height: auto; padding: 48px 16px 24px; }
    .hero-copy { padding-bottom: 36px; }
    .hero-logo { width: 140px; margin-bottom: 24px; }
    .hero-copy h1 { font-size: 42px; }
    .hero-copy p { font-size: 18px; }
    .hero-actions, .cta-section { align-items: stretch; flex-direction: column; }
    .primary-action, .secondary-action, .cta-section a { width: 100%; }
    .hero-actions .primary-action {
        color: var(--white) !important;
        background: var(--red) !important;
        border-radius: 6px !important;
    }
    .hero-contact { grid-template-columns: 1fr; }
    main > section:not(.hero-section), .home-footer { padding-left: 16px; padding-right: 16px; }
    .profile-section { gap: 24px; padding-top: 46px; }
    .product-preview { grid-template-columns: 1fr; padding-bottom: 46px; }
    .vision-mission { gap: 28px; padding-top: 48px; padding-bottom: 48px; }
    .about-page { padding: 22px 0 0; }
    .about-page > .about-hero,
    .about-page > .about-summary { margin-left: 16px; margin-right: 16px; }
    .about-hero > div { padding: 28px 20px; }
    .about-hero img { min-height: 220px; }
    .about-summary article { padding: 18px; }
}
