/* ══════════════════════════════════════════════════════════════════════════
   Subaru Đồng Nai — stylesheet chính
   Gộp từ Astro: global.css + style scoped của từng component.
   Thứ tự: tokens → reset → layout → header → footer → components → templates
   ══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────── 1. Design tokens ─────────────────────────── */
:root {
  --color-primary: #003082;
  --color-primary-dark: #001f5a;
  --color-secondary: #1a1a1a;
  --color-accent: #e8192c;
  --color-bg-white: #ffffff;
  --color-bg-light: #f5f5f5;
  --color-bg-dark: #0d0d0d;
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #666666;
  --color-text-light: #ffffff;
  --color-text-muted: #999999;
  --color-border: #e0e0e0;
  --color-price: #003082;
  --color-success: #28a745;
  --color-error: #dc3545;

  --font-heading: 'Be Vietnam Pro', 'Roboto', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-hero: clamp(2rem, 5vw, 3.5rem);
  --text-h1: 2.5rem;
  --text-h2: 2rem;
  --text-h3: 1.5rem;
  --text-h4: 1.25rem;
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-body-sm: 0.875rem;
  --text-btn: 0.9375rem;

  --space-section-y: 80px;
  --space-section-y-mobile: 48px;
  --space-container-x: 24px;
  --space-grid-gap: 24px;
  --space-card-p: 20px;
  --space-btn-x: 28px;
  --space-btn-y: 12px;

  --radius-btn: 4px;
  --radius-card: 8px;
  --radius-input: 4px;

  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.12);

  --container-max-w: 1280px;
  --transition-hover: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

/* ────────────────────────────── 2. Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; }
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ─────────────────────────── 3. Layout helpers ────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-inline: auto;
  padding-inline: var(--space-container-x);
}
.section { padding-block: var(--space-section-y); }
.section--alt { background: var(--color-bg-light); }
.section--dark { background: var(--color-bg-dark); color: #fff; }
.section__more { text-align: center; margin-top: 2.5rem; }
.page-head { padding-top: 2rem; }
.empty { color: var(--color-text-muted); font-style: italic; text-align: center; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 9999;
  width: auto; height: auto; clip: auto; margin: 0;
  padding: 0.6rem 1rem; background: #fff; color: var(--color-primary);
  border: 2px solid var(--color-primary); border-radius: 4px;
}

@media (max-width: 768px) {
  .section { padding-block: var(--space-section-y-mobile); }
}

/* ──────────────────────────── 4. Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: var(--space-btn-y) var(--space-btn-x);
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-size: var(--text-btn); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: var(--transition-hover), background 0.2s ease, filter 0.2s ease;
}
.btn--full { width: 100%; }
.btn--primary { background: var(--color-primary); color: var(--color-text-light); }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color: var(--color-text-light); }
.btn--ghost { background: transparent; color: var(--color-text-light); border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--phone { background: var(--color-accent); color: var(--color-text-light); }
.btn--phone:hover { filter: brightness(0.92); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ──────────────────────── 5. Section heading ─────────────────────────── */
.sh { margin-bottom: 2.5rem; }
.sh--center { text-align: center; }
.sh--left { text-align: left; }
.sh__title {
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.04em;
  font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1;
  color: var(--color-text-primary);
}
.sh__divider {
  display: inline-block; width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  margin-top: 1rem; border-radius: 999px;
}
.sh--left .sh__divider { display: block; }
.sh__sub { margin-top: 1rem; color: var(--color-text-secondary); font-size: var(--text-body-lg); max-width: 56ch; }
.sh--center .sh__sub { margin-inline: auto; }
.sh--light .sh__title { color: #fff; }
.sh--light .sh__sub { color: rgba(255,255,255,0.65); }

/* ─────────────────────────── 6. Breadcrumb ───────────────────────────── */
.crumb { font-size: 0.85rem; color: var(--color-text-muted); }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; padding: 0; }
.crumb li { display: flex; align-items: center; gap: 0.4rem; }
.crumb a { color: var(--color-text-secondary); }
.crumb a:hover { color: var(--color-accent); }
.crumb__sep { color: var(--color-border); }
.crumb [aria-current='page'] { color: var(--color-text-primary); font-weight: 500; }

/* ──────────────────────────── 7. Topbar ──────────────────────────────── */
.topbar {
  background: #fff; border-bottom: 1px solid var(--color-border);
  font-size: 0.8rem; color: var(--color-primary); overflow: hidden;
}
.topbar__inner { display: flex; align-items: center; min-height: 36px; gap: 1.5rem; }
.topbar__left {
  flex: 1; font-weight: 600; letter-spacing: 0.02em; color: var(--color-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar__right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; white-space: nowrap; }
.topbar__phone {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--color-primary); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em;
}
.topbar__phone:hover { opacity: 0.75; }
.topbar__phone svg { width: 13px; height: 13px; fill: var(--color-primary); flex-shrink: 0; }
.topbar__sep { color: var(--color-border); font-size: 0.75rem; }
.topbar__addr { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--color-primary); font-size: 0.78rem; }
.topbar__addr svg { width: 12px; height: 12px; fill: none; stroke: var(--color-primary); stroke-width: 2; flex-shrink: 0; }

/* ──────────────────────────── 8. Header ──────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-primary); box-shadow: var(--shadow-header);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.header__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: 48px; width: auto; display: block; }

.header__nav { flex: 1; display: flex; justify-content: center; }
.header__nav > ul { list-style: none; display: flex; gap: 2rem; }
.header__nav > ul > li { position: relative; }
.header__nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: #fff; font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.02em;
  padding: 0.4rem 0; border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease; white-space: nowrap;
}
.header__nav > ul > li > a:hover { opacity: 0.85; }
.header__nav > ul > li > a.is-active { border-color: #fff; }
.chevron { width: 10px; height: 7px; flex-shrink: 0; transition: transform 0.2s ease; }

.dropdown {
  display: none; position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%); background: #fff; border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); min-width: 210px;
  list-style: none; padding: 0.4rem 0; z-index: 200;
}
.dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top: 0; border-bottom-color: #fff;
}
.dropdown li a {
  display: block; padding: 0.6rem 1.1rem; color: var(--color-primary);
  font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown li a:hover { background: var(--color-primary); color: #fff; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { display: block; }
.has-dropdown:hover > a .chevron { transform: rotate(180deg); }

.header__burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 0.4rem; margin-left: auto; }
.header__burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

.header__cta {
  display: inline-flex; align-items: center; padding: 0.4rem 1rem;
  background: var(--color-accent); color: #fff; font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.04em; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0; transition: opacity 0.2s;
}
.header__cta:hover { opacity: 0.85; }

@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .topbar { display: none; }
}
@media (max-width: 600px) {
  .header__logo img { height: 38px; }
  .header__cta { font-size: 0.76rem; padding: 0.35rem 0.75rem; }
}

/* ───────────────────────── 9. Mobile menu ────────────────────────────── */
.mm { position: fixed; inset: 0; z-index: 1000; }
.mm[hidden] { display: none; }
.mm__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.25s ease; }
.mm.is-open .mm__backdrop { opacity: 1; }
.mm__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(80vw, 320px);
  background: var(--color-bg-white); transform: translateX(100%);
  transition: transform 0.25s ease; display: flex; flex-direction: column;
  overflow-y: auto; box-shadow: -4px 0 16px rgba(0,0,0,0.15);
}
.mm.is-open .mm__panel { transform: translateX(0); }
.mm__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid var(--color-border); flex-shrink: 0;
}
.mm__brand { font-weight: 700; color: var(--color-primary); }
.mm__close { background: none; border: none; font-size: 1.4rem; line-height: 1; color: var(--color-text-secondary); }
.mm__nav { padding: 0.25rem 0; flex: 1; }
.mm__nav > ul { list-style: none; }
.mm__nav > ul > li > a, .mm__group-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 0.85rem 1.25rem; border: none; background: none;
  border-bottom: 1px solid var(--color-border);
  font-weight: 600; font-size: 0.95rem; color: var(--color-text-primary);
  text-align: left; cursor: pointer;
}
.mm__nav > ul > li > a:hover, .mm__group-toggle:hover { color: var(--color-accent); }
.mm__chevron { width: 12px; height: 8px; flex-shrink: 0; transition: transform 0.2s ease; }
.mm__group-toggle[aria-expanded="true"] .mm__chevron { transform: rotate(180deg); }
.mm__sub { list-style: none; background: #f7f8fa; }
.mm__sub[hidden] { display: none; }
.mm__sub li a {
  display: block; padding: 0.7rem 1.25rem 0.7rem 2rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem; font-weight: 500; color: var(--color-text-secondary);
}
.mm__sub li a:hover { color: var(--color-primary); }
.mm__contact {
  padding: 1.25rem; border-top: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 0.5rem; flex-shrink: 0;
}
.mm__contact a { color: var(--color-accent); font-weight: 600; font-size: 0.9rem; }

/* ───────────────────── 10. Hero banner carousel ──────────────────────── */
.hero-c { position: relative; }
.hero-c__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; line-height: 0;
}
.hero-c__track::-webkit-scrollbar { display: none; }
.hero-c__slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start;
  aspect-ratio: 1958 / 745; min-height: 280px; overflow: hidden;
}
.hero-c__slide picture { display: block; width: 100%; height: 100%; }
.hero-c__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-c__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 0.5rem; z-index: 3; }
.hero-c__dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; }
.hero-c__dot.is-active { background: #fff; }
.hero-c__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,0.28); border: 1px solid rgba(255,255,255,0.55);
  color: #fff; font-size: 1.7rem; cursor: pointer; transition: background 0.2s; display: none;
}
.hero-c:hover .hero-c__arrow { display: flex; align-items: center; justify-content: center; }
.hero-c__arrow--prev { left: 18px; }
.hero-c__arrow--next { right: 18px; }
.hero-c__arrow:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 768px) {
  .hero-c__slide { aspect-ratio: 828 / 465; min-height: 180px; }
  .hero-c__arrow { display: none !important; }
}

/* ───────────────────── 11. Car showcase carousel ─────────────────────── */
.sc { position: relative; overflow: hidden; background: #fff; padding-block: 2rem 3.5rem; user-select: none; }
.sc__stage { position: relative; height: 620px; }
.sc__item {
  position: absolute; left: 50%; top: 0; width: min(720px, 90vw);
  transform: translateX(calc(-50% + 680px)) scale(0.65); opacity: 0;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1), opacity 0.45s ease;
  pointer-events: none; display: flex; flex-direction: column;
}
.sc__item.is-prev { transform: translateX(calc(-50% - 520px)) scale(0.65); opacity: 0.45; pointer-events: auto; cursor: pointer; z-index: 1; }
.sc__item.is-next { transform: translateX(calc(-50% + 520px)) scale(0.65); opacity: 0.45; pointer-events: auto; cursor: pointer; z-index: 1; }
.sc__item.is-active { transform: translateX(-50%) scale(1); opacity: 1; pointer-events: auto; z-index: 2; }
.sc__head { padding: 0 1rem 0.75rem; text-align: left; }
.sc__name {
  font-size: 1.9rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--color-primary); line-height: 1.1; margin-bottom: 0.35rem;
}
.sc__price { font-size: 0.95rem; color: #555; }
.sc__price strong { color: var(--color-accent); font-weight: 700; }
.sc__media { flex: 1; display: flex; align-items: center; justify-content: center; }
.sc__media img { display: block; width: 100%; max-height: 400px; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.sc__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 1rem 0; border-top: 1px solid var(--color-border);
}
.sc__info { display: flex; flex-direction: column; gap: 0.1rem; }
.sc__info-label { font-size: 0.8rem; color: var(--color-text-muted); }
.sc__info-val { font-size: 1.05rem; font-weight: 700; color: var(--color-text-primary); }
.sc__btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--color-accent); color: #fff; font-size: 0.88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 0.65rem 1.4rem;
  border-radius: var(--radius-btn); white-space: nowrap; transition: background 0.2s;
}
.sc__btn:hover { background: var(--color-primary); }
.sc__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.sc__arrow:hover { background: var(--color-primary); color: #fff; box-shadow: 0 4px 20px rgba(0,32,90,0.25); }
.sc__arrow--prev { left: 16px; }
.sc__arrow--next { right: 16px; }
.sc__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.sc__dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(0,0,0,0.18); transition: background 0.25s, transform 0.25s; }
.sc__dot.is-active { background: var(--color-primary); transform: scale(1.35); }

@media (max-width: 767px) {
  .sc__stage { height: 420px; }
  .sc__item { width: 88vw; }
  .sc__item.is-prev { transform: translateX(calc(-50% - 85vw)) scale(0.72); opacity: 0.4; }
  .sc__item.is-next { transform: translateX(calc(-50% + 85vw)) scale(0.72); opacity: 0.4; }
  .sc__media img { max-height: 240px; }
  .sc__name { font-size: 1.3rem; }
  .sc__arrow { width: 38px; height: 38px; }
  .sc__arrow--prev { left: 6px; }
  .sc__arrow--next { right: 6px; }
}

/* ──────────────────────── 12. Core values ────────────────────────────── */
.cv { background: var(--color-bg-dark); padding-bottom: calc(var(--space-section-y) * 1.25); }
.cv__list { display: flex; flex-direction: column; gap: 0; }
.cv__item { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; position: relative; }
.cv__item--flip .cv__media { order: 2; }
.cv__item--flip .cv__body { order: 1; }
.cv__item:nth-child(even) { margin-top: -2.5rem; }
.cv__media { overflow: hidden; border-radius: var(--radius-card); }
.cv__media img { display: block; width: 100%; height: auto; transition: transform 0.5s cubic-bezier(.4,0,.2,1); }
.cv__item:hover .cv__media img { transform: scale(1.04); }
.cv__body { padding: 2.5rem 3rem; display: flex; flex-direction: column; gap: 0.75rem; }
.cv__num {
  font-size: 3.5rem; font-weight: 900; line-height: 1; color: rgba(255,255,255,0.07);
  letter-spacing: -0.02em; margin-bottom: -0.5rem; font-family: var(--font-heading);
}
.cv__title {
  font-family: var(--font-heading); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em; color: #fff; line-height: 1.2; position: relative;
}
.cv__title::after {
  content: ''; display: block; width: 40px; height: 3px;
  background: var(--color-accent); border-radius: 999px; margin-top: 0.6rem;
}
.cv__desc { font-size: 0.97rem; color: rgba(255,255,255,0.68); line-height: 1.85; max-width: 38ch; }
.cv__item--flip .cv__body { padding-left: 4rem; }
.cv__item + .cv__item::before {
  content: ''; position: absolute; top: 0; left: 8%; right: 8%;
  height: 1px; background: rgba(255,255,255,0.06);
}
@media (max-width: 768px) {
  .cv__item { grid-template-columns: 1fr; }
  .cv__item--flip .cv__media, .cv__item--flip .cv__body { order: 0; }
  .cv__item:nth-child(even) { margin-top: 0; }
  .cv__body { padding: 1.5rem 1rem; }
  .cv__item--flip .cv__body { padding-left: 1rem; }
  .cv__num { font-size: 2.5rem; }
  .cv__desc { max-width: none; }
}

/* ──────────────────────── 13. Dealer intro ───────────────────────────── */
.di { background: var(--color-bg-light); overflow: hidden; }
.di__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.di__media {
  position: relative; border-radius: var(--radius-card); overflow: hidden;
  line-height: 0; box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.di__media img { display: block; width: 100%; height: auto; }
.di__badge {
  position: absolute; bottom: 1.25rem; right: 1.25rem;
  background: var(--color-primary); color: #fff; border-radius: 8px;
  padding: 0.5rem 0.9rem; text-align: center; line-height: 1.1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.di__badge-text { display: block; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }
.di__badge-big { display: block; font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; }
.di__content { display: flex; flex-direction: column; gap: 1.25rem; }
.di__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-accent); }
.di__heading {
  font-family: var(--font-heading); font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 900; line-height: 1.15; color: var(--color-primary);
}
.di__desc { font-size: 0.97rem; line-height: 1.85; color: var(--color-text-secondary); max-width: 46ch; }
.di__desc strong { color: var(--color-text-primary); font-weight: 700; }
.di__stats { display: flex; gap: 2rem; border-top: 1px solid var(--color-border); padding-top: 1.5rem; margin-top: 0.25rem; }
.di__stat { display: flex; flex-direction: column; gap: 0.2rem; }
.di__stat-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--color-primary); line-height: 1; }
.di__stat-num span { font-size: 1rem; font-weight: 600; color: var(--color-accent); margin-left: 1px; }
.di__stat-lbl { font-size: 0.78rem; color: var(--color-text-muted); line-height: 1.4; max-width: 10ch; }
.di__cta {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 700;
  color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.2s, gap 0.2s;
}
.di__cta:hover { color: var(--color-accent); gap: 0.75rem; }
@media (max-width: 900px) { .di__inner { gap: 2.5rem; } .di__stats { gap: 1.25rem; } }
@media (max-width: 640px) {
  .di__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .di__stats { flex-wrap: wrap; gap: 1rem; }
  .di__stat-lbl { max-width: none; }
}

/* ──────────────────────── 14. Services / Tech ────────────────────────── */
.services__title, .tech__title {
  text-align: center; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: var(--text-h2); margin-bottom: 2.5rem;
}
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-grid-gap); }
.services__card {
  border: 1px solid var(--color-border); border-radius: var(--radius-card);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem;
  transition: var(--transition-hover);
}
.services__card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.services__name { font-size: var(--text-h4); color: var(--color-primary); }
.services__desc { font-size: 0.9rem; color: var(--color-text-secondary); flex: 1; }
.services__link { color: var(--color-accent); font-weight: 600; font-size: 0.9rem; }

.tech { background: var(--color-bg-dark); color: var(--color-text-light); }
.tech__title { color: #fff; }
.tech__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tech__item { text-align: center; padding: 1rem; }
.tech__icon { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--color-accent); }
.tech__name { font-size: var(--text-h4); margin-bottom: 0.5rem; color: #fff; }
.tech__desc { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

@media (max-width: 768px) { .services__grid, .tech__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .services__grid, .tech__grid { grid-template-columns: 1fr; } }

/* ───────────────────────── 15. News grid ─────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-grid-gap); margin-bottom: 0.5rem; }
.nc {
  display: flex; flex-direction: column; background: var(--color-bg-white);
  border: 1px solid var(--color-border); border-radius: var(--radius-card);
  overflow: hidden; color: inherit; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.nc:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.nc__thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-bg-light); flex-shrink: 0; }
.nc__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.nc:hover .nc__thumb img { transform: scale(1.04); }
.nc__body { padding: 0.875rem 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.nc__date { font-size: 0.72rem; color: var(--color-text-muted); display: block; margin-bottom: 0.2rem; }
.nc__title {
  font-size: 0.95rem; font-weight: 600; line-height: 1.45; color: var(--color-text-primary);
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nc__excerpt {
  font-size: 0.83rem; color: var(--color-text-secondary); line-height: 1.6; margin-top: 0.15rem;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .news-grid { grid-template-columns: 1fr; } }

/* ───────────────────────── 16. Lead form ────────────────────────────── */
.lead-form { display: flex; flex-direction: column; gap: 0.75rem; }
.lead-form__title { font-size: var(--text-h3); color: var(--color-primary); margin-bottom: 0.25rem; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.lead-form input, .lead-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--color-border);
  border-radius: var(--radius-input); background: var(--color-bg-white);
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--color-primary); }
.lead-form__status { font-size: 0.9rem; min-height: 1.2em; }
.lead-form__status.is-ok { color: var(--color-success); }
.lead-form__status.is-err { color: var(--color-error); }
@media (max-width: 600px) { .lead-form__row { grid-template-columns: 1fr; } }

/* ────────────────────── 17. Floating contact ─────────────────────────── */
.fab { position: fixed; right: 16px; bottom: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.fab__btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fab__btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.fab__btn--zalo { background: #0068FF; padding: 0; overflow: hidden; }
.fab__btn--zalo:hover { box-shadow: 0 6px 20px rgba(0,104,255,0.45); }
.fab__zalo-img { width: 52px; height: 52px; display: block; border-radius: 50%; object-fit: cover; }
.fab__btn--phone { background: var(--color-accent); animation: fab-pulse 2.2s infinite; }
@keyframes fab-pulse {
  0%   { box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 0 rgba(232,25,44,0.55); }
  70%  { box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 13px rgba(232,25,44,0); }
  100% { box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 0 rgba(232,25,44,0); }
}
@media (prefers-reduced-motion: reduce) { .fab__btn--phone { animation: none; } }

/* ────────────────────────── 18. Footer ──────────────────────────────── */
.footer { background: #767e8a; color: #fff; }
.footer__main { display: grid; grid-template-columns: minmax(300px, 30%) 1fr; }
.footer__brand-panel { background: #1e2832; }
.footer__brand-inner { padding: 3.5rem 2.5rem 3.5rem clamp(1.5rem, 5vw, 4rem); max-width: 460px; }
.footer__brand {
  font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.15; color: #fff; display: block; white-space: nowrap; letter-spacing: 0.02em;
}
.footer__desc { margin-top: 1.1rem; color: rgba(255,255,255,0.7); font-size: 0.92rem; line-height: 1.6; }
.footer__social-label { margin-top: 1.75rem; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 0.9rem; flex-wrap: wrap; }
.footer__soc {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.footer__soc:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px); }
.footer__content {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem 3rem;
  padding: 3.5rem clamp(1.5rem, 5vw, 4rem) 3.5rem 3.5rem;
}
.footer__title { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin-bottom: 1.5rem; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.footer__links a { color: rgba(255,255,255,0.92); font-size: 0.95rem; transition: color 0.15s, padding-left 0.15s; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__contact { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.footer__contact li { color: rgba(255,255,255,0.92); font-size: 0.92rem; line-height: 1.55; }
.footer__contact strong { color: #fff; font-weight: 700; }
.footer__contact a { color: rgba(255,255,255,0.92); transition: color 0.15s; }
.footer__contact a:hover { color: #fff; text-decoration: underline; }
.footer__map {
  margin-top: 1.5rem; width: 100%; height: 190px; border-radius: 8px;
  overflow: hidden; border: 1px solid rgba(255,255,255,0.18);
}
.footer__map iframe { display: block; }
.footer__bottom { background: #161d25; padding-block: 1.1rem; font-size: 0.85rem; color: rgba(255,255,255,0.65); text-align: center; }
@media (max-width: 900px) {
  .footer__main { grid-template-columns: 1fr; }
  .footer__brand-inner { max-width: none; }
  .footer__content { padding: 2.5rem clamp(1.5rem, 5vw, 4rem); }
}
@media (max-width: 560px) { .footer__content { grid-template-columns: 1fr; gap: 2rem; } }

/* ──────────────── 19. Nội dung bài viết (single/page) ─────────────────── */
.entry { padding-block: 2rem 4rem; }
.entry__header { margin-bottom: 1.75rem; }
.entry__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.25; color: var(--color-text-primary); margin-bottom: 0.75rem; }
.entry__meta { font-size: 0.85rem; color: var(--color-text-muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.entry__thumb { margin-bottom: 1.75rem; border-radius: var(--radius-card); overflow: hidden; }
.entry__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }

.entry__content { font-size: 1.03rem; line-height: 1.85; color: #2b2b2b; }
.entry__content > * + * { margin-top: 1.15rem; }
.entry__content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 2.25rem; color: var(--color-primary);
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--color-border);
}
.entry__content h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-top: 1.75rem; color: var(--color-text-primary); }
.entry__content h4 { font-size: 1.08rem; margin-top: 1.5rem; }
.entry__content p { margin-bottom: 0; }
.entry__content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.entry__content a:hover { color: var(--color-accent); }
.entry__content ul, .entry__content ol { padding-left: 1.35rem; }
.entry__content li + li { margin-top: 0.45rem; }
.entry__content img { border-radius: var(--radius-card); margin-inline: auto; }
.entry__content figure { margin-block: 1.5rem; }
.entry__content figcaption { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; margin-top: 0.5rem; }
.entry__content blockquote {
  border-left: 4px solid var(--color-accent); padding: 0.5rem 0 0.5rem 1.25rem;
  color: var(--color-text-secondary); font-style: italic; background: var(--color-bg-light);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}
.entry__content table { width: 100%; border-collapse: collapse; font-size: 0.93rem; display: block; overflow-x: auto; }
.entry__content th, .entry__content td { border: 1px solid var(--color-border); padding: 0.7rem 0.9rem; text-align: left; }
.entry__content th { background: var(--color-primary); color: #fff; font-weight: 700; }
.entry__content tbody tr:nth-child(even) { background: var(--color-bg-light); }

/* Sidebar */
.sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1.5rem; }
.widget { border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 1.25rem; background: #fff; }
.widget--form { background: var(--color-bg-light); }
.widget__title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-primary); margin-bottom: 1rem; }
.widget__list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.widget__item { display: flex; gap: 0.75rem; align-items: flex-start; }
.widget__item img { width: 68px; height: 68px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.widget__item-title {
  font-size: 0.88rem; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.widget__item-title:hover { color: var(--color-accent); }

@media (max-width: 1024px) {
  .entry__layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ───────────────────────── 20. Phân trang ────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 0.75rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-btn);
  font-size: 0.9rem; font-weight: 600; color: var(--color-text-secondary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pagination .page-numbers:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .page-numbers.current { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.pagination .dots { border: none; }

/* ────────────────────── 21. Trang lưu trữ / list ─────────────────────── */
.archive-head { padding-block: 2.5rem 1rem; }
.archive-head__title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--color-text-primary); }
.archive-head__desc { color: var(--color-text-secondary); margin-top: 0.5rem; }

/* Bảng giá */
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-table th, .price-table td { border: 1px solid var(--color-border); padding: 0.85rem 1rem; text-align: left; }
.price-table th { background: var(--color-primary); color: #fff; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.04em; }
.price-table tbody tr:nth-child(even) { background: var(--color-bg-light); }
.price-table td strong { color: var(--color-accent); }
.price-table__wrap { overflow-x: auto; }

/* Lưới xe (mua-xe) */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-grid-gap); }
.car-card {
  border: 1px solid var(--color-border); border-radius: var(--radius-card);
  overflow: hidden; background: #fff; display: flex; flex-direction: column;
  transition: var(--transition-hover);
}
.car-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.car-card__thumb { aspect-ratio: 4 / 3; background: var(--color-bg-light); overflow: hidden; }
.car-card__thumb img { width: 100%; height: 100%; object-fit: contain; }
.car-card__body { padding: var(--space-card-p); display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.car-card__name { font-size: 1.15rem; color: var(--color-primary); }
.car-card__price { color: var(--color-accent); font-weight: 700; }
.car-card__actions { display: flex; gap: 0.5rem; margin-top: auto; padding-top: 0.75rem; }
.car-card__actions .btn { flex: 1; padding: 0.6rem 0.8rem; font-size: 0.8rem; }
@media (max-width: 900px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .car-grid { grid-template-columns: 1fr; } }

/* Lưới đại lý */
.dl-hero { background: var(--color-primary); color: #fff; padding-block: 3rem; text-align: center; }
.dl-hero__badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; background: rgba(255,255,255,0.15); padding: 0.3rem 0.8rem;
  border-radius: 999px; margin-bottom: 0.75rem;
}
.dl-hero__title { font-size: clamp(1.5rem, 3vw, 2.3rem); color: #fff; }
.dl-hero__sub { margin-top: 0.75rem; color: rgba(255,255,255,0.85); font-size: 0.98rem; }
.dl-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-grid-gap); }
.dlcard {
  border: 1px solid var(--color-border); border-radius: var(--radius-card);
  overflow: hidden; background: #fff; display: flex; flex-direction: column;
  transition: var(--transition-hover);
}
.dlcard:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.dlcard__img-wrap { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-bg-light); display: block; }
.dlcard__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.dlcard__badge {
  position: absolute; top: 10px; left: 10px; background: var(--color-accent); color: #fff;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem; border-radius: 999px;
}
.dlcard__body { padding: var(--space-card-p); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.dlcard__name { font-size: 1.1rem; color: var(--color-primary); }
.dlcard__meta { font-size: 0.86rem; color: var(--color-text-secondary); line-height: 1.6; }
.dlcard__actions { display: flex; gap: 0.5rem; margin-top: auto; padding-top: 0.75rem; flex-wrap: wrap; }
.dlcard__actions .btn { flex: 1; padding: 0.55rem 0.7rem; font-size: 0.78rem; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dl-grid { grid-template-columns: 1fr; } }

/* Trang chi tiết đại lý */
.dh-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; padding-block: 2.5rem; }
.dh-hero__photo { width: 100%; border-radius: var(--radius-card); object-fit: cover; }
.dh-info { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.dh-info li { font-size: 0.95rem; line-height: 1.6; }
.dh-info strong { color: var(--color-primary); }
.dh-map { width: 100%; height: 380px; border: 0; border-radius: var(--radius-card); }
.dh-services { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dh-services span {
  background: var(--color-bg-light); border: 1px solid var(--color-border);
  border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.85rem;
}
@media (max-width: 900px) { .dh-hero { grid-template-columns: 1fr; } }

/* Trang liên hệ / lái thử */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.cinfo { display: flex; flex-direction: column; gap: 0.2rem; }
.cinfo__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); }
.cinfo__phone { color: var(--color-accent); font-size: 1.3rem; font-weight: 800; }
.contact-map iframe { width: 100%; height: 300px; border: 0; border-radius: var(--radius-card); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Về chúng tôi */
.intro { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.intro__label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-accent); margin-bottom: 0.5rem; }
.intro__title { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--color-text-primary); margin: 0 0 1.25rem; line-height: 1.2; }
.intro__text p { color: var(--color-text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.intro__stats { display: flex; flex-direction: column; gap: 1.5rem; }
.stat { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.stat__num { font-size: 2.8rem; font-weight: 800; color: var(--color-primary); line-height: 1; }
.stat__unit { font-size: 1rem; font-weight: 600; color: var(--color-accent); }
.stat__label { font-size: 0.78rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.2rem; }
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.reason { border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 1.5rem; background: #fff; }
.reason__icon { font-size: 1.75rem; display: block; margin-bottom: 0.6rem; }
.reason h3 { font-size: 1.1rem; color: var(--color-primary); margin-bottom: 0.4rem; }
.reason p { font-size: 0.9rem; color: var(--color-text-secondary); }
.dealer-photo { margin-block: 2rem; }
.dealer-photo img { width: 100%; border-radius: var(--radius-card); }
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.svc { border-left: 3px solid var(--color-accent); padding-left: 1.1rem; }
.svc h3 { font-size: 1.05rem; color: var(--color-primary); margin-bottom: 0.35rem; }
.svc p { font-size: 0.9rem; color: var(--color-text-secondary); }
.cta-wrap { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro__stats { flex-direction: row; justify-content: space-between; }
  .stat { align-items: flex-start; text-align: left; }
  .reasons, .services-list { grid-template-columns: 1fr; }
}

/* 404 */
.err404 { text-align: center; padding-block: 5rem; }
.err404__code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; color: var(--color-primary); line-height: 1; }
.err404__title { font-size: 1.5rem; margin-block: 0.5rem 1rem; }
.err404__text { color: var(--color-text-secondary); margin-bottom: 2rem; }

/* Search form */
.search-form { display: flex; gap: 0.5rem; }
.search-form input[type="search"] {
  flex: 1; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-input);
}

/* ──────────────── 22. Popup tư vấn nhanh (trang đại lý) ──────────────── */
.dlpop {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.dlpop[hidden] { display: none; }
.dlpop__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); cursor: pointer;
}
.dlpop__card {
  position: relative; z-index: 1;
  background: #fff; border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  max-width: 400px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: dlpop-in 0.3s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes dlpop-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .dlpop__card { animation: none; } }
.dlpop__x {
  position: absolute; top: 0.85rem; right: 0.85rem;
  background: none; border: none; color: #999; font-size: 1.1rem;
  cursor: pointer; padding: 0.3rem 0.5rem; line-height: 1; transition: color 0.15s;
}
.dlpop__x:hover { color: #333; }
.dlpop__title {
  font-size: 1.2rem; font-weight: 800; color: var(--color-primary);
  margin-bottom: 0.6rem; padding-right: 1.5rem; line-height: 1.3;
}
.dlpop__sub { font-size: 0.92rem; color: #555; line-height: 1.6; margin-bottom: 1.25rem; }
.dlpop__form { display: flex; flex-direction: column; gap: 0.75rem; }
.dlpop__input {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid #d0d5e0; border-radius: 8px;
  font-size: 1rem; color: #222; outline: none; transition: border-color 0.2s;
}
.dlpop__input:focus { border-color: var(--color-primary); }
.dlpop__input::placeholder { color: #aaa; }
.dlpop__submit {
  width: 100%; padding: 0.9rem;
  background: var(--color-accent); color: #fff;
  border: none; border-radius: 8px;
  font-size: 1rem; font-weight: 700; cursor: pointer; transition: opacity 0.2s;
}
.dlpop__submit:hover { opacity: 0.88; }
.dlpop__submit:disabled { opacity: 0.6; cursor: default; }
.dlpop__note { font-size: 0.78rem; color: #999; text-align: center; margin: 0; }
.dlpop__success { text-align: center; padding: 1rem 0 0.5rem; }
.dlpop__success p { font-size: 1rem; font-weight: 600; color: var(--color-primary); margin-top: 0.75rem; }
