:root {
  --ink: #161616;
  --muted: #666;
  --paper: #fff;
  --soft: #f5f5f5;
  --soft-2: #ececec;
  --line: #cfcfcf;
  --line-dark: #202020;
  --accent: #df1f2d;
  --accent-dark: #b71824;
  --ok: #26734d;
  --container: 1320px;
  --radius: 10px;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 8px 12px; color: #fff; background: #111; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.demo-bar { display: none; }

/* Shared customer header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line-dark);
}
.header-row { min-height: 76px; display: flex; align-items: center; gap: 38px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.03em; }
.brand-logo { width: 44px; height: 44px; flex: 0 0 auto; object-fit: contain; }
.brand > span:last-child { white-space: nowrap; font-size: 1.08rem; line-height: 1.05; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: .55rem; font-weight: 700; letter-spacing: .08em; }
.main-nav { margin-left: 22px; display: flex; align-items: center; gap: 34px; }
.main-nav a { font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav .header-cta { margin-left: 8px; padding: 10px 18px; color: #fff; background: var(--accent); border-radius: 7px; }
.mobile-nav { display: none; margin-left: auto; }
.mobile-nav summary { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; list-style: none; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-links { position: absolute; top: 100%; right: 16px; left: 16px; padding: 10px; display: grid; background: #fff; border: 1px solid var(--line-dark); border-radius: 8px; box-shadow: var(--shadow); }
.mobile-links a { padding: 10px; font-weight: 700; }

/* Basic controls */
.button { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 7px; font-weight: 800; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button-outline { color: var(--ink); background: #fff; border-color: var(--line-dark); }
.button-outline:hover { color: var(--accent); background: #fff; border-color: var(--accent); }
.button-soft { color: var(--ink); background: var(--soft); border-color: var(--line-dark); }
.button-block { width: 100%; }
.mini-button { min-height: 38px; padding: 7px 13px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-dark); border-radius: 6px; font-size: .82rem; font-weight: 800; }
.mini-button:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.text-link { font-weight: 800; }
.text-link:hover { color: var(--accent); }
.form-control, .search-panel select, .search-panel input {
  width: 100%; min-height: 50px; padding: 0 14px; color: var(--ink); background: #fff; border: 1px solid var(--line-dark); border-radius: 6px; outline: none;
}
.form-control:focus, .search-panel select:focus, .search-panel input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(223,31,45,.1); }
textarea.form-control { min-height: 122px; padding-block: 12px; resize: vertical; }
.field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.notice { padding: 12px 15px; margin-bottom: 20px; background: #fff8e8; border: 1px solid #d9bd7c; border-radius: 7px; font-size: .84rem; }
.eyebrow { color: var(--accent); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumbs { margin-bottom: 14px; color: #333; font-size: .85rem; }
.breadcrumbs span { margin-inline: 7px; color: #999; }
.badge, .status { padding: 5px 10px; display: inline-flex; color: var(--ink); background: var(--soft); border: 1px solid var(--line-dark); border-radius: 999px; font-size: .72rem; font-weight: 800; }

/* Home wireframe */
.hero { color: var(--ink); background: #fff; border-bottom: 1px solid var(--line-dark); }
.hero::before, .hero::after { display: none; }
.hero-inner { min-height: 270px; padding-block: 50px 28px; display: block; }
.hero-copy { max-width: none; text-align: center; }
.hero .eyebrow, .hero-points { display: none; }
.hero h1 { margin: 0 0 6px; font-size: clamp(1.85rem, 3.1vw, 2.55rem); line-height: 1.25; letter-spacing: -.035em; }
.hero h1 br { display: none; }
.hero h1 span { color: inherit; }
.hero-copy > p { margin: 0 auto 24px; color: #333; font-size: 1rem; }
.search-panel { width: min(100%, 910px); margin-inline: auto; padding: 15px; display: grid; grid-template-columns: 1.1fr 1.1fr .55fr auto; gap: 10px; background: #fff; border: 1px solid var(--line-dark); border-radius: 8px; box-shadow: none; }
.search-panel .button { min-width: 112px; }
.section { padding-block: 42px; }
.section-sm { padding-block: 34px; }
.section-muted { background: #fff; }
.section-dark { color: var(--ink); background: #fff; }
.section-head { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-head .eyebrow, .section-head p { display: none; }
.section-head h2, .page-heading h1 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.25; letter-spacing: -.025em; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { min-height: 116px; padding: 18px; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; color: var(--ink); background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: none; }
.category-card::before { content: attr(data-letter); width: 70px; height: 70px; display: grid; place-items: center; position: static; flex: 0 0 auto; color: #999; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; font-size: 2rem; font-weight: 900; }
.category-card::after { display: none; }
.category-card:hover { color: var(--accent); border-color: var(--accent); transform: none; box-shadow: none; }
.category-card strong { font-size: 1rem; }
.category-card span { display: none; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: none; }
.product-card:hover { transform: none; border-color: var(--accent); box-shadow: none; }
.product-image { position: relative; margin: 12px 12px 0; aspect-ratio: 1.7/1; overflow: hidden; background: var(--soft); border-radius: 5px; }
.product-image img { height: 100%; object-fit: cover; }
.product-card:hover .product-image img { transform: none; }
.product-image .badge { position: absolute; top: 8px; left: 8px; color: #fff; background: var(--accent); border-color: var(--accent); }
.product-body { flex: 1; padding: 13px 14px 14px; display: flex; flex-direction: column; }
.product-meta { display: none; }
.product-card h3 { margin: 0 0 4px; font-size: .98rem; line-height: 1.4; }
.product-card p { margin: 0 0 12px; color: var(--muted); font-size: .8rem; }
.product-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-note { display: none; }
.product-actions .mini-button { color: var(--ink); background: #fff; }
.product-actions .mini-button:last-child { color: #fff; background: var(--accent); border-color: var(--accent); }
.feature-strip, .article-grid, .cta-band { display: none; }
.site-footer { display: none; }

/* Page headings and catalog */
.page-hero { padding-block: 34px 12px; color: var(--ink); background: #fff; }
.page-heading { max-width: none; }
.page-heading p { margin: 5px 0 0; color: var(--muted); }
.catalog-layout { display: grid; grid-template-columns: 285px minmax(0,1fr); gap: 28px; align-items: start; }
.filter-panel { padding: 0; position: static; overflow: hidden; background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.filter-panel h2 { margin: 0; padding: 14px 20px; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); }
.filter-group { padding: 16px 20px; border-top: 0; }
.filter-group strong { display: block; margin-bottom: 8px; }
.check-row { margin: 8px 0; display: flex; align-items: center; gap: 9px; font-size: .88rem; }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.filter-panel .button { margin: 0 20px 20px; width: calc(100% - 40px); }
.catalog-topbar { margin-bottom: 16px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.catalog-topbar h2 { margin-right: auto; font-size: 1.1rem; }
.catalog-topbar select { min-height: 44px; padding-inline: 12px; background: #fff; border: 1px solid var(--line-dark); border-radius: 6px; }
.catalog-products { grid-template-columns: repeat(3, 1fr); }
.pagination { margin-top: 24px; display: flex; justify-content: flex-end; gap: 6px; }
.pagination a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 5px; }
.pagination a.active { color: #fff; background: var(--accent); border-color: var(--accent); }

/* Product detail */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.gallery-main { overflow: hidden; background: var(--soft); border: 1px solid var(--line-dark); border-radius: 6px; }
.gallery-main img { min-height: 410px; object-fit: cover; }
.thumb-row { margin-top: 12px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.thumb-row img { aspect-ratio: 1.35/1; object-fit: cover; border: 1px solid var(--line-dark); border-radius: 5px; }
.thumb-row a:first-child img { border: 2px solid var(--accent); }
.product-detail .eyebrow { display: none; }
.product-detail h1 { margin: 0 0 8px; font-size: clamp(1.7rem,3vw,2.25rem); line-height: 1.25; }
.sku { color: #333; }
.quote-box { margin-block: 22px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: var(--soft); border: 1px solid var(--line-dark); border-radius: 8px; }
.quote-box strong { display: block; font-size: 1.25rem; }
.quote-box span { color: #444; font-size: .8rem; }
.quote-box .badge { position: static !important; font-size: .8rem; }
.compatibility { margin-block: 20px; }
.compatibility h2 { margin: 0 0 8px; font-size: 1.05rem; }
.tag-list { display: grid; gap: 7px; max-width: 330px; }
.tag { padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .8rem; }
.spec-list { margin: 20px 0 24px; padding: 0; list-style: none; }
.spec-list li { padding: 9px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.action-row { display: grid; grid-template-columns: 1.3fr .9fr; gap: 12px; }
.content-block { margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.content-block h2 { margin-top: 0; font-size: 1.35rem; }
.content-block .feature-strip { display: none; }

/* Inquiry */
.form-wrap { max-width: 900px; margin-inline: auto; }
.demo-form { padding: 0; background: #fff; border: 0; box-shadow: none; }
.selected-product { margin-bottom: 18px; padding: 14px 18px; display: flex; align-items: center; gap: 18px; background: var(--soft); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.selected-product img { width: 130px; height: 86px; object-fit: cover; border-radius: 5px; }
.selected-product strong { display: block; }
.selected-product span { color: #555; font-size: .84rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-group.full { grid-column: auto; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 800; }
.form-group label span { color: var(--accent); }
.form-note { margin: 9px 0 0; color: var(--muted); font-size: .77rem; text-align: center; }

/* Articles */
.article-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.article-card { overflow: hidden; background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.article-card:first-child { grid-column: 1/-1; display: grid; grid-template-columns: 34% 1fr; }
.article-card img { height: 100%; aspect-ratio: 1.65/1; object-fit: cover; }
.article-content { padding: 18px; }
.article-content time { color: var(--muted); font-size: .76rem; }
.article-content h3 { margin: 5px 0 8px; font-size: 1.05rem; line-height: 1.4; }
.article-card:first-child h3 { font-size: 1.35rem; }
.article-content p { margin: 0; color: var(--muted); font-size: .84rem; }
.article-reader { max-width: 900px; margin-inline: auto; }
.article-reader .eyebrow { display: none; }
.article-reader h1 { margin: 0; font-size: clamp(1.8rem,3.4vw,2.5rem); line-height: 1.25; }
.article-byline { margin-top: 8px; color: #444; font-size: .84rem; }
.article-reader .lead-image { margin: 20px 0 30px; max-height: 390px; object-fit: cover; border: 1px solid var(--line-dark); border-radius: 6px; }
.article-copy { max-width: none; font-size: 1rem; }
.article-copy h2 { margin: 28px 0 8px; font-size: 1.35rem; }
.article-copy p { color: #333; }
.article-callout { margin-block: 22px; padding: 17px; background: var(--soft); border: 1px solid var(--line-dark); border-left: 4px solid var(--accent); border-radius: 0 7px 7px 0; }

/* Login */
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; color: var(--ink); background: #fafafa; }
.login-card { width: min(100%, 470px); padding: 38px 42px; background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: none; }
.login-card .brand { margin: 0 auto 20px; display: flex; justify-content: center; }
.login-card h1 { margin: 0; font-size: 1.65rem; text-align: center; }
.login-card > p { margin: 4px 0 24px; color: #333; text-align: center; }
.login-card .notice { display: none; }
.login-card .form-group { margin-bottom: 15px; }
.login-foot { margin-top: 18px; color: var(--muted); font-size: .75rem; text-align: center; }

/* Admin shared */
.admin-body { min-height: 100vh; overflow-x: hidden; background: #fff; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.admin-sidebar { padding: 24px 14px; color: var(--ink); background: #f1f1f1; border-right: 1px solid var(--line-dark); scrollbar-width: none; }
.admin-sidebar::-webkit-scrollbar { display: none; }
.admin-sidebar .brand { margin: 0 10px 24px; }
.admin-sidebar .brand-logo { width: 38px; height: 38px; }
.admin-sidebar .brand > span:last-child { font-size: .96rem; }
.admin-label { display: none; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a { padding: 9px 12px; border: 1px solid transparent; border-radius: 6px; font-weight: 600; }
.admin-nav a:hover, .admin-nav a.active { color: var(--ink); background: #fff; border-color: var(--line-dark); box-shadow: none; }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 76px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border-bottom: 1px solid var(--line-dark); }
.admin-topbar h1 { margin: 0; font-size: 1.45rem; }
.admin-user { min-width: 170px; padding: 8px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line-dark); border-radius: 999px; font-weight: 700; }
.avatar { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: var(--accent); border-radius: 50%; }
.admin-content { padding: 26px 28px; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat-card { padding: 22px; background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.stat-card span { color: #333; }
.stat-card strong { display: block; margin-top: 8px; font-size: 1.85rem; line-height: 1; }
.stat-card small { display: none; }
.admin-grid { margin-top: 20px; display: grid; grid-template-columns: 1.55fr .85fr; gap: 20px; }
.admin-grid > * { min-width: 0; }
.panel { padding: 22px; background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.panel h2 { margin: 0 0 16px; font-size: 1rem; }
.chart { height: 220px; padding: 18px 10px 0; display: flex; align-items: end; justify-content: space-around; gap: 14px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom,transparent 0,transparent 49px,#eee 50px); }
.bar { width: 44px; height: var(--h); position: relative; background: #e9e9e9; border: 1px solid var(--line-dark); border-radius: 5px 5px 0 0; }
.bar::after { content: attr(data-label); position: absolute; right: 0; bottom: -25px; left: 0; font-size: .7rem; text-align: center; }
.rank-list { display: grid; gap: 15px; }
.rank-item strong { display: flex; justify-content: space-between; font-size: .82rem; }
.progress { height: 8px; margin-top: 6px; overflow: hidden; background: #eee; border: 1px solid var(--line-dark); border-radius: 99px; }
.progress span { height: 100%; display: block; width: var(--w); background: #cfcfcf; border-radius: inherit; }
.table-panel { margin-top: 20px; overflow-x: auto; background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.table-head { padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line-dark); }
.table-head h2 { margin: 0; font-size: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 15px; text-align: left; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .82rem; }
.admin-table th:last-child, .admin-table td:last-child { border-right: 0; }
.admin-table th { background: #f3f3f3; font-weight: 800; }
.admin-toolbar { margin-bottom: 22px; display: grid; grid-template-columns: 1.4fr .9fr .9fr auto; gap: 14px; }
.admin-toolbar.two { grid-template-columns: 1.4fr .9fr auto; }
.admin-toolbar .form-control { min-height: 46px; }
.admin-form { display: grid; grid-template-columns: 1.3fr .75fr; gap: 24px; }
.admin-form-main, .admin-form-side { display: grid; align-content: start; gap: 16px; }
.admin-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form .form-group label { display: block; margin-bottom: 5px; font-weight: 800; }
.car-picker { padding: 14px; border: 1px solid var(--line-dark); border-radius: 7px; }
.car-picker-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chip-list { margin-top: 12px; display: grid; gap: 6px; }
.chip { padding: 5px 11px; display: flex; align-items: center; justify-content: space-between; background: var(--soft); border: 1px solid var(--line-dark); border-radius: 999px; font-size: .78rem; }
.upload-box { min-height: 170px; display: grid; place-items: center; padding: 20px; color: #444; background: #fff; border: 2px dashed var(--line-dark); border-radius: 7px; text-align: center; }
.role-note { margin-top: 20px; padding: 18px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.admin-filter-pills { margin-bottom: 18px; display: grid; grid-template-columns: repeat(3,1fr) minmax(260px,1.6fr); gap: 14px; }
.pill { min-height: 46px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 999px; font-weight: 700; }
.pill.active { background: var(--soft); }

@media (max-width: 1050px) {
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .category-grid, .product-grid { grid-template-columns: repeat(2,1fr); }
  .catalog-products { grid-template-columns: repeat(2,1fr); }
  .article-list { grid-template-columns: repeat(2,1fr); }
  .article-card:first-child { grid-column: 1/-1; }
  .admin-shell { grid-template-columns: 82px 1fr; }
  .admin-sidebar .brand > span:last-child, .admin-nav a span { display: none; }
  .admin-sidebar .brand { margin-inline: 7px; }
  .admin-nav a { text-align: center; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .admin-toolbar { grid-template-columns: 1fr 1fr; }
  .admin-toolbar .button { width: 100%; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-row { min-height: 68px; gap: 12px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand > span:last-child { font-size: .9rem; }
  .brand small { font-size: .46rem; }
  .hero-inner { padding-block: 38px 24px; }
  .hero h1 { font-size: 1.8rem; }
  .hero h1 br { display: block; }
  .search-panel { grid-template-columns: 1fr; }
  .section { padding-block: 32px; }
  .section-head { align-items: flex-start; }
  .section-head .text-link { font-size: .82rem; }
  .category-grid, .product-grid, .catalog-products, .article-list, .detail-layout, .action-row, .admin-grid, .stat-grid, .admin-form, .admin-form .form-row { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .catalog-topbar { align-items: flex-start; flex-direction: column; }
  .catalog-topbar h2 { margin-right: 0; }
  .catalog-topbar select { width: 100%; }
  .gallery-main img { min-height: 260px; }
  .selected-product { align-items: flex-start; }
  .selected-product img { width: 95px; height: 70px; }
  .article-card:first-child { display: block; }
  .article-reader .lead-image { max-height: 280px; }
  .login-card { padding: 28px 22px; }
  .admin-shell { display: block; }
  .admin-sidebar { width: 100%; max-width: 100vw; padding: 10px; display: flex; align-items: center; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .admin-sidebar .brand { margin: 0 12px 0 0; }
  .admin-sidebar .brand-logo { width: 34px; height: 34px; }
  .admin-nav { display: flex; flex: 0 0 auto; }
  .admin-nav a { min-width: 42px; }
  .admin-topbar { min-height: 64px; padding-inline: 16px; }
  .admin-topbar h1 { font-size: 1.15rem; }
  .admin-user { min-width: auto; padding: 6px 10px; }
  .admin-user > span:first-child { display: none; }
  .admin-content { padding: 18px 16px; }
  .panel, .chart, .rank-list { min-width: 0; }
  .chart { gap: 7px; }
  .bar { width: 29px; }
  .admin-table { min-width: 690px; }
  .admin-toolbar, .admin-toolbar.two, .admin-filter-pills, .car-picker-row { grid-template-columns: 1fr; }
  .admin-form { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .brand > span:last-child { font-size: .8rem; }
  .brand small { font-size: .42rem; }
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .thumb-row { gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Presentation upgrade */
body { background: #fbfbfc; }
.utility-bar { color: #fff; background: #151515; font-size: .76rem; }
.utility-bar .container { min-height: 34px; display: flex; align-items: center; gap: 24px; }
.utility-bar .container span:nth-child(2) { color: #bdbdbd; }
.utility-bar a { margin-left: auto; color: #fff; font-weight: 800; }
.site-header { box-shadow: 0 8px 24px rgba(0,0,0,.04); }
.header-row { min-height: 82px; }
.main-nav a { position: relative; }
.main-nav a:not(.header-cta)::after { content: ""; height: 2px; position: absolute; right: 0; bottom: -10px; left: 0; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav .header-cta { box-shadow: 0 10px 24px rgba(223,31,45,.2); }
.button { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(223,31,45,.18); }
.button-outline:hover { box-shadow: 0 10px 20px rgba(0,0,0,.08); }

/* Rich homepage hero */
.hero-rich { overflow: visible; color: #fff; background: radial-gradient(circle at 82% 22%, rgba(223,31,45,.2), transparent 30%), linear-gradient(118deg,#111 0%,#1b1b1b 55%,#292929 100%); border: 0; }
.hero-rich .hero-inner { min-height: 550px; padding-block: 70px 100px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.hero-rich .hero-copy { text-align: left; }
.hero-rich .hero-copy .eyebrow { display: inline-flex; margin-bottom: 18px; }
.hero-rich h1 { max-width: 650px; margin-bottom: 20px; font-size: clamp(2.6rem,4.3vw,4.5rem); line-height: 1.04; }
.hero-rich h1 br { display: block; }
.hero-rich h1 span { color: #fff; }
.hero-rich .hero-copy > p { max-width: 620px; margin: 0 0 28px; color: #c9c9c9; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-rich .button-outline { color: #fff; background: transparent; border-color: #777; }
.hero-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; color: #d6d6d6; font-size: .8rem; }
.hero-showcase { min-width: 0; position: relative; }
.showcase-card { overflow: hidden; padding: 14px; background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.36); transform: rotate(1.5deg); }
.showcase-kicker { padding: 4px 4px 11px; display: block; color: #777; font-size: .66rem; font-weight: 900; letter-spacing: .14em; }
.showcase-card > img { height: 315px; object-fit: cover; border-radius: 11px; }
.showcase-caption { padding: 15px 5px 3px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #111; }
.showcase-caption small, .showcase-caption strong { display: block; }
.showcase-caption small { color: #777; font-size: .7rem; }
.showcase-caption a { padding: 8px 12px; border: 1px solid #222; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.floating-note { min-width: 130px; padding: 12px 16px; position: absolute; color: #111; background: rgba(255,255,255,.96); border: 1px solid #ddd; border-radius: 12px; box-shadow: 0 16px 35px rgba(0,0,0,.2); }
.floating-note b, .floating-note span { display: block; }
.floating-note b { color: var(--accent); font-size: 1.3rem; }
.floating-note span { font-size: .7rem; }
.note-top { top: 42px; right: -35px; }
.note-bottom { bottom: 55px; left: -45px; }
.search-wrap { height: 0; position: relative; z-index: 4; }
.search-elevated { width: 100%; margin: 0; padding: 17px; grid-template-columns: 1.05fr 1fr 1fr .62fr auto; position: absolute; top: -50px; left: 0; background: #fff; border: 0; border-radius: 14px; box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.search-intro { padding-inline: 8px 12px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #ddd; }
.search-intro small { color: var(--accent); font-size: .6rem; font-weight: 900; letter-spacing: .11em; }
.search-intro strong { color: #111; }
.proof-strip { padding: 86px 0 32px; background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.proof-grid > div { padding: 12px 28px; border-right: 1px solid #ddd; }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: 1.65rem; }
.proof-grid span { color: #777; font-size: .78rem; }

/* Rich content sections */
.section { padding-block: 74px; }
.section-head.enhanced { margin-bottom: 30px; align-items: flex-end; }
.section-head.enhanced .eyebrow { display: inline-flex; margin-bottom: 8px; }
.section-head.enhanced h2 { font-size: clamp(1.8rem,2.8vw,2.65rem); }
.section-head.enhanced p { max-width: 650px; margin: 8px 0 0; display: block; color: #696969; }
.category-section { background: #fff; }
.rich-categories { gap: 16px; }
.rich-categories .category-card { min-height: 190px; padding: 24px; position: relative; align-items: flex-start; flex-direction: column; justify-content: space-between; overflow: hidden; background: linear-gradient(145deg,#fff,#f7f7f7); border-color: #dedede; }
.rich-categories .category-card::before { content: attr(data-letter); width: auto; height: auto; position: absolute; top: 12px; right: 16px; color: #d0d0d0; background: transparent; border: 0; font-size: 1rem; }
.rich-categories .category-icon { width: 52px; height: 52px; display: grid !important; place-items: center; color: #fff; background: #171717; border-radius: 13px; font-size: 1.2rem; }
.rich-categories .category-thumb { width: 92px; height: 68px; display: block !important; overflow: hidden; background: #e8e8e8; border: 1px solid #d5d5d5; border-radius: 11px; }
.rich-categories .category-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.rich-categories .category-card:hover .category-thumb img { transform: scale(1.08); }
.rich-categories .category-card > div { display: grid; gap: 6px; }
.rich-categories .category-card strong { font-size: 1.05rem; }
.rich-categories .category-card span:last-child { display: block; color: #777; font-size: .75rem; }
.rich-categories .category-card:hover { color: inherit; background: #fff; border-color: var(--accent); box-shadow: 0 18px 35px rgba(0,0,0,.08); }
.rich-categories .category-card:hover .category-icon { background: var(--accent); }
.product-feature-section { background: #f2f3f5; }
.rich-products .product-card { border-color: #e0e0e0; border-radius: 14px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rich-products .product-card:hover { border-color: transparent; transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.12); }
.rich-products .product-image { margin: 10px 10px 0; aspect-ratio: 1.55/1; border-radius: 9px; }
.rich-products .product-meta { margin-bottom: 7px; display: block; color: var(--accent); font-size: .67rem; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.rich-products .product-body { padding: 18px; }
.rich-products .product-card h3 { min-height: 48px; font-size: 1rem; }
.rich-products .product-card p { min-height: 38px; }
.rich-products .mini-button { border-radius: 8px; }

/* Benefits, vehicle brands, stories and CTA */
.why-section { color: #fff; background: #161616; }
.why-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.why-copy h2 { margin: 9px 0 17px; font-size: clamp(2rem,3.4vw,3.2rem); line-height: 1.1; }
.why-copy p { max-width: 520px; margin: 0 0 26px; color: #aaa; }
.why-copy .button-outline { color: #fff; background: transparent; border-color: #777; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #444; border-left: 1px solid #444; }
.benefit-grid article { min-height: 190px; padding: 26px; display: flex; gap: 18px; border-right: 1px solid #444; border-bottom: 1px solid #444; }
.benefit-grid article > span { color: var(--accent); font-size: .75rem; font-weight: 900; }
.benefit-grid .benefit-icon { width: 44px; height: 44px; margin-bottom: 18px; display: grid; place-items: center; color: #fff; background: var(--accent); border: 1px solid #ed5963; border-radius: 11px; box-shadow: 0 10px 24px rgba(223,31,45,.18); font-size: 1.2rem; font-weight: 900; }
.benefit-grid article:hover .benefit-icon { color: var(--accent); background: #fff; border-color: #fff; }
.benefit-grid h3 { margin: 0 0 8px; font-size: 1.04rem; }
.benefit-grid p { margin: 0; color: #aaa; font-size: .8rem; }
.vehicle-section { padding-block: 64px; text-align: center; background: #fff; border-bottom: 1px solid #e1e1e1; }
.vehicle-section h2 { margin: 6px 0 28px; font-size: 1.65rem; }
.vehicle-marquee { display: grid; grid-template-columns: repeat(7,1fr); align-items: center; border: 1px solid #dedede; border-radius: 12px; }
.vehicle-marquee span { min-height: 72px; padding: 15px 8px; display: grid; place-items: center; color: #555; border-right: 1px solid #dedede; font-size: .75rem; font-weight: 900; letter-spacing: .04em; }
.vehicle-marquee span:last-child { border-right: 0; }
.story-section { background: #fff; }
.story-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; }
.story-card { overflow: hidden; background: #f5f5f5; border: 1px solid #dedede; border-radius: 14px; }
.story-card > a img { height: 210px; object-fit: cover; }
.story-card > div { padding: 20px; }
.story-card > div > span { color: var(--accent); font-size: .65rem; font-weight: 900; letter-spacing: .1em; }
.story-card h3 { margin: 7px 0 0; font-size: 1rem; line-height: 1.4; }
.story-main { grid-row: span 2; display: grid; grid-template-columns: 1.15fr .85fr; }
.story-main > a img { height: 100%; min-height: 440px; }
.story-main > div { padding: 34px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.story-main h3 { margin-block: 10px; font-size: 1.45rem; }
.story-main p { color: #666; font-size: .85rem; }
.story-main .text-link { margin-top: 14px; }
.contact-cta { padding-block: 70px; color: #fff; background: var(--accent); }
.contact-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-cta .eyebrow { color: #fff; opacity: .75; }
.contact-cta h2 { margin: 7px 0; font-size: clamp(1.8rem,3vw,2.7rem); }
.contact-cta p { margin: 0; color: #ffe3e5; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-cta .button { color: #111; background: #fff; border-color: #fff; }
.contact-cta .button-outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.7); }
.new-footer { display: block; color: #ddd; background: #111; }
.footer-main { padding-block: 58px; display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 50px; }
.new-footer .brand { color: #fff; }
.new-footer .brand-logo { width: 50px; height: 50px; }
.footer-about p { max-width: 390px; margin-top: 18px; color: #888; font-size: .82rem; }
.footer-main > div:not(.footer-about) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-main h3 { margin: 0 0 8px; color: #fff; font-size: .9rem; }
.footer-main a, .footer-main span { color: #888; font-size: .78rem; }
.footer-main a:hover { color: #fff; }
.footer-bottom { padding-block: 20px; display: flex; justify-content: space-between; gap: 20px; color: #666; border-top: 1px solid #2b2b2b; font-size: .68rem; letter-spacing: .08em; }

/* More depth across internal pages */
.page-hero { padding-block: 44px 24px; background: linear-gradient(135deg,#f1f2f4,#fff); border-bottom: 1px solid #dedede; }
.page-heading h1 { font-size: clamp(1.8rem,3vw,2.65rem); }
.filter-panel, .gallery-main, .selected-product, .article-card, .login-card, .panel, .stat-card, .table-panel { border-color: #ddd; box-shadow: 0 12px 32px rgba(0,0,0,.055); }
.filter-panel { overflow: visible; }
.filter-panel h2 { color: #fff; background: #181818; border-radius: 9px 9px 0 0; }
.catalog-products .product-card { border-color: #ddd; box-shadow: 0 10px 26px rgba(0,0,0,.05); }
.catalog-products .product-card:hover { border-color: var(--accent); box-shadow: 0 18px 36px rgba(0,0,0,.09); }
.quote-box { background: linear-gradient(135deg,#f3f3f3,#fff); }
.demo-form { padding: 28px; border: 1px solid #ddd; border-radius: 14px; box-shadow: 0 18px 45px rgba(0,0,0,.07); }
.article-card { transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.admin-sidebar { background: linear-gradient(180deg,#f5f5f5,#e9e9e9); }
.admin-topbar { box-shadow: 0 6px 20px rgba(0,0,0,.04); }
.stat-card { border-top: 4px solid #222; }
.stat-card:nth-child(2) { border-top-color: var(--accent); }

@media (max-width: 1180px) {
  .hero-rich .hero-inner { gap: 35px; }
  .note-top { right: -10px; }
  .note-bottom { left: -12px; }
  .search-elevated { grid-template-columns: 1fr 1fr 1fr .7fr; }
  .search-intro { grid-column: 1/-1; padding: 0 0 8px; flex-direction: row; align-items: center; gap: 10px; border-right: 0; }
  .why-layout { gap: 40px; }
}

@media (max-width: 900px) {
  .utility-bar .container span:nth-child(2) { display: none; }
  .hero-rich .hero-inner { min-height: 0; padding-block: 60px 115px; grid-template-columns: 1fr; }
  .hero-rich .hero-copy { max-width: 720px; }
  .hero-showcase { max-width: 650px; }
  .showcase-card > img { height: 300px; }
  .search-elevated { grid-template-columns: 1fr 1fr; }
  .search-intro { grid-column: 1/-1; }
  .search-elevated .button { width: 100%; }
  .proof-strip { padding-top: 170px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); gap: 18px 0; }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .why-layout { grid-template-columns: 1fr; }
  .vehicle-marquee { grid-template-columns: repeat(4,1fr); }
  .vehicle-marquee span:nth-child(4) { border-right: 0; }
  .vehicle-marquee span:nth-child(-n+4) { border-bottom: 1px solid #dedede; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-main { grid-column: 1/-1; grid-row: auto; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 2/4; }
}

@media (max-width: 760px) {
  .utility-bar .container { min-height: 30px; }
  .utility-bar .container span:first-child { font-size: .67rem; }
  .utility-bar a { font-size: .67rem; }
  .header-row { min-height: 70px; }
  .hero-rich .hero-inner { padding-block: 48px 115px; gap: 40px; }
  .hero-rich h1 { font-size: 2.35rem; }
  .hero-showcase { margin-inline: 10px; }
  .showcase-card { transform: none; }
  .showcase-card > img { height: 230px; }
  .floating-note { min-width: 110px; padding: 9px 12px; }
  .note-top { top: 35px; right: -10px; }
  .note-bottom { bottom: 48px; left: -10px; }
  .search-wrap { height: auto; padding-bottom: 0; }
  .search-elevated { grid-template-columns: 1fr; top: -75px; }
  .search-intro { grid-column: auto; }
  .proof-strip { padding-top: 390px; }
  .proof-grid > div { padding: 10px 18px; }
  .proof-grid > div:nth-child(odd) { padding-left: 0; }
  .proof-grid strong { font-size: 1.25rem; }
  .section { padding-block: 54px; }
  .section-head.enhanced { align-items: flex-start; flex-direction: column; }
  .rich-categories, .rich-products { grid-template-columns: 1fr; }
  .rich-categories .category-card { min-height: 155px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: 145px; }
  .vehicle-marquee { grid-template-columns: repeat(2,1fr); }
  .vehicle-marquee span, .vehicle-marquee span:nth-child(4) { border-right: 1px solid #dedede; border-bottom: 1px solid #dedede; }
  .vehicle-marquee span:nth-child(even) { border-right: 0; }
  .vehicle-marquee span:last-child { grid-column: 1/-1; border-right: 0; border-bottom: 0; }
  .story-grid { grid-template-columns: 1fr; }
  .story-main { display: block; }
  .story-main > a img { min-height: 230px; }
  .contact-cta .container { align-items: flex-start; flex-direction: column; }
  .cta-actions { width: 100%; }
  .cta-actions .button { flex: 1; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-about { grid-column: 1/-1; }
  .footer-main > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .demo-form { padding: 18px; }
}

@media (max-width: 420px) {
  .hero-rich h1 { font-size: 2rem; }
  .hero-actions .button { width: 100%; }
  .hero-tags { gap: 9px 14px; }
  .showcase-card > img { height: 195px; }
  .proof-strip { padding-top: 365px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid span { font-size: .68rem; }
  .cta-actions .button { flex: 0 0 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-about, .footer-main > div:last-child { grid-column: auto; }
}

/* CSS-only product slider and floating LINE contact */
.showcase-slider { overflow: hidden; background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.36); transform: rotate(1.5deg); }
.slider-track { display: flex; animation: thaicarSlides 15s ease-in-out infinite; }
.slider-track .showcase-card { flex: 0 0 100%; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.slider-dots { padding: 0 0 13px; display: flex; justify-content: center; gap: 6px; background: #fff; }
.slider-dots span { width: 7px; height: 7px; display: block; background: #c5c5c5; border-radius: 99px; }
.slider-dots span:first-child { width: 22px; background: var(--accent); }
@keyframes thaicarSlides {
  0%, 27% { transform: translateX(0); }
  33%, 60% { transform: translateX(-100%); }
  66%, 93% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}
.line-float { min-width: 132px; padding: 10px 12px 10px 9px; position: fixed; z-index: 90; top: 54%; right: 0; display: flex; align-items: center; gap: 9px; color: #fff; background: #06c755; border: 2px solid #fff; border-right: 0; border-radius: 30px 0 0 30px; box-shadow: 0 12px 30px rgba(0,0,0,.22); transform: translateX(71px); transition: transform .25s ease, box-shadow .25s ease; }
.line-float:hover, .line-float:focus-visible { color: #fff; box-shadow: 0 16px 36px rgba(6,199,85,.32); transform: translateX(0); }
.line-mark { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; color: #06a947; background: #fff; border-radius: 50%; font-size: .65rem; font-weight: 950; letter-spacing: -.03em; }
.line-copy { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.line-copy b { font-size: .78rem; }
.line-copy small { opacity: .85; font-size: .65rem; }
@media (max-width: 760px) {
  .showcase-slider { transform: none; }
  .line-float { min-width: 0; padding: 7px; top: auto; right: 14px; bottom: 16px; border: 2px solid #fff; border-radius: 999px; transform: none; }
  .line-float:hover, .line-float:focus-visible { transform: translateY(-3px); }
  .line-mark { width: 42px; height: 42px; }
  .line-copy { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slider-track { animation: none; }
}

/* Knowledge hub */
.knowledge-hero { padding: 48px 0 0; overflow: hidden; color: #fff; background: radial-gradient(circle at 82% 0,rgba(223,31,45,.25),transparent 28%),linear-gradient(115deg,#111,#242424); }
.knowledge-hero .breadcrumbs { color: #aaa; }
.knowledge-hero .breadcrumbs a { color: #fff; }
.knowledge-title { padding: 32px 0 38px; display: grid; grid-template-columns: 1fr minmax(360px,.62fr); align-items: end; gap: 55px; }
.knowledge-title h1 { margin: 6px 0 12px; font-size: clamp(2.4rem,4.4vw,4.4rem); line-height: 1.05; }
.knowledge-title p { max-width: 720px; margin: 0; color: #bdbdbd; }
.article-search { padding: 8px; display: grid; grid-template-columns: 1fr auto; background: #fff; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.article-search input { min-width: 0; padding: 0 14px; color: #111; background: transparent; border: 0; outline: 0; }
.article-search button { min-height: 46px; padding-inline: 22px; color: #fff; background: var(--accent); border: 0; border-radius: 7px; font-weight: 900; cursor: pointer; }
.topic-chips { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.topic-chips::-webkit-scrollbar { display: none; }
.topic-chips a { min-height: 54px; padding: 0 20px; display: inline-flex; align-items: center; flex: 0 0 auto; color: #aaa; border-bottom: 3px solid transparent; font-size: .82rem; font-weight: 800; }
.topic-chips a:hover, .topic-chips a.active { color: #fff; border-bottom-color: var(--accent); }
.editorial-feature { background: #fff; }
.editorial-label { margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; color: #777; font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.featured-editorial { overflow: hidden; display: grid; grid-template-columns: 1.18fr .82fr; background: #f4f4f4; border: 1px solid #d9d9d9; border-radius: 18px; box-shadow: 0 22px 55px rgba(0,0,0,.09); }
.featured-media { min-height: 470px; position: relative; overflow: hidden; }
.featured-media img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.featured-editorial:hover .featured-media img { transform: scale(1.025); }
.featured-tag, .knowledge-image > span { padding: 7px 11px; position: absolute; top: 15px; left: 15px; color: #fff; background: var(--accent); border-radius: 999px; font-size: .68rem; font-weight: 900; }
.featured-content { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #777; font-size: .7rem; }
.article-meta span + span::before { content: "•"; margin-right: 18px; }
.featured-content h2 { margin: 13px 0; font-size: clamp(1.6rem,2.8vw,2.5rem); line-height: 1.2; }
.featured-content > p { margin: 0; color: #5e5e5e; }
.featured-points { margin: 22px 0 26px; display: grid; gap: 7px; color: #333; font-size: .8rem; }
.knowledge-content { padding-top: 36px; background: #f4f5f7; }
.knowledge-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 32px; align-items: start; }
.feed-heading { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.feed-heading h2 { margin: 5px 0 0; font-size: 2rem; }
.feed-heading label { color: #666; font-size: .76rem; }
.feed-heading select { min-height: 40px; margin-left: 7px; padding-inline: 10px; background: #fff; border: 1px solid #ccc; border-radius: 7px; }
.knowledge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.knowledge-card { overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid #ddd; border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.055); transition: transform .2s ease, box-shadow .2s ease; }
.knowledge-card:hover { transform: translateY(-5px); box-shadow: 0 22px 42px rgba(0,0,0,.1); }
.knowledge-image { aspect-ratio: 1.7/1; position: relative; overflow: hidden; background: #e6e6e6; }
.knowledge-image img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.knowledge-card:hover .knowledge-image img { transform: scale(1.04); }
.knowledge-body { flex: 1; padding: 20px; display: flex; flex-direction: column; }
.knowledge-body h3 { margin: 9px 0; font-size: 1.05rem; line-height: 1.45; }
.knowledge-body p { margin: 0 0 18px; color: #717171; font-size: .8rem; }
.read-more { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: #222; font-size: .78rem; font-weight: 900; }
.read-more span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #bbb; border-radius: 50%; }
.knowledge-card:hover .read-more { color: var(--accent); }
.article-pagination { justify-content: flex-start; }
.article-pagination a:last-child { width: auto; padding-inline: 15px; }
.knowledge-sidebar { position: sticky; top: 110px; display: grid; gap: 22px; }
.popular-panel, .expert-card { padding: 25px; background: #fff; border: 1px solid #d7d7d7; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.055); }
.sidebar-heading { padding-bottom: 15px; border-bottom: 1px solid #ddd; }
.sidebar-heading h2 { margin: 4px 0 0; font-size: 1.25rem; }
.popular-list { margin: 0; padding: 0; list-style: none; }
.popular-list li { padding: 17px 0; display: grid; grid-template-columns: 36px 1fr; gap: 11px; border-bottom: 1px solid #e4e4e4; }
.popular-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.popular-list li > span { color: #ccc; font-size: 1.25rem; font-weight: 900; line-height: 1; }
.popular-list a { display: block; font-size: .83rem; font-weight: 800; line-height: 1.4; }
.popular-list a:hover { color: var(--accent); }
.popular-list small { margin-top: 5px; display: block; color: #888; font-size: .65rem; }
.expert-card { color: #fff; background: linear-gradient(145deg,#1b1b1b,#2b2b2b); border: 0; }
.expert-icon { width: 48px; height: 48px; margin-bottom: 20px; display: grid; place-items: center; color: #fff; background: var(--accent); border-radius: 50%; font-size: 1.25rem; font-weight: 900; }
.expert-card h2 { margin: 7px 0 9px; font-size: 1.35rem; }
.expert-card p { margin: 0 0 20px; color: #aaa; font-size: .8rem; }
.article-newsletter { padding-block: 58px; color: #fff; background: var(--accent); }
.article-newsletter .container { display: grid; grid-template-columns: 1fr minmax(390px,.75fr); align-items: center; gap: 50px; }
.article-newsletter .eyebrow { color: #fff; opacity: .75; }
.article-newsletter h2 { margin: 6px 0; font-size: 2rem; }
.article-newsletter p { margin: 0; color: #ffe2e4; }
.article-newsletter form { padding: 7px; display: grid; grid-template-columns: 1fr auto; background: #fff; border-radius: 10px; }
.article-newsletter input { min-width: 0; padding-inline: 13px; border: 0; outline: 0; }

@media (max-width: 1050px) {
  .knowledge-title { grid-template-columns: 1fr; gap: 25px; }
  .article-search { max-width: 660px; }
  .featured-editorial { grid-template-columns: 1fr; }
  .featured-media { min-height: 380px; }
  .featured-content { padding: 35px; }
  .knowledge-layout { grid-template-columns: 1fr; }
  .knowledge-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .article-newsletter .container { grid-template-columns: 1fr; gap: 25px; }
  .article-newsletter form { max-width: 620px; }
}

@media (max-width: 680px) {
  .knowledge-hero { padding-top: 30px; }
  .knowledge-title { padding-block: 22px 28px; }
  .knowledge-title h1 { font-size: 2.25rem; }
  .article-search { grid-template-columns: 1fr; gap: 7px; }
  .article-search input { min-height: 45px; }
  .topic-chips a { padding-inline: 14px; }
  .featured-media { min-height: 250px; }
  .featured-content { padding: 24px; }
  .featured-content h2 { font-size: 1.55rem; }
  .knowledge-grid, .knowledge-sidebar { grid-template-columns: 1fr; }
  .feed-heading { align-items: flex-start; flex-direction: column; }
  .article-newsletter form { grid-template-columns: 1fr; gap: 7px; }
  .article-newsletter input { min-height: 46px; }
}

/* Full product catalog */
.catalog-hero { padding: 45px 0 105px; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 20%,rgba(223,31,45,.24),transparent 26%),linear-gradient(115deg,#101010,#272727); }
.catalog-hero .breadcrumbs { color: #aaa; }
.catalog-hero .breadcrumbs a { color: #fff; }
.catalog-hero-grid { padding-top: 28px; display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 70px; }
.catalog-hero h1 { margin: 7px 0 18px; font-size: clamp(2.5rem,4.5vw,4.5rem); line-height: 1.04; }
.catalog-hero p { max-width: 620px; margin: 0; color: #bbb; }
.catalog-assurance { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 18px; color: #ddd; font-size: .78rem; }
.catalog-hero-product { min-width: 0; overflow: hidden; position: relative; background: #fff; border: 10px solid #fff; border-radius: 15px; box-shadow: 0 30px 65px rgba(0,0,0,.3); }
.catalog-hero-product img { height: 260px; object-fit: cover; border-radius: 8px; }
.catalog-hero-product > div { padding: 13px 7px 5px; display: flex; align-items: center; gap: 14px; color: #111; }
.catalog-hero-product small { color: var(--accent); font-size: .62rem; font-weight: 900; }
.catalog-hero-product strong { font-size: .9rem; }
.catalog-hero-product a { margin-left: auto; font-size: .72rem; font-weight: 900; }
.car-finder-section { scroll-margin-top: 110px; position: relative; z-index: 5; background: #fff; }
.finder-card { min-height: 150px; padding: 24px 28px; position: relative; top: -58px; display: grid; grid-template-columns: .75fr 1.55fr; align-items: center; gap: 30px; background: #fff; border: 1px solid #ddd; border-radius: 15px; box-shadow: 0 20px 55px rgba(0,0,0,.16); }
.finder-heading { display: flex; align-items: center; gap: 14px; }
.finder-icon { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: var(--accent); border-radius: 13px; font-size: 1.4rem; }
.finder-heading small { color: var(--accent); font-size: .61rem; font-weight: 900; letter-spacing: .1em; }
.finder-heading h2 { margin: 2px 0; font-size: 1.2rem; }
.finder-heading p { margin: 0; color: #777; font-size: .7rem; }
.car-finder-form { display: grid; grid-template-columns: 1fr 1fr .75fr auto; align-items: end; gap: 10px; }
.car-finder-form label { margin-bottom: 5px; display: block; font-size: .7rem; font-weight: 800; }
.car-finder-form select { width: 100%; min-height: 48px; padding-inline: 12px; background: #fff; border: 1px solid #bbb; border-radius: 7px; }
.quick-category-section { padding: 0 0 45px; background: #fff; }
.quick-category-head { margin-bottom: 12px; display: flex; justify-content: space-between; color: #666; font-size: .75rem; font-weight: 800; }
.quick-categories { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.quick-categories a { min-width: 0; padding: 14px; display: flex; align-items: center; gap: 11px; background: #f7f7f7; border: 1px solid #ddd; border-radius: 10px; }
.quick-categories a > span { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; color: #777; background: #fff; border: 1px solid #ddd; border-radius: 8px; }
.quick-categories b, .quick-categories small { display: block; }
.quick-categories b { overflow: hidden; font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
.quick-categories small { color: #888; font-size: .61rem; }
.quick-categories a:hover, .quick-categories a.active { color: #fff; background: #191919; border-color: #191919; }
.quick-categories a:hover small, .quick-categories a.active small { color: #aaa; }
.quick-categories a:hover > span, .quick-categories a.active > span { color: #fff; background: var(--accent); border-color: var(--accent); }
.catalog-main { padding-top: 54px; background: #f3f4f6; }
.product-catalog-shell { display: grid; grid-template-columns: 285px minmax(0,1fr); gap: 30px; align-items: start; }
.filter-sidebar { position: sticky; top: 108px; overflow: hidden; background: #fff; border: 1px solid #d7d7d7; border-radius: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.055); }
.filter-title { padding: 18px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: #191919; }
.filter-title h2 { margin: 0; font-size: 1.05rem; }
.filter-title span { display: block; color: #aaa; font-size: .62rem; }
.filter-title a { color: #fff; font-size: .66rem; text-decoration: underline; }
.catalog-filter-group { margin: 0; padding: 18px; border: 0; border-bottom: 1px solid #e2e2e2; }
.catalog-filter-group legend, .catalog-search-label { margin-bottom: 10px; padding: 0; display: block; font-size: .78rem; font-weight: 900; }
.catalog-filter-group > label:not(.catalog-search-label) { margin: 9px 0; display: flex; align-items: center; gap: 8px; color: #4d4d4d; font-size: .74rem; }
.catalog-filter-group label span { margin-left: auto; color: #999; font-size: .65rem; }
.catalog-filter-group input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--accent); }
.catalog-search-input { padding: 5px 5px 5px 10px; display: grid; grid-template-columns: 1fr 34px; border: 1px solid #bbb; border-radius: 7px; }
.catalog-search-input input { min-width: 0; border: 0; outline: 0; font-size: .72rem; }
.catalog-search-input button { border: 0; border-radius: 5px; cursor: pointer; }
.filter-sidebar form > .button { width: calc(100% - 36px); margin: 18px; }
.filter-help { margin: 0 18px 18px; padding: 15px; color: #fff; background: var(--accent); border-radius: 9px; }
.filter-help strong { font-size: .8rem; }
.filter-help p { margin: 3px 0 9px; color: #ffe1e3; font-size: .68rem; }
.filter-help a { font-size: .68rem; font-weight: 900; }
.results-toolbar { min-height: 70px; margin-bottom: 18px; padding: 12px 15px; display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid #ddd; border-radius: 11px; }
.results-toolbar > div:first-child span { color: #777; font-size: .66rem; }
.results-toolbar h2 { margin: 0; font-size: 1.15rem; }
.active-filters { display: flex; gap: 6px; }
.active-filters span { padding: 5px 9px; color: #444; background: #f2f2f2; border: 1px solid #ccc; border-radius: 999px; font-size: .65rem; }
.active-filters a { margin-left: 5px; font-weight: 900; }
.results-toolbar > label { margin-left: auto; color: #777; font-size: .7rem; }
.results-toolbar select { min-height: 40px; margin-left: 7px; padding-inline: 10px; background: #fff; border: 1px solid #bbb; border-radius: 7px; }
.catalog-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.catalog-product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid #ddd; border-radius: 13px; box-shadow: 0 10px 25px rgba(0,0,0,.05); transition: transform .2s ease, box-shadow .2s ease; }
.catalog-product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 42px rgba(0,0,0,.11); }
.catalog-product-image { margin: 9px 9px 0; aspect-ratio: 1.45/1; position: relative; overflow: hidden; background: #eee; border-radius: 8px; }
.catalog-product-image img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.catalog-product-card:hover .catalog-product-image img { transform: scale(1.035); }
.catalog-badge { padding: 5px 9px; position: absolute; top: 9px; left: 9px; color: #fff; background: var(--accent); border-radius: 999px; font-size: .62rem; font-weight: 900; }
.match-badge { padding: 5px 8px; position: absolute; right: 9px; bottom: 9px; color: #155f38; background: rgba(235,255,244,.94); border: 1px solid #72b993; border-radius: 999px; font-size: .58rem; font-weight: 900; }
.catalog-product-body { flex: 1; padding: 15px; display: flex; flex-direction: column; }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; color: #888; font-size: .59rem; }
.catalog-meta span:first-child { color: var(--accent); font-weight: 900; }
.catalog-product-body h3 { min-height: 48px; margin: 7px 0 12px; font-size: .93rem; line-height: 1.4; }
.compatible-car { padding: 9px 10px; background: #f5f5f5; border-radius: 7px; }
.compatible-car small, .compatible-car strong { display: block; }
.compatible-car small { color: #888; font-size: .56rem; }
.compatible-car strong { overflow: hidden; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.product-spec-chips { margin: 11px 0; display: flex; flex-wrap: wrap; gap: 5px; }
.product-spec-chips span { padding: 4px 7px; color: #666; background: #fff; border: 1px solid #ccc; border-radius: 999px; font-size: .56rem; }
.catalog-card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.catalog-card-actions a { min-height: 38px; display: grid; place-items: center; border: 1px solid #222; border-radius: 7px; font-size: .67rem; font-weight: 900; }
.catalog-card-actions a:last-child { color: #fff; background: var(--accent); border-color: var(--accent); }
.catalog-pagination { justify-content: flex-start; }
.catalog-pagination a:last-child { width: auto; padding-inline: 15px; }
.product-consult { padding-block: 65px; color: #fff; background: linear-gradient(115deg,#171717,#292929); }
.product-consult .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.product-consult h2 { margin: 6px 0; font-size: clamp(1.8rem,3vw,2.7rem); }
.product-consult p { margin: 0; color: #aaa; }

@media (max-width: 1160px) {
  .catalog-hero-grid { gap: 35px; }
  .finder-card { grid-template-columns: 1fr; }
  .car-finder-form { grid-template-columns: 1fr 1fr 1fr auto; }
  .quick-categories { grid-template-columns: repeat(3,1fr); }
  .catalog-card-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 850px) {
  .catalog-hero-grid { grid-template-columns: 1fr; }
  .catalog-hero-product { max-width: 600px; }
  .car-finder-form { grid-template-columns: 1fr 1fr; }
  .car-finder-form .button { width: 100%; }
  .product-catalog-shell { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .filter-sidebar form { display: grid; grid-template-columns: 1fr 1fr; }
  .catalog-filter-group { border-right: 1px solid #e2e2e2; }
  .filter-sidebar form > .button { width: auto; align-self: center; }
  .filter-help { display: none; }
}

@media (max-width: 620px) {
  .catalog-hero { padding-bottom: 85px; }
  .catalog-hero h1 { font-size: 2.35rem; }
  .catalog-hero-product img { height: 210px; }
  .finder-card { top: -45px; padding: 20px; }
  .car-finder-form { grid-template-columns: 1fr; }
  .quick-category-section { margin-top: -15px; }
  .quick-categories { grid-template-columns: 1fr 1fr; }
  .quick-categories a:first-child { grid-column: 1/-1; }
  .filter-sidebar form { grid-template-columns: 1fr; }
  .results-toolbar { align-items: flex-start; flex-direction: column; }
  .active-filters { flex-wrap: wrap; }
  .results-toolbar > label { width: 100%; margin-left: 0; }
  .results-toolbar select { width: 100%; margin: 6px 0 0; }
  .catalog-card-grid { grid-template-columns: 1fr; }
  .product-consult .container { align-items: flex-start; flex-direction: column; }
  .product-consult .button { width: 100%; }
}

/* Contact, map and installation team */
.contact-hero { padding: 46px 0 105px; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 20%,rgba(223,31,45,.22),transparent 28%),linear-gradient(115deg,#111,#292929); }
.contact-hero .breadcrumbs { color: #999; }
.contact-hero .breadcrumbs a { color: #fff; }
.contact-hero-grid { padding-top: 30px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 75px; }
.contact-hero h1 { margin: 7px 0 20px; font-size: clamp(2.6rem,4.5vw,4.6rem); line-height: 1.03; }
.contact-hero p { max-width: 620px; margin: 0; color: #b9b9b9; }
.contact-hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 11px; }
.contact-hero .button-outline { color: #fff; background: transparent; border-color: #777; }
.contact-availability { margin-top: 25px; display: flex; align-items: center; gap: 10px; }
.online-dot { width: 10px; height: 10px; flex: 0 0 auto; background: #39d87a; border-radius: 50%; box-shadow: 0 0 0 5px rgba(57,216,122,.12); }
.contact-availability strong, .contact-availability small { display: block; }
.contact-availability strong { font-size: .76rem; }
.contact-availability small { color: #888; font-size: .65rem; }
.contact-hero-visual { min-width: 0; position: relative; }
.contact-hero-visual img { height: 390px; object-fit: cover; border: 11px solid #fff; border-radius: 17px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.experience-stamp { min-width: 180px; padding: 17px; position: absolute; right: -25px; bottom: -28px; display: flex; align-items: center; gap: 12px; color: #111; background: #fff; border-radius: 13px; box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.experience-stamp strong { color: var(--accent); font-size: 2rem; line-height: 1; }
.experience-stamp span { font-size: .66rem; font-weight: 800; line-height: 1.35; }
.contact-channel-section { position: relative; z-index: 4; background: #fff; }
.contact-channels { position: relative; top: -52px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.contact-channel { min-width: 0; min-height: 112px; padding: 20px; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #ddd; border-radius: 13px; box-shadow: 0 16px 38px rgba(0,0,0,.12); transition: transform .2s ease, box-shadow .2s ease; }
.contact-channel:hover { transform: translateY(-4px); box-shadow: 0 24px 46px rgba(0,0,0,.16); }
.channel-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #1b1b1b; border-radius: 50%; font-size: 1.1rem; font-weight: 900; }
.contact-channel.line .channel-icon { background: #06c755; font-size: .64rem; }
.contact-channel small, .contact-channel strong, .contact-channel div > span { display: block; }
.contact-channel small { color: #888; font-size: .63rem; }
.contact-channel strong { margin: 2px 0; font-size: 1.05rem; }
.contact-channel div > span { color: #777; font-size: .64rem; }
.contact-channel > b { margin-left: auto; font-size: 1.1rem; }
.visit-section { padding-top: 25px; background: #fff; }
.visit-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; }
.map-demo { min-height: 500px; position: relative; overflow: hidden; background: #e8eaed; border: 1px solid #d0d0d0; border-radius: 16px; box-shadow: inset 0 0 60px rgba(0,0,0,.04); }
.map-demo::before, .map-demo::after { content: ""; position: absolute; background: rgba(255,255,255,.7); border: 1px solid #d4d4d4; }
.map-demo::before { width: 160px; height: 110px; top: 38px; left: 38px; }
.map-demo::after { width: 220px; height: 130px; right: 45px; bottom: 55px; }
.map-road { position: absolute; z-index: 1; background: #fff; border: 1px solid #c8c8c8; box-shadow: 0 0 0 7px #f3f3f3; }
.road-a { width: 120%; height: 30px; top: 48%; left: -10%; transform: rotate(-8deg); }
.road-b { width: 28px; height: 120%; top: -10%; left: 58%; transform: rotate(16deg); }
.road-c { width: 55%; height: 18px; right: -5%; top: 26%; transform: rotate(7deg); }
.map-label { position: absolute; z-index: 2; color: #777; background: rgba(255,255,255,.8); border-radius: 4px; font-size: .62rem; }
.label-a { top: 42%; left: 18%; }
.label-b { top: 31%; right: 17%; }
.map-pin { width: 160px; padding: 17px; position: absolute; z-index: 3; top: 45%; left: 55%; color: #fff; background: var(--accent); border: 5px solid #fff; border-radius: 12px; box-shadow: 0 14px 28px rgba(0,0,0,.24); transform: translate(-50%,-50%); text-align: center; }
.map-pin span { display: block; font-size: 1.5rem; }
.map-pin b { font-size: .72rem; line-height: 1.2; }
.map-actions { position: absolute; z-index: 4; right: 18px; bottom: 18px; }
.visit-info { padding: 25px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 16px; }
.visit-logo { padding-bottom: 20px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid #ddd; }
.visit-logo img { width: 50px; height: 50px; object-fit: contain; }
.visit-logo strong, .visit-logo span { display: block; }
.visit-logo strong { font-size: .84rem; }
.visit-logo span { color: #777; font-size: .67rem; }
.visit-detail { padding: 20px 0; display: grid; grid-template-columns: 35px 1fr; gap: 12px; border-bottom: 1px solid #ddd; }
.visit-detail:last-child { border-bottom: 0; }
.visit-detail > span { width: 35px; height: 35px; display: grid; place-items: center; background: #fff; border: 1px solid #ccc; border-radius: 8px; }
.visit-detail small, .visit-detail strong { display: block; }
.visit-detail small { color: var(--accent); font-size: .61rem; font-weight: 900; }
.visit-detail strong { margin: 3px 0; font-size: .78rem; }
.visit-detail p, .visit-detail a { margin: 4px 0 0; color: #777; font-size: .67rem; }
.visit-detail a { color: var(--accent); font-weight: 900; }
.technician-section { color: #fff; background: #171717; }
.technician-intro { max-width: 760px; margin-bottom: 32px; }
.technician-intro h2 { margin: 7px 0 12px; font-size: clamp(2rem,3.6vw,3.2rem); }
.technician-intro p { margin: 0; color: #aaa; }
.technician-grid { display: grid; grid-template-columns: 1.25fr repeat(3,.75fr); gap: 14px; }
.technician-lead, .tech-role-card { min-height: 300px; padding: 25px; position: relative; overflow: hidden; border: 1px solid #444; border-radius: 14px; }
.technician-lead { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 25px; background: linear-gradient(145deg,#252525,#1b1b1b); }
.tech-avatar { width: 145px; height: 190px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; background: linear-gradient(145deg,#333,#222); border: 1px solid #555; border-radius: 12px; }
.tech-avatar span { width: 78px; height: 78px; display: grid; place-items: center; color: #fff; background: var(--accent); border-radius: 50%; font-size: 1.5rem; font-weight: 900; }
.tech-avatar small { color: #777; font-size: .54rem; letter-spacing: .1em; }
.technician-lead h3 { margin: 5px 0 10px; font-size: 1.8rem; }
.technician-lead p { color: #aaa; font-size: .8rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tags span { padding: 5px 8px; border: 1px solid #555; border-radius: 999px; font-size: .59rem; }
.tech-role-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; background: #202020; }
.tech-role-icon { width: 50px; height: 50px; margin-bottom: auto; display: grid; place-items: center; color: #fff; background: var(--accent); border-radius: 11px; }
.tech-role-card h3 { margin: 15px 0 7px; font-size: 1rem; }
.tech-role-card p { margin: 0; color: #999; font-size: .72rem; }
.role-number { position: absolute; top: 18px; right: 18px; color: #444; font-size: 1rem; font-weight: 900; }
.installation-process { padding-block: 70px; background: #fff; }
.process-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); list-style: none; border-top: 1px solid #ccc; border-left: 1px solid #ccc; }
.process-grid li { min-height: 180px; padding: 25px; display: flex; gap: 16px; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; }
.process-grid li > span { color: var(--accent); font-size: .74rem; font-weight: 900; }
.process-grid h3 { margin: 0 0 8px; font-size: 1rem; }
.process-grid p { margin: 0; color: #777; font-size: .75rem; }
.appointment-section { scroll-margin-top: 110px; background: #f1f2f4; }
.appointment-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.appointment-copy { position: sticky; top: 120px; }
.appointment-copy h2 { margin: 7px 0 12px; font-size: clamp(2rem,3.5vw,3.1rem); }
.appointment-copy > p { color: #666; }
.appointment-promise { margin: 26px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.appointment-promise div { padding: 12px; background: #fff; border: 1px solid #ddd; border-radius: 8px; }
.appointment-promise strong, .appointment-promise span { display: block; }
.appointment-promise strong { color: var(--accent); }
.appointment-promise span { color: #666; font-size: .65rem; }
.demo-warning { padding: 13px; display: flex; align-items: center; gap: 10px; color: #6a5319; background: #fff6d9; border: 1px solid #dec57c; border-radius: 8px; }
.demo-warning strong { padding: 4px 7px; background: #dec57c; border-radius: 4px; font-size: .6rem; }
.demo-warning span { font-size: .67rem; }
.appointment-form { padding: 30px; background: #fff; border: 1px solid #d5d5d5; border-radius: 15px; box-shadow: 0 18px 45px rgba(0,0,0,.08); }
.appointment-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.appointment-form .form-row.three { grid-template-columns: 1fr 1fr .65fr; }
.appointment-form .form-group { margin-bottom: 14px; }
.appointment-form label { display: block; margin-bottom: 5px; font-size: .76rem; font-weight: 900; }
.contact-faq { padding-block: 70px; background: #fff; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-grid details { padding: 18px 20px; background: #f7f7f7; border: 1px solid #ddd; border-radius: 10px; }
.faq-grid summary { padding-right: 20px; position: relative; list-style: none; font-size: .83rem; font-weight: 900; cursor: pointer; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: "+"; position: absolute; right: 0; color: var(--accent); font-size: 1.2rem; }
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid p { margin: 12px 0 0; color: #666; font-size: .75rem; }

@media (max-width: 1120px) {
  .contact-hero-grid { gap: 40px; }
  .technician-grid { grid-template-columns: 1fr 1fr; }
  .technician-lead { grid-column: 1/-1; }
  .tech-role-card:last-child { grid-column: 1/-1; min-height: 220px; }
}

@media (max-width: 880px) {
  .contact-hero-grid { grid-template-columns: 1fr; }
  .contact-hero-visual { max-width: 680px; }
  .contact-channels { grid-template-columns: 1fr; }
  .contact-channel { min-height: 95px; }
  .visit-layout { grid-template-columns: 1fr; }
  .map-demo { min-height: 420px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .appointment-layout { grid-template-columns: 1fr; }
  .appointment-copy { position: static; }
}

@media (max-width: 620px) {
  .contact-hero { padding-bottom: 85px; }
  .contact-hero h1 { font-size: 2.35rem; }
  .contact-hero-visual img { height: 280px; }
  .experience-stamp { right: 8px; }
  .contact-channels { top: -42px; }
  .map-demo { min-height: 360px; }
  .map-pin { width: 130px; padding: 12px; }
  .technician-grid { grid-template-columns: 1fr; }
  .technician-lead, .tech-role-card:last-child { grid-column: auto; }
  .technician-lead { grid-template-columns: 1fr; }
  .tech-avatar { width: 100%; height: 160px; }
  .tech-role-card { min-height: 230px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 130px; }
  .appointment-promise { grid-template-columns: 1fr; }
  .appointment-form { padding: 20px; }
  .appointment-form .form-row, .appointment-form .form-row.three { grid-template-columns: 1fr; gap: 0; }
  .faq-grid { grid-template-columns: 1fr; }
}
