/* ==========================================================================
   HUAMEI Official Website — Design System
   Style: Restrained Italian light-luxury industrial
   Primary: #1A1A1A | Action: #C8102E | BG: #FFFFFF / #F5F5F5
   ========================================================================== */

:root {
  --c-ink: #1A1A1A;
  --c-ink-soft: #2A2A2A;
  --c-red: #C8102E;
  --c-red-dark: #8B0000;
  --c-bg: #FFFFFF;
  --c-bg-alt: #F5F5F5;
  --c-text: #1A1A1A;
  --c-text-2: #666666;
  --c-text-3: #888888;
  --c-line: #D9D9D9;
  --c-line-dark: rgba(255, 255, 255, .14);
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 76px;
  --radius: 2px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 16px;
  padding-top: var(--header-h);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--c-red);
  margin-bottom: 16px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--c-red); }
.kicker.on-dark { color: #ff5a6e; }
.kicker.on-dark::before { background: #ff5a6e; }

.lead { font-size: 1.05rem; color: var(--c-text-2); max-width: 640px; }
.on-dark .lead, .lead.on-dark { color: rgba(255,255,255,.72); }

.section { padding: 96px 0; }
.section.alt { background: var(--c-bg-alt); }
.section.dark { background: var(--c-ink); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .lead { margin: 14px auto 0; }
.section-head .lead { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; font-size: .85rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: all .28s var(--ease); white-space: nowrap;
}
.btn-red { background: var(--c-red); color: #fff; }
.btn-red:hover { background: var(--c-red-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,16,46,.35); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { border-color: var(--c-ink); color: var(--c-ink); background: transparent; }
.btn-ghost:hover { background: var(--c-ink); color: #fff; }
.btn-sm { padding: 11px 22px; font-size: .76rem; }
.btn .arrow { transition: transform .28s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-red);
  border-bottom: 1px solid transparent; padding-bottom: 3px;
  transition: border-color .2s;
}
.text-link:hover { border-color: var(--c-red); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(20, 20, 20, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line-dark);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand-logo { height: 48px; width: auto; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a {
  position: relative; color: rgba(255,255,255,.82);
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  padding: 6px 0; transition: color .2s;
  white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--c-red); transition: width .28s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: all .25s var(--ease); }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; flex-shrink: 0; }
.lang-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff; padding: 10px 15px;
  font-size: .86rem; font-weight: 700; letter-spacing: .08em;
  border-radius: var(--radius); transition: all .2s;
}
.lang-btn:hover, .lang-btn:focus-visible {
  border-color: #fff; background: rgba(255, 255, 255, .2);
}
.lang-btn .globe { flex-shrink: 0; }
.lang-btn svg { transition: transform .2s; }
.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-btn[aria-expanded="true"] .globe { transform: none; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 130;
  min-width: 210px; padding: 8px;
  background: #1c1c1e; border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  display: none; flex-direction: column;
}
.lang-menu.open { display: flex; }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 15px; font-size: .95rem; font-weight: 500;
  color: rgba(255,255,255,.88); border-radius: var(--radius); transition: all .15s;
}
.lang-menu a:hover { background: rgba(255,255,255,.1); color: #fff; }
.lang-menu a.current {
  color: #fff; font-weight: 700;
  background: rgba(200, 16, 46, .35);
}
.lang-menu a.current::after { content: "\2713"; font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.55) 46%, rgba(10,10,10,.18) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 0; max-width: 780px; }
.hero h1 { margin: 18px 0 22px; }
.hero-sub { font-size: 1.06rem; color: rgba(255,255,255,.78); max-width: 560px; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-eyebrow-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 54px; }
.hero-eyebrow-row span {
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.55); display: inline-flex; align-items: center; gap: 8px;
}
.hero-eyebrow-row i { width: 6px; height: 6px; background: var(--c-red); display: inline-block; }

/* page hero (interior pages) */
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero .hero-media::after { background: linear-gradient(78deg, rgba(10,10,10,.86) 0%, rgba(10,10,10,.6) 55%, rgba(10,10,10,.3) 100%); }
.page-hero .hero-inner { padding: 104px 0 88px; max-width: 760px; }
.page-hero h1 { margin: 16px 0 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: var(--c-red); }

/* ---------- Stats ---------- */
.stats { background: var(--c-ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 56px 32px; text-align: center;
  border-left: 1px solid var(--c-line-dark);
}
.stat:first-child { border-left: 0; }
.stat .num { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 700; color: var(--c-red); letter-spacing: -.02em; }
.stat .num sup { font-size: .5em; }
.stat .lbl { margin-top: 8px; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card-sys {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card-sys:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-sys .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-alt); }
.card-sys .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-sys:hover .media img { transform: scale(1.05); }
.card-sys .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-sys .tag { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-red); margin-bottom: 10px; }
.card-sys h3 { margin-bottom: 10px; }
.card-sys p { font-size: .92rem; color: var(--c-text-2); flex: 1; }
.card-sys .text-link { margin-top: 20px; }

/* product card */
.card-prod {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card-prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-prod .media { aspect-ratio: 1 / 1; background: var(--c-bg-alt); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card-prod .media img { width: 100%; height: 100%; object-fit: cover; }
.card-prod .media.contain img { object-fit: contain; padding: 20px; }
.card-prod .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-prod .series { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-red); margin-bottom: 8px; }
.card-prod h3 { font-size: 1rem; margin-bottom: 6px; }
.card-prod .sku { font-size: .78rem; color: var(--c-text-3); letter-spacing: .05em; margin-bottom: 10px; }
.card-prod p { font-size: .86rem; color: var(--c-text-2); flex: 1; }
.card-prod .actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .media { position: relative; overflow: hidden; border-radius: var(--radius); }
.split .media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.split.reverse .media { order: 2; }
.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; color: var(--c-text-2); }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px;
  background: var(--c-red);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; background: var(--c-red); color: #fff;
  padding: 84px 0; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border: 1px solid rgba(255,255,255,.18);
  transform: rotate(45deg);
}
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { max-width: 560px; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 10px; max-width: 520px; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.7); }
.cta-band .btn-dark { background: #141414; }

/* ---------- Scene (e-showroom) ---------- */
.scene-hero { position: relative; color: #fff; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.scene-hero .hero-media img { object-position: center 40%; }
.scene-hero .hero-inner { padding: 120px 0 72px; max-width: 820px; }
.scene-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.scene-meta span {
  border: 1px solid rgba(255,255,255,.3); padding: 8px 16px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.applied-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.applied-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 22px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--c-line);
}
.applied-item .idx { font-size: .8rem; font-weight: 600; color: var(--c-red); letter-spacing: .1em; }
.applied-item h3 { font-size: 1rem; }
.applied-item p { font-size: .86rem; color: var(--c-text-2); margin-top: 4px; }

/* ---------- Partner ---------- */
.model-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.model-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.model-card.featured { border-color: var(--c-ink); position: relative; }
.model-card .flag {
  position: absolute; top: -1px; right: 24px; background: var(--c-red); color: #fff;
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 12px;
}
.model-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.model-card .for { font-size: .8rem; color: var(--c-text-3); letter-spacing: .06em; margin-bottom: 20px; }
.model-card ul { display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.model-card ul li { display: flex; gap: 12px; font-size: .9rem; color: var(--c-text-2); }
.model-card ul li::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 4px; background: var(--c-red);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.benefit-tile { background: var(--c-bg-alt); padding: 34px 30px; border-radius: var(--radius); height: 100%; }
.benefit-tile .icon {
  width: 44px; height: 44px; border: 1px solid var(--c-ink); display: flex;
  align-items: center; justify-content: center; margin-bottom: 20px;
  font-weight: 700; color: var(--c-red); font-size: 1rem;
}
.benefit-tile h3 { margin-bottom: 10px; }
.benefit-tile p { font-size: .9rem; color: var(--c-text-2); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { border-top: 2px solid var(--c-line); padding-top: 24px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2rem; font-weight: 700; color: var(--c-red);
  margin-bottom: 12px; letter-spacing: -.02em;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--c-text-2); }

/* ---------- Forms ---------- */
.form-shell { background: #fff; border: 1px solid var(--c-line); padding: 48px; border-radius: var(--radius); }
.form-shell.dark-form { background: var(--c-ink-soft); border-color: var(--c-line-dark); color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-2); }
.dark-form .field label { color: rgba(255,255,255,.65); }
.field label .req { color: var(--c-red); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .94rem; color: var(--c-text);
  background: var(--c-bg-alt); border: 1px solid var(--c-line);
  padding: 14px 16px; border-radius: var(--radius); outline: none;
  transition: border-color .2s, background .2s; width: 100%;
}
.dark-form .field input, .dark-form .field select, .dark-form .field textarea {
  background: rgba(255,255,255,.06); border-color: var(--c-line-dark); color: #fff;
}
.dark-form .field select option { color: var(--c-text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-red); background: #fff; }
.dark-form .field input:focus, .dark-form .field select:focus, .dark-form .field textarea:focus { background: rgba(255,255,255,.1); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .76rem; color: var(--c-text-3); }
.field .error-msg { display: none; font-size: .76rem; color: var(--c-red); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--c-red); }
.field.invalid .error-msg { display: block; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; color: var(--c-text-2); }
.dark-form .consent { color: rgba(255,255,255,.7); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-red); flex-shrink: 0; }
.consent a { color: var(--c-red); text-decoration: underline; }
.consent.invalid { color: var(--c-red); }

.form-success {
  display: none; text-align: center; padding: 48px 24px;
}
.form-success .badge {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--c-red); display: flex; align-items: center; justify-content: center;
}
.form-success .badge svg { width: 30px; height: 30px; stroke: #fff; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 10px; }
.form-success p { color: var(--c-text-2); max-width: 460px; margin: 0 auto; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Resources ---------- */
.res-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
}
.res-card .media { background: var(--c-ink); position: relative; }
.res-card .media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.res-card .body { padding: 32px 36px; }
.res-card .tag { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-red); margin-bottom: 10px; }
.res-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.res-card p { font-size: .9rem; color: var(--c-text-2); margin-bottom: 20px; }

.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { flex-shrink: 0; width: 26px; height: 26px; border: 1px solid var(--c-line); position: relative; transition: all .25s; }
.faq-item summary .pm::before, .faq-item summary .pm::after {
  content: ""; position: absolute; background: var(--c-ink); top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item summary .pm::before { width: 12px; height: 1.5px; }
.faq-item summary .pm::after { width: 1.5px; height: 12px; transition: transform .25s; }
.faq-item[open] summary .pm { border-color: var(--c-red); background: var(--c-red); }
.faq-item[open] summary .pm::before, .faq-item[open] summary .pm::after { background: #fff; }
.faq-item[open] summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item .faq-a { padding: 0 0 24px; color: var(--c-text-2); font-size: .93rem; max-width: 760px; }

/* ---------- About ---------- */
.milestone { position: relative; padding-left: 34px; border-left: 2px solid var(--c-line); display: grid; gap: 36px; }
.milestone li { position: relative; }
.milestone li::before {
  content: ""; position: absolute; left: -41px; top: 4px; width: 12px; height: 12px;
  background: var(--c-red); border: 3px solid #fff; outline: 1px solid var(--c-red); border-radius: 50%;
}
.milestone .yr { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--c-red); }
.milestone h3 { margin: 4px 0 6px; }
.milestone p { font-size: .9rem; color: var(--c-text-2); }

.cert-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-badge {
  border: 1px solid var(--c-line-dark); padding: 34px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cert-badge .mark {
  width: 58px; height: 58px; border: 2px solid rgba(255,255,255,.5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; letter-spacing: .04em; color: #fff;
}
.cert-badge .name { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cert-badge .note { font-size: .74rem; color: rgba(255,255,255,.5); }

.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.city-card { border: 1px solid var(--c-line); padding: 30px 26px; border-radius: var(--radius); }
.city-card .pin { width: 34px; height: 34px; margin-bottom: 16px; color: var(--c-red); }
.city-card h3 { margin-bottom: 6px; }
.city-card p { font-size: .86rem; color: var(--c-text-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.info-block { margin-bottom: 34px; }
.info-block .lbl { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-text-3); margin-bottom: 8px; }
.info-block .val { font-size: 1.06rem; font-weight: 500; }
.info-block .val a:hover { color: var(--c-red); }
.hours-table { width: 100%; font-size: .9rem; border-collapse: collapse; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--c-line); color: var(--c-text-2); }
.hours-table td:last-child { text-align: right; color: var(--c-text); }

/* ---------- Footer ---------- */
.site-footer { background: #111; color: rgba(255,255,255,.75); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
  padding: 80px 24px 56px;
}
.footer-logo { height: 58px; width: auto; margin-bottom: 22px; }
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-reg { margin-top: 18px; font-size: .76rem; letter-spacing: .06em; color: rgba(255,255,255,.4); }
.footer-col h4 {
  color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 22px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col a:hover { color: var(--c-red); }
.footer-contact li { font-size: .88rem; }
.footer-loc { color: rgba(255,255,255,.5); line-height: 1.7; }
.footer-bottom { border-top: 1px solid var(--c-line-dark); padding: 26px 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.45); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: #fff; }
.footer-lang { width: 100%; }
.footer-lang a { color: rgba(255,255,255,.55); }
.footer-lang a:hover { color: var(--c-red); }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 1.3rem; margin: 40px 0 14px; }
.legal-body p, .legal-body li { color: var(--c-text-2); font-size: .95rem; margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; list-style: disc; }
.legal-body .updated { font-size: .8rem; color: var(--c-text-3); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Misc ---------- */
.notice-strip {
  background: var(--c-bg-alt); border: 1px solid var(--c-line); border-left: 3px solid var(--c-red);
  padding: 18px 22px; font-size: .88rem; color: var(--c-text-2); border-radius: var(--radius);
}
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.center { text-align: center; }

/* 404 */
.nf-wrap { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.nf-wrap .code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; color: var(--c-ink); line-height: 1; letter-spacing: -.04em; }
.nf-wrap .code em { color: var(--c-red); font-style: normal; }
.nf-wrap p { color: var(--c-text-2); margin: 18px 0 34px; max-width: 420px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cert-row, .city-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .header-inner { gap: 12px; }
  .brand-logo { height: 42px; }
  .lang-btn { padding: 8px 11px; font-size: .8rem; white-space: nowrap; }
  .lang-menu { min-width: 190px; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(18,18,18,.99); flex-direction: column; gap: 0;
    padding: 12px 24px 28px; border-bottom: 1px solid var(--c-line-dark);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: all .28s var(--ease);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--c-line-dark); font-size: .95rem; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 36px 20px; border-left: 0; border-top: 1px solid var(--c-line-dark); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-shell { padding: 32px 24px; }
  .res-card { grid-template-columns: 1fr; }
  .res-card .media { aspect-ratio: 16 / 9; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .applied-item { grid-template-columns: 40px 1fr; }
  .applied-item .text-link { grid-column: 2; }
}

@media (max-width: 480px) {
  .grid-4, .steps, .cert-row, .city-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; padding: 56px 24px 40px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
