/* ==========================================================================
   Conrema Baltic — corporate site
   Card-based layout in the spirit of orohaus.lt, coloured by the Conrema logo:
   brand red #cf1717 as the accent surface, charcoal #3a3a3a type, warm white page.
   ========================================================================== */

:root {
  --red: #cf1717;
  --red-600: #b31313;
  --red-700: #8e0f0f;
  --red-050: #fdf2f1;
  --red-100: #f8e0de;
  --ink: #1e1e1e;
  --charcoal: #3a3a3a;
  --mute: #6d6765;
  --mute-2: #9a9391;
  --bg: #f6f3f2;
  --card: #ffffff;
  --well: #efeae8;
  --line: rgba(30, 30, 30, 0.1);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);

  --container: 1400px;
  --gutter: 12px;
  --gap: 12px;
  --r: 28px;
  --r-sm: 18px;
  --space: clamp(72px, 6vw + 32px, 136px);
}
@media (min-width: 768px) { :root { --gutter: 24px; --gap: 16px; } }
@media (min-width: 1280px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 24px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; transition: top .4s var(--ease); }
.skip:focus { top: 12px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; }
.h3 { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.sub { color: var(--mute); max-width: 38em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-600); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--red-050); }
.btn--ghost-w { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.btn--ghost-w:hover { box-shadow: inset 0 0 0 1px #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn .ico { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translate(2px, -2px); }

/* Round arrow (orohaus lime circle → brand red) */
.arrow {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; flex: none;
  transition: transform .5s var(--ease), background-color .5s var(--ease);
}
.arrow .ico { width: 16px; height: 16px; }
a:hover .arrow { transform: rotate(45deg); }
.arrow--sm { width: 32px; height: 32px; }
.arrow--white { background: #fff; color: var(--red); }
.more { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; }

/* ---------- Top ticker ---------- */
.ticker { background: var(--charcoal); color: #f1eeed; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track ul { display: flex; }
.ticker li { display: flex; align-items: center; padding: 9px 0 9px 22px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.ticker li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-left: 22px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header { position: relative; z-index: 40; }
.header__bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; min-height: 84px; }
.header__nav { display: none; gap: 2px; }
.header__nav a { padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--charcoal); transition: background-color .4s var(--ease), color .4s var(--ease); }
.header__nav a:hover { background: var(--card); color: var(--ink); }
.header__nav a[aria-current="page"] { color: var(--red); }
.header__logo img { height: 46px; width: auto; }
.header__actions { display: none; justify-content: flex-end; align-items: center; gap: 6px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; transition: background-color .4s var(--ease); }
.header__phone:hover { background: var(--card); }
.header__phone .ico { color: var(--red); }
.burger { position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); z-index: 41; }
.burger span { position: absolute; left: 15px; width: 18px; height: 1.5px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 20px; } .burger span:nth-child(2) { top: 27px; }
.is-menu .burger span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.is-menu .burger span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }
@media (min-width: 1080px) {
  .header__bar { grid-template-columns: 1fr auto 1fr; min-height: 96px; }
  .header__nav { display: flex; }
  .header__logo img { height: 56px; }
  .header__actions { display: flex; }
  .burger { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  padding: 110px var(--gutter) 32px; background: rgba(246, 243, 242, 0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.is-menu .menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu li { border-bottom: 1px solid var(--line); overflow: hidden; }
.menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 500; letter-spacing: -0.035em; transform: translateY(105%); transition: transform .7s var(--ease); }
.is-menu .menu li a { transform: none; }
.is-menu .menu li:nth-child(2) a { transition-delay: .05s; } .is-menu .menu li:nth-child(3) a { transition-delay: .1s; }
.is-menu .menu li:nth-child(4) a { transition-delay: .15s; } .is-menu .menu li:nth-child(5) a { transition-delay: .2s; }
.menu__foot p { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 500; }
@media (min-width: 1080px) { .menu { display: none; } }

/* ---------- Hero slider ---------- */
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; display: grid; gap: var(--gap); opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); }
.slide__card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; min-height: 440px;
  padding: clamp(28px, 4vw, 56px); padding-top: 96px; border-radius: var(--r); background: var(--red); color: #fff; overflow: hidden;
}
.slide__card::before, .c-top__card::before { /* roof line from the logo */
  content: ""; position: absolute; right: -30px; top: 30px; width: 360px; height: 120px; opacity: .3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 120'%3E%3Cpath d='M0 110H120L230 22 268 52V14H292V72L342 110' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right top / contain;
}
.slide__card .eyebrow { color: rgba(255, 255, 255, 0.85); }
.slide__title { font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500; max-width: 9.5em; }
.slide__text { max-width: 30em; color: rgba(255, 255, 255, 0.92); font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); }
.slide__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.slide__media { position: relative; min-height: 300px; border-radius: var(--r); overflow: hidden; }
.slide.is-on .slide__media img { animation: kb 9s var(--ease) both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.slides__nav { position: absolute; left: clamp(28px, 4vw, 56px); top: clamp(24px, 3vw, 40px); z-index: 2; display: flex; align-items: center; gap: 8px; }
.slides__nav button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.18); color: #fff; display: grid; place-items: center; transition: background-color .4s var(--ease); }
.slides__nav button:hover { background: rgba(255, 255, 255, 0.32); }
.slides__dots { display: flex; gap: 6px; margin-left: 8px; }
.slides__dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.4); transition: width .6s var(--ease), background-color .6s var(--ease); }
.slides__dots span.is-on { width: 28px; background: #fff; }
@media (min-width: 900px) {
  .slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .slide__card, .slide__media { min-height: min(70vh, 640px); }
}

/* Chips row */
.chips-row { overflow: hidden; margin-top: var(--gap); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.chips-row__track { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.chips-row ul { display: flex; gap: 10px; padding-right: 10px; }
.chips-row li { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 500; white-space: nowrap; }
.chips-row li i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red-050); color: var(--red); }
.chips-row li i .ico { width: 15px; height: 15px; }

/* ---------- Sections ---------- */
.section { padding-top: var(--space); }
.shead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.shead > div { display: grid; gap: 14px; max-width: 46em; }
.shead .eyebrow { color: var(--red); }

/* ---------- Services ---------- */
.services { display: grid; gap: var(--gap); }
.svc { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(30, 30, 30, 0.35); }
.svc .media { aspect-ratio: 4 / 3; margin: 8px 8px 0; border-radius: calc(var(--r) - 8px); }
.svc .media img { transition: transform 1.2s var(--ease); }
.svc:hover .media img { transform: scale(1.05); }
.svc__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.svc__num { font-family: var(--mono); font-size: 12px; color: var(--red); }
.svc__body p { color: var(--mute); font-size: 15px; }
.svc__foot { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Category bento ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 210px; padding: 16px;
  border-radius: var(--r); background: var(--card); overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.cat:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -32px rgba(30, 30, 30, 0.4); }
.cat--tint { background: var(--red-050); }
.cat--well { background: var(--well); }
.cat__label { position: relative; z-index: 2; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); font-size: 13.5px; font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.cat__img { position: absolute; inset: 48px 16px 48px; z-index: 1; display: grid; place-items: center; }
.cat__img img { max-width: 86%; max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat__more { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.cat__more .arrow { width: 30px; height: 30px; }
.cat--big .cat__label { font-size: 15px; }
@media (min-width: 900px) {
  .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .cat { min-height: 0; padding: 18px; }
  .cat--big { grid-column: span 2; grid-row: span 2; }
  .cat--wide { grid-column: span 2; }
}

/* ---------- Consultation split ---------- */
.consult { display: grid; gap: var(--gap); }
.consult__photo { position: relative; min-height: 360px; border-radius: var(--r); overflow: hidden; }
.consult__note { position: absolute; left: 16px; bottom: 16px; z-index: 2; max-width: 320px; padding: 18px 20px; border-radius: var(--r-sm); background: #fff; }
.consult__note strong { display: block; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.consult__note span { font-size: 14px; color: var(--mute); }
.consult__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; padding: clamp(28px, 4vw, 52px); border-radius: var(--r); background: var(--red); color: #fff; overflow: hidden; }
.consult__card p { color: rgba(255, 255, 255, 0.92); max-width: 34em; }
.consult__card .btn { align-self: flex-start; }
@media (min-width: 900px) { .consult { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .consult__photo, .consult__card { min-height: 520px; } }

/* ---------- Find a solution ---------- */
.finder { display: grid; gap: var(--gap); }
.finder__main { position: relative; display: flex; align-items: flex-end; min-height: 440px; padding: 16px; border-radius: var(--r); overflow: hidden; }
.finder__main .media { position: absolute; inset: 0; }
.finder__box { position: relative; z-index: 2; display: grid; gap: 14px; max-width: 440px; padding: 28px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.96); }
.finder__box p { color: var(--mute); }
.finder__box .btn { justify-self: start; margin-top: 6px; }
.finder__opts { display: grid; gap: var(--gap); }
.opt { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-content: start; padding: 22px; border-radius: var(--r); background: var(--card); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.opt:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(30, 30, 30, 0.4); }
.opt h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; align-self: center; }
.opt p { grid-column: 1 / -1; font-size: 14.5px; color: var(--mute); }
.opt__icon { grid-column: 1 / -1; display: grid; place-items: center; height: 130px; border-radius: var(--r-sm); background: var(--red-050); color: var(--red); }
.opt__icon svg { width: 110px; height: 84px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.opt__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.opt__tags span { padding: 5px 11px; border-radius: 999px; background: var(--bg); font-size: 12.5px; font-weight: 500; color: var(--charcoal); }
@media (min-width: 700px) { .finder__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .finder { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr); } .finder__main { min-height: 100%; } }

/* ---------- About ---------- */
.about { display: grid; gap: var(--gap); }
.about__card { display: grid; gap: 22px; align-content: start; padding: clamp(28px, 4vw, 52px); border-radius: var(--r); background: var(--card); }
.about__card .h2 span { color: var(--red); }
.about__card p { color: var(--mute); max-width: 40em; }
.rekv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rekv div { padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.rekv div:first-child { grid-column: 1 / -1; }
.rekv dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-2); }
.rekv dd { margin-top: 4px; font-weight: 500; font-variant-numeric: tabular-nums; }
.steps { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r); background: var(--card); }
.step span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red-050); color: var(--red); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.step h3 { font-size: 1.0625rem; font-weight: 500; }
.step p { font-size: 14px; color: var(--mute); }
.step--red { background: var(--red); color: #fff; }
.step--red span { background: rgba(255, 255, 255, 0.16); color: #fff; }
.step--red p { color: rgba(255, 255, 255, 0.9); }
@media (min-width: 1100px) { .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

/* ---------- Blog ---------- */
.posts { display: grid; gap: var(--gap); }
.post { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(30, 30, 30, 0.4); }
.post__img { aspect-ratio: 16 / 10; margin: 8px 8px 0; border-radius: calc(var(--r) - 8px); overflow: hidden; background: var(--well); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { display: grid; gap: 10px; padding: 20px 24px 26px; }
.post__body time { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--mute-2); }
.post__body h3 { font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.post__body p { font-size: 14.5px; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 800px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- CTA band ---------- */
.band { position: relative; display: grid; gap: 24px; padding: clamp(32px, 5vw, 64px); border-radius: var(--r); background: var(--charcoal); color: #fff; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -30px; bottom: -6px; width: min(520px, 70%); height: 170px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 170'%3E%3Cpath d='M0 160H210L360 38 410 78V22H442V104L510 160' fill='none' stroke='%23cf1717' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right bottom / contain; }
.band p { color: rgba(255, 255, 255, 0.8); max-width: 36em; }
.band__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.band__direct { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); letter-spacing: -0.02em; }
.band__direct a:hover { color: var(--red-100); }
@media (min-width: 1000px) { .band { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } }
.band__copy { display: grid; gap: 18px; }
.band__side { display: grid; gap: 22px; justify-items: start; }

/* ---------- Footer ---------- */
.footer { padding-top: var(--space); }
.footer__panel { display: grid; gap: 36px; padding: clamp(28px, 4vw, 56px); border-radius: var(--r); background: var(--card); }
.footer__grid { display: grid; gap: 32px; }
.footer__brand p { margin-top: 14px; color: var(--mute); max-width: 26em; font-size: 15px; }
.footer__brand img { height: 52px; width: auto; }
.footer h2 { font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer li a, .footer dd { font-size: 14.5px; color: var(--mute); transition: color .4s var(--ease); }
.footer li a:hover { color: var(--red); }
.footer dl div + div { margin-top: 8px; }
.footer dt { font-size: 12px; color: var(--mute-2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.footer__bottom a:hover { color: var(--red); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); } }
.wordmark { padding: clamp(24px, 3vw, 48px) 0 clamp(12px, 2vw, 24px); }
.wordmark svg { display: block; width: 100%; height: auto; overflow: visible; }
.wordmark text { font-family: var(--sans); font-weight: 600; fill: var(--charcoal); }
.wordmark path { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Image slot ---------- */
.media { position: relative; overflow: hidden; background: var(--well); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media__ph { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); }
.media.is-loaded .media__ph { display: none; }

/* ---------- Contacts page ---------- */
.c-top { display: grid; gap: var(--gap); }
.c-top__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; min-height: 360px; padding: clamp(28px, 4vw, 52px); border-radius: var(--r); background: var(--red); color: #fff; overflow: hidden; }
.c-top__card .eyebrow { color: rgba(255, 255, 255, 0.85); }
.c-top__card h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.75rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500; }
.c-top__card p { color: rgba(255, 255, 255, 0.92); max-width: 32em; }
.c-quick { display: grid; gap: var(--gap); }
.c-tile { display: grid; gap: 6px; align-content: end; padding: 24px; border-radius: var(--r); background: var(--card); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
a.c-tile:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(30, 30, 30, 0.4); }
.c-tile .eyebrow { color: var(--red); }
.c-tile strong { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.c-tile span { font-size: 14px; color: var(--mute); }
.c-tile__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
@media (min-width: 900px) { .c-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .c-quick { grid-template-rows: 1fr 1fr; } }
.c-main { display: grid; gap: var(--gap); margin-top: var(--gap); }
@media (min-width: 1000px) { .c-main { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; } }
.c-side { display: grid; gap: var(--gap); }
.c-box { display: grid; gap: 16px; padding: 26px; border-radius: var(--r); background: var(--card); }
.c-box .eyebrow { color: var(--red); }
.c-social { display: flex; flex-wrap: wrap; gap: 8px; }
.c-social a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 500; }
.c-shop { background: var(--charcoal); color: #fff; }
.c-shop .eyebrow { color: #f3b6b2; }
.c-shop p { color: rgba(255, 255, 255, 0.8); }
.c-shop .btn { justify-self: start; }

/* Form */
.form-card { padding: clamp(24px, 3.5vw, 48px); border-radius: var(--r); background: var(--card); }
.form { display: grid; gap: 20px; }
.form__head { display: grid; gap: 8px; }
.form__head p { color: var(--mute); }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 13.5px; font-weight: 500; color: var(--charcoal); padding: 0; }
.field abbr { text-decoration: none; color: var(--red); }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 14px 18px; border: 0; border-radius: 16px; background: var(--bg); font-size: 16px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .4s var(--ease), background-color .4s var(--ease); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute-2); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.field.has-error input, .field.has-error textarea { background: #fff; box-shadow: inset 0 0 0 1.5px var(--red); }
.field__err { font-size: 13px; color: var(--red-700); }
.field__err:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 500; transition: background-color .4s var(--ease), color .4s var(--ease); }
.chip:hover span { background: var(--red-050); }
.chip input:checked + span { background: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mute); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form__note { font-size: 13px; color: var(--mute); }
.form__status { font-size: 14px; color: var(--red-700); }
.form__status:empty { display: none; }
.success { display: grid; gap: 14px; justify-items: start; }
.success[hidden] { display: none; }
.success__mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; }
.success__mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.success p { color: var(--mute); }
.success a { color: var(--red); font-weight: 500; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: .08s !important; } .d2 { transition-delay: .16s !important; } .d3 { transition-delay: .24s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}

.eyebrow--red { color: var(--red); }
.eyebrow--rose { color: #f3b6b2; }
.slide__media > .media, .consult__photo > .media { position: absolute; inset: 0; }
.slide__title { font-size: clamp(2.25rem, 1.2rem + 3.2vw, 4.25rem); max-width: 11em; }
/* Slide change: outgoing content leaves fast, incoming slides in after it */
.slide { transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.slide.is-on { z-index: 1; transition: opacity .5s var(--ease); }
.slide__card > * { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.slide:not(.is-on) .slide__card > * { opacity: 0; transform: translateY(12px); }
.slide.is-on .slide__card > * { transition: opacity .8s var(--ease) .25s, transform 1s var(--ease) .25s; }
.slide.is-on .slide__card > :nth-child(2) { transition-delay: .32s; }
.slide.is-on .slide__card > :nth-child(3) { transition-delay: .39s; }
.slide.is-on .slide__card > :nth-child(4) { transition-delay: .46s; }
.cat__img { z-index: auto; }
.cat__img img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.finder__box .h2 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); }
.band::after { top: 24px; bottom: auto; right: -20px; width: min(420px, 60%); height: 140px; background-position: right top; opacity: .9; }
.cat__img img { position: absolute; inset: 0; }
.consent input { min-height: 0; padding: 0; border-radius: 4px; background: none; box-shadow: none; }
@media (max-width: 899px) { .slide__card::before, .c-top__card::before { width: min(240px, 55%); height: 80px; top: 84px; opacity: .22; } }

/* ---------- Areas: categories by area ---------- */
.areas { display: grid; gap: var(--gap); }
.area { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.area:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(30, 30, 30, 0.38); }
.area__media { position: relative; display: block; margin: 8px 8px 0; border-radius: calc(var(--r) - 8px); overflow: hidden; }
.area__media .media { aspect-ratio: 4 / 3; }
.area__media .media img { transition: transform 1.2s var(--ease); }
.area:hover .area__media .media img { transform: scale(1.05); }
.area__tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); font-size: 13.5px; font-weight: 500; }
.area__tag .ico { width: 16px; height: 16px; color: var(--red); }
.area__body { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 26px; flex: 1; }
.area__body p { color: var(--mute); font-size: 15px; }
.area__body h3 a:hover { color: var(--red); }
.area__links { display: flex; flex-wrap: wrap; gap: 6px; }
.area__links a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--bg); font-size: 13.5px; font-weight: 500; transition: background-color .4s var(--ease), color .4s var(--ease); }
.area__links a:hover { background: var(--red-050); color: var(--red); }
.area .more { margin-top: auto; padding-top: 6px; }
.area--red { background: var(--red); color: #fff; }
.area--red .area__body p { color: rgba(255, 255, 255, 0.9); }
.area--red .area__body h3 a:hover { color: #fff; opacity: .85; }
.area--red .area__links a { background: rgba(255, 255, 255, 0.14); color: #fff; }
.area--red .area__links a:hover { background: #fff; color: var(--red); }
@media (min-width: 900px) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Manufacturer logos ---------- */
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.logo-card { display: grid; place-items: center; aspect-ratio: 2 / 1; padding: 10px 14px; border-radius: var(--r-sm); background: var(--card); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.logo-card img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease); }
.logo-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(30, 30, 30, 0.4); }
.logo-card:hover img, .logo-card:focus-visible img { filter: none; opacity: 1; transform: scale(1.04); }
@media (min-width: 640px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .logos { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (hover: none) { .logo-card img { filter: none; opacity: 1; } }
.area__tag { color: var(--ink); }
.logo-card img { filter: none; opacity: 1; }
@media(min-width:1080px) and (max-width:1279px){.header__phone{display:none}.header__nav a{padding:10px 8px}}
