:root {
  --theme: #8b0810;
  --theme-dark: #62050b;
  --theme-deep: #3b0307;
  --theme-light: #fff1f2;
  --theme-soft: #fff8f8;
  --theme-hover: #76060d;
  --theme-border: rgba(139, 8, 16, 0.22);
  --text-main: #211416;
  --text-muted: #705053;
  --on-theme: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 18px 44px rgba(59, 3, 7, 0.16);
}
html, body { margin: 0; min-height: 100%; overflow-x: hidden; overflow-y: auto; }
body { background: var(--theme-light); color: var(--text-main); font-family: Arial, Helvetica, sans-serif; line-height: 1.75; font-size: 16px; }
* { box-sizing: border-box; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
.container, .section-inner, .header-inner, .footer-inner { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; width: 100%; z-index: 9999; background: var(--theme-dark); color: var(--on-dark); box-shadow: var(--shadow-soft); backdrop-filter: blur(10px); }
.header-inner { max-width: 1280px; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo img, .footer-brand img, .drawer-logo img { display: block; height: auto; max-width: 180px; }
.logo img { max-height: 52px; }
.main-nav { display: none; align-items: center; gap: 6px; }
.main-nav a { color: var(--on-dark); padding: 10px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.main-nav a.active, .main-nav a:hover { color: var(--on-dark); background: rgba(255,255,255,0.12); box-shadow: inset 0 -2px 0 var(--theme-light); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.main-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--theme); color: var(--on-theme); border-radius: 999px; box-shadow: var(--shadow-soft); padding: 11px 22px; font-weight: 800; border: 1px solid rgba(255,255,255,0.24); }
.main-btn:hover { background: var(--theme-hover); transform: translateY(-1px); }
.mobile-menu-toggle, .drawer-close { border: 1px solid rgba(255,255,255,0.24); color: var(--on-dark); background: rgba(255,255,255,0.12); border-radius: 12px; min-width: 42px; height: 42px; font-size: 24px; cursor: pointer; }
.mobile-logo { position: absolute; left: 50%; transform: translateX(-50%); }
.mobile-logo img { max-height: 48px; }
.mobile-drawer { position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh; transform: translateX(-100%); transition: transform .28s ease; z-index: 10001; background: var(--theme-dark); color: var(--on-dark); padding: 20px; overflow-y: auto; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; opacity: 0; visibility: hidden; z-index: 10000; background: rgba(0,0,0,.55); transition: opacity .28s ease, visibility .28s ease; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-nav { display: grid; gap: 8px; }
.mobile-nav a { color: var(--on-dark); padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.08); font-weight: 700; }
main { display: block; }
.section { padding: 70px 0; }
.hero, .hero-section { display: grid; gap: 34px; padding: 74px 0 46px; }
.hero h1 { font-size: clamp(38px, 8vw, 64px); line-height: 1.08; margin: 12px 0 20px; color: var(--theme-dark); letter-spacing: -1px; }
.hero p.lead { font-size: 18px; color: var(--text-main); max-width: 760px; }
.eyebrow, .tag { display: inline-flex; align-items: center; border: 1px solid var(--theme-border); background: var(--white); color: var(--theme-dark); padding: 8px 14px; border-radius: 999px; font-weight: 800; }
.hero-tags, .inline-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-visual, .visual-card { background: linear-gradient(145deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); border-radius: 34px; padding: 28px; box-shadow: var(--shadow-soft); min-height: 360px; display: grid; place-items: center; position: relative; overflow: hidden; }
.hero-visual:before, .visual-card:before { content: ''; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: rgba(212,104,36,.12); right: -70px; top: -70px; }
.hero-visual img { max-height: 420px; object-fit: contain; position: relative; z-index: 1; }
.card, .zone-card, .info-card, .faq-item, .notice, .service-strip, .category-pill { background: var(--white); color: var(--text-main); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); border-radius: 24px; padding: 24px; }
.section-title, h1, h2, h3, .category-number, .highlight { color: var(--theme-dark); }
.section-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin: 0 0 18px; }
.section-intro { max-width: 850px; color: var(--text-muted); margin-bottom: 30px; }
.text-link { color: var(--theme); font-weight: 800; }
.text-link:hover { color: var(--theme-hover); }
.grid, .feature-grid, .zone-grid, .faq, .quick-grid { display: grid; gap: 24px; }
.category-pill { display: flex; gap: 16px; align-items: flex-start; }
.category-number { min-width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--theme-light); font-weight: 900; }
.service-strip { background: linear-gradient(135deg, var(--theme-soft), var(--white)); }
.content-split, .app-section, .security-section, .page-hero, .wide-layout { display: grid; gap: 34px; align-items: center; }
.app-section, .security-section { background: linear-gradient(135deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); border-radius: 34px; padding: 30px; box-shadow: var(--shadow-soft); }
.app-section img, .content-img { max-height: 430px; object-fit: contain; width: 100%; }
.list { padding-left: 20px; }
.list li { margin: 8px 0; }
.notice { border-left: 6px solid var(--theme); background: var(--theme-soft); }
.footer { background: var(--theme-deep); color: var(--on-dark); padding: 54px 0 28px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: var(--theme-light); }
.footer-inner { display: grid; gap: 28px; }
.footer-links { display: grid; gap: 10px; }
.footer-brand p, .footer p { color: rgba(255,255,255,.86); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 30px; padding-top: 20px; font-size: 14px; color: rgba(255,255,255,.82); }
.page-hero { padding: 70px 0 34px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.1; margin: 10px 0; }
.article-grid { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid, .zone-grid, .quick-grid, .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  body { font-size: 17px; }
  .mobile-menu-toggle, .mobile-logo { display: none; }
  .main-nav { display: flex; }
  .hero, .hero-section { grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr); align-items: center; gap: 48px; }
  .content-split, .app-section, .security-section, .page-hero, .wide-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .feature-grid.info-board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-grid.core-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zone-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding: 92px 0; }
  .hero h1 { font-size: 64px; }
  .hero p.lead { font-size: 20px; }
}
@media (min-width: 1280px) {
  .container, .section-inner, .footer-inner { width: min(1240px, calc(100% - 72px)); }
  .header-inner { width: min(1280px, calc(100% - 72px)); }
  .hero h1 { font-size: 70px; }
  .section { padding: 104px 0; }
}
@media (max-width: 767px) {
  .container, .section-inner, .header-inner, .footer-inner { width: min(100% - 28px, 1200px); }
  .header-inner { min-height: 66px; }
  .logo.desktop-logo { display: none; }
  .main-btn { padding: 9px 14px; font-size: 14px; }
  .hero-visual { min-height: 260px; }
  .section { padding: 52px 0; }
}
