:root {
  color-scheme: light;
  --ink: #172336;
  --navy: #111c2d;
  --muted: #526071;
  --line: #e2e5eb;
  --canvas: #f8f8f6;
  --paper: #fff;
  --accent: #ffaf60;
  --accent-dark: #9c3b16;
  --edge: 28px;
  --gap: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #3271d5; outline-offset: 3px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; flex: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
h2 { font-size: clamp(1.65rem, 3vw, 2.18rem); line-height: 1.13; letter-spacing: -.037em; }
h3 { font-size: 1.07rem; line-height: 1.33; letter-spacing: -.018em; }
[id] { scroll-margin-block-start: 24px; }
.shell { width: calc(100% - 2 * var(--edge)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 20; transform: translateY(-160%); padding: 10px 14px; background: #fff; color: var(--navy); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.top-bar { background: var(--navy); color: #dfe6ee; font-size: .81rem; }
.top-inner { display: flex; align-items: center; min-height: 34px; gap: 24px; }
.top-inner > * { display: inline-flex; gap: 7px; align-items: center; }
.top-inner svg { width: 14px; height: 14px; color: #ffc384; }
.top-phone { margin-left: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex: none; }
.brand img { width: 42px; height: 42px; border: 1px solid #ece7e0; border-radius: 12px; background: #f6f6f6; }
.brand strong { display: block; font-size: 1.34rem; line-height: 1.03; letter-spacing: -.063em; }
.brand strong span { color: var(--accent-dark); }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; font-weight: 650; letter-spacing: .01em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 33px); }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #354357; font-size: .89rem; font-weight: 650; white-space: nowrap; }
.desktop-nav a:hover { color: var(--accent-dark); }
.header-contact { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border: 1px solid #dbe8e0; border-radius: 11px; background: #f3faf5; color: #16553a; font-size: .86rem; font-weight: 720; white-space: nowrap; }
.header-contact svg { width: 19px; height: 19px; }
.header-contact:hover { background: #e5f3e9; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-block-start: 26px; padding: 14px; border-radius: 27px; background: var(--navy); color: var(--paper); }
.hero-copy { align-self: center; padding: clamp(24px, 4vw, 58px); padding-right: 22px; }
.hero-label { margin-bottom: 16px; color: #f3bd85; font-size: .77rem; font-weight: 760; letter-spacing: .115em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.6rem, 4.48vw, 4.05rem); line-height: 1.025; letter-spacing: -.066em; font-weight: 760; }
.hero h1 em { color: #ffbd7e; font-style: normal; }
.hero-lead { max-width: 42ch; margin-top: 20px; color: #d4dde9; font-size: clamp(.98rem, 1.4vw, 1.12rem); line-height: 1.62; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 25px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 16px; border: 1px solid transparent; border-radius: 11px; font-size: .87rem; font-weight: 760; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
.button svg, .text-link svg { width: 17px; height: 17px; }
.button-primary { background: var(--accent); color: #23180e; }
.button-primary:hover { background: #ffc891; }
.button-on-dark { background: #203049; border-color: #3b4a5e; color: #f7f9fc; }
.button-on-dark:hover { background: #2c3e59; }
.button-ink { background: var(--navy); color: white; }
.button-ink:hover { background: #293b54; }
.button-outline { border-color: #cfd5dd; background: #fff; }
.button-outline:hover { background: #f0f3f6; }
.hero-image { position: relative; isolation: isolate; min-height: 395px; overflow: hidden; border-radius: 17px; background: #263a50; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-image::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent 22%, rgb(11 22 35 / 76%)); pointer-events: none; }
.hero-image figcaption { position: absolute; left: 17px; right: 17px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 10px; }
.hero-image figcaption > span { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid rgb(255 255 255 / 45%); border-radius: 10px; background: rgb(17 28 45 / 72%); }
.hero-image figcaption svg { width: 17px; height: 17px; }
.hero-image figcaption strong, .hero-image figcaption small { display: block; }
.hero-image figcaption strong { font-size: .92rem; }
.hero-image figcaption small { margin-top: 3px; color: #e5ebf1; font-size: .75rem; }

.section { margin-block: 42px; }
.section-head { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.section-actions { display: flex; gap: 16px; align-items: center; }
.text-link { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; font-size: .87rem; font-weight: 740; color: #273e5f; white-space: nowrap; }
.text-link:hover { color: var(--accent-dark); }
.category-rail, .product-rail, .campaign-rail { list-style: none; margin: 0; padding: 2px 2px 8px; }
.category-rail { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.category-card { display: flex; flex-direction: column; min-height: 112px; height: 100%; padding: 12px 13px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.category-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 7px; border-radius: 9px; background: #edf2f8; color: #2f5079; }
.category-icon svg { width: 18px; height: 18px; }
.category-card strong { font-size: .85rem; line-height: 1.25; overflow-wrap: anywhere; }
.category-card small { margin-top: auto; padding-top: 4px; color: var(--muted); font-size: .73rem; }
.category-card:hover { border-color: #b9c8db; background: #f9fbfd; }
.product-rail, .campaign-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scroll-padding-inline: 2px; scrollbar-width: thin; }
.product-rail > li, .campaign-rail > li { min-width: 0; scroll-snap-align: start; }
.rail-controls { display: flex; flex: none; gap: 7px; }
.rail-controls button, .poster-header button { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid #dce2eac9; border-radius: 11px; background: #fff; color: var(--ink); }
.rail-controls button:hover, .poster-header button:hover { background: #edf2f8; }
.rail-controls svg { width: 18px; height: 18px; }
.product-card { display: flex; flex-direction: column; height: 100%; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.product-card:hover { border-color: #b9c8db; }
.product-image { display: grid; place-items: center; aspect-ratio: 1.32; overflow: hidden; background: #f0f3f6; border-radius: 10px; }
.product-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 12px 7px 6px; }
.product-info small { margin-bottom: 5px; color: #52617a; font-size: .73rem; font-weight: 650; }
.product-info h3 { display: -webkit-box; min-height: 2.66em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: auto; padding-top: 10px; }
.product-bottom strong { font-size: clamp(.95rem, 1.35vw, 1.15rem); font-weight: 780; white-space: nowrap; }
.product-bottom > span, .guide-card > span { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: #edf2f8; color: #2f5079; }
.product-bottom svg, .guide-card svg { width: 16px; height: 16px; }

.service-section { background: #edf1f6; padding-block: 1px; }
.service-grid, .guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.service-card { display: flex; flex-direction: column; height: 100%; padding: clamp(15px, 2vw, 23px); border: 1px solid #dce3ec; border-radius: 17px; background: #fff; }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 11px; }
.service-icon.orange { background: #fff0df; color: #8d3812; }
.service-icon.blue { background: #e8f0ff; color: #214d9b; }
.service-icon.violet { background: #f0edf9; color: #565187; }
.service-icon.green { background: #e8f4e9; color: #236146; }
.service-card p, .guide-card p { margin-top: 5px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.service-card p { margin-bottom: 10px; }
.service-card a { display: flex; align-items: center; gap: 6px; min-height: 44px; border-top: 1px solid #eef0f4; color: #2b486a; font-size: .83rem; font-weight: 730; }
.service-card a:hover { color: var(--accent-dark); }
.service-card a svg { width: 15px; height: 15px; }
.campaign-rail { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
.campaign-card { position: relative; display: grid; place-items: center; aspect-ratio: 1.18; overflow: hidden; border: 1px solid #e0e5ec; border-radius: 16px; background: #edf0f5; }
.campaign-card img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.campaign-card > span { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: rgb(17 28 45 / 90%); border: 1px solid rgb(255 255 255 / 60%); border-radius: 10px; }
.campaign-card svg { width: 17px; height: 17px; }
.guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-card { display: flex; min-height: 102px; align-items: center; justify-content: space-between; gap: 10px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.guide-card:hover { border-color: #b9c8db; }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; overflow: hidden; border: 1px solid #e4ded4; border-radius: 22px; background: #f5eee5; }
.contact-copy { align-self: center; padding: clamp(22px, 4vw, 45px); }
.contact-copy address { margin-block: 12px; color: #45546a; font-size: 1rem; line-height: 1.53; font-style: normal; }
.hours { display: flex; gap: 7px; align-items: center; color: #45546a; font-size: .86rem; font-weight: 650; }
.hours svg { width: 17px; height: 17px; }
.contact-actions { margin-top: 17px; }
.contact-panel > img { width: 100%; height: 100%; max-height: 325px; object-fit: cover; }
.site-footer { margin-top: 44px; background: var(--navy); color: #e7edf5; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; }
.footer-inner strong, .footer-inner small { display: block; }
.footer-inner small { margin-top: 4px; color: #b7c6d9; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: .86rem; color: #e7edf5; }
.footer-inner a:hover { color: #ffbd7e; }
.footer-inner a svg { width: 14px; height: 14px; }
.bottom-nav { display: none; }

.poster-dialog { width: min(94vw, 680px); max-width: none; max-height: min(92vh, 92dvh); overflow: auto; padding: 0; border: 1px solid #e4e9f1; border-radius: 17px; background: #fff; color: var(--ink); box-shadow: 0 22px 65px rgb(8 13 24 / 35%); }
.poster-dialog::backdrop { background: rgb(8 15 28 / 76%); }
.poster-content { padding: 10px; }
.poster-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.poster-header h2 { padding-inline-start: 6px; font-size: 1.12rem; }
.poster-image { max-height: 73vh; width: 100%; object-fit: contain; border-radius: 8px; background: #f3f5f8; }
.poster-link { margin-top: 8px; }

@media (max-width: 1040px) {
  .desktop-nav { gap: 16px; }
  .hero-image { min-height: 355px; }
  .category-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  :root { --edge: 16px; --gap: 11px; }
  html { scroll-padding-top: 14px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .top-bar { padding-top: env(safe-area-inset-top, 0px); }
  .top-inner { min-height: 32px; gap: 6px 8px; justify-content: space-between; font-size: .69rem; }
  .top-inner > * { min-height: 32px; gap: 4px; }
  .top-inner svg { width: 12px; height: 12px; }
  .top-phone, .desktop-nav { display: none; }
  .header-inner { min-height: 61px; gap: 10px; }
  .brand { gap: 7px; }
  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .brand strong { font-size: 1.16rem; }
  .brand small { font-size: .68rem; }
  .header-contact { min-height: 44px; padding-inline: 9px; gap: 5px; font-size: .76rem; }
  .header-contact svg { width: 16px; height: 16px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; margin-block-start: 13px; padding: 9px; border-radius: 20px; }
  .hero-copy { padding: 17px 10px 19px; }
  .hero-label { margin-bottom: 8px; font-size: .66rem; }
  .hero h1 { font-size: clamp(1.85rem, 7.55vw, 3.2rem); line-height: 1.05; }
  .hero-lead { margin-top: 11px; font-size: .91rem; line-height: 1.48; }
  .hero-actions, .contact-actions { gap: 7px; margin-top: 13px; }
  .button { min-height: 45px; padding-inline: 11px; gap: 5px; font-size: .78rem; }
  .button svg { width: 15px; height: 15px; }
  .hero-image { min-height: 0; aspect-ratio: 1.86; border-radius: 12px; }
  .hero-image figcaption { left: 10px; right: 10px; bottom: 9px; gap: 7px; }
  .hero-image figcaption > span { width: 29px; height: 29px; border-radius: 8px; }
  .hero-image figcaption svg { width: 14px; height: 14px; }
  .hero-image figcaption strong { font-size: .78rem; }
  .hero-image figcaption small { font-size: .66rem; }
  .section { margin-block: 26px; }
  .section-head { gap: 7px; margin-bottom: 8px; }
  .section-head h2 { font-size: clamp(1.27rem, 5.2vw, 1.72rem); }
  .section-head .text-link { gap: 4px; font-size: .79rem; }
  .section-head .text-link svg { width: 15px; height: 15px; }
  .section-actions { gap: 1px; }
  .rail-controls { display: none; }
  .category-rail, .product-rail, .campaign-rail { margin-inline: calc(-1 * var(--edge)); padding-inline: var(--edge); scroll-padding-inline: var(--edge); }
  .category-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(105px, 30%); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .category-rail > li { scroll-snap-align: start; }
  .category-card { min-height: 91px; padding: 8px; border-radius: 11px; }
  .category-icon { width: 27px; height: 27px; margin-bottom: 5px; border-radius: 7px; }
  .category-icon svg { width: 16px; height: 16px; }
  .category-card strong { font-size: .77rem; }
  .category-card small { font-size: .68rem; }
  .product-rail { grid-auto-columns: clamp(144px, 44vw, 245px); }
  .product-card { padding: 5px; border-radius: 12px; }
  .product-image { aspect-ratio: 1.11; border-radius: 8px; }
  .product-info { padding: 8px 4px 4px; }
  .product-info small { font-size: .66rem; }
  .product-info h3 { font-size: .88rem; }
  .product-bottom { padding-top: 5px; }
  .product-bottom strong { font-size: .88rem; }
  .product-bottom > span { width: 25px; height: 25px; }
  .product-bottom svg { width: 13px; height: 13px; }
  .campaign-rail { grid-auto-columns: clamp(209px, 74vw, 390px); }
  .campaign-card { border-radius: 12px; }
  .service-card { padding: 11px; border-radius: 13px; }
  .service-card h3, .guide-card h3 { font-size: .91rem; }
  .service-card p, .guide-card p { font-size: .79rem; line-height: 1.42; }
  .service-icon { width: 32px; height: 32px; margin-bottom: 7px; }
  .service-icon svg { width: 17px; height: 17px; }
  .service-card a { font-size: .74rem; }
  .service-card a svg { width: 12px; height: 12px; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card { min-height: 72px; padding: 12px; border-radius: 13px; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); border-radius: 16px; }
  .contact-copy { padding: 17px; }
  .contact-copy h2 { font-size: 1.45rem; }
  .contact-copy address { margin-block: 8px; font-size: .91rem; }
  .contact-panel > img { height: 175px; }
  .site-footer { margin-top: 26px; }
  .footer-inner { display: block; padding-block: 16px; }
  .footer-inner nav { gap: 1px 13px; margin-top: 8px; }
  .footer-inner a { font-size: .75rem; }
  .bottom-nav { position: fixed; z-index: 5; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 5px max(5px, env(safe-area-inset-right, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)) max(5px, env(safe-area-inset-left, 0px)); border-top: 1px solid #dce4ed; background: #fff; box-shadow: 0 -6px 22px rgb(26 47 71 / 11%); }
  .bottom-nav a { display: flex; min-height: 54px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #40516a; border-radius: 10px; font-size: .68rem; font-weight: 720; }
  .bottom-nav a[aria-current] { color: #843511; background: #fff1e4; }
  .bottom-nav svg { width: 21px; height: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
