:root {
  --primary: #E63946;
  --secondary: #1D3557;
  --accent: #F4A261;
  --neutral-light: #F1FAEE;
  --neutral-dark: #2B2D42;
  --success: #2ECC71;
  --data-blue: #3498DB;
  --text-light: #FFFFFF;
  --text-dark: #1D3557;
  --font-heading: 'Segoe UI', 'Arial Black', 'Arial', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-mono: 'Consolas', 'Courier New', monospace;
  --radius: 4px;
  --transition: 0.25s ease;
  --max-width: 1200px;
  --header-bg: #1D3557;
  --footer-bg: #1D3557;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--neutral-dark); background: var(--neutral-light); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 900; line-height: 1.2; color: var(--text-dark); }
h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus-visible { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.skip-link { position: absolute; top: -100%; left: 0; background: var(--primary); color: var(--text-light); padding: 0.5rem 1rem; z-index: 9999; font-weight: 700; }
.skip-link:focus { top: 0; }

.site-header { background: var(--header-bg); position: relative; z-index: 100; }
.header-inner { padding-top: 1rem; padding-bottom: 0; }
.header-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.brand-link { text-decoration: none; display: inline-flex; align-items: baseline; }
.brand-name { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: var(--text-light); letter-spacing: 0.02em; line-height: 1.1; }
.brand-highlight { color: var(--primary); }
.header-info { margin-top: 0.1rem; }
.info-phone { font-family: var(--font-mono); font-size: 1rem; color: var(--accent); letter-spacing: 0.05em; background: rgba(255,255,255,0.08); padding: 0.2rem 0.8rem; border-radius: var(--radius); }
.nav-toggle { display: none; background: none; border: 2px solid var(--text-light); border-radius: var(--radius); cursor: pointer; padding: 0.4rem 0.6rem; position: relative; width: 2.5rem; height: 2.5rem; }
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after { display: block; width: 1.4rem; height: 2px; background: var(--text-light); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); content: ''; position: absolute; left: 50%; margin-left: -0.7rem; }
.nav-toggle-icon { top: 50%; margin-top: -1px; }
.nav-toggle-icon::before { top: -0.45rem; }
.nav-toggle-icon::after { top: 0.45rem; }
[data-nav-toggle][aria-expanded="true"] .nav-toggle-icon { background: transparent; }
[data-nav-toggle][aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(0.45rem) rotate(45deg); }
[data-nav-toggle][aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-0.45rem) rotate(-45deg); }

.header-nav { display: flex; justify-content: center; margin-top: 0.6rem; }
.nav-list { display: flex; flex-wrap: wrap; gap: 1.8rem; justify-content: center; }
.nav-link { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--neutral-light); padding: 0.3rem 0; position: relative; letter-spacing: 0.03em; text-transform: uppercase; transition: color var(--transition); }
.nav-link:hover, .nav-link:focus-visible { color: var(--primary); }
.nav-link[aria-current="page"] { color: var(--primary); border-bottom: 3px solid var(--primary); }
.header-divider { height: 4px; margin-top: 0.8rem; background: repeating-linear-gradient(90deg, var(--accent) 0px, var(--accent) 8px, transparent 8px, transparent 14px); border-bottom: 2px solid var(--accent); }

@media (max-width: 768px) {
  .brand-name { font-size: 1.8rem; }
  .header-info { width: 100%; text-align: center; margin-top: 0.2rem; order: 3; }
  .info-phone { font-size: 0.85rem; }
  .nav-toggle { display: block; order: 2; }
  .header-nav { display: none; width: 100%; order: 4; margin-top: 0.6rem; transition: max-height 0.4s ease; }
  .header-nav[data-open] { display: flex; }
  .nav-list { flex-direction: column; gap: 0.2rem; align-items: center; padding-bottom: 0.6rem; }
  .nav-link { font-size: 1.05rem; padding: 0.5rem 0; }
  .header-divider { margin-top: 0.4rem; }
}

.site-footer { background: var(--footer-bg); color: var(--neutral-light); padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
.footer-inner { }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.5fr; gap: 2rem; }
.footer-brand { }
.footer-brand-link { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; color: var(--text-light); letter-spacing: 0.02em; }
.footer-brand-link:hover { color: var(--primary); }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 0.4rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link { font-size: 0.95rem; color: var(--accent); font-weight: 500; }
.footer-link:hover { color: var(--text-light); }
.footer-contact { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-contact-item { font-size: 0.9rem; color: rgba(255,255,255,0.8); font-family: var(--font-body); }
.footer-bottom { border-top: 2px dashed var(--accent); margin-top: 1.8rem; padding-top: 1.2rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.icp { font-family: var(--font-mono); letter-spacing: 0.05em; }
.trust-statement { font-style: italic; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

.container { max-width: var(--max-width); margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.section { padding: 2.5rem 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .grid { grid-template-columns: repeat(2, 1fr); } }

.card { background: var(--text-light); border: 2px dashed var(--secondary); border-radius: 0; padding: 1.5rem; transition: transform var(--transition), box-shadow var(--transition); position: relative; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-color: var(--primary); }
.card-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--text-dark); }
.card-body { font-size: 0.95rem; color: var(--neutral-dark); line-height: 1.6; }

.btn { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-body); font-size: 1rem; font-weight: 700; padding: 0.65rem 1.6rem; border: 3px solid var(--primary); background: var(--primary); color: var(--text-light); border-radius: 0; cursor: pointer; transition: background var(--transition), color var(--transition), transform var(--transition); text-decoration: none; clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.btn:hover, .btn:focus-visible { background: transparent; color: var(--primary); transform: scale(1.02); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--text-light); }

.tag { display: inline-block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; padding: 0.2rem 0.7rem; background: var(--accent); color: var(--text-dark); border-radius: 0; border: 1px solid rgba(0,0,0,0.1); clip-path: polygon(2px 0, 100% 0, calc(100% - 2px) 100%, 0 100%); }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6rem; height: 1.6rem; padding: 0 0.4rem; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; background: var(--primary); color: var(--text-light); border-radius: 50%; }
.divider { width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent) 30%, transparent 30%, transparent 50%, var(--accent) 50%, var(--accent) 80%, transparent 80%); margin: 1.5rem 0; }

.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--primary); width: 0%; z-index: 9998; transition: width 0.1s linear; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .progress-bar { display: none; } }

.data { font-family: var(--font-mono); font-size: 0.95rem; letter-spacing: 0.05em; color: var(--data-blue); font-weight: 600; }
.chamfer { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 480px) {
  .brand-name { font-size: 1.4rem; }
  .info-phone { font-size: 0.75rem; padding: 0.1rem 0.5rem; }
  .nav-link { font-size: 0.95rem; }
  .container { padding-left: 1rem; padding-right: 1rem; }
  h1 { font-size: 2rem; } h2 { font-size: 1.6rem; } h3 { font-size: 1.3rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .brand-name { font-size: 2.2rem; }
  .nav-list { gap: 1.2rem; }
}
