/* =========================================================
   Monrich Global Solutions — styles
   Brand: #be1622 red · #1d1d1b black · #f1f2f2 white · #819096 slate
   Type: Jost (headings) · Afacad Flux (body)
   ========================================================= */
:root {
  --red: #be1622;
  --red-dark: #9a111b;
  --ink: #1d1d1b;
  --paper: #f1f2f2;
  --slate: #819096;
  --white: #ffffff;
  --line: #dcdfe0;
  --muted: #5d676b;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(29, 29, 27, .08);
  --max: 1200px;
  --head: 'Jost', system-ui, sans-serif;
  --body: 'Afacad Flux', system-ui, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: .8rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); transform: skewY(-30deg); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.section--ink .lead { color: #c4cacc; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: .95rem; letter-spacing: .04em;
  padding: 15px 28px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
  text-decoration: none !important; line-height: 1;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(190, 22, 34, .3); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-family: var(--head); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #c4cacc; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #e3e6e7; }
.topbar span + span { margin-left: 22px; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-family: var(--head); font-weight: 500; font-size: .98rem; color: var(--ink);
  position: relative; text-decoration: none;
}
.menu > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.menu > li > a:hover::after, .menu > li > a[aria-current="page"]::after { transform: scaleX(1); }
.menu > li > a[aria-current="page"] { color: var(--red); }
.menu .caret { width: 10px; height: 10px; transition: transform .25s; }
.menu .cta-item { margin-left: 10px; }
.menu .cta-item .btn { padding: 12px 20px; }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 300px; list-style: none; margin: 0; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown a {
  display: block; padding: 10px 14px; color: var(--ink); font-size: 1rem; border-radius: var(--radius);
  transition: background .2s, color .2s, padding .2s;
}
.dropdown a:hover { background: var(--paper); color: var(--red); text-decoration: none; padding-left: 20px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.quote-badge {
  display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--white); color: var(--red); font-size: .78rem; align-items: center; justify-content: center;
}
.quote-badge[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(29,29,27,.94) 0%, rgba(29,29,27,.82) 42%, rgba(29,29,27,.25) 100%);
}
.hero .container { position: relative; padding-top: 130px; padding-bottom: 150px; }
.hero h1 { max-width: 760px; color: var(--white); }
.hero h1 em { font-style: normal; color: var(--red); position: relative; }
.hero p.lead { color: #d9dddf; margin-bottom: 34px; }
.hero-stripes { position: absolute; right: -80px; bottom: -40px; width: 420px; opacity: .6; pointer-events: none; }

.page-hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero .container { position: relative; padding-top: 90px; padding-bottom: 90px; }
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero .lead { color: #d1d6d8; }
.crumbs { font-size: .9rem; color: #aab3b6; margin-bottom: 18px; }
.crumbs a { color: #e3e6e7; }
.page-hero .stripe-mark {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 230px; opacity: .85;
}

/* Decorative stripes from the logo geometry */
.stripes { display: block; }
.stripes path { fill: var(--red); }

/* ---------- Highlights / stats ---------- */
.stat-bar { position: relative; z-index: 2; margin-top: -64px; }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white);
  box-shadow: var(--shadow); border-top: 4px solid var(--red);
}
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .ico { width: 38px; height: 38px; color: var(--red); margin-bottom: 12px; }
.stat h3 { font-size: 1.12rem; margin-bottom: .3em; }
.stat p { font-size: .98rem; color: var(--muted); margin: 0; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.split-media::before {
  content: ""; position: absolute; left: -18px; top: -18px; width: 45%; height: 45%;
  border-left: 4px solid var(--red); border-top: 4px solid var(--red); z-index: -1;
}
.split-media .badge {
  position: absolute; right: -20px; bottom: 30px; background: var(--red); color: var(--white);
  padding: 20px 24px; font-family: var(--head); box-shadow: var(--shadow);
}
.split-media .badge strong { display: block; font-size: 2.2rem; line-height: 1; }
.split-media .badge span { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 12px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg) scale(.8);
}
.check-list strong { font-family: var(--head); font-weight: 600; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3.3; color: var(--white); background: var(--ink); text-decoration: none !important;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,29,27,0) 35%, rgba(29,29,27,.9) 100%); transition: background .3s;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card:hover::after { background: linear-gradient(180deg, rgba(190,22,34,.15) 0%, rgba(29,29,27,.92) 100%); }
.cat-card .cat-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; }
.cat-card .num { font-family: var(--head); font-size: .8rem; letter-spacing: .2em; color: #ffb3b8; }
.cat-card h3 { color: var(--white); font-size: 1.35rem; margin: 4px 0 6px; }
.cat-card p { font-size: .96rem; color: #dfe3e4; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s, opacity .35s, margin .35s; }
.cat-card:hover p, .cat-card:focus-visible p { max-height: 90px; opacity: 1; margin-top: 4px; }
.cat-card .go {
  position: absolute; top: 20px; right: 20px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center; transform: scale(0); transition: transform .3s;
}
.cat-card:hover .go { transform: scale(1); }
.cat-card .go svg { width: 18px; height: 18px; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-grid.five { grid-template-columns: repeat(5, 1fr); }
.feature {
  background: var(--white); border: 1px solid var(--line); padding: 32px 28px; border-radius: var(--radius);
  position: relative; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--red); transition: width .35s;
}
.feature:hover::before { width: 100%; }
.feature .ico { width: 52px; height: 52px; display: grid; place-items: center; background: var(--paper); color: var(--red); border-radius: var(--radius); margin-bottom: 20px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: 1rem; margin: 0; }
.feature .n { font-family: var(--head); font-size: 2.2rem; font-weight: 700; color: var(--paper); position: absolute; right: 20px; top: 14px; -webkit-text-stroke: 1px var(--line); }
.section--ink .feature { background: #262624; border-color: #353532; }
.section--ink .feature p { color: #b4bcbf; }
.section--ink .feature .ico { background: #333330; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--red); color: var(--white); overflow: hidden; }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: var(--white); margin-bottom: .2em; }
.cta-band p { margin: 0; color: #ffdfe1; max-width: 620px; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; height: 70px; width: 70%; background: rgba(255,255,255,.07);
  transform: skewY(-30deg); right: -20%;
}
.cta-band::before { top: 10%; }
.cta-band::after { top: 70%; }

/* ---------- Products page ---------- */
.filter-bar {
  position: sticky; top: var(--header-h); z-index: 20; background: var(--white);
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; font-family: var(--head); font-weight: 500; font-size: .92rem; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 30px; background: var(--white); color: var(--ink);
  cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip .count { color: var(--slate); margin-left: 4px; }
.chip.active .count { color: #ffb3b8; }

.cat-block { padding: 72px 0 24px; }
.cat-block[hidden] { display: none; }
.cat-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; margin-bottom: 36px; }
.cat-head img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.cat-head .num { font-family: var(--head); font-weight: 700; color: var(--red); letter-spacing: .2em; font-size: .85rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; transition: box-shadow .3s, border-color .3s;
}
.product:hover { box-shadow: var(--shadow); border-color: transparent; }
.product h4 { font-size: 1.1rem; margin-bottom: .4em; }
.product p { color: var(--muted); font-size: .98rem; flex: 1; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.sizes li { font-size: .82rem; padding: 3px 10px; background: var(--paper); border-radius: 3px; color: #3f4648; }
.product .btn { width: 100%; padding: 12px 16px; font-size: .88rem; }
.product .btn.added { background: var(--ink); }

/* Quote drawer */
.quote-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; box-shadow: 0 10px 30px rgba(190,22,34,.4);
}
.quote-fab[hidden] { display: none; }

/* ---------- Services ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service-row .idx { font-family: var(--head); font-size: 4rem; font-weight: 700; color: var(--red); line-height: 1; opacity: .9; margin-bottom: 10px; }
.service-row blockquote { margin: 0 0 18px; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); font-size: 1.15rem; color: var(--ink); font-style: italic; }

/* ---------- Values ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 40px; background: var(--ink); color: var(--paper); border-radius: var(--radius); position: relative; overflow: hidden; }
.mv-card.red { background: var(--red); }
.mv-card h3 { color: var(--white); font-size: 1.6rem; }
.mv-card p { font-size: 1.15rem; margin: 0; color: #e8eaeb; }
.mv-card .stripes { position: absolute; right: -30px; bottom: -30px; width: 140px; opacity: .15; }
.mv-card .stripes path { fill: var(--white); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.post:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post:hover .thumb img { transform: scale(1.05); }
.post .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post .meta { font-size: .85rem; color: var(--slate); margin-bottom: 10px; display: flex; gap: 14px; }
.post .tag { color: var(--red); font-family: var(--head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; }
.post h3 { font-size: 1.35rem; }
.post p { color: var(--muted); flex: 1; }
.post.featured { grid-column: 1 / -1; flex-direction: row; }
.post.featured .thumb { flex: 1.2; aspect-ratio: auto; min-height: 340px; }
.post.featured .body { flex: 1; padding: 44px; justify-content: center; }
.post.featured h3 { font-size: 1.8rem; }
.newsletter { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.newsletter input { flex: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.info-list { list-style: none; margin: 0 0 28px; padding: 0; }
.info-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-item:first-child { padding-top: 0; }
.info-item .ico { flex: 0 0 48px; height: 48px; display: grid; place-items: center; background: var(--red); color: var(--white); border-radius: var(--radius); }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 1rem; margin-bottom: 2px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.info-item .val { font-size: 1.12rem; margin-bottom: 10px; user-select: all; }
.mini-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-btn {
  font-family: var(--head); font-size: .8rem; font-weight: 500; padding: 7px 12px; border-radius: 3px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all .2s;
  display: inline-flex; align-items: center; text-decoration: none !important;
}
.mini-btn:hover { border-color: var(--red); color: var(--red); }

.form { background: var(--paper); padding: 40px; border-radius: var(--radius); border-top: 4px solid var(--red); }
.form h3 { font-size: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-family: var(--head); font-size: .88rem; font-weight: 500; margin-bottom: 6px; }
.field label .req { color: var(--red); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #cdd2d4; border-radius: var(--radius); padding: 13px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(190, 22, 34, .15); }
.form-msg { margin: 18px 0 0; padding: 14px 16px; background: var(--white); border-left: 4px solid var(--red); font-size: .98rem; }
.quote-items { margin: 0 0 18px; padding: 14px 16px; background: var(--white); border: 1px dashed #c3c9cb; border-radius: var(--radius); }
.quote-items[hidden] { display: none; }
.quote-items h4 { font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.quote-items ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.quote-items li { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); padding: 4px 6px 4px 10px; border-radius: 3px; font-size: .9rem; }
.quote-items li button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 1.1rem; line-height: 1; padding: 0 4px; }
.quote-items li button:hover { color: var(--red); }
.map-wrap { margin-top: 0; line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.35); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb6b9; font-size: .98rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 80px 0 56px; }
.site-footer .logo { height: 40px; width: auto; margin-bottom: 20px; }
.site-footer h4 { color: var(--white); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #d3d8da; transition: color .2s; }
.site-footer a:hover { color: var(--white); text-decoration: none; }
.footer-bottom { border-top: 1px solid #333331; padding: 22px 0; font-size: .88rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: #aeb6b9; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu > li > a { padding: 10px 10px; }
  .feature-grid.five { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .topbar .hide-sm { display: none; }
  .nav-toggle { display: inline-flex; }
  .menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch;
    background: var(--white); padding: 16px 24px 40px; gap: 0; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s; border-top: 1px solid var(--line);
  }
  .nav-open .menu { transform: none; }
  .nav-open { overflow: hidden; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > a { padding: 16px 4px; font-size: 1.1rem; justify-content: space-between; }
  .menu > li > a::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 12px 8px; display: none; min-width: 0;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open .caret { transform: rotate(180deg); }
  .menu .cta-item { margin: 24px 0 0; border: 0; }
  .menu .cta-item .btn { width: 100%; padding: 16px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .cat-head, .service-row, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media, .service-row:nth-child(even) .service-media { order: 0; }
  .cat-grid, .product-grid, .feature-grid, .feature-grid.four { grid-template-columns: 1fr 1fr; }
  .post.featured { flex-direction: column; }
  .post.featured .thumb { min-height: 240px; }
  .page-hero .stripe-mark, .hero-stripes { display: none; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .split-media .badge { right: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .topbar { display: none; }
  .brand img { height: 32px; }
  .hero .container { padding-top: 80px; padding-bottom: 110px; }
  .cat-grid, .product-grid, .feature-grid, .feature-grid.four, .feature-grid.five, .blog-grid, .mv-grid, .form-row, .footer-top { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .stat p { display: none; }
  .stat h3 { font-size: 1rem; margin: 0; }
  .form { padding: 26px 18px; }
  .post.featured .body { padding: 28px; }
  .newsletter { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .quote-fab { right: 16px; bottom: 16px; }
  .split-media::before { display: none; }
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }

/* Product thumbnails */
.product .thumb { margin: -24px -24px 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); border-radius: var(--radius) var(--radius) 0 0; }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .thumb img { transform: scale(1.05); }
.product .thumb.ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--paper), #e4e7e8); }
.product .thumb.ph .stripes { width: 72px; opacity: .18; }
.footer-bottom .dev-credit { color: #fff; font-weight: 600; border-bottom: 1px solid var(--red); }
.footer-bottom .dev-credit:hover { color: #ff8a92; text-decoration: none; }
