@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* 1. Variables and reset */
:root {
  --brand-red: #e30613;
  --brand-red-dark: #b80510;
  --brand-red-soft: #fff0f1;
  --charcoal: #1d1d20;
  --text-primary: #29292d;
  --text-secondary: #68686f;
  --surface: #f7f7f8;
  --surface-dark: #161618;
  --white: #ffffff;
  --border: #e4e4e7;
  --whatsapp: #25d366;
  --shadow-sm: 0 6px 18px rgba(29, 29, 32, 0.05);
  --shadow-md: 0 18px 40px rgba(29, 29, 32, 0.08);
  --radius-card: 12px;
  --radius-button: 10px;
  --container: 1200px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(227, 6, 19, 0.04), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  min-width: 320px;
  overflow-x: hidden;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
input,
select,
textarea {
  border: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.28);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 2. Typography */
h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--charcoal);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(36px, 4.3vw, 52px);
  font-weight: 800;
}

h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
}

h3 {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 700;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

p,
li {
  color: var(--text-secondary);
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  max-width: 68ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-red-soft);
  color: var(--brand-red-dark);
  border: 1px solid rgba(227, 6, 19, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* 3. Layout utilities */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: 60px 0;
}

.section--tight {
  padding: 52px 0;
}

.section--surface {
  background: var(--surface);
}

.stack {
  display: grid;
  gap: 18px;
}

.stack--lg {
  gap: 26px;
}

.split {
  display: grid;
  gap: 28px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.section-heading--center {
  justify-items: center;
  text-align: center;
}

.section-heading--center p {
  max-width: 66ch;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
}

.bullet-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
}

/* 4. Header and navigation */
.contact-strip {
  border-bottom: 1px solid var(--border);
  background: #fbfbfc;
}

.contact-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  min-height: 40px;
  padding-block: 8px;
  font-size: 0.9rem;
}

.contact-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.contact-strip__item strong {
  color: var(--charcoal);
}

.contact-strip__item a,
.contact-strip__link {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-strip__link {
  color: var(--brand-red-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px rgba(29, 29, 32, 0.05);
}

.site-header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
}

.site-brand {
  display: inline-flex;
  align-items: center;
}

.site-brand img {
  width: 184px;
  height: 54px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 0;
}

.primary-nav a,
.mobile-nav__links a {
  position: relative;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.2s ease;
}

.primary-nav a::after,
.mobile-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--brand-red);
  transition: transform 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.mobile-nav__links a:hover,
.mobile-nav__links a[aria-current="page"] {
  color: var(--text-primary);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after,
.mobile-nav__links a:hover::after,
.mobile-nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--charcoal);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__inner {
  padding: 18px 0 24px;
}

.mobile-nav__links {
  display: grid;
  gap: 18px;
}

.mobile-nav__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

/* 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--brand-red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.16);
}

.btn--primary:hover {
  background: var(--brand-red-dark);
}

.btn--secondary {
  background: var(--charcoal);
  color: var(--white);
}

.btn--secondary:hover {
  background: #101012;
}

.btn--outline {
  background: var(--white);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: rgba(227, 6, 19, 0.28);
  color: var(--brand-red-dark);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #20ba59;
}

.btn--block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-red-dark);
  font-weight: 700;
}

.text-link::after {
  content: "\2192";
}

/* 6. Cards */
.card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.card--soft {
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.03), rgba(255, 255, 255, 0.96));
}

.card--dark {
  background: linear-gradient(180deg, #212125 0%, #17171a 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.card--dark h2,
.card--dark h3,
.card--dark h4,
.card--dark p,
.card--dark li {
  color: inherit;
}

.card__media {
  overflow: hidden;
  border-radius: 12px;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 7. Homepage */
.hero {
  padding: 56px 0 72px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: 24px;
}

.hero__copy p {
  max-width: 66ch;
}

.hero__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero__point {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.hero__point strong {
  display: block;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.hero__media {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(29, 29, 32, 0.05), rgba(29, 29, 32, 0.02));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.hero__media img {
  width: 100%;
  height: clamp(260px, 30vw, 390px);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #263449;
}

.hero__media-caption {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.hero__media-caption strong {
  color: var(--charcoal);
}

.category-grid,
.value-grid,
.branch-grid,
.sector-grid,
.summary-grid,
.gallery-grid,
.footer-grid {
  display: grid;
  gap: 20px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
  display: grid;
  gap: 16px;
  padding: 0;
  overflow: hidden;
}

.category-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-card__body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: center;
}

.intro-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card {
  display: grid;
  gap: 14px;
}

.value-card__index {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--brand-red-soft);
  color: var(--brand-red-dark);
  font-weight: 800;
}

.brand-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.brand-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
}

.branch-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.branch-card {
  display: grid;
  gap: 16px;
}

.branch-card address {
  color: var(--text-secondary);
  font-style: normal;
}

.branch-card__meta {
  display: grid;
  gap: 8px;
}

.branch-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-band {
  padding: 32px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.08), rgba(255, 255, 255, 0.92)),
    linear-gradient(180deg, var(--white), var(--white));
  border: 1px solid rgba(227, 6, 19, 0.12);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

/* 8. Inner page heroes */
.page-hero {
  padding: 42px 0 34px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  align-items: start;
}

.page-hero__content {
  display: grid;
  gap: 18px;
}

.page-hero__card {
  display: grid;
  gap: 14px;
}

.page-hero__hint {
  display: none;
}

.quote-mark {
  padding-left: 18px;
  border-left: 3px solid var(--brand-red);
  color: var(--charcoal);
  font-weight: 600;
}

/* 9. Products */
.toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.search-field {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.filter-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-secondary);
  font-weight: 700;
  white-space: nowrap;
}

.filter-chip.is-active,
.filter-chip:hover {
  border-color: rgba(227, 6, 19, 0.24);
  background: var(--brand-red-soft);
  color: var(--brand-red-dark);
}

.results-meta {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: grid;
  gap: 16px;
  padding: 0;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ececef;
}

.product-card__body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lightbox__close,
.lightbox__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
}

.empty-state {
  padding: 22px;
  border: 1px dashed rgba(227, 6, 19, 0.26);
  border-radius: 16px;
  background: var(--brand-red-soft);
  color: var(--brand-red-dark);
}

/* 10. Brands */
.brand-search {
  margin-bottom: 24px;
}

.brand-groups {
  display: grid;
  gap: 22px;
}

.brand-group {
  display: grid;
  gap: 16px;
}

.brand-group__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.brand-group__tile {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
}

/* 11. Gallery */
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  width: 100%;
  padding: 0;
  text-align: left;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  width: 100%;
  height: clamp(190px, 18vw, 260px);
  aspect-ratio: auto;
  object-fit: contain;
  background: #edf0f4;
}

.gallery-card__body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.branch-showcase {
  position: relative;
  overflow: hidden;
}

.branch-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(227, 6, 19, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 248, 0.98));
  pointer-events: none;
}

.branch-showcase .container {
  position: relative;
}

.branch-showcase__grid {
  align-items: stretch;
  gap: 24px;
}

.branch-showcase .branch-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 32, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 48px rgba(29, 29, 32, 0.08);
}

.branch-showcase__media {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #dfe8f4;
}

.branch-showcase__media::after {
  background: linear-gradient(180deg, rgba(12, 24, 40, 0) 56%, rgba(12, 24, 40, 0.2) 100%);
}

.branch-showcase__media img {
  height: clamp(260px, 26vw, 340px);
  object-fit: cover;
  object-position: center;
  background: none;
  transition: transform 260ms ease;
}

.branch-showcase .branch-card__head {
  padding: 18px 22px 10px;
  background: transparent;
  border-bottom: 0;
}

.branch-showcase .branch-card__head span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.08);
  color: var(--brand-red-dark);
  letter-spacing: 0.04em;
}

.branch-showcase .branch-card__head h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.branch-showcase .branch-card__body {
  gap: 16px;
  padding: 0 22px 22px;
}

.branch-showcase .branch-card address {
  font-size: 0.98rem;
  line-height: 1.7;
}

.branch-showcase .branch-card__meta {
  gap: 10px;
}

.branch-showcase .branch-card__meta a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4f6f9;
  color: var(--text-primary);
  font-weight: 600;
}

.branch-showcase .branch-card__actions {
  gap: 12px;
  padding-top: 2px;
}

.branch-showcase .branch-card__actions .btn {
  min-width: 152px;
}

.page-gallery .branch-showcase .branch-card__actions {
  flex-wrap: nowrap;
}

.page-gallery .branch-showcase .branch-card__actions .btn {
  min-width: 0;
  padding-inline: 14px;
  white-space: nowrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(12, 12, 14, 0.82);
  z-index: 1300;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__dialog {
  width: min(980px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 18px;
  border-radius: 18px;
  background: #111214;
  color: rgba(255, 255, 255, 0.88);
}

.lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lightbox__controls {
  display: flex;
  gap: 10px;
}

.lightbox__close,
.lightbox__nav {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.lightbox__figure {
  display: grid;
  gap: 14px;
}

.lightbox__figure img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

/* 12. Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
}

.branch-summary {
  display: grid;
  gap: 18px;
}

.page-contact .branch-card__actions {
  align-items: center;
}

.page-contact .branch-card__actions .btn {
  min-height: 44px;
  height: 44px;
  padding-block: 8px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--charcoal);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-primary);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--brand-red);
}

.field__error {
  min-height: 18px;
  font-size: 0.88rem;
  color: var(--brand-red-dark);
}

.form-success {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(37, 211, 102, 0.24);
  background: rgba(37, 211, 102, 0.08);
  color: #127d3b;
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

/* 13. Footer */
.site-footer {
  margin-top: 72px;
  padding: 56px 0 24px;
  background:
    radial-gradient(circle at top right, rgba(227, 6, 19, 0.12), transparent 22%),
    var(--surface-dark);
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  align-items: start;
  padding-bottom: 28px;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer p,
.site-footer li,
.site-footer address {
  color: inherit;
  font-style: normal;
}

.footer-logo {
  width: 184px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 10px;
  padding: 4px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  max-width: 42px;
  max-height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--brand-red);
}

.footer-social svg {
  display: block;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  max-width: 20px;
  min-height: 20px;
  max-height: 20px;
  flex: 0 0 20px;
}

.footer-links,
.footer-contact {
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.mobile-action-bar {
  display: none;
}

/* 14. Responsive styles */
@media (max-width: 1080px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid,
  .value-grid,
  .product-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-header__bar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .primary-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero__grid,
  .intro-panel,
  .page-hero__grid,
  .contact-layout,
  .cta-band__grid {
    grid-template-columns: 1fr;
  }

  .branch-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

}

/* 16. Second UI refinement and motion */
.site-header,
.site-header__bar,
.site-brand img {
  transition: min-height 220ms ease, height 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
  --header-height: 68px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 26px rgba(29, 29, 32, 0.08);
}

.site-header.is-scrolled .site-brand img {
  width: 174px;
  height: 50px;
}

.hero {
  position: relative;
  padding: 48px 0 58px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(227, 6, 19, 0.08), transparent 30%),
    linear-gradient(rgba(29, 29, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 32, 0.035) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.hero .container {
  position: relative;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.27fr) minmax(320px, 1fr);
  gap: 42px;
}

.hero__copy {
  gap: 20px;
}

.hero__copy .lead {
  max-width: 600px;
}

.hero__media {
  display: grid;
  align-content: start;
  overflow: visible;
  border-radius: 14px;
  box-shadow: none;
}

.hero__slideshow {
  position: relative;
  min-height: clamp(260px, 30vw, 390px);
}

.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 480ms ease, transform 480ms ease;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero__media img {
  width: 100%;
  max-height: none;
  height: clamp(260px, 30vw, 390px);
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  box-shadow: var(--shadow-md);
}

.hero__slide-dots {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(29, 29, 32, 0.46);
  backdrop-filter: blur(8px);
}

.hero__slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: transform 180ms ease, background-color 180ms ease;
}

.hero__slide-dot.is-active {
  background: var(--white);
  transform: scale(1.25);
}

.hero__trust-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(228, 228, 231, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(29, 29, 32, 0.1);
  backdrop-filter: blur(10px);
}

.hero__trust-panel span {
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card,
.product-card,
.branch-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card {
  display: grid;
  gap: 0;
  max-height: 330px;
}

.category-card__image {
  overflow: hidden;
  background: var(--surface);
}

.category-card__image img {
  width: 100%;
  height: 158px;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 300ms ease, filter 220ms ease, opacity 220ms ease;
}

.category-card__body {
  gap: 10px;
  padding: 16px;
}

.category-card h3,
.product-card h3 {
  font-size: 19px;
}

.category-card p,
.product-card p,
.benefit-item p,
.mission-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.category-card p,
.product-card p,
.benefit-item p {
  -webkit-line-clamp: 2;
}

.section-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-red-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-accent::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--brand-red);
}

.intro-panel--editorial,
.about-story {
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 1fr);
  gap: 42px;
}

.intro-panel--editorial img,
.about-story img {
  max-height: 330px;
  border-radius: 12px;
  object-fit: cover;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit-item {
  display: grid;
  gap: 9px;
  padding: 18px 16px;
  border-top: 2px solid rgba(227, 6, 19, 0.2);
  background: transparent;
}

.benefit-item__index,
.value-row > span {
  color: var(--brand-red-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.brand-preview {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.brand-tile {
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 0.92rem;
}

.section-link {
  margin-top: 18px;
}

.branch-card {
  gap: 0;
}

.branch-card__head {
  padding: 15px 18px;
  background: #f1f1f3;
  border-bottom: 1px solid var(--border);
}

.branch-card__head span {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-red-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.branch-card__body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.branch-card__actions .btn {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 0.88rem;
}

.page-hero--compact {
  padding: 34px 0 26px;
}

.product-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.product-page-hero .lead {
  max-width: 720px;
}

.product-page-hero__count {
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 130px;
  color: var(--text-secondary);
}

.product-page-hero__count strong {
  color: var(--brand-red-dark);
  font-size: 2rem;
  line-height: 1;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfbfc;
  box-shadow: none;
}

.search-field {
  min-height: 46px;
  box-shadow: none;
}

.filter-row {
  padding-bottom: 0;
}

.filter-chip {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.86rem;
}

.results-meta {
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-grid.is-updating {
  opacity: 0.45;
  transform: translateY(4px);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
}

.product-card__image {
  display: grid;
  place-items: center;
  height: 148px;
  padding: 12px;
  background: #f4f4f5;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}

.product-card__body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-card__copy {
  display: grid;
  gap: 8px;
}

.product-card .eyebrow {
  padding: 5px 8px;
  font-size: 0.66rem;
}

.product-card .meta-list {
  gap: 6px;
}

.product-card .meta-pill {
  min-height: 26px;
  padding: 5px 8px;
  font-size: 0.76rem;
}

.product-card__count {
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.product-card__footer .btn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.86rem;
}

.empty-state:not([hidden]) {
  animation: emptyIn 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
  background:
    linear-gradient(rgba(29, 29, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 32, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.promise-line {
  width: fit-content;
  padding: 10px 12px;
  border-left: 3px solid var(--brand-red);
  background: var(--brand-red-soft);
  color: var(--brand-red-dark);
  font-weight: 800;
}

.story-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.story-highlights span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.84rem;
  font-weight: 700;
}

.founder-message {
  position: relative;
  max-width: 900px;
  padding: 26px 30px 26px 34px;
  border-left: 4px solid var(--brand-red);
  border-radius: 0 12px 12px 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.founder-message__mark {
  position: absolute;
  right: 24px;
  top: -24px;
  color: rgba(227, 6, 19, 0.08);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
}

.founder-message blockquote {
  position: relative;
  margin: 0;
  max-width: 72ch;
  color: var(--charcoal);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.65;
}

.founder-message footer {
  display: grid;
  gap: 2px;
}

.founder-message footer span {
  color: var(--text-secondary);
}

.mission-card {
  display: grid;
  align-content: start;
  min-height: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.mission-card h2 {
  font-size: 24px;
}

.mission-card p {
  -webkit-line-clamp: 4;
}

.mission-card--dark {
  background: var(--charcoal);
  border-color: rgba(255, 255, 255, 0.08);
}

.mission-card--dark h2,
.mission-card--dark p {
  color: rgba(255, 255, 255, 0.9);
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

.value-row {
  display: grid;
  grid-template-columns: 42px minmax(120px, 0.48fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.value-row:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.value-row:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.branch-summary-list {
  display: grid;
  gap: 10px;
}

.branch-summary-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.6fr) minmax(240px, 1.4fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.branch-summary-row address {
  color: var(--text-secondary);
  font-style: normal;
}

.reveal {
  --reveal-delay: 0ms;
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transition: opacity 580ms cubic-bezier(0.22, 1, 0.36, 1), transform 580ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay);
}

.js .reveal-up {
  transform: translateY(24px);
}

.js .reveal-left {
  transform: translateX(-24px);
}

.js .reveal-right {
  transform: translateX(24px);
}

.js .reveal-scale {
  transform: scale(0.97);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-animate__item,
.hero-animate__media {
  animation: heroUp 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-animate__item:nth-child(1) {
  animation-delay: 60ms;
}

.hero-animate__item:nth-child(2) {
  animation-delay: 130ms;
}

.hero-animate__item:nth-child(3) {
  animation-delay: 200ms;
}

.hero-animate__media {
  animation: heroScale 700ms cubic-bezier(0.22, 1, 0.36, 1) 210ms both;
}

.hero__trust-panel {
  animation: heroUp 640ms cubic-bezier(0.22, 1, 0.36, 1) 390ms both, trustFloat 6s ease-in-out 1.2s infinite;
}

.js img:not(.footer-logo):not(.site-brand img) {
  filter: blur(4px);
  opacity: 0.92;
  transition: filter 220ms ease, opacity 220ms ease, transform 300ms ease;
}

img.is-loaded,
html:not(.js) img {
  filter: none !important;
  opacity: 1;
}

.featured-category img,
.home-product-carousel .category-card__image img {
  filter: none !important;
  opacity: 1;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -70%;
  width: 55%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0;
  pointer-events: none;
}

.btn:active {
  transform: translateY(0);
}

.cta-band {
  background-size: 160% 160%;
  animation: ctaDrift 12s ease-in-out infinite alternate;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(29, 29, 32, 0.08);
  }

  .btn--primary:hover::before,
  .btn--whatsapp:hover::before {
    animation: buttonSweep 520ms ease;
    opacity: 1;
  }

  .category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(29, 29, 32, 0.08);
  }

  .category-card:hover img {
    transform: scale(1.03);
  }

  .product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(227, 6, 19, 0.18);
    box-shadow: 0 10px 24px rgba(29, 29, 32, 0.08);
  }

  .brand-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(227, 6, 19, 0.28);
  }

  .branch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(29, 29, 32, 0.08);
  }

  .branch-card:hover .branch-card__head {
    box-shadow: inset 0 3px 0 var(--brand-red);
  }

  .gallery-card {
    position: relative;
  }

  .gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(22, 22, 24, 0.18);
    transition: opacity 220ms ease;
    pointer-events: none;
  }

  .gallery-card:hover::after {
    opacity: 1;
  }

  .gallery-card:hover img {
    transform: scale(1.04);
  }
}

@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScale {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes trustFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes buttonSweep {
  from {
    left: -70%;
  }
  to {
    left: 125%;
  }
}

@keyframes emptyIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ctaDrift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@media (max-width: 1199px) {
  .category-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-preview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .category-grid,
  .product-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar,
  .product-page-hero,
  .branch-summary-row {
    grid-template-columns: 1fr;
  }

  .product-page-hero__count {
    justify-items: start;
  }

  .hero__trust-panel {
    position: static;
    margin: -24px 14px 0;
  }
}

/* 17. Final product explorer redesign */
.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 0;
  max-height: none;
  border-radius: 14px;
  isolation: isolate;
}

.category-card::after,
.product-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.08);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: -1;
}

.category-card__image img {
  height: 152px;
  object-fit: contain;
  background: #eef1f5;
}

.category-card__body {
  min-height: 142px;
  align-content: start;
}

.category-card__family {
  color: var(--brand-red-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-card h3 {
  position: relative;
  min-height: 44px;
  padding-top: 8px;
}

.category-card h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--brand-red);
}

.category-card__count {
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 650;
}

.text-link::after {
  transition: transform 180ms ease;
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 34px;
  background:
    radial-gradient(circle at 80% 20%, rgba(227, 6, 19, 0.12), transparent 26%),
    linear-gradient(rgba(29, 29, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 32, 0.04) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.product-hero__content {
  display: grid;
  gap: 20px;
}

.product-hero__content .lead {
  max-width: 680px;
}

.product-hero__visual {
  position: relative;
  min-height: 330px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-dark);
  overflow: hidden;
  color: var(--white);
  box-shadow: 0 22px 50px rgba(29, 29, 32, 0.16);
}

.product-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
}

.product-hero__visual img {
  position: relative;
  width: 100%;
  max-height: none;
  height: clamp(220px, 22vw, 300px);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 14px;
  background: #263449;
  opacity: 1;
}

.product-hero__panel {
  position: absolute;
  left: 30px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  box-shadow: var(--shadow-md);
}

.product-hero__panel strong {
  color: var(--brand-red-dark);
  font-size: 2rem;
  line-height: 1;
}

.product-hero__tags {
  position: absolute;
  right: 28px;
  top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
  max-width: 280px;
}

.product-hero__tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
}

.featured-category-section {
  padding: 18px 0;
  background: var(--white);
  border-block: 1px solid var(--border);
}

.featured-category-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.featured-category {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--text-primary);
  text-align: left;
  scroll-snap-align: start;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.featured-category img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.featured-category span {
  display: grid;
  gap: 2px;
}

.featured-category small {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.featured-category.is-active {
  border-color: rgba(227, 6, 19, 0.28);
  background: var(--brand-red-soft);
}

.product-explorer-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.product-explorer-head .lead {
  max-width: 760px;
}

.product-toolbar {
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(228, 228, 231, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.search-wrap {
  position: relative;
}

.search-wrap > span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-weight: 800;
}

.search-wrap .search-field {
  padding-left: 38px;
}

.product-toolbar__meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.clear-filters {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
}

.filter-chip span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.filter-chip.is-active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.product-card {
  position: relative;
  max-height: none;
  border-radius: 14px;
}

.product-card__image {
  position: relative;
  height: auto;
  aspect-ratio: 869 / 1229;
  overflow: hidden;
}

.product-card__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(29, 29, 32, 0.12));
  pointer-events: none;
}

.product-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  max-width: calc(100% - 76px);
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-red-dark);
  font-size: 0.68rem;
  font-weight: 800;
}

.product-card__sequence {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  color: rgba(29, 29, 32, 0.42);
  font-size: 0.92rem;
  font-weight: 800;
}

.product-card__preview {
  display: grid;
  gap: 6px;
  padding-top: 2px;
}

.product-card__preview strong {
  color: var(--charcoal);
  font-size: 0.78rem;
}

.product-card__preview ul {
  display: grid;
  gap: 3px;
  list-style: none;
}

.product-card__preview li {
  position: relative;
  padding-left: 13px;
  font-size: 0.84rem;
  line-height: 1.35;
}

.product-card__preview li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-red);
}

mark {
  padding: 0 2px;
  border-radius: 3px;
  background: var(--brand-red-soft);
  color: var(--brand-red-dark);
}

.product-drawer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  justify-content: end;
  background: rgba(12, 12, 14, 0);
  transition: background-color 300ms ease;
}

.product-drawer.is-open {
  display: flex;
  background: rgba(12, 12, 14, 0.68);
}

.product-drawer.is-closing {
  background: rgba(12, 12, 14, 0);
}

.product-drawer__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(760px, 78vw);
  height: 100dvh;
  background: var(--white);
  border-radius: 18px 0 0 18px;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.18);
}

.product-drawer.is-open .product-drawer__panel {
  transform: translateX(0);
}

.product-drawer.is-closing .product-drawer__panel {
  transform: translateX(100%);
}

.product-drawer__header,
.product-drawer__footer {
  position: sticky;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.product-drawer__header {
  top: 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}

.product-drawer__header h2 {
  margin-top: 7px;
}

.product-drawer__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
}

.product-drawer__close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--charcoal);
  font-size: 1.35rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.product-drawer__body {
  overflow: auto;
  padding: 22px 22px 96px;
}

.product-drawer__summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.product-drawer__image {
  display: grid;
  place-items: center;
  min-height: 0;
  aspect-ratio: 869 / 1229;
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

.product-drawer__image img {
  width: 100%;
  height: 100%;
  max-height: min(52dvh, 460px);
  aspect-ratio: 869 / 1229;
  object-fit: contain;
  padding: 10px;
}

.product-drawer__brands {
  display: grid;
  gap: 8px;
}

.drawer-search {
  margin-bottom: 12px;
}

.drawer-search input {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

.product-drawer__products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.drawer-product-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.drawer-product-row__marker {
  color: var(--brand-red-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.drawer-product-row strong {
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

.drawer-product-row a {
  color: var(--brand-red-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.drawer-empty {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px dashed rgba(227, 6, 19, 0.28);
  border-radius: 12px;
  background: var(--brand-red-soft);
}

.product-drawer__footer {
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

.product-cta-section {
  background: var(--surface-dark);
  color: rgba(255, 255, 255, 0.86);
}

.product-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
}

.product-cta h2,
.product-cta p {
  color: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover,
  .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 6, 19, 0.22);
  }

  .category-card:hover::after,
  .product-card:hover::after {
    opacity: 1;
  }

  .text-link:hover::after {
    transform: translateX(3px);
  }

  .featured-category:hover {
    transform: translateY(-2px);
    border-color: rgba(227, 6, 19, 0.22);
  }

  .product-drawer__close:hover {
    background: var(--brand-red);
    color: var(--white);
  }

  .drawer-product-row:hover {
    border-color: rgba(227, 6, 19, 0.22);
    background: var(--brand-red-soft);
  }
}

@media (max-width: 1279px) {
  .category-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .category-grid,
  .product-grid,
  .product-drawer__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero__grid,
  .product-toolbar,
  .product-cta {
    grid-template-columns: 1fr;
  }

  .product-drawer__summary {
    grid-template-columns: 1fr;
  }
}

/* 18. Carousel and restrained product refinement */
.home-product-carousel {
  --carousel-gap: 18px;
  position: relative;
  display: grid;
  gap: 16px;
  outline: none;
}

.home-product-carousel:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.22);
  outline-offset: 6px;
  border-radius: 18px;
}

.home-product-carousel__viewport {
  overflow: hidden;
  padding: 2px;
}

.home-product-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--carousel-gap) * 3)) / 4);
  gap: var(--carousel-gap);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;
}

.home-product-carousel__track.is-not-animated {
  transition: none;
}

.home-product-carousel .category-card {
  min-width: 0;
  min-height: 310px;
  border: 1px solid #e4e4e7;
  box-shadow: 0 10px 24px rgba(29, 29, 32, 0.07);
}

.home-product-carousel .category-card::after,
.product-card::after {
  display: none;
}

.home-product-carousel .category-card__image {
  display: grid;
  place-items: center;
  height: auto;
  aspect-ratio: 869 / 1229;
  padding: 10px;
  overflow: hidden;
  background: #f4f4f5;
}

.home-product-carousel .category-card__image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  transition: transform 240ms ease;
}

.home-product-carousel .category-card__body {
  min-height: 152px;
  gap: 9px;
  padding: 16px;
}

.home-product-carousel .category-card h3 {
  min-height: 0;
  padding-top: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-product-carousel .category-card h3::before {
  display: none;
}

.home-product-carousel .category-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.company-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.company-intro-card,
.company-intro-media {
  overflow: hidden;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(29, 29, 32, 0.07);
}

.company-intro-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
}

.company-intro-card p {
  font-size: 1rem;
  line-height: 1.65;
}

.company-intro-media {
  position: relative;
  min-height: 310px;
  box-shadow: none;
}

.company-intro-media img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: contain;
  background: #263449;
  transition: transform 240ms ease;
}

.company-intro-media__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: var(--white);
}

.company-intro-media__caption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-intro-media__caption strong {
  font-size: 1.18rem;
  line-height: 1.2;
}

.category-card__button,
.product-card__view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--brand-red);
  background: var(--brand-red);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: 0 8px 16px rgba(227, 6, 19, 0.16);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card__button {
  width: fit-content;
}

.product-card__view-btn {
  min-height: 42px;
}

.category-card__button:focus-visible,
.product-card__view-btn:focus-visible,
.carousel-control:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.26);
  outline-offset: 3px;
}

.home-product-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.carousel-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
  box-shadow: 0 8px 18px rgba(29, 29, 32, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.carousel-control svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-control:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  box-shadow: none;
}

.carousel-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 12px;
}

.carousel-progress__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d4d4d8;
  transition: width 180ms ease, background-color 180ms ease;
}

.carousel-progress__dot.is-active {
  width: 20px;
  background: var(--brand-red);
}

.product-toolbar {
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(29, 29, 32, 0.07);
  backdrop-filter: none;
}

.search-wrap__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 2;
  stroke-linecap: round;
}

.search-wrap > span {
  display: none;
}

.search-wrap .search-field {
  min-height: 48px;
  padding-left: 44px;
  border-radius: 9px;
  box-shadow: none;
}

.search-wrap .search-field:focus {
  border-color: rgba(227, 6, 19, 0.42);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.08);
  outline: none;
}

.filter-chip {
  min-height: 36px;
  padding: 8px 13px;
  color: var(--charcoal);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.filter-chip.is-active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.clear-filters {
  border: 0;
  background: transparent;
  color: var(--brand-red-dark);
  box-shadow: none;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  height: 100%;
  max-height: none;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(29, 29, 32, 0.07);
  overflow: hidden;
}

.product-card__image {
  display: grid;
  place-items: center;
  min-height: 0;
  height: auto;
  aspect-ratio: 869 / 1229;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #f5f5f6);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 869 / 1229;
  object-fit: contain;
  object-position: center;
  transition: transform 240ms ease;
}

.product-card__sequence {
  font-size: 0.82rem;
  color: rgba(29, 29, 32, 0.34);
}

.product-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 18px;
  min-height: 0;
}

.product-card__copy {
  gap: 7px;
}

.product-card h3,
.product-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card h3 {
  -webkit-line-clamp: 2;
}

.product-card p {
  min-height: 46px;
  -webkit-line-clamp: 2;
}

.product-card .meta-list {
  gap: 6px;
}

.product-card .meta-pill:nth-child(n + 3) {
  display: none;
}

.product-card__preview {
  align-self: start;
  gap: 5px;
  min-height: 86px;
}

.product-card__preview ul {
  gap: 4px;
}

.product-card__preview li {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-card__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid #ededf0;
}

.product-card__count {
  line-height: 1.25;
}

.product-drawer__panel {
  width: min(720px, 92vw);
  border-radius: 14px 0 0 14px;
}

.product-drawer__summary {
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
}

.product-drawer__image {
  min-height: 0;
}

.product-drawer__image img {
  max-width: 100%;
  max-height: min(52dvh, 460px);
}

.drawer-product-row {
  min-height: 52px;
}

@media (hover: hover) and (pointer: fine) {
  .home-product-carousel .category-card:hover,
  .product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(227, 6, 19, 0.28);
    box-shadow: 0 16px 34px rgba(29, 29, 32, 0.11);
  }

  .home-product-carousel .category-card:hover img {
    transform: scale(1.035);
  }

  .company-intro-grid:hover .company-intro-media img {
    transform: scale(1.03);
  }

  .product-card:hover img {
    transform: scale(1.012);
  }

  .category-card__button:hover,
  .product-card__view-btn:hover {
    transform: translateY(-1px);
    border-color: var(--brand-red-dark);
    background: var(--brand-red-dark);
    box-shadow: 0 11px 18px rgba(227, 6, 19, 0.22);
  }

  .carousel-control:not(:disabled):hover {
    transform: translateY(-1px);
    border-color: rgba(227, 6, 19, 0.3);
    color: var(--brand-red-dark);
  }
}

@media (max-width: 1279px) {
  .home-product-carousel__track {
    grid-auto-columns: calc((100% - (var(--carousel-gap) * 2)) / 3);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .home-product-carousel__track {
    grid-auto-columns: calc((100% - var(--carousel-gap)) / 2);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-toolbar {
    grid-template-columns: 1fr;
  }

  .company-intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    width: 100%;
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    overflow-x: hidden;
  }

  .site-header,
  main,
  .site-footer {
    overflow-x: clip;
  }

  .container {
    width: 100%;
    padding-inline: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 22px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .form-grid,
  .cta-band__grid {
    grid-template-columns: 1fr;
  }

  h1,
  h2,
  h3,
  p,
  address,
  .lead,
  .eyebrow,
  .meta-pill,
  .filter-chip,
  .contact-strip__item,
  .footer-contact li,
  .footer-contact a,
  .branch-card__meta a,
  .branch-summary-row a,
  .product-drawer__header h2,
  .gallery-card__body strong,
  .gallery-card__body span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(32px, 8vw, 36px);
    line-height: 1.12;
    word-break: break-word;
  }

  h2 {
    font-size: clamp(25px, 6.8vw, 29px);
    line-height: 1.2;
  }

  h3 {
    font-size: clamp(18px, 5vw, 21px);
    line-height: 1.25;
  }

  .lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.65;
  }

  .eyebrow {
    max-width: 100%;
    padding: 7px 10px;
    font-size: 0.68rem;
    white-space: normal;
  }

  img {
    max-width: 100%;
  }

  .btn,
  .category-card__button,
  .product-card__view-btn,
  .menu-toggle,
  .carousel-control,
  .product-drawer__close,
  .lightbox__close,
  .lightbox__nav {
    min-height: 44px;
  }

  .inline-actions,
  .branch-card__actions {
    align-items: stretch;
    gap: 10px 12px;
  }

  .contact-strip__inner {
    min-height: 32px;
    padding-block: 6px;
  }

  .contact-strip__items {
    min-width: 0;
    gap: 6px;
    font-size: 0.84rem;
  }

  .contact-strip__item--desktop,
  .contact-strip__item:not(:first-child) {
    display: none;
  }

  .site-header {
    --header-height: 66px;
    z-index: 1200;
  }

  .site-header > .container {
    position: relative;
  }

  .site-header__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: var(--header-height);
  }

  .site-header__bar > * {
    min-width: 0;
  }

  .site-brand {
    min-width: 0;
  }

  .site-brand img {
    width: 158px;
    height: 46px;
  }

  .menu-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100dvh - var(--header-height));
    overflow: auto;
    box-shadow: 0 16px 30px rgba(29, 29, 32, 0.12);
  }

  .mobile-nav__inner {
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .mobile-nav__links {
    gap: 8px;
  }

  .mobile-nav__links a {
    display: block;
    padding: 12px 0;
  }

  .mobile-nav__links a::after {
    bottom: 4px;
  }

  .mobile-nav__actions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .mobile-nav__actions .btn {
    width: 100%;
  }

  .mobile-action-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 1050;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(22, 22, 24, 0.96);
    backdrop-filter: blur(10px);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 58px;
    padding: 10px 6px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
  }

  .mobile-action-bar a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-action-bar .is-whatsapp {
    color: #6af09d;
  }

  .mobile-action-bar .is-quote {
    color: #ffd3d7;
  }

  /* Mobile homepage */
  .page-home .hero {
    padding: 30px 0 38px;
  }

  .page-home .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .page-home .hero__copy {
    min-width: 0;
    gap: 18px;
  }

  .page-home .hero__copy .lead {
    max-width: 56ch;
  }

  .page-home .hero__copy .inline-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    width: 100%;
  }

  .page-home .hero__copy .inline-actions .btn {
    width: 100%;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
  }

  .page-home .hero__media {
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 12px;
    background: none;
    box-shadow: none;
  }

  .page-home .hero__media img {
    width: 100%;
    height: clamp(205px, 52vw, 240px);
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    object-fit: contain;
    object-position: center;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    box-shadow: var(--shadow-sm);
  }

  .page-home .hero__slideshow {
    min-height: clamp(205px, 52vw, 240px);
  }

  .page-home .hero__slide-dots {
    left: 12px;
    bottom: 12px;
  }

  .page-home .hero__trust-panel {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 12px 0 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    box-shadow: none;
    backdrop-filter: none;
  }

  .page-home .hero__trust-panel span {
    font-size: 0.8rem;
    text-align: left;
  }

  .page-home .home-product-carousel__viewport {
    overflow: visible;
    padding: 2px 0;
  }

  .page-home .home-product-carousel__track {
    grid-auto-columns: 90%;
  }

  .page-home .home-product-carousel__controls {
    justify-content: center;
  }

  .page-home .home-product-carousel .category-card {
    min-height: 0;
  }

  .page-home .home-product-carousel .category-card__image {
    height: auto;
    aspect-ratio: 869 / 1229;
    padding: 8px;
  }

  .page-home .home-product-carousel .category-card__image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .page-home .home-product-carousel .category-card__body {
    min-height: 0;
    padding: 14px;
  }

  .page-home .home-product-carousel .category-card h3 {
    font-size: 18px;
  }

  .page-home .home-product-carousel .category-card p {
    min-height: 0;
  }

  .page-home .home-product-carousel .category-card__button {
    width: 100%;
  }

  .page-home .company-intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-home .company-intro-card {
    min-width: 0;
    gap: 16px;
    padding: 18px;
  }

  .page-home .company-intro-media,
  .page-home .company-intro-media img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .page-home .company-intro-media img {
    object-fit: cover;
    object-position: center;
    background: none;
  }

  .page-home .company-intro-media__caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .page-home .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home .benefit-item {
    min-height: 0;
    gap: 8px;
    padding: 16px 14px;
  }

  .page-home .benefit-item p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .page-home .brand-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-home .brand-tile {
    min-height: 48px;
    padding: 10px;
    font-size: 0.86rem;
  }

  .page-home .branch-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-home .branch-card__head {
    padding: 14px 16px;
  }

  .page-home .branch-card__body {
    gap: 12px;
    padding: 16px;
  }

  .page-home .branch-card__actions {
    flex-wrap: wrap;
  }

  .page-home .branch-card__actions .btn {
    flex: 1 1 150px;
    min-width: 0;
  }

  /* Mobile about page */
  .page-about .about-hero {
    padding: 30px 0 34px;
  }

  .page-about .page-hero__content {
    min-width: 0;
    gap: 16px;
  }

  .page-about .promise-line {
    max-width: 100%;
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .page-about .about-story {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about .about-story .stack--lg {
    gap: 20px;
  }

  .page-about .about-story img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: none;
    border-radius: 12px;
    object-fit: contain;
    background: #263449;
  }

  .page-about .story-highlights {
    gap: 8px;
  }

  .page-about .founder-message {
    padding: 20px 18px;
  }

  .page-about .founder-message__mark {
    top: 12px;
    right: 16px;
    font-size: 3.4rem;
  }

  .page-about .founder-message blockquote {
    padding-right: 24px;
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .page-about .mission-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-about .mission-card {
    padding: 20px;
  }

  .page-about .mission-card h2 {
    font-size: 23px;
  }

  .page-about .mission-card p {
    overflow: visible;
    font-size: 15px;
    -webkit-line-clamp: unset;
  }

  .page-about .values-list {
    grid-template-columns: 1fr;
  }

  .page-about .value-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .page-about .value-row:nth-child(odd) {
    border-right: 0;
  }

  .page-about .value-row:nth-last-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .page-about .value-row p {
    grid-column: 2;
  }

  .page-about .branch-summary-list {
    gap: 12px;
  }

  .page-about .branch-summary-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
  }

  .page-about .cta-band {
    padding: 24px 18px;
  }

  .page-about .cta-band__grid {
    gap: 16px;
  }

  .page-about .cta-band .btn {
    width: 100%;
  }

  /* Mobile products page */
  .page-products .product-hero {
    padding: 30px 0 34px;
  }

  .page-products .product-hero__grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
    overflow: hidden;
  }

  .page-products .product-hero__content {
    min-width: 0;
    max-width: 100%;
    gap: 18px;
  }

  .page-products .product-hero__content h1,
  .page-products .product-hero__content .lead {
    width: 100%;
    max-width: min(100%, calc(100vw - 40px));
  }

  .page-products .product-hero__content h1 {
    font-size: clamp(28px, 7.2vw, 32px);
    overflow-wrap: anywhere;
  }

  .page-products .product-hero__content .inline-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    width: 100%;
  }

  .page-products .product-hero__content .inline-actions .btn {
    width: 100%;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
  }

  .page-products .product-hero__visual {
    width: 100%;
    max-width: calc(100vw - 32px);
    min-width: 0;
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 14px;
    border-radius: 14px;
  }

  .page-products .product-hero__visual img {
    height: clamp(205px, 52vw, 240px);
    aspect-ratio: 16 / 10;
    max-height: none;
    object-fit: contain;
  }

  .page-products .product-hero__panel {
    position: static;
    width: fit-content;
    max-width: 100%;
    padding: 10px 12px;
    box-shadow: none;
  }

  .page-products .product-hero__panel strong {
    font-size: 1.6rem;
  }

  .page-products .product-hero__tags {
    position: static;
    max-width: none;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .page-products .product-hero__tags span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .page-products .featured-category-section {
    padding: 14px 0;
  }

  .page-products .featured-category-strip {
    grid-auto-columns: minmax(210px, 78%);
    padding-right: 16px;
    padding-bottom: 4px;
  }

  .page-products .product-toolbar {
    min-width: 0;
    position: static;
    top: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 14px;
    box-shadow: none;
  }

  .page-products .search-wrap .search-field {
    min-height: 48px;
  }

.page-products .filter-row {
  gap: 10px;
  flex-wrap: nowrap;
  padding: 0 12px 8px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-products .filter-row::-webkit-scrollbar {
  display: none;
}

  .page-products .filter-chip {
    min-height: 40px;
  }

  .page-products .featured-category img,
  .page-products .product-card__image img {
    object-fit: contain;
    background: #eef1f5;
  }

  .page-products .product-toolbar__meta {
    flex-wrap: wrap;
  }

  .page-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .page-products .product-card {
    min-width: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: auto;
  }

  .page-products .product-card__image {
    height: auto;
    min-height: 0;
    aspect-ratio: 869 / 1229;
    padding: 8px;
  }

  .page-products .product-card__image::after {
    display: none;
  }

  .page-products .product-card__badge {
    max-width: calc(100% - 24px);
    font-size: 0.64rem;
  }

  .page-products .product-card__sequence {
    display: none;
  }

  .page-products .product-card__body {
    grid-template-rows: auto auto auto auto;
    gap: 10px;
    padding: 14px;
  }

  .page-products .product-card p {
    min-height: 0;
    -webkit-line-clamp: 2;
  }

  .page-products .product-card__preview {
    min-height: 0;
    gap: 4px;
  }

  .page-products .product-card__preview strong {
    font-size: 0.76rem;
  }

  .page-products .product-card__preview li:nth-child(n + 3) {
    display: none;
  }

  .page-products .product-card__footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 10px;
  }

  .page-products .product-card__view-btn {
    width: 100%;
  }

  .page-products .product-drawer {
    align-items: stretch;
    justify-content: stretch;
  }

  .page-products .product-drawer__panel {
    --drawer-footer-clearance: calc(146px + env(safe-area-inset-bottom));
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    grid-template-rows: auto minmax(0, 1fr);
    border-radius: 0;
    transform: translateY(100%);
    overflow: hidden;
  }

  .page-products .product-drawer.is-open .product-drawer__panel {
    transform: translateY(0);
  }

  .page-products .product-drawer.is-closing .product-drawer__panel {
    transform: translateY(100%);
  }

  .page-products .product-drawer__header {
    position: relative;
    gap: 12px;
    padding: 12px 14px;
  }

  .page-products .product-drawer__header > div:first-child {
    min-width: 0;
  }

  .page-products .product-drawer__header h2 {
    margin-top: 4px;
    font-size: clamp(20px, 5.7vw, 25px);
    line-height: 1.15;
  }

  .page-products .product-drawer__header-actions {
    flex-shrink: 0;
    align-items: flex-end;
    flex-direction: column;
  }

  .page-products .product-drawer__close {
    width: 44px;
    height: 44px;
  }

  .page-products .product-drawer__body {
    overflow: auto;
    padding: 14px 14px var(--drawer-footer-clearance);
    scroll-padding-bottom: var(--drawer-footer-clearance);
  }

  .page-products .product-drawer__summary {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px;
  }

  .page-products .product-drawer__image {
    width: min(100%, 220px);
    min-height: 0;
    justify-self: center;
    aspect-ratio: 869 / 1229;
  }

  .page-products .product-drawer__image img {
    max-width: 100%;
    max-height: min(36dvh, 300px);
    padding: 6px;
  }

  .page-products .product-drawer__summary .inline-actions .btn {
    width: 100%;
  }

  .page-products .drawer-search {
    margin-bottom: 12px;
  }

  .page-products .drawer-search input {
    min-height: 46px;
  }

  .page-products .product-drawer__products {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-products .drawer-product-row {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 12px;
  }

  .page-products .drawer-product-row__marker {
    display: none;
  }

  .page-products .drawer-product-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    white-space: nowrap;
  }

  .page-products .product-drawer__footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .page-products .product-cta {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  /* Mobile gallery */
  .page-gallery .page-hero {
    padding: 30px 0;
  }

  .page-gallery .page-hero__grid {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-gallery .page-hero__content {
    min-width: 0;
    gap: 14px;
  }

  .page-gallery .page-hero__card {
    display: none;
  }

  .page-gallery .page-hero__hint {
    display: block;
    color: var(--text-secondary);
    font-size: 0.92rem;
  }

  .page-gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-gallery .gallery-card {
    min-width: 0;
    border-radius: 12px;
  }

  .page-gallery .gallery-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .page-gallery .gallery-card__body {
    gap: 6px;
    padding: 12px;
  }

  .page-gallery .gallery-card__body strong,
  .page-gallery .gallery-card__body span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }

  .page-gallery .gallery-card__body strong {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
  }

  .page-gallery .gallery-card__body span {
    font-size: 0.82rem;
    -webkit-line-clamp: 1;
  }

  .page-gallery .branch-showcase {
    padding: 34px 0;
  }

  .page-gallery .branch-showcase__grid {
    gap: 16px;
  }

  .page-gallery .branch-showcase .branch-card {
    border-radius: 18px;
  }

  .page-gallery .branch-showcase__media {
    border-radius: 0;
  }

  .page-gallery .branch-showcase__media img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .page-gallery .branch-showcase .branch-card__head {
    padding: 14px 16px 8px;
  }

  .page-gallery .branch-showcase .branch-card__head span {
    margin-bottom: 8px;
    padding: 6px 9px;
    font-size: 0.7rem;
  }

  .page-gallery .branch-showcase .branch-card__head h3 {
    font-size: 1.15rem;
  }

  .page-gallery .branch-showcase .branch-card__body {
    gap: 12px;
    padding: 0 16px 16px;
  }

  .page-gallery .branch-showcase .branch-card address {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .page-gallery .branch-showcase .branch-card__meta {
    gap: 8px;
  }

  .page-gallery .branch-showcase .branch-card__meta a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.84rem;
  }

  .page-gallery .branch-showcase .branch-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .page-gallery .branch-showcase .branch-card__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .page-gallery .lightbox {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }

  .page-gallery .lightbox__dialog {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .page-gallery .lightbox__toolbar {
    position: sticky;
    top: 0;
    z-index: 1;
    align-items: start;
    gap: 10px;
    margin-bottom: 0;
    padding: 16px;
    background: rgba(17, 18, 20, 0.96);
  }

  .page-gallery .lightbox__toolbar .stack {
    min-width: 0;
    gap: 4px;
  }

  .page-gallery .lightbox__controls {
    flex-shrink: 0;
  }

  .page-gallery .lightbox__close,
  .page-gallery .lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .page-gallery .lightbox__figure {
    min-height: 0;
    place-items: center;
    padding: 16px;
  }

  .page-gallery .lightbox__figure img {
    max-width: 100%;
    max-height: calc(100dvh - 120px - env(safe-area-inset-bottom));
    border-radius: 10px;
  }

  /* Mobile footer */
  .site-footer {
    margin-top: 56px;
    padding: 42px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-logo {
    width: 150px;
    max-width: 42vw;
    height: auto;
    padding: 3px;
    border-radius: 8px;
  }

  .footer-social a {
    width: 42px !important;
    min-width: 42px;
    max-width: 42px;
    height: 42px !important;
    min-height: 42px;
    max-height: 42px;
    flex: 0 0 42px;
  }

  .footer-social svg {
    display: block;
    width: 20px !important;
    min-width: 20px;
    max-width: 20px;
    height: 20px !important;
    min-height: 20px;
    max-height: 20px;
    flex: 0 0 20px;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }
}

@media (max-width: 599px) {
  .page-home .hero__copy .inline-actions .btn,
  .page-home .branch-card__actions .btn,
  .page-products .product-hero__content .inline-actions .btn,
  .page-products .product-cta .inline-actions .btn {
    width: 100%;
    flex-basis: 100%;
  }

  .page-home .home-product-carousel__track {
    grid-auto-columns: 92%;
  }

  .page-home .benefit-grid {
    grid-template-columns: 1fr;
  }

  .page-products .featured-category-strip {
    grid-auto-columns: minmax(220px, 88%);
  }

  .page-products .product-toolbar__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-products .product-grid {
    grid-template-columns: 1fr;
  }

  .page-products .product-card__image {
    height: auto;
    min-height: 0;
    aspect-ratio: 869 / 1229;
  }

  .page-gallery .lightbox__toolbar {
    padding: 14px 12px;
  }

  .page-gallery .lightbox__figure {
    padding: 12px;
  }

  .page-gallery .lightbox__figure img {
    max-height: calc(100dvh - 108px - env(safe-area-inset-bottom));
  }

  .mobile-action-bar a {
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .page-home .hero__copy .inline-actions,
  .page-home .company-intro-card .inline-actions,
  .page-home .branch-card__actions,
  .page-products .product-hero__content .inline-actions,
  .page-products .product-cta .inline-actions {
    flex-direction: column;
  }

  .page-home .branch-card__actions .btn {
    flex: 0 0 auto;
    width: 100%;
  }

  .page-home .company-intro-card .category-card__button {
    width: 100%;
  }

  .page-gallery .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-gallery .branch-showcase .branch-card__actions {
    grid-template-columns: 1fr;
  }

  .page-gallery .page-hero__hint,
  .page-gallery [data-lightbox-caption] {
    font-size: 0.86rem;
  }

  .page-gallery [data-lightbox-caption] {
    display: none;
  }

  .page-products .drawer-product-row {
    grid-template-columns: 1fr;
  }

  .page-products .drawer-product-row a {
    width: 100%;
    justify-content: center;
  }

  .page-products .product-drawer__header-actions {
    width: auto;
    flex-direction: column;
    justify-content: flex-start;
  }

  .page-about .founder-message {
    padding: 18px 16px;
  }

  .page-about .founder-message__mark {
    font-size: 3rem;
  }

  .mobile-action-bar a {
    padding-inline: 4px;
  }
}

.page-home .brand-preview {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.page-home .brand-tile {
  display: grid;
  gap: 4px;
  justify-items: start;
  align-content: center;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  text-align: left;
}

.page-home .brand-tile strong {
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.3;
}

.page-home .brand-tile span {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.35;
}

.page-brands .page-hero--brands {
  position: relative;
  padding: 30px 0 18px;
}

.page-brands .page-hero--brands::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(227, 6, 19, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 247, 248, 0.55));
  pointer-events: none;
}

.brand-hero {
  position: relative;
  gap: 22px;
  max-width: 920px;
  padding: 28px 30px;
  border: 1px solid rgba(227, 6, 19, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 48px rgba(29, 29, 32, 0.06);
  backdrop-filter: blur(10px);
}

.brand-hero__copy {
  display: grid;
  gap: 14px;
}

.brand-hero__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(29, 29, 32, 0.08);
}

.brand-hero__meta p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.brand-toolbar {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid rgba(29, 29, 32, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(29, 29, 32, 0.05);
}

.brand-toolbar__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.brand-toolbar__search .search-field {
  min-height: 48px;
  border-radius: 14px;
  box-shadow: none;
}

.brand-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.brand-results-meta {
  margin: 0;
}

.brand-clear {
  min-height: 44px;
}

.brand-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.brand-filter {
  min-height: 44px;
  border-radius: 999px;
}

.brand-groups {
  gap: 32px;
}

.brand-group {
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(29, 29, 32, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 252, 252, 0.9));
  box-shadow: 0 18px 36px rgba(29, 29, 32, 0.04);
}

.brand-group--filtered {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-group__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(29, 29, 32, 0.08);
}

.brand-group__heading h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.brand-group__heading p {
  margin-top: 6px;
  font-size: 0.92rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.brand-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-width: 0;
  min-height: 198px;
  padding: 18px;
  border: 1px solid rgba(29, 29, 32, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
  box-shadow: 0 10px 24px rgba(29, 29, 32, 0.04);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease;
}

.brand-card__frame {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.08), transparent 32%);
  pointer-events: none;
}

.brand-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff6f7, #ffe7ea);
  color: var(--brand-red-dark);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  border: 1px solid rgba(227, 6, 19, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(29, 29, 32, 0.04);
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.brand-card__body {
  display: grid;
  gap: 8px;
}

.brand-card h3 {
  font-size: 1.05rem;
  line-height: 1.32;
  overflow-wrap: anywhere;
  position: relative;
  z-index: 1;
}

.brand-card__body p {
  font-size: 0.88rem;
  line-height: 1.45;
}

.brand-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid rgba(29, 29, 32, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-primary);
  font-weight: 700;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.brand-empty-state {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 28px;
  border-style: solid;
  border-color: rgba(227, 6, 19, 0.16);
  background: linear-gradient(180deg, #fff7f8, #fff1f3);
}

.brand-disclaimer {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid rgba(227, 6, 19, 0.24);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0 14px 14px 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

@media (hover: hover) and (pointer: fine) {
  .brand-card:hover {
    transform: translateY(-3px);
    border-color: rgba(227, 6, 19, 0.16);
    box-shadow: 0 20px 34px rgba(29, 29, 32, 0.08);
  }

  .brand-card:hover .brand-card__action {
    border-color: rgba(227, 6, 19, 0.18);
    background: rgba(255, 240, 241, 0.9);
    color: var(--brand-red-dark);
  }
}

@media (max-width: 1279px) {
  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .brand-preview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .brand-hero {
    padding: 22px 20px;
    border-radius: 18px;
  }

  .brand-hero__meta {
    grid-template-columns: 1fr;
  }

  .brand-toolbar__top {
    grid-template-columns: 1fr;
  }

  .brand-toolbar__actions {
    justify-content: flex-start;
  }

  .page-brands .search-field {
    min-height: 48px;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-card {
    min-height: 184px;
  }

  .page-home .brand-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 429px) {
  .brand-group {
    padding: 18px;
    border-radius: 18px;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: 0;
  }
}

/* 15. Reduced-motion styles */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .hero-animate__item,
  .hero-animate__media,
  .hero__trust-panel,
  .product-drawer,
  .product-drawer__panel,
  .home-product-carousel__track,
  .product-grid,
  .cta-band,
  img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .home-product-carousel__viewport {
    overflow: visible;
  }

  .home-product-carousel__track {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    transform: none !important;
  }

  .brand-card,
  .brand-card__action {
    transition: none !important;
  }

}

@media (prefers-reduced-motion: reduce) and (max-width: 1279px) {
  .home-product-carousel__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 899px) {
  .home-product-carousel__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 599px) {
  .home-product-carousel__track {
    grid-template-columns: 1fr;
  }
}
