/* Quốc Tế Phúc Hà (canhoaviet) — восстановление из веб-архива (снимок 2025-03-05) */

:root {
  --brand: #0e5aa7;
  --brand-dark: #094079;
  --accent: #e2231a;
  --ink: #232323;
  --ink-soft: #5c5c5c;
  --line: #dfe3e8;
  --bg: #f2f4f7;
  --font: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
html { scroll-padding-top: 60px; }

/* шапка */
.site-header__top { background: #fff; }
.site-header__top-inner { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.brand img { height: 62px; width: auto; }
.site-header__hotline { margin: 0 0 0 auto; font-weight: 700; }
.site-header__hotline span { color: var(--ink-soft); font-weight: 500; font-size: 12px; text-transform: uppercase; }
.site-header__hotline a { color: var(--accent); font-size: 18px; }
.site-header__bar { background: var(--brand); position: sticky; top: 0; z-index: 40; }
.site-header__bar-inner { display: flex; align-items: center; min-height: 44px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle__bar { display: block; height: 2px; background: #fff; margin: 5px 0; }
.primary-nav__list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.primary-nav__list a { display: block; padding: 12px 16px; color: #fff; font-weight: 500; text-transform: uppercase; font-size: 13px; }
.primary-nav__list a:hover { background: var(--brand-dark); text-decoration: none; }
.primary-nav__list a:focus-visible, .nav-toggle:focus-visible { outline-color: #fff; }

/* интро */
.intro { background: #fff; padding: 32px 0; border-bottom: 1px solid var(--line); }
.intro h1 { font-size: clamp(21px, 3vw, 28px); color: var(--brand-dark); margin-bottom: 14px; }
.intro__lead { font-size: 16px; font-weight: 500; }
.intro p { margin: 0 0 10px; max-width: 90ch; }

/* раскладка */
.layout { display: grid; grid-template-columns: 1fr 260px; gap: 26px; padding-top: 26px; padding-bottom: 36px; align-items: start; }
.layout > * { min-width: 0; }

.section-title { margin: 0 0 20px; padding: 10px 14px; background: #fff; border-left: 4px solid var(--accent); font-size: 17px; text-transform: uppercase; color: var(--brand-dark); }

.grid { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.grid--products { grid-template-columns: repeat(3, 1fr); }
.grid > * { min-width: 0; }
.product { height: 100%; display: flex; flex-direction: column; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 3px; text-align: center; }
.product__media { margin: 0 0 12px; height: 180px; display: grid; place-items: center; overflow: hidden; }
.product__media img { max-height: 100%; max-width: 100%; width: auto; }
.product__title { font-size: 14.5px; color: var(--brand-dark); margin-bottom: 8px; line-height: 1.4; }
.product__price { margin: auto 0 0; color: var(--accent); font-weight: 700; }

/* сайдбар */
.widget { background: #fff; border: 1px solid var(--line); border-radius: 3px; margin-bottom: 20px; }
.widget__title { margin: 0; padding: 11px 14px; background: var(--brand); color: #fff; font-size: 14px; text-transform: uppercase; border-radius: 2px 2px 0 0; }
.cat-list { margin: 0; padding: 6px 0; list-style: none; font-size: 14px; }
.cat-list li { padding: 8px 14px; border-bottom: 1px solid #f0f2f5; }
.cat-list li:last-child { border-bottom: 0; }
.widget--support { padding-bottom: 6px; }
.support-line { margin: 0; padding: 9px 14px; border-bottom: 1px dashed var(--line); font-size: 14px; }
.support-line:last-child { border-bottom: 0; }

/* футер */
.site-footer { background: var(--brand-dark); color: #cdd9e8; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 34px; padding: 38px 16px; }
.site-footer__grid > * { min-width: 0; }
.footer-col h2 { color: #fff; font-size: 16px; text-transform: uppercase; margin-bottom: 14px; }
.footer-contact { font-style: normal; }
.footer-contact p { margin: 0 0 8px; }
.footer-contact a { color: #fff; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { padding: 5px 0; }
.site-footer__bottom { background: #06345f; }
.site-footer__bottom .wrap { padding: 14px 16px; }
.site-footer__bottom p { margin: 0; font-size: 13px; }

/* адаптив */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .grid--products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .site-header__top-inner { flex-wrap: wrap; }
  .site-header__hotline { width: 100%; margin-left: 0; }
  .site-header__bar-inner { position: relative; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--brand); box-shadow: 0 10px 18px rgba(0,0,0,.2); display: none; z-index: 40; }
  .primary-nav.is-open { display: block; }
  .primary-nav__list { flex-direction: column; }
  .primary-nav__list li { border-top: 1px solid rgba(255,255,255,.15); }
  .grid--products { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
}
