/* Video hero safe patch: selectors limited to homepage/story media. */
.home-announcement {
    height: 38px;
    padding: 0 16px;
    line-height: 38px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0f3f67;
    background: #fff3c7;
}
.hero-stage.home-video-stage {
    min-width: 0;
    min-height: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #0f3f67;
    box-shadow: 0 24px 60px rgba(15, 63, 103, .16);
}
.home-video-stage > iframe, .home-video-stage > img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    object-fit: cover;
}
.video-showcase.story-video-showcase { grid-template-columns: minmax(0, 1fr); }
.story-video-showcase .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-video-showcase .video-grid.one-video { grid-template-columns: minmax(0, 1fr); max-width: 860px; width: 100%; margin-inline: auto; }
.story-video-item { min-width: 0; }
.story-video-item h3 { margin: 0 0 12px; color: #0f3f67; }
.story-video-item .video-card iframe { aspect-ratio: 16 / 9; }

/* Homepage premium polish. Other page layouts retain their existing rules. */
.site-header .brand { white-space: nowrap; }
.home-premium .home-announcement {
    height: 36px; line-height: 36px; padding: 0; text-align: left;
    background: #fff4d6; color: #183e56; font-size: 13px; font-weight: 600;
}
.home-premium .home-ticker-track {
    display: flex; width: max-content; animation: homeTicker 64s linear infinite;
}
.home-premium .home-ticker-track > span { flex: 0 0 auto; padding-right: 48px; }
.home-premium .home-ticker-track b { padding: 0 18px; font-weight: 600; color: #947126; }
.home-premium .home-announcement:hover .home-ticker-track,
.home-premium .home-announcement:focus .home-ticker-track { animation-play-state: paused; }
@keyframes homeTicker { to { transform: translateX(-50%); } }
.home-premium .hero.pro-hero {
    grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr);
    min-height: 460px; gap: clamp(24px, 3vw, 44px); padding-block: 28px;
}
.home-premium .hero-copy { min-width: 0; max-width: 680px; }
.home-premium .hero h1 { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.1; margin: 8px 0 14px; }
.home-premium .hero-copy > p { font-size: 16px; line-height: 1.55; margin-block: 10px; }
.home-premium .hero-copy > .eyebrow { font-size: 11px; margin-top: 0; }
.home-premium .hero-actions { margin-top: 18px; gap: 9px; }
.home-premium .hero-actions .btn { font-size: 13px; min-height: 42px; padding-inline: 16px; }
.home-premium .hero-proof { margin-top: 18px; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-premium .hero-proof span { padding: 9px 11px; font-size: 12px; box-shadow: none; }
.home-premium .hero-proof strong { font-size: 18px; }
.home-premium .home-hero-media { min-width: 0; width: 100%; max-width: 640px; justify-self: center; padding-bottom: 40px; }
.home-premium .hero-stage.home-video-stage {
    aspect-ratio: 16 / 9; max-height: 360px; min-height: 0; overflow: visible;
    border-radius: 26px; background: linear-gradient(140deg, #fff4d6, #dcecf4);
    box-shadow: 0 18px 44px -12px rgba(15, 63, 103, .2);
}
.home-premium .home-video-stage > img { border-radius: inherit; object-fit: cover; }
.home-premium .home-media-player { position: absolute; inset: 0; }
.home-premium .home-media-player summary {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; width: fit-content;
    margin-inline: auto; padding: 3px 8px; list-style: none; cursor: pointer;
    color: #0f3f67; font-size: 13px; font-weight: 700; border-radius: 8px;
}
.home-premium .home-media-player summary::-webkit-details-marker { display: none; }
.home-premium .home-media-player summary:hover { background: #fff3c7; }
.home-premium .home-media-player iframe {
    display: block; width: 100%; height: 100%; border: 0; border-radius: 26px;
    background: #0f3f67; aspect-ratio: 16 / 9;
}
.home-premium .home-media-player .home-image-label { display: none; }
.home-premium .home-media-player[open] .home-image-label { display: inline; }
.home-premium .home-media-player[open] .home-play-label { display: none; }
.home-premium .brand-story { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 30px; padding-block: 40px; background: #fffdf8; }
.home-premium .brand-story > div { min-width: 0; }
.home-premium .brand-story h2 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.15; }
.home-premium .brand-story > div > p:last-child { color: #607086; font-size: 15px; line-height: 1.65; margin-bottom: 0; }
.home-premium .story-metrics { gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px 2px 18px; }
.home-premium .story-metrics article {
    position: relative; min-width: 0; height: 248px; padding: 20px 18px 80px;
    background: rgba(255,255,255,.95); border: 1px solid #eef0ed; border-bottom: 4px solid #e9bb49;
    border-radius: 24px; overflow: hidden; box-shadow: 0 12px 28px -12px rgba(15,63,103,.17);
    animation: homeCardFloat 6s ease-in-out infinite;
    transition: transform .25s ease, box-shadow .25s ease;
}
.home-premium .story-metrics article:nth-child(2) { animation-delay: -2s; }
.home-premium .story-metrics article:nth-child(3) { animation-delay: -4s; }
.home-premium .story-metrics strong { position: relative; z-index: 1; color: #a67607; font-size: 32px; line-height: 1.1; margin-bottom: 12px; }
.home-premium .story-metrics span { position: relative; z-index: 1; display: block; font-size: 14px; line-height: 1.5; font-weight: 700; }
.home-premium .story-metrics img {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 32%; object-fit: cover;
    object-position: center 60%; opacity: .7; border-radius: 0 0 20px 20px;
    mask-image: linear-gradient(transparent, #000 65%);
}
@keyframes homeCardFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@media (hover: hover) {
    .home-premium .story-metrics article:hover { transform: translateY(-6px); animation-play-state: paused; box-shadow: 0 22px 36px -14px rgba(15,63,103,.26); }
}
.home-premium .home-feedback { padding: 38px clamp(18px, 5vw, 72px) 40px; background: #fffaf0; border-top: 1px solid #f0eadc; }
.home-premium .home-feedback-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 18px; }
.home-premium .home-feedback h2 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; color: #0f3f67; margin: 0 0 10px; }
.home-premium .home-feedback-heading p:last-child { color: #607086; font-size: 15px; margin: 0; }
.home-premium .home-feedback-controls { display: flex; gap: 8px; padding-right: 16px; }
.home-premium .home-feedback-controls[hidden] { display: none; }
.home-premium .home-feedback-controls button {
    flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #d9e2e7; border-radius: 50%;
    background: #fff; color: #0f3f67; font-size: 21px; cursor: pointer;
}
.home-premium .home-feedback-controls button:disabled { opacity: .4; cursor: default; }
.home-premium .home-feedback-track {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: thin; scrollbar-color: #b2c6d4 transparent; padding: 4px 2px 14px;
}
.home-premium .home-feedback-card {
    flex: 0 0 calc((100% - 32px) / 3); min-width: 0; scroll-snap-align: start;
    padding: 22px; border: 1px solid #e7edf2; border-radius: 22px; background: #fff; color: #183e56;
}
.home-premium .home-feedback-card img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.home-premium .home-feedback-card blockquote { margin: 16px 0 0; font-size: 15px; }
.home-premium .home-feedback-track.is-empty { display: block; overflow: visible; padding: 0; }
.home-premium .home-feedback-empty { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-radius: 20px; border: 1px solid #ece7d9; background: rgba(255,255,255,.7); color: #526371; }
.home-premium .home-feedback-empty > span { color: #947126; font-size: 24px; }
.home-premium .home-feedback-empty p { margin: 0; font-size: 15px; }
.home-premium .ai-strip { padding-block: 32px; gap: 16px; }
.home-premium .ai-strip article { display: flex; flex-direction: column; min-width: 0; padding: 22px; border-radius: 22px; }
.home-premium .ai-strip h3 { font-size: 19px; margin-bottom: 10px; }
.home-premium .ai-strip p { margin-top: 0; margin-bottom: 18px; font-size: 14px; line-height: 1.6; }
.home-premium .ai-strip .btn { align-self: flex-start; margin-top: auto; min-height: 40px; min-width: 120px; }
.home-premium :is(.home-announcement, .story-metrics, .home-feedback-track, .home-feedback-controls button, .home-media-player summary):focus-visible { outline: 3px solid #1f75bc; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .home-premium .home-ticker-track, .home-premium .story-metrics article, .home-premium .story-metrics article:hover { animation: none; transform: none; translate: none; transition: none; }
    .home-premium .home-announcement { overflow-x: auto; scrollbar-width: thin; }
    .home-premium .home-ticker-track > span[aria-hidden] { display: none; }
    .home-premium .home-feedback-track, .home-premium .story-metrics { scroll-behavior: auto; }
}

:root {
    --yellow: #f6c443;
    --yellow-soft: #fff3c7;
    --blue: #1f75bc;
    --blue-deep: #0f3f67;
    --ink: #17212f;
    --muted: #607086;
    --cream: #fffaf0;
    --paper: #fffdf8;
    --line: #e7edf2;
    --white: #ffffff;
    --green: #3f9d72;
    --shadow: 0 18px 44px rgba(23, 33, 47, .08);
    --shadow-soft: 0 10px 26px rgba(23, 33, 47, .055);
    --radius: 14px;
    --header-height: 76px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 22px); }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.58;
    text-rendering: optimizeLegibility;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255, 250, 240, .92), rgba(255, 255, 255, .96) 42%, rgba(247, 252, 255, .88));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
main { overflow: hidden; }
section, .page-hero, .form-page, .dashboard { scroll-margin-top: calc(var(--header-height) + 22px); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px clamp(18px, 5vw, 72px);
    background: rgba(255, 253, 248, .9);
    border-bottom: 1px solid rgba(231, 237, 242, .88);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(23, 33, 47, .045);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--blue); letter-spacing: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(31, 117, 188, .12)); }
.main-nav { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; }
.main-nav a { color: #334155; padding: 10px 11px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.main-nav a:hover { background: #eef7ff; color: var(--blue); }
.nav-cta { background: var(--blue) !important; color: #fff !important; padding: 10px 16px !important; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #2b8bd5);
    color: white;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(31, 117, 188, .18);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(31, 117, 188, .22); }
.btn.secondary { background: linear-gradient(135deg, var(--yellow), #ffd86a); color: #3d2b00; box-shadow: 0 12px 24px rgba(246, 196, 67, .18); }
.btn.ghost { background: rgba(255, 255, 255, .86); color: var(--blue); border: 1px solid #c8dff3; box-shadow: none; }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 13px; }
.menu-toggle { display: none; border: 0; background: var(--blue); color: #fff; border-radius: 10px; width: 42px; height: 42px; font-size: 20px; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: clamp(26px, 5vw, 68px);
    align-items: center;
    min-height: 560px;
    padding: 40px clamp(18px, 5vw, 72px) 46px;
    background: linear-gradient(135deg, rgba(255, 248, 232, .98), rgba(255, 255, 255, .94) 52%, rgba(236, 247, 255, .9));
    border-bottom: 1px solid var(--line);
}
.hero-copy { max-width: 620px; }
.hero h1, .page-hero h1, .form-page h1 {
    margin: 10px 0 16px;
    font-size: 48px;
    line-height: 1.04;
    letter-spacing: 0;
}
.hero p, .page-hero p, .form-page p { color: var(--muted); font-size: 17px; max-width: 640px; }
.eyebrow {
    color: var(--green) !important;
    font-size: 12px !important;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(23, 33, 47, .14);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, .8);
}
.hero-media::after {
    content: "Kim Pet fresh food";
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: var(--blue-deep);
    font-size: 12px;
    font-weight: 900;
    box-shadow: var(--shadow-soft);
}
.hero-media img { width: 100%; min-height: 430px; aspect-ratio: 5 / 4; object-fit: cover; transform: scale(1.015); }

.commitments, .category-grid, .feedback, .product-grid, .content-page, .lead-form, .split, .band, .page-hero, .form-page, .dashboard {
    padding-left: clamp(18px, 5vw, 72px);
    padding-right: clamp(18px, 5vw, 72px);
}
.commitments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 34px;
    padding-bottom: 34px;
    background: rgba(255, 255, 255, .68);
}
.commitments article, .panel, .content-page.cards article, .stats article, .library-grid article {
    border: 1px solid rgba(231, 237, 242, .9);
    border-radius: var(--radius);
    padding: 24px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-soft);
}
.commitments article { position: relative; overflow: hidden; }
.commitments article::before {
    content: "";
    display: block;
    width: 34px;
    height: 4px;
    border-radius: 999px;
    background: var(--yellow);
    margin-bottom: 14px;
}
.commitments strong { display: block; color: var(--blue-deep); font-size: 18px; margin-bottom: 8px; }
.commitments span, p, li { color: var(--muted); }

.section-head { padding: 52px clamp(18px, 5vw, 72px) 18px; max-width: 850px; }
.section-head p { color: var(--green); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: 0; margin: 0 0 10px; }
.section-head h2, .split h2, .band h2, .lead-form h2, .content-page h2 {
    margin: 0;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: 0;
}
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 52px; }
.category-grid a {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 20px;
    align-items: center;
    min-height: 218px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.category-grid a:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(23, 33, 47, .1); }
.category-grid img { width: 210px; height: 176px; object-fit: cover; border-radius: 14px; }
.category-grid h3 { font-size: 25px; margin: 0 0 8px; color: var(--blue-deep); }

.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    padding-top: 52px;
    padding-bottom: 52px;
    background: linear-gradient(135deg, rgba(245, 251, 255, .96), rgba(255, 250, 240, .82));
}
.check-list { padding: 0; list-style: none; }
.check-list li { margin: 12px 0; padding-left: 28px; position: relative; }
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .68em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(63, 157, 114, .12);
}
.highlight-box {
    padding: 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue-deep), var(--blue));
    color: white;
    align-self: start;
    box-shadow: 0 24px 54px rgba(15, 63, 103, .2);
}
.highlight-box h3 { margin-top: 0; font-size: 28px; }
.highlight-box p { color: #e9f5ff; }
.band {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
    background: linear-gradient(135deg, var(--yellow), #ffe08a);
}
.band p { color: #4f3b00; max-width: 760px; }
.feedback { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 74px; padding-bottom: 74px; }
.feedback img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-soft); }

.lead-form, .form-page {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 32px;
    align-items: start;
    padding-top: 54px;
    padding-bottom: 54px;
}
.lead-form form, .form-page .panel, .admin-login .panel {
    border-radius: 20px;
    padding: 28px;
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--shadow);
}
form { display: grid; gap: 12px; }
input, textarea, select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d8e2ec;
    border-radius: 12px;
    padding: 11px 14px;
    font: inherit;
    background: white;
    color: var(--ink);
    outline: none;
    transition: border .18s ease, box-shadow .18s ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 117, 188, .1); }
textarea { min-height: 120px; resize: vertical; }
.form-message { margin: 0; padding: 10px 12px; border-radius: 12px; background: #effaf3; color: #257449; }
.form-message.error { background: #fff1f1; color: #bb2424; }

.page-hero {
    padding-top: 54px;
    padding-bottom: 34px;
    background: linear-gradient(135deg, rgba(255, 248, 232, .96), rgba(237, 247, 255, .9));
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 860px; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-top: 42px;
    padding-bottom: 58px;
}
.product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid rgba(231, 237, 242, .92);
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card img { width: 100%; aspect-ratio: 1.08 / 1; object-fit: cover; background: #f8fafc; }
.product-card div { padding: 20px; }
.product-card span { display: inline-flex; color: var(--blue); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.product-card h3 { margin: 9px 0; font-size: 23px; color: var(--blue-deep); }
.product-card p { margin-top: 0; }
.product-card ul { padding-left: 18px; margin-bottom: 18px; }
.product-card li { margin: 5px 0; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 !important; }

.content-page { max-width: 980px; padding-top: 58px; padding-bottom: 84px; }
.content-page.cards { max-width: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.content-page.cards article h3 { margin-top: 0; color: var(--blue-deep); }

.dashboard {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 30px;
    padding-top: 46px;
    padding-bottom: 76px;
    background: linear-gradient(135deg, rgba(246, 251, 255, .95), rgba(255, 250, 240, .72));
}
.dashboard aside, .admin-nav {
    border-radius: 20px;
    background: linear-gradient(180deg, #0f3f67, #102a43);
    color: white;
    padding: 22px;
    align-self: start;
    box-shadow: 0 20px 48px rgba(16, 42, 67, .16);
}
.dashboard aside h2, .admin-nav h2 { margin: 0 0 12px; }
.dashboard aside a, .admin-nav a {
    display: block;
    padding: 11px 0;
    color: #dff1ff;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-weight: 800;
}
.dashboard > div, .admin-content {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(231, 237, 242, .9);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--shadow-soft);
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0; }
.stats strong { display: block; color: var(--blue); font-size: 34px; line-height: 1; }
.stats span { color: var(--muted); font-weight: 800; }
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f3f8fc; color: #334155; font-size: 13px; text-transform: uppercase; letter-spacing: 0; }
tr:last-child td { border-bottom: 0; }
.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #edf7ff; color: var(--blue); font-weight: 900; font-size: 12px; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.library-grid article h3 { margin-top: 0; color: var(--blue-deep); }
.certificate-thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 12px; }
.file-field { display: grid; gap: 8px; color: var(--muted); font-weight: 800; }

.site-footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr .7fr;
    gap: 28px;
    padding: 34px clamp(18px, 5vw, 72px);
    background: #102a43;
    color: white;
}
.site-footer h2, .site-footer h3 { margin-top: 0; }
.site-footer p, .site-footer a { display: block; margin: 7px 0; color: #dbeafe; }

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #fff8e8, #eef7ff);
}
.admin-login .panel { width: min(440px, 100%); }
.admin-shell { display: grid; grid-template-columns: 270px 1fr; min-height: 100vh; background: #f8fafc; }
.admin-nav { min-height: 100vh; border-radius: 0; }
.admin-content { border-radius: 0; overflow-x: auto; }
.table-img { width: 76px; height: 60px; object-fit: cover; border-radius: 10px; }
.inline-form { display: flex; gap: 8px; align-items: center; min-width: 230px; }
.compact { max-width: 620px; }
code { background: #eef2f7; border-radius: 6px; padding: 2px 6px; }

.pro-hero { grid-template-columns: .95fr 1.05fr; min-height: 560px; }
.compact-hero { min-height: 530px; }
.hero-stage { position: relative; min-height: 440px; perspective: 1000px; }
.hero-main-pack { width: 88%; height: 410px; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 80px rgba(15, 63, 103, .18); margin-left: auto; }
.floating-pack { position: absolute; width: 168px; height: 168px; object-fit: cover; border-radius: 24px; box-shadow: 0 18px 44px rgba(23, 33, 47, .16); animation: floatPack 5.5s ease-in-out infinite; }
.pack-a { left: 0; bottom: 54px; transform: rotate(-7deg); }
.pack-b { right: 4px; top: 42px; transform: rotate(8deg); animation-delay: .8s; }
.fresh-badge { position: absolute; left: 34px; top: 34px; display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); color: var(--blue-deep); }
.fresh-badge span { color: var(--muted); font-size: 13px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.hero-proof span { padding: 13px; border-radius: 16px; background: rgba(255,255,255,.78); border: 1px solid var(--line); color: var(--muted); box-shadow: var(--shadow-soft); }
.hero-proof strong { display: block; color: var(--blue-deep); font-size: 20px; }
@keyframes floatPack { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.brand-story, .ingredient-layers, .ai-strip, .combo-section, .dealer-map-layout, .ai-layout, .why-shop-section, .home-catalog, .transparency-section, .video-showcase, .dealer-ctv-band, .dealer-combo-section, .final-cta, .story-feature, .timeline-section {
    padding-left: clamp(18px, 5vw, 72px);
    padding-right: clamp(18px, 5vw, 72px);
}
.brand-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; padding-top: 54px; padding-bottom: 54px; background: white; }
.brand-story h2, .ingredient-layers h2, .combo-section h2 { margin: 0; font-size: 40px; line-height: 1.12; }
.story-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story-metrics article, .ai-strip article, .combo-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); }
.story-metrics strong { display: block; color: var(--yellow); font-size: 38px; margin-bottom: 10px; }
.story-metrics span { color: var(--blue-deep); font-weight: 900; }
.ingredient-layers { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; padding-top: 56px; padding-bottom: 56px; background: linear-gradient(135deg, #fffaf0, #f3f9ff); }
.tight-section { padding-top: 48px; padding-bottom: 48px; }
.ingredient-visual { min-height: 420px; position: relative; }
.ingredient-visual img { position: absolute; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.ingredient-visual img:nth-child(1) { width: 58%; height: 310px; left: 0; top: 30px; }
.ingredient-visual img:nth-child(2) { width: 46%; height: 230px; right: 0; top: 0; }
.ingredient-visual img:nth-child(3) { width: 52%; height: 240px; right: 9%; bottom: 0; }
.pro-category a span { color: var(--green); font-weight: 900; text-transform: uppercase; font-size: 12px; }
.premium-split { background: #f7fbff; }
.ai-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 52px; padding-bottom: 52px; background: #102a43; }
.ai-strip h3 { color: white; margin-top: 0; }
.ai-strip p { color: #dbeafe; }
.ai-strip article { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }

.product-card-3d { transform-style: preserve-3d; will-change: transform; }
.product-image-wrap { position: relative; padding: 0 !important; overflow: hidden; }
.product-tags { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; gap: 8px; flex-wrap: wrap; padding: 0 !important; }
.product-tags span { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--blue-deep); box-shadow: var(--shadow-soft); }
.product-card small { color: var(--blue); font-weight: 900; text-transform: uppercase; }
.combo-section { padding-top: 0; padding-bottom: 54px; }
.combo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.combo-grid strong { display: block; color: var(--blue-deep); font-size: 22px; margin-bottom: 8px; }

.dealer-map-layout { display: grid; grid-template-columns: 380px 1fr; gap: 22px; padding-top: 42px; padding-bottom: 82px; }
.dealer-panel { border: 1px solid var(--line); border-radius: 22px; background: white; padding: 18px; box-shadow: var(--shadow-soft); max-height: 680px; overflow: auto; }
.dealer-search { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: sticky; top: 0; background: white; padding-bottom: 12px; z-index: 2; }
.dealer-list { display: grid; gap: 12px; }
.dealer-item { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fffdf8; cursor: pointer; }
.dealer-item strong { display: block; color: var(--blue-deep); }
.dealer-item span { color: var(--green); font-weight: 900; font-size: 13px; }
.dealer-item p { margin: 6px 0; }
.dealer-item a { color: var(--blue); font-weight: 900; }
.dealer-map { min-height: 680px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #eef6fb; }
.kimpet-dealer-marker { background: transparent; border: 0; }
.kimpet-marker-pin { position: relative; display: flex; align-items: center; justify-content: center; min-width: 132px; min-height: 38px; padding: 8px 14px; border: 3px solid #fff; border-radius: 999px; background: linear-gradient(135deg, var(--yellow), #f4b51d); color: #10385d; box-shadow: 0 14px 28px rgba(16, 56, 93, .22), 0 4px 0 rgba(180, 126, 0, .22); font-size: 13px; font-weight: 900; line-height: 1.1; white-space: nowrap; text-align: center; }
.kimpet-marker-pin::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 18px; height: 18px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; background: #f4b51d; transform: translateX(-50%) rotate(45deg); box-shadow: 8px 8px 18px rgba(16, 56, 93, .16); }
.kimpet-marker-pin span { position: relative; z-index: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 800; }

.ai-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; padding-top: 44px; padding-bottom: 82px; background: linear-gradient(135deg, #fffaf0, #f4fbff); }
.ai-card label { display: grid; gap: 7px; color: var(--blue-deep); font-weight: 900; }
.assistant-bubble { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: white; box-shadow: var(--shadow); }
.assistant-bubble span { display: inline-flex; padding: 7px 11px; border-radius: 999px; color: var(--blue-deep); background: var(--yellow-soft); font-weight: 900; margin-bottom: 12px; }
.assistant-bubble h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.15; }
.assistant-bubble.muted { background: rgba(255,255,255,.7); }

.section-kicker { max-width: 820px; margin-bottom: 18px; }
.section-kicker h2 { margin: 0; font-size: 38px; line-height: 1.12; color: var(--ink); }
.why-shop-section, .home-catalog, .transparency-section, .video-showcase, .dealer-ctv-band, .final-cta, .story-feature, .timeline-section { padding-top: 52px; padding-bottom: 52px; }
.why-shop-section, .transparency-section { background: rgba(255,255,255,.76); }
.icon-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.icon-card-grid article, .mini-catalog-grid article, .dealer-ctv-band article, .timeline-grid article { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 20px; box-shadow: var(--shadow-soft); }
.icon-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 14px; background: var(--yellow-soft); color: var(--blue-deep); font-weight: 900; margin-bottom: 12px; }
.icon-card-grid h3, .mini-catalog-grid h3 { margin: 0 0 8px; color: var(--blue-deep); }
.home-catalog { background: linear-gradient(180deg, #fffaf0, #fff); }
.mini-catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-catalog-grid article { padding: 12px; display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.mini-catalog-grid img { width: 110px; height: 110px; object-fit: cover; border-radius: 16px; }
.mini-catalog-grid span { color: var(--green); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.mini-catalog-grid p { margin: 0 0 10px; font-size: 14px; }
.center-actions { display: flex; justify-content: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.video-showcase { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; align-items: center; background: #f4f9ff; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.video-grid.one-video { grid-template-columns: 1fr; }
.video-card { aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, #102a43, #1f75bc); box-shadow: var(--shadow); }
.video-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder { height: 100%; display: grid; place-items: center; color: white; font-weight: 900; text-align: center; padding: 20px; }
.dealer-ctv-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; background: #fff; }
.dealer-combo-section { display: grid; grid-template-columns: 1fr .9fr; gap: 22px; align-items: center; background: linear-gradient(135deg, #fffaf0, #f4fbff); padding-top: 44px; padding-bottom: 44px; }
.dealer-combo-section h2 { margin: 0; font-size: 38px; line-height: 1.12; }
.combo-offer-card { border: 1px solid var(--line); border-radius: 22px; background: white; padding: 24px; box-shadow: var(--shadow); }
.combo-offer-card strong { display: block; color: var(--blue-deep); font-size: 24px; margin-bottom: 8px; }
.final-cta { text-align: center; background: linear-gradient(135deg, var(--yellow), #fff0b0); }
.final-cta h2 { max-width: 860px; margin: 0 auto; font-size: 40px; line-height: 1.12; }
.final-cta .hero-actions { justify-content: center; }
.story-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: white; }
.story-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.timeline-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.timeline-grid strong { color: var(--blue-deep); }

/* Production polish */
.why-shop-section, .home-catalog, .transparency-section, .video-showcase, .dealer-ctv-band, .dealer-combo-section, .final-cta, .story-feature, .timeline-section { padding-top: 44px; padding-bottom: 44px; }
.dealer-map-layout { padding-top: 34px; padding-bottom: 54px; }
.ai-layout { padding-bottom: 56px; }
.dealer-empty { background: linear-gradient(135deg, #fffaf0, #f4fbff); }
.map-lead-form { margin-top: 14px; padding: 18px; box-shadow: none; }
.map-lead-form h3 { margin: 0 0 8px; color: var(--blue-deep); }
.admin-shell { background: #f4f7fb; }
.admin-nav { background: linear-gradient(180deg, #0d3c61, #102a43); box-shadow: 8px 0 30px rgba(16,42,67,.12); }
.admin-nav a { border-radius: 10px; padding: 11px 12px; margin: 2px 0; border-bottom: 0; transition: background .18s ease, transform .18s ease; }
.admin-nav a:hover { background: rgba(255,255,255,.1); transform: translateX(2px); }
.admin-content { background: #fff; border: 1px solid var(--line); }
.admin-dashboard h1 { margin-top: 0; }
.admin-quick-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 18px; }
.admin-quick-grid article { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, #fff, #f8fbff); padding: 22px; box-shadow: var(--shadow-soft); }
.admin-quick-grid h3 { margin-top: 0; color: var(--blue-deep); }
tbody tr:hover td { background: #fbfdff; }
.status { border: 1px solid #c8dff3; }
.admin-content .panel { margin-bottom: 18px; }
.dealer-front { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin-bottom: 10px; border: 1px solid var(--line); }
.dealer-thumb { width: 96px; height: 68px; border: 1px solid var(--line); }
.form-hint { margin: -4px 0 4px; font-size: 13px; color: var(--muted); }
.dealer-card-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
.dealer-detail-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 24px; padding: 42px clamp(18px, 5vw, 72px) 72px; background: #f8fbfd; }
.dealer-detail-card, .dealer-detail-aside { border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: 24px; box-shadow: var(--shadow-soft); }
.dealer-detail-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); margin-bottom: 18px; }
.dealer-info-list { display: grid; gap: 10px; margin: 16px 0 0; }
.dealer-info-list div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dealer-info-list div:last-child { border-bottom: 0; }
.dealer-info-list dt { color: var(--muted); font-weight: 900; }
.dealer-info-list dd { margin: 0; color: var(--blue-deep); font-weight: 800; }

/* Dealer map vertical carousel layout */
.dealer-map-layout.dealer-map-vertical {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-top: 34px;
    padding-bottom: 56px;
}
.dealer-search.dealer-search-wide {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.dealer-search-wide input { min-width: 0; }
.dealer-carousel-shell {
    position: relative;
    min-width: 0;
}
.dealer-list.dealer-carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 6px 16px;
}
.dealer-carousel::-webkit-scrollbar { height: 10px; }
.dealer-carousel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cfe0ee;
}
.dealer-carousel-card {
    flex: 0 0 clamp(300px, 28vw, 390px);
    min-height: 100%;
    scroll-snap-align: start;
    display: grid;
    grid-template-rows: auto 1fr auto;
    margin: 0;
}
.dealer-carousel-card[hidden] { display: none; }
.dealer-carousel-card .dealer-front {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.dealer-card-body {
    display: grid;
    align-content: start;
}
.dealer-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dealer-carousel-card .dealer-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
}
.dealer-carousel-card .btn {
    min-height: 38px;
    width: 100%;
}
.dealer-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--blue-deep);
    box-shadow: var(--shadow-soft);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}
.dealer-carousel-prev { left: -10px; }
.dealer-carousel-next { right: -10px; }
.dealer-no-results {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #f4d47a;
    border-radius: 16px;
    background: #fff7d9;
    color: #6a4a00;
    font-weight: 800;
}
.dealer-map-vertical .dealer-map {
    width: 100%;
    min-height: 680px;
}
