/*!
 * Cure Corner Core - design system and storefront presentation (Round 1.3)
 * Brand foundations (mandatory): Montserrat; brand gradient #377CC0 -> #5CC2AB; text #384673; white grounds, confident blue.
 * Signature graphic: the official Cure Corner mark (inc/mark.php). No decorative rings or product discs.
 * All selectors are prefixed (cc-) or scoped to body.cc-site so nothing leaks into wp-admin or the Elementor editor UI.
 */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand (exact, mandatory) */
  --cc-blue: #377cc0;
  --cc-mint: #5cc2ab;
  --cc-ink: #384673;                 /* body text: 9.2:1 on white, >= 7.5:1 on every surface below */

  /* Gradients - each has one job */
  --cc-grad-deco: linear-gradient(90deg, #377cc0 0%, #5cc2ab 100%);              /* arcs, waves, rings (exact brand) */
  --cc-grad-field: linear-gradient(135deg, #2a6aab 0%, #377cc0 45%, #5cc2ab 100%); /* large saturated surfaces, no text on the mint end */
  --cc-grad-display: linear-gradient(90deg, #377cc0 0%, #3e9e89 100%);           /* display headings on white / near-white only (>= 3.07:1) */
  --cc-grad-panel: linear-gradient(140deg, #276ba5 0%, #2a6fa8 45%, #22796b 100%); /* panels carrying white text (>= 5.2:1) */

  /* Readable colours */
  --cc-heading: #2c3760;             /* solid headings on tinted surfaces */
  --cc-ctl: #276ba5;                 /* links, primary controls: 5.63:1 with white */
  --cc-ctl-hover: #1f5a8c;
  --cc-ctl-press: #1b4f7c;
  --cc-teal: #22796b;                /* teal controls / text on white: 5.23:1 */
  --cc-teal-hover: #1c6559;
  --cc-navy: #2c3760;                /* sparing dark field: white 11.5:1 */
  --cc-ink-soft: #5e6a8f;            /* secondary notes: 5.0:1 on #F2FAF9 */

  /* Surfaces */
  --cc-white: #ffffff;
  --cc-surface-soft: #f3f7fc;             /* Round 1.3: cool blue-white replaces the pale mint tints */
  --cc-surface-sky: #eaf3fc;
  --cc-surface-blue: #d9e9f8;
  --cc-surface-mint: #d8ecf4;             /* name kept for compatibility; now a cool aqua-blue, not pistachio */
  --cc-surface-aqua: #e2eff9;
  --cc-card: #ffffff;
  --cc-card-media: radial-gradient(circle at 50% 42%, #ffffff 0%, #f4f8fd 55%, #e3eef9 100%);
  --cc-line: #dbe6f2;                     /* hairlines and card outlines */
  --cc-deep: #1b3f6e;                     /* footer body: white 10.6:1 */
  --cc-deep-2: #1f5a92;                   /* deep-blue fields: white 7.2:1 */
  --cc-grad-brand: linear-gradient(120deg, #377cc0 0%, #5cc2ab 100%); /* exact brand gradient for large fields; text only where measured */

  /* Borders, focus, depth */
  --cc-border: #e1eef4;
  --cc-border-strong: #b9d5e5;
  --cc-focus: #276ba5;
  --cc-shadow-lift: 0 20px 40px -24px rgba(23, 62, 104, 0.5);
  --cc-shadow-float: 0 24px 48px -26px rgba(23, 50, 90, 0.55);
  --cc-shadow-product: drop-shadow(0 22px 20px rgba(17, 45, 85, 0.26));

  /* Compatibility aliases (Round 1 names) */
  --cc-gradient: var(--cc-grad-deco);
  --cc-gradient-text: var(--cc-grad-display);
  --cc-blue-700: var(--cc-ctl);
  --cc-ink-900: var(--cc-navy);
  --cc-mint-700: var(--cc-teal);
  --cc-aqua-50: var(--cc-surface-soft);
  --cc-blue-50: var(--cc-surface-sky);
  --cc-mint-100: var(--cc-surface-mint);
  --cc-aqua-100: #e6f0fa;
  --cc-blue-100: var(--cc-surface-blue);
  --cc-wash: linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%);
  --cc-leaf: linear-gradient(225deg, #dbeab5 0%, #48b863 100%);

  /* Type */
  --cc-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --cc-fs-display: clamp(2rem, 1.05rem + 3.3vw, 3.875rem);
  --cc-fs-h2: clamp(1.75rem, 1.2rem + 1.7vw, 2.75rem);
  --cc-fs-h3: clamp(1.1875rem, 1.06rem + 0.45vw, 1.4375rem);
  --cc-fs-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --cc-fs-body: 1.0625rem;
  --cc-fs-small: 0.9375rem;

  /* Space */
  --cc-gutter: clamp(16px, 1rem + 1.6vw, 40px);
  --cc-max: 1320px;
  --cc-section: clamp(64px, 3rem + 4.6vw, 128px);
  --cc-radius: 22px;
  --cc-radius-lg: 36px;

  /* Motion */
  --cc-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --cc-dur: 200ms;
  --cc-header-h: 76px;
}

/* ---------- Base (front end only) ---------- */
body.cc-site { font-family: var(--cc-font); font-size: var(--cc-fs-body); line-height: 1.6; color: var(--cc-ink); background: var(--cc-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body.cc-site *, body.cc-site *::before, body.cc-site *::after { box-sizing: border-box; }
:where(body.cc-site) :is(h1, h2, h3, h4, h5, h6) { font-family: var(--cc-font); color: var(--cc-ink); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
:where(body.cc-site) p { margin: 0 0 1em; text-wrap: pretty; }
:where(body.cc-site) a { color: var(--cc-ctl); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:where(body.cc-site) a:hover { color: var(--cc-ctl-hover); }
:where(body.cc-site) img { max-width: 100%; height: auto; }
body.cc-site button, body.cc-site input, body.cc-site select, body.cc-site textarea { font-family: var(--cc-font); }
body.cc-site :focus-visible { outline: 3px solid var(--cc-focus); outline-offset: 3px; border-radius: 8px; }
body.cc-site ::selection { background: var(--cc-surface-mint); color: var(--cc-ink); }

.cc-nowrap { white-space: nowrap; }
.cc-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cc-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--cc-navy); color: #fff !important; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.cc-skip:focus { top: 12px; }
.cc-main { display: block; outline: none; }
.cc-wrap { width: 100%; max-width: calc(var(--cc-max) + 2 * var(--cc-gutter)); margin-inline: auto; padding-inline: var(--cc-gutter); }
.cc-section { padding-block: var(--cc-section); position: relative; }

/* ---------- Type helpers ---------- */
.cc-display { font-size: var(--cc-fs-display) !important; line-height: 1.05 !important; letter-spacing: -0.028em !important; font-weight: 750 !important; }
.cc-h2, .cc-h2 .elementor-heading-title { font-size: var(--cc-fs-h2) !important; line-height: 1.1 !important; letter-spacing: -0.022em !important; font-weight: 700 !important; }
.cc-h3, .cc-h3 .elementor-heading-title { font-size: var(--cc-fs-h3) !important; line-height: 1.25 !important; font-weight: 700 !important; letter-spacing: -0.01em !important; color: var(--cc-heading); }
.cc-lead, .cc-lead p { font-size: var(--cc-fs-lead); line-height: 1.6; max-width: 60ch; }
.cc-kicker { display: block; font-size: var(--cc-fs-small); font-weight: 650; color: var(--cc-ctl); margin-bottom: 14px; }
.cc-gradient-text, .cc-gradient-text .elementor-heading-title { background: var(--cc-grad-display); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--cc-blue); padding-bottom: 0.06em; }
@media (forced-colors: active) { .cc-gradient-text, .cc-gradient-text .elementor-heading-title { -webkit-text-fill-color: CanvasText; background: none; } }
.cc-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cc-ticks li { position: relative; padding-left: 30px; }
.cc-ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 15px; height: 15px; background: var(--cc-leaf); -webkit-mask: url("../img/cc-corner.svg") center / contain no-repeat; mask: url("../img/cc-corner.svg") center / contain no-repeat; }

/* ---------- Buttons ---------- */
body.cc-site .cc-btn, body.cc-site a.cc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 0; font-family: var(--cc-font); font-size: 1rem; font-weight: 650; line-height: 1.2; letter-spacing: 0; text-decoration: none !important; cursor: pointer; position: relative; transition: background-color var(--cc-dur) var(--cc-ease-out), color var(--cc-dur) var(--cc-ease-out), box-shadow var(--cc-dur) var(--cc-ease-out), transform 160ms var(--cc-ease-out); -webkit-tap-highlight-color: transparent; }
body.cc-site .cc-btn:active { transform: scale(0.97); }
body.cc-site .cc-btn svg { width: 20px; height: 20px; flex: none; }
body.cc-site .cc-btn .cc-arrow { transition: transform var(--cc-dur) var(--cc-ease-out); }
body.cc-site .cc-btn:hover .cc-arrow { transform: translateX(3px); }
body.cc-site .cc-btn--lg, body.cc-site a.cc-btn--lg { min-height: 58px; padding: 16px 30px; font-size: 1.0625rem; }
body.cc-site .cc-btn--sm, body.cc-site a.cc-btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
body.cc-site .cc-btn--primary, body.cc-site a.cc-btn--primary { background: var(--cc-ctl); color: #fff !important; box-shadow: 0 10px 22px -14px rgba(39, 107, 165, 0.9); }
body.cc-site .cc-btn--primary:hover { background: var(--cc-ctl-hover); color: #fff !important; box-shadow: 0 16px 28px -16px rgba(31, 90, 140, 0.95); transform: translateY(-1px); }
body.cc-site .cc-btn--primary:active { background: var(--cc-ctl-press); transform: scale(0.97); }
body.cc-site .cc-btn--outline, body.cc-site a.cc-btn--outline { background: #fff; color: var(--cc-ink) !important; box-shadow: inset 0 0 0 2px var(--cc-border-strong); }
body.cc-site .cc-btn--outline:hover { box-shadow: inset 0 0 0 2px var(--cc-ctl); color: var(--cc-ctl) !important; }
body.cc-site .cc-btn--outline svg { color: var(--cc-teal); }
body.cc-site .cc-btn--secondary, body.cc-site a.cc-btn--secondary, body.cc-site .cc-btn--light, body.cc-site a.cc-btn--light { background: var(--cc-surface-blue); color: var(--cc-heading) !important; }
body.cc-site .cc-btn--secondary:hover, body.cc-site .cc-btn--light:hover { background: var(--cc-surface-mint); }
body.cc-site .cc-btn--solid, body.cc-site a.cc-btn--solid { background: var(--btn-bg, var(--cc-ctl)); color: #fff !important; }
body.cc-site .cc-btn--solid:hover { background: var(--btn-hover, var(--cc-ctl-hover)); transform: translateY(-1px); }
body.cc-site .cc-btn--mint, body.cc-site a.cc-btn--mint { background: var(--cc-mint); color: var(--cc-navy) !important; }
body.cc-site .cc-btn--mint:hover { background: #fff; color: var(--cc-navy) !important; }
body.cc-site .cc-btn--white, body.cc-site a.cc-btn--white { background: #fff; color: var(--cc-ctl) !important; }
body.cc-site .cc-btn--white:hover { background: var(--cc-surface-blue); color: var(--cc-ctl-hover) !important; }
body.cc-site .cc-btn--white svg { color: var(--cc-teal); }
body.cc-site .cc-btn--ghost-light, body.cc-site a.cc-btn--ghost-light { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7); }
body.cc-site .cc-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 2px #fff; }
body.cc-site .cc-btn--text, body.cc-site a.cc-btn--text { min-height: 44px; padding: 10px 2px; background: none; color: var(--cc-ctl) !important; }
body.cc-site .cc-btn--text:hover { color: var(--cc-ctl-hover) !important; }
body.cc-site .cc-btn--deep, body.cc-site a.cc-btn--deep { background: var(--cc-deep); color: #fff !important; }
body.cc-site .cc-btn--deep:hover { background: #13305a; color: #fff !important; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
/* white focus ring on dark and brand surfaces (body.cc-site prefix: must outrank the global ring above) */
body.cc-site .cc-topbar :focus-visible, body.cc-site .cc-skip:focus-visible, body.cc-site .cc-pro :focus-visible, body.cc-site .cc-visit :focus-visible, body.cc-site .cc-grid-ask :focus-visible, body.cc-site .cc-footer__band :focus-visible { outline-color: #fff; }

/* ---------- Round 1.4: header utilities, social links, footer additions (global: every page has them) ---------- */
/* ---------- Social links (header bar, drawer, footer, contact) ---------- */
.cc-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; align-items: center; }
.cc-social__link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; transition: background-color var(--cc-dur) var(--cc-ease-out), color var(--cc-dur); }
.cc-social__link svg { width: 20px; height: 20px; }
.cc-social--bar .cc-social__link { width: 34px; height: 34px; color: #fff !important; }
.cc-social--bar .cc-social__link:hover { background: rgba(255, 255, 255, 0.16); }
.cc-social--bar .cc-social__link svg { width: 18px; height: 18px; }
.cc-social--drawer .cc-social__link { width: 48px; height: 48px; background: var(--cc-surface-sky); color: var(--cc-ctl) !important; }
.cc-social--footer .cc-social__link { width: 44px; height: 44px; background: rgba(255, 255, 255, 0.1); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.cc-social--footer .cc-social__link:hover { background: #fff; color: var(--cc-deep) !important; }
.cc-social--card { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 14px; }
.cc-social--card .cc-social__link { display: flex; width: auto; height: auto; min-height: 56px; border-radius: 18px; padding: 8px 16px; gap: 14px; justify-content: flex-start; background: var(--cc-surface-soft); color: var(--cc-heading) !important; font-weight: 700; }
.cc-social--card .cc-social__link:hover { background: var(--cc-surface-sky); }
.cc-social--card .cc-social__link svg { width: 26px; height: 26px; flex: none; }
.cc-social--card .cc-social__link--instagram svg { color: #c13584; }
.cc-social--card .cc-social__link--facebook svg { color: #1877f2; }
.cc-social__handle { display: block; font-weight: 550; font-size: var(--cc-fs-small); color: var(--cc-ink-soft); }

/* header utility bar */
body.cc-site .cc-topbar .cc-wrap { justify-content: space-between; align-items: center; padding-block: 4px; }
.cc-topbar__info { margin: 0 !important; display: flex; gap: 10px 28px; flex-wrap: wrap; justify-content: center; padding-block: 5px; }
.cc-topbar__util { display: flex; align-items: center; gap: 6px; }
.cc-topbar__help { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border-radius: 999px; }
.cc-topbar__help svg { width: 17px; height: 17px; }
.cc-topbar__help:hover { background: rgba(255, 255, 255, 0.16); text-decoration: none !important; }
@media (max-width: 760px) { .cc-topbar__util { display: none; } body.cc-site .cc-topbar .cc-wrap { justify-content: center; } }
.cc-drawer__social { padding-top: 18px; }
.cc-drawer__social p { margin: 0 0 10px; font-weight: 700; font-size: var(--cc-fs-small); color: var(--cc-ink-soft); }

/* footer additions */
body.cc-site .cc-footer ul.cc-social { display: flex; gap: 10px; }
body.cc-site .cc-footer .cc-social__link { display: inline-grid; padding: 0; width: 44px; height: 44px; }
body.cc-site .cc-footer .cc-footer__legal { gap: 4px 22px; }
body.cc-page .cc-footer { margin-top: 0; }
.cc-footer__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 1.1fr) !important; }
.cc-footer__follow { margin: 22px 0 10px !important; padding: 0 !important; font-weight: 700; color: #fff !important; font-size: 0.97rem !important; }
.cc-footer__contact li a, .cc-footer__addr { display: inline-flex !important; align-items: flex-start; gap: 10px; }
.cc-footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #9fd8ca; }
.cc-footer__addr { margin: 0; padding-block: 6px; font-size: 0.97rem; line-height: 1.5; color: #e6eef8; }
body.cc-site .cc-footer__maps { margin-top: 14px; }
body.cc-site .cc-footer__maps svg { color: var(--cc-teal); }
@media (max-width: 1100px) { .cc-footer__top { grid-template-columns: 1fr 1fr !important; } .cc-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .cc-footer__top { grid-template-columns: 1fr !important; } }


/* Links inside running text are underlined (not identified by colour alone; WCAG 1.4.1). */
body.cc-site :is(main, dialog) :is(p, label, dd) > a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
body.cc-site :is(main, dialog) :is(p, label, dd) > a:not([class]):hover { text-decoration-thickness: 2px; }


/* ---------- Announcement bar ---------- */
.cc-topbar { background: var(--cc-navy); color: #fff; font-size: var(--cc-fs-small); }
.cc-topbar .cc-wrap { display: flex; justify-content: center; gap: 10px 28px; flex-wrap: wrap; padding-block: 9px; text-align: center; }
.cc-topbar a { color: #fff !important; font-weight: 650; text-decoration: none; }
.cc-topbar a:hover { text-decoration: underline; }
.cc-topbar__sep { opacity: 0.5; }
@media (max-width: 640px) { .cc-topbar__sep, .cc-topbar__extra { display: none; } }

/* ---------- Header ---------- */
.cc-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, 0.98); transition: box-shadow var(--cc-dur) var(--cc-ease-out); }
.admin-bar .cc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cc-header { top: 0; } }
.cc-header.is-scrolled { box-shadow: 0 10px 28px -20px rgba(31, 62, 104, 0.45); }
.cc-header__bar { display: flex; align-items: center; gap: 20px; min-height: var(--cc-header-h); }
.cc-logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; padding-block: 8px; }
.cc-logo img { width: clamp(168px, 12vw + 60px, 236px); height: auto; display: block; }
.cc-nav { margin-left: auto; }
.cc-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.cc-nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; font: 650 0.98rem/1.2 var(--cc-font); color: var(--cc-ink) !important; text-decoration: none; transition: background-color var(--cc-dur) var(--cc-ease-out), color var(--cc-dur); }
.cc-nav__link:hover, .cc-nav__link:focus-visible { background: var(--cc-surface-sky); color: var(--cc-ctl) !important; }
.cc-nav__link[aria-current="page"] { color: var(--cc-ctl) !important; }
.cc-nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--cc-grad-deco); }
.cc-nav__shop { display: flex; align-items: center; }
.cc-nav__toggle { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: -6px; border-radius: 999px; border: 0; background: none; color: var(--cc-ink); cursor: pointer; transition: background-color var(--cc-dur), color var(--cc-dur); }
.cc-nav__toggle:focus { background: none; color: var(--cc-ink); } /* beats the theme reset that paints focused buttons #c36 */
.cc-nav__toggle:hover, .cc-nav__toggle[aria-expanded="true"] { background: var(--cc-surface-blue); color: var(--cc-ctl); }
.cc-nav__toggle svg { width: 16px; height: 16px; transition: transform var(--cc-dur) var(--cc-ease-out); }
.cc-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.cc-tools { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.cc-icon-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 0; background: none; color: var(--cc-ink) !important; cursor: pointer; text-decoration: none; transition: background-color var(--cc-dur) var(--cc-ease-out), color var(--cc-dur); }
.cc-icon-btn:focus { background: none; }
.cc-icon-btn:hover { background: var(--cc-surface-sky); color: var(--cc-ctl) !important; }
.cc-icon-btn svg { width: 23px; height: 23px; }
.cc-icon-btn--wa { color: var(--cc-teal) !important; }
.cc-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--cc-ctl); color: #fff; font: 700 11.5px/19px var(--cc-font); text-align: center; }
.cc-count[data-count="0"] { display: none; }
.cc-burger { display: none; }

/* mega menu (DOM right after its toggle, so Tab moves straight into it) */
.cc-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 30px 50px -30px rgba(23, 50, 90, 0.5); clip-path: inset(0 -100px -100px -100px); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none; transition: opacity 180ms var(--cc-ease-out), transform 180ms var(--cc-ease-out), visibility 0s linear 180ms; }
.cc-mega.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.cc-mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; padding-block: 22px 26px; }
.cc-mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; }
.cc-mega__item a { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: center; min-height: 76px; padding: 8px 10px; border-radius: 18px; text-decoration: none; color: var(--cc-ink) !important; transition: background-color var(--cc-dur) var(--cc-ease-out); }
.cc-mega__item a:hover, .cc-mega__item a:focus-visible { background: var(--cc-surface-sky); }
.cc-mega__item a:hover .cc-mega__name { color: var(--cc-ctl); }
.cc-mega__thumb { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--cc-card-media); display: grid; place-items: center; flex: none; }
.cc-mega__thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cc-mega__name { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; transition: color var(--cc-dur); }
.cc-mega__desc { display: block; font-size: var(--cc-fs-small); line-height: 1.35; color: var(--cc-ink-soft); margin-top: 2px; }
.cc-mega__aside { align-self: start; background: linear-gradient(160deg, #eef5fc 0%, #e2eef9 100%); border-radius: var(--cc-radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cc-mega__aside-title { font-weight: 700; font-size: 1.05rem; color: var(--cc-heading); margin: 0; }
.cc-mega__aside p { font-size: var(--cc-fs-small); margin: 0; }
.cc-mega__all { font-weight: 650; font-size: var(--cc-fs-small); text-decoration: none; padding: 6px 0; }
@media (max-width: 1240px) { .cc-mega__inner { grid-template-columns: minmax(0, 1fr) 220px; } .cc-mega__desc { display: none; } .cc-mega__item a { min-height: 64px; } }

/* search panel */
.cc-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 30px 50px -30px rgba(23, 50, 90, 0.5); clip-path: inset(0 -100px -100px -100px); padding-block: 22px 28px; display: none; }
.cc-search.is-open { display: block; }
.cc-searchform { display: flex; gap: 10px; align-items: center; max-width: 760px; margin-inline: auto; }
.cc-searchform label { flex: 1; position: relative; }
.cc-searchform input[type="search"] { width: 100%; min-height: 56px; padding: 14px 20px 14px 52px; border-radius: 999px; border: 2px solid var(--cc-border-strong); background: #fff; font: 500 1.0625rem/1.3 var(--cc-font); color: var(--cc-ink); outline: none; }
.cc-searchform input[type="search"]:focus { border-color: var(--cc-ctl); box-shadow: 0 0 0 4px rgba(39, 107, 165, 0.15); }
.cc-searchform input::placeholder { color: var(--cc-ink-soft); opacity: 1; }
.cc-searchform__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--cc-ink-soft); pointer-events: none; }
.cc-searchform__icon svg { width: 100%; height: 100%; display: block; }
@media (max-width: 560px) { .cc-searchform input[type="search"] { font-size: 1rem; padding-left: 48px; } .cc-searchform { flex-wrap: wrap; } .cc-searchform label { flex: 1 1 100%; } .cc-searchform .cc-btn { flex: 1 1 100%; } }

/* mobile drawer */
.cc-drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.cc-drawer.is-open { display: block; }
.cc-drawer__scrim { position: absolute; inset: 0; background: rgba(44, 55, 96, 0.45); opacity: 0; transition: opacity 240ms var(--cc-ease-out); }
.cc-drawer.is-visible .cc-drawer__scrim { opacity: 1; }
.cc-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform 320ms var(--cc-ease-out); display: flex; flex-direction: column; padding: 14px 20px calc(28px + env(safe-area-inset-bottom)); }
.cc-drawer.is-visible .cc-drawer__panel { transform: none; }
.cc-drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 8px; }
.cc-drawer__top img { width: 168px; }
.cc-drawer .cc-searchform { margin-bottom: 14px; }
.cc-drawer__nav { list-style: none; margin: 0; padding: 0; }
.cc-drawer__nav > li > a, .cc-drawer__nav > li > button { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 56px; padding: 8px 6px; border: 0; background: none; font: 700 1.125rem/1.3 var(--cc-font); color: var(--cc-ink) !important; text-decoration: none; cursor: pointer; text-align: left; }
.cc-drawer__nav > li > a[aria-current="page"] { color: var(--cc-ctl) !important; }
.cc-drawer__nav > li + li { box-shadow: 0 -1px 0 var(--cc-border); }
.cc-drawer__sub { list-style: none; margin: 0 0 12px; padding: 4px 0 0; display: none; }
.cc-drawer__sub.is-open { display: grid; gap: 2px; }
.cc-drawer__sub a { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; min-height: 52px; padding: 4px 8px; border-radius: 14px; color: var(--cc-ink) !important; text-decoration: none; font-weight: 600; }
.cc-drawer__sub a:hover, .cc-drawer__sub a[aria-current="page"] { background: var(--cc-surface-sky); color: var(--cc-ctl) !important; }
.cc-drawer__sub .cc-mega__thumb { width: 44px; height: 44px; }
.cc-drawer__sub .cc-drawer__all { grid-template-columns: 1fr; color: var(--cc-ctl) !important; font-weight: 700; padding-left: 64px; }
.cc-drawer__nav > li > button:hover, .cc-drawer__nav > li > button:focus { background: none; color: var(--cc-ctl) !important; }
.cc-drawer__nav button svg { width: 18px; height: 18px; transition: transform var(--cc-dur) var(--cc-ease-out); }
.cc-drawer__nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
.cc-drawer__contact { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.cc-drawer__contact .cc-btn { width: 100%; }
@media (max-width: 1080px) { .cc-nav, .cc-tools .cc-hide-sm { display: none; } .cc-burger { display: inline-grid; } .cc-tools { margin-left: auto; } :root { --cc-header-h: 66px; } }
@media (max-width: 380px) { .cc-icon-btn { width: 42px; height: 42px; } .cc-logo img { width: 150px; } }
@media (max-width: 345px) { .cc-header__bar { gap: 6px; } .cc-icon-btn { width: 40px; height: 40px; } .cc-logo img { width: 128px; } .cc-tools { gap: 0; } }

/* ---------- Hero: the official mark as the signature backdrop, products in front ---------- */
.cc-hero { position: relative; overflow: hidden; background: #ffffff; padding-block: clamp(32px, 2rem + 3vw, 84px) clamp(110px, 6rem + 5vw, 190px); isolation: isolate; }
.cc-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cc-hero__copy { position: relative; z-index: 2; max-width: 640px; }
.cc-hero h1 { margin-bottom: 22px; }
.cc-hero__lead { font-size: var(--cc-fs-lead); max-width: 54ch; margin-bottom: 30px; }
.cc-hero__note { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; font-size: var(--cc-fs-small); font-weight: 650; color: var(--cc-ink); }
.cc-hero__note svg { width: 20px; height: 20px; color: var(--cc-teal); flex: none; }
/* art box: 680 x 640 units; every position below is a share of that box */
.cc-hero__art { position: relative; aspect-ratio: 680 / 640; width: 100%; max-width: 720px; justify-self: end; }
.cc-hero__light { position: absolute; z-index: 0; left: 10%; top: -8%; width: 100%; height: 108%; background: radial-gradient(48% 46% at 56% 48%, rgba(55, 124, 192, 0.16) 0%, rgba(55, 124, 192, 0.07) 55%, rgba(55, 124, 192, 0) 100%); pointer-events: none; }
.cc-hero__markwrap { position: absolute; z-index: 1; left: 21%; top: 1%; width: 76%; }
.cc-hero__markwrap .cc-mark, .cc-hero__field .cc-mark { display: block; width: 100%; height: auto; overflow: visible; }
.cc-hero--mark .cc-hero__mark { filter: drop-shadow(0 22px 30px rgba(31, 90, 146, 0.18)); }
/* composition B (comparison only): white mark on a brand-gradient field */
.cc-hero__field { position: absolute; z-index: 1; left: 12%; top: 2%; width: 106%; height: 90%; border-radius: 56px 0 0 56px; overflow: hidden; background: linear-gradient(135deg, #2f73b6 0%, #377cc0 35%, #5cc2ab 100%); box-shadow: 0 40px 70px -40px rgba(23, 62, 104, 0.6); }
.cc-hero__field .cc-mark { position: absolute; left: 4%; top: -3%; width: 76%; }
.cc-hero__field .cc-mark__ring { opacity: 0.92; }
.cc-hero__floor { position: absolute; z-index: 1; left: 1%; bottom: 2%; width: 96%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(16, 46, 92, 0.26), rgba(16, 46, 92, 0)); }
/* every product stands on the same floor line, at true relative size (crutches taller than the chair),
   with one shared shadow recipe; the monitor sits in the front row instead of floating in the ring's opening */
.cc-hero__prod { position: absolute; z-index: 2; height: auto; filter: drop-shadow(0 16px 14px rgba(17, 45, 85, 0.22)); will-change: transform; }
.cc-hero__prod--crutch { left: 1%; bottom: 7%; width: 23%; z-index: 2; }
.cc-hero__prod--chair { left: 13%; bottom: 5%; width: 50%; z-index: 3; }
.cc-hero__prod--boot { left: 47%; bottom: 3%; width: 18%; z-index: 4; }
.cc-hero__prod--tens { right: 2%; bottom: 12%; width: 14%; z-index: 3; }
.cc-hero__prod--bp { right: 11%; bottom: 1%; width: 27%; z-index: 5; }
.cc-hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 9vw, 165px); z-index: 1; display: block; }
@media (max-width: 960px) {
  .cc-hero__grid { grid-template-columns: 1fr; }
  .cc-hero__art { justify-self: center; max-width: 600px; margin-top: 8px; }
}
/* phones: a separate composition - the mark is larger and bleeds off the right edge, four products only */
@media (max-width: 560px) {
  .cc-hero .cc-actions .cc-btn { flex: 1 1 100%; }
  .cc-hero__lead { margin-bottom: 24px; }
  .cc-hero { padding-bottom: 96px; }
  .cc-hero__art { aspect-ratio: 1 / 0.94; width: calc(100% + var(--cc-gutter)); max-width: none; margin-right: calc(-1 * var(--cc-gutter)); justify-self: stretch; }
  .cc-hero__markwrap { left: 27%; top: 0; width: 84%; }
  .cc-hero__field { left: 18%; top: 4%; width: 90%; height: 86%; border-radius: 40px 0 0 40px; }
  .cc-hero__prod--crutch { left: 0; bottom: 8%; width: 25%; }
  .cc-hero__prod--chair { left: 12%; bottom: 5%; width: 57%; }
  .cc-hero__prod--boot { left: 56%; bottom: 3%; width: 20%; }
  .cc-hero__prod--tens { right: calc(var(--cc-gutter) + 1%); bottom: 10%; width: 15%; }
  .cc-hero__prod--bp { display: none; }
  .cc-hero__floor { left: 2%; width: 86%; }
  .cc-hero--mark .cc-hero__mark { filter: none; } /* no per-frame shadow repaint on phones while the ring draws */
}

/* ---------- Category explorer ----------
 * Below 1100 px: full cards (thumbnail, name, approved description, link) in an auto-fit grid.
 * From 1100 px: a compact list of the nine names next to ONE panel for the selected category (artwork, description,
 * link). The list and the panel are the same height, so nothing needs to stick while the visitor scans the list. */
.cc-cats { background: #fff; padding-top: clamp(36px, 3vw, 60px); }
.cc-cats__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; align-items: end; margin-bottom: clamp(26px, 3vw, 44px); }
.cc-cats__head h2 { margin: 0; }
.cc-cats__intro .cc-lead { margin: 0 0 4px; }
.cc-cats__body { display: grid; grid-template-columns: 1fr; gap: 24px; }
.cc-cats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.cc-cat { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; height: 100%; padding: 14px 18px 14px 14px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--cc-line); text-decoration: none !important; color: var(--cc-ink) !important; transition: background-color 200ms var(--cc-ease-out), box-shadow 200ms var(--cc-ease-out); }
.cc-cat:hover { background: #f6f9fe; box-shadow: inset 0 0 0 2px var(--cc-blue); }
.cc-cat:active { transform: scale(0.99); }
.cc-cat__thumb { width: 76px; height: 76px; border-radius: 18px; background: var(--cc-card-media); overflow: hidden; display: grid; place-items: center; transition: box-shadow 200ms var(--cc-ease-out); }
.cc-cat__thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cc-cat__text { display: grid; gap: 4px; align-content: center; }
.cc-cat__name { display: block; font-weight: 750; font-size: 1.0625rem; line-height: 1.25; color: var(--cc-heading); transition: color 200ms; }
.cc-cat__desc { display: block; font-size: var(--cc-fs-small); line-height: 1.45; }
.cc-cat__more { display: block; margin-top: 4px; font-size: 0.9375rem; font-weight: 700; color: var(--cc-ctl); }
.cc-cat__more .cc-arrow { display: inline-block; margin-left: 6px; transition: transform var(--cc-dur) var(--cc-ease-out); }
.cc-cat:hover .cc-cat__more .cc-arrow { transform: translateX(4px); }
.cc-cat__go { display: none; }
.cc-cats__stage { display: none; }
@media (max-width: 900px) { .cc-cats__head { grid-template-columns: 1fr; } }
@media (min-width: 701px) and (max-width: 1099px) { .cc-cats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* two roomy columns rather than three narrow ones */
@media (max-width: 640px) { .cc-cats__list { gap: 10px; } .cc-cat { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 12px 14px 12px 12px; } .cc-cat__thumb { width: 68px; height: 68px; border-radius: 16px; } }
@media (min-width: 1100px) {
  .cc-cats__body { grid-template-columns: minmax(320px, 0.82fr) minmax(0, 2fr); gap: clamp(22px, 2.2vw, 32px); align-items: stretch; }
  .cc-cats__list { grid-template-columns: 1fr; gap: 6px; align-content: start; }
  .cc-cat { grid-template-columns: 52px minmax(0, 1fr) 20px; gap: 14px; min-height: 64px; padding: 6px 18px 6px 6px; border-radius: 18px; }
  .cc-cat__thumb { width: 52px; height: 52px; border-radius: 13px; }
  .cc-cat__name { font-size: 1rem; }
  /* the description and link stay in the link's accessible name; the panel shows them visually */
  .cc-cat__desc, .cc-cat__more { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cc-cat__go { display: block; font-weight: 700; color: var(--cc-ctl); opacity: 0; transform: translateX(-4px); transition: opacity 200ms var(--cc-ease-out), transform 200ms var(--cc-ease-out); }
  .cc-cat:hover .cc-cat__go { opacity: 1; transform: none; }
  .cc-cat.is-active { background-color: #276ba5; background-image: linear-gradient(90deg, #276ba5 0%, #22796b 100%); box-shadow: 0 16px 28px -20px rgba(31, 90, 146, 0.95); }
  .cc-cat.is-active .cc-cat__name, .cc-cat.is-active .cc-cat__go { color: #fff; }
  .cc-cat.is-active .cc-cat__go { opacity: 1; transform: none; }
  .cc-cat.is-active .cc-cat__thumb { background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95); }
  .cc-cat.is-active::after { content: ""; position: absolute; right: -8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: #22796b; border-radius: 3px; transform: rotate(45deg); } /* points at the panel */
  .cc-cat.is-active:focus-visible { outline-color: var(--cc-heading); }
  .cc-cats__stage { display: block; position: relative; min-height: 560px; border-radius: 32px; background: linear-gradient(165deg, #ffffff 0%, #f4f8fd 100%); box-shadow: inset 0 0 0 1.5px var(--cc-line); overflow: hidden; isolation: isolate; }
  .cc-stage__art { position: absolute; inset: 0; pointer-events: none; }
  .cc-stage__mark { position: absolute; right: 5%; top: 9%; width: 43%; height: auto; overflow: visible; }
  .cc-stage__floor { position: absolute; left: 44%; right: 4%; bottom: 8%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(16, 46, 92, 0.22), rgba(16, 46, 92, 0)); }
  .cc-stage__item { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); opacity: 0; visibility: hidden; transition: opacity 220ms var(--cc-ease-out), visibility 0s linear 220ms; }
  .cc-stage__item.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
  .cc-gsap .cc-stage__item { transition: none; } /* cc-motion.js (GSAP) drives the change */
  .cc-stage__info { grid-column: 1; grid-row: 1; align-self: center; display: grid; gap: 14px; justify-items: start; padding: 40px 12px 40px clamp(32px, 3vw, 48px); }
  .cc-stage__name { margin: 0; font-weight: 750; font-size: clamp(1.5rem, 1.05rem + 0.9vw, 2rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--cc-heading); text-wrap: balance; }
  .cc-stage__desc { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--cc-ink); max-width: 30ch; }
  .cc-stage__link { margin-top: 6px; }
  .cc-stage__pics { grid-column: 2; grid-row: 1; position: relative; }
  .cc-stage__main { position: absolute; left: -2%; right: 20%; top: 31%; bottom: 9%; display: block; }
  body.cc-site .cc-stage__main img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 16px rgba(17, 45, 85, 0.24)); }
  body.cc-site .cc-stage__main:not(.is-cut) img { mix-blend-mode: multiply; filter: none; }
  .cc-stage__side { position: absolute; right: 4%; bottom: 9%; width: 36%; height: 32%; display: block; }
  body.cc-site .cc-stage__side img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 14px 12px rgba(17, 45, 85, 0.24)); }
}

/* ---------- Care settings: one card system, three grounds (white / brand gradient / medical blue) ---------- */
.cc-settings { background: #fff; padding-top: clamp(24px, 2vw, 40px); }
.cc-settings__head { max-width: 760px; margin-bottom: clamp(26px, 3vw, 44px); }
.cc-settings__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.cc-setting { --media: linear-gradient(180deg, #ffffff 0%, #edf4fc 100%); --btn-bg: var(--cc-ctl); --btn-hover: var(--cc-ctl-hover); position: relative; display: flex; flex-direction: column; border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--cc-line); overflow: hidden; isolation: isolate; transition: box-shadow 300ms var(--cc-ease-out); }
.cc-setting--brand { --media: var(--cc-grad-brand); --btn-bg: var(--cc-teal); --btn-hover: var(--cc-teal-hover); }
.cc-setting--deep { --media: linear-gradient(140deg, #1f5a92 0%, #276ba5 100%); --btn-bg: var(--cc-deep); --btn-hover: #13305a; }
.cc-setting:hover { box-shadow: inset 0 0 0 1.5px var(--cc-line), 0 28px 44px -30px rgba(23, 55, 95, 0.55); }
.cc-setting__media { position: relative; height: clamp(240px, 19vw, 300px); background: var(--media); overflow: hidden; isolation: isolate; }
.cc-setting__mark { position: absolute; z-index: 0; right: -20%; top: -26%; width: 74%; height: auto; overflow: visible; }
.cc-setting--brand .cc-setting__mark .cc-mark__ring { opacity: 0.32; }
.cc-setting--brand .cc-setting__mark .cc-mark__corner { opacity: 0.5; }
.cc-setting--light .cc-setting__mark { right: -24%; top: -34%; width: 70%; }
.cc-setting--brand .cc-setting__mark { right: auto; left: 30%; top: -40%; width: 92%; }
.cc-setting--deep .cc-setting__mark { opacity: 0.17; }
.cc-setting__floor { position: absolute; z-index: 1; left: 8%; right: 12%; bottom: 7%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 30, 60, 0.3), rgba(10, 30, 60, 0)); }
body.cc-site .cc-setting__a, body.cc-site .cc-setting__b { position: absolute; max-width: none; display: block; object-fit: contain; object-position: 50% 100%; transition: transform 600ms var(--cc-ease-out); }
body.cc-site .cc-setting__a { z-index: 2; left: 7%; bottom: 10%; width: 54%; height: 74%; filter: drop-shadow(0 16px 14px rgba(10, 30, 60, 0.26)); }
body.cc-site .cc-setting__b { z-index: 3; right: 7%; bottom: 9%; width: 40%; height: 46%; filter: drop-shadow(0 16px 14px rgba(10, 30, 60, 0.26)); }
body.cc-site .cc-setting--deep .cc-setting__a { left: 4%; width: 62%; height: 70%; }
body.cc-site .cc-setting--deep .cc-setting__b { right: 9%; width: 28%; height: 60%; }
.cc-setting__mark .cc-mark__corner { transition: transform 600ms var(--cc-ease-out); }
.cc-setting:hover .cc-setting__a { transform: translateY(-4px); }
.cc-setting:hover .cc-setting__b { transform: translateY(-6px); }
.cc-setting:hover .cc-setting__mark .cc-mark__corner { transform: translate(0.7px, -0.7px); }
.cc-setting__body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.cc-setting__body h3 { margin-bottom: 10px; }
.cc-setting__body p { flex: 1; }
body.cc-site .cc-setting__body .cc-btn { align-self: stretch; justify-content: space-between; text-align: left; padding-inline: 24px; font-size: 0.9375rem; } /* same full-width CTA bar on all three cards */
@media (max-width: 960px) { .cc-settings__grid { grid-template-columns: 1fr; } .cc-setting { display: grid; grid-template-columns: minmax(0, 320px) 1fr; align-items: stretch; } .cc-setting__media { height: auto; min-height: 260px; } .cc-setting__body { padding: 28px; justify-content: center; } }
@media (max-width: 600px) { .cc-setting { grid-template-columns: 1fr; } .cc-setting__media { height: 230px; min-height: 0; } .cc-setting__body { padding: 22px 22px 26px; } }

/* ---------- Reasons: a calm white band (no tinted panel) ---------- */
.cc-reasons { padding-top: clamp(24px, 2vw, 40px); padding-bottom: var(--cc-section); }
.cc-reasons__panel { position: relative; padding-top: clamp(32px, 4vw, 56px); border-top: 1.5px solid var(--cc-line); }
.cc-reasons__head { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(26px, 3vw, 44px); }
.cc-reasons__head h2 { margin: 0; }
.cc-reasons__mark { width: 56px; height: 56px; flex: none; }
.cc-reasons__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); }
.cc-reason h3 { margin: 18px 0 8px; }
.cc-reason p { margin: 0; max-width: 40ch; }
.cc-reason__icon { width: 64px; height: 64px; border-radius: 20px; background: var(--cc-grad-panel); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 26px -14px rgba(39, 107, 165, 0.8); }
.cc-reason__icon svg { width: 28px; height: 28px; }
@media (max-width: 860px) { .cc-reasons__list { grid-template-columns: 1fr; } .cc-reason { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; } .cc-reason h3 { margin-top: 2px; } .cc-reason p { grid-column: 2; } .cc-reason__icon { grid-row: span 2; } }
@media (max-width: 480px) { .cc-reasons__head { align-items: flex-start; } .cc-reasons__mark { width: 44px; height: 44px; } }

/* ---------- Professional enquiry: the dark field, inverted mark behind clinical products ---------- */
.cc-pro { background-color: #263259; background-image: linear-gradient(160deg, #2c3760 0%, #263259 55%, #1f3a63 100%); color: #fff; overflow: hidden; isolation: isolate; margin-top: 0; } /* spacing above comes from .cc-reasons */
.cc-pro h2 { color: #fff !important; font-size: clamp(1.9rem, 1.3rem + 1.9vw, 3rem) !important; }
.cc-pro p, .cc-pro li { color: #e3eaf6; }
.cc-pro__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5.4fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.cc-pro__copy { max-width: 620px; }
.cc-pro__lead { font-size: var(--cc-fs-lead); margin-bottom: 24px; }
.cc-steps { list-style: none; counter-reset: ccstep; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.cc-steps li { counter-increment: ccstep; position: relative; padding-left: 48px; font-size: var(--cc-fs-small); line-height: 1.55; }
.cc-steps li::before { content: counter(ccstep); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--cc-mint); color: var(--cc-navy); font-weight: 800; display: grid; place-items: center; font-size: 0.95rem; }
.cc-steps strong { color: #fff; }
.cc-pro__note { font-size: var(--cc-fs-small); color: #c9d5ea !important; margin: 18px 0 0; max-width: 56ch; }
.cc-pro__art { position: relative; aspect-ratio: 1 / 0.92; width: 100%; max-width: 580px; justify-self: end; }
.cc-pro__glow { position: absolute; inset: -14% -18% -10% -10%; background: radial-gradient(42% 44% at 52% 48%, rgba(55, 124, 192, 0.55) 0%, rgba(55, 124, 192, 0.18) 60%, rgba(55, 124, 192, 0) 100%), radial-gradient(30% 30% at 78% 74%, rgba(92, 194, 171, 0.32) 0%, rgba(92, 194, 171, 0) 100%); pointer-events: none; }
.cc-pro__mark { position: absolute; left: 12%; top: 0; width: 80%; height: auto; overflow: visible; }
.cc-pro__mark .cc-mark__ring { opacity: 0.2; }
.cc-pro__mark .cc-mark__corner path { opacity: 0.88; }
.cc-pro__floor { position: absolute; left: 0; right: 4%; bottom: 7%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0)); }
.cc-pro__p { position: absolute; display: block; height: auto; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, 0.45)); }
.cc-pro__p--table { left: 0; bottom: 16%; width: 62%; z-index: 2; }
.cc-pro__p--set { right: 0; bottom: 4%; width: 54%; z-index: 3; }
@media (max-width: 900px) { .cc-pro__grid { grid-template-columns: 1fr; } .cc-pro__art { justify-self: center; max-width: 460px; margin-top: 8px; } }

/* ---------- Local contact ---------- */
.cc-contact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 72px); align-items: stretch; }
.cc-tiles { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.cc-tile { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; height: 100%; padding: 16px; border-radius: var(--cc-radius); background: #fff; box-shadow: inset 0 0 0 1.5px var(--cc-line); color: var(--cc-ink) !important; text-decoration: none !important; transition: box-shadow var(--cc-dur), transform var(--cc-dur) var(--cc-ease-out); }
.cc-tile:hover { box-shadow: inset 0 0 0 2px var(--cc-blue), var(--cc-shadow-lift); transform: translateY(-2px); }
.cc-tile__icon { width: 48px; height: 48px; border-radius: 16px; background: var(--cc-grad-panel); color: #fff; display: grid; place-items: center; }
.cc-tile__icon svg { width: 22px; height: 22px; }
.cc-tile__label { display: block; font-size: var(--cc-fs-small); font-weight: 600; color: var(--cc-ink-soft); }
.cc-tile__value { display: block; font-weight: 700; font-size: 1.0625rem; line-height: 1.35; color: var(--cc-heading); overflow-wrap: anywhere; }
.cc-visit { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--cc-radius-lg); padding: clamp(28px, 3.5vw, 48px); background-color: #276ba5; background-image: var(--cc-grad-panel); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; }
/* the watermark lives in the panel's empty top-right corner and never sits behind text (measured: tools/playwright/r13-contrast.js) */
.cc-visit__mark { position: absolute; z-index: -1; right: -12%; top: -22%; width: 44%; height: auto; opacity: 0.15; overflow: visible; }
.cc-visit__label { display: flex; align-items: center; gap: 8px; font-size: var(--cc-fs-small); font-weight: 650; color: #ffffff; margin: 0 0 8px; }
.cc-visit__label svg { width: 18px; height: 18px; }
.cc-visit__city { font-weight: 750; font-size: clamp(2.1rem, 1.5rem + 2vw, 3.1rem); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 12px; color: #fff; }
.cc-visit__addr { font-size: var(--cc-fs-lead); font-weight: 600; margin: 0 0 12px; max-width: 32ch; color: #fff; }
.cc-visit__note { font-size: var(--cc-fs-small); color: #ffffff; margin: 0 0 22px; max-width: 42ch; }
@media (max-width: 900px) { .cc-contact__grid { grid-template-columns: 1fr; } .cc-visit { min-height: 0; padding-top: 170px; } .cc-visit__mark { right: -34px; top: -44px; width: 190px; } }

/* ---------- Footer: brand-gradient band (large type only) + deep-blue body (all small text) ---------- */
.cc-footer { position: relative; margin-top: clamp(56px, 6vw, 112px); color: #fff; }
.cc-footer__band { position: relative; overflow: hidden; isolation: isolate; background-color: #377cc0; background-image: linear-gradient(112deg, #377cc0 0%, #377cc0 16%, #5cc2ab 100%); padding-block: clamp(44px, 5vw, 80px) clamp(44px, 5vw, 76px); }
.cc-footer__glow { position: absolute; z-index: -1; right: 0; top: -40%; width: 46%; height: 180%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)); pointer-events: none; }
.cc-footer__mark { position: absolute; z-index: -1; right: clamp(24px, 6vw, 110px); top: 50%; width: clamp(190px, 20vw, 300px); height: auto; transform: translateY(-50%); overflow: visible; }
.cc-footer__mark .cc-mark__ring { opacity: 0.85; }
.cc-footer__band-in { position: relative; }
.cc-footer__logo { display: block; width: clamp(260px, 36vw, 540px); height: auto; margin-bottom: clamp(26px, 3vw, 44px); }
.cc-footer__tagline { margin: 0 0 clamp(24px, 2.5vw, 34px); max-width: 15ch; font-size: clamp(1.875rem, 1.2rem + 2.3vw, 3.125rem); font-weight: 750; line-height: 1.06; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.cc-footer__actions { margin: 0; }
.cc-footer__body { background: var(--cc-deep); color: #e6eef8; padding-block: clamp(40px, 4.5vw, 64px) 28px; }
.cc-footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.05fr); gap: 40px 56px; }
.cc-footer__brand p { max-width: 34ch; margin: 0; padding-top: 6px; font-size: 1.0625rem; line-height: 1.6; color: #e6eef8; }
.cc-footer h2 { font-size: 1.0625rem !important; font-weight: 750; color: #fff; margin: 0 0 12px; letter-spacing: 0; }
.cc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cc-footer__shop { columns: 2; column-gap: 28px; display: block !important; }
.cc-footer__shop li { break-inside: avoid; }
.cc-footer li a { display: inline-block; padding-block: 6px; color: #e6eef8 !important; font-size: 0.97rem; text-decoration: none; }
.cc-footer li a:hover { color: #fff !important; text-decoration: underline; }
body.cc-site .cc-footer :focus-visible { outline-color: #fff; }
.cc-footer__contact li span { display: block; padding-block: 6px; font-size: 0.97rem; line-height: 1.5; color: #e6eef8; }
.cc-footer__h2-gap { margin-top: 22px !important; }
.cc-footer__bottom { margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: var(--cc-fs-small); color: #c9d6ea; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.cc-footer__bottom p { margin: 0; }
.cc-footer__legal { display: flex !important; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1000px) { .cc-footer__top { grid-template-columns: 1fr 1fr; } .cc-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 780px) {
  .cc-footer li a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 4px; }
  /* phones: the gradient runs top to bottom so the white type sits on the blue end; the mark sits low on the turquoise end */
  .cc-footer__band { background-image: linear-gradient(172deg, #377cc0 0%, #377cc0 34%, #5cc2ab 100%); padding-bottom: clamp(176px, 48vw, 230px); }
  .cc-footer__mark { top: auto; bottom: 28px; right: 24px; width: min(40vw, 180px); transform: none; }
  .cc-footer__glow { right: -30%; top: 30%; width: 120%; height: 100%; }
}
@media (max-width: 600px) { .cc-footer__top { grid-template-columns: 1fr; } .cc-footer__shop { columns: 1; } .cc-footer__actions .cc-btn { flex: 1 1 100%; } }

/* ---------- Page header (shop, category, search) ---------- */
.cc-pagehead { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%); padding-block: clamp(24px, 3vw, 48px) clamp(28px, 3vw, 52px); }
.cc-pagehead__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.cc-pagehead--art .cc-pagehead__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.cc-pagehead__inner { position: relative; z-index: 1; max-width: 760px; }
.cc-pagehead h1 { font-size: clamp(1.6rem, 1.15rem + 2.2vw, 3rem) !important; margin-bottom: 14px; }
.cc-pagehead p { font-size: var(--cc-fs-lead); margin: 0; max-width: 62ch; }
.cc-headart { position: relative; width: min(100%, 340px); aspect-ratio: 1; justify-self: end; }
.cc-headart__mark { position: absolute; right: 0; top: 0; width: 84%; height: auto; overflow: visible; filter: drop-shadow(0 18px 24px rgba(31, 90, 146, 0.2)); }
.cc-headart__floor { position: absolute; left: 2%; right: 8%; bottom: 6%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(16, 46, 92, 0.26), rgba(16, 46, 92, 0)); }
.cc-headart__main { position: absolute; left: 0; top: 18%; width: 70%; height: 72%; display: block; }
body.cc-site .cc-headart__main img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 18px rgba(17, 45, 85, 0.28)); }
body.cc-site .cc-headart__main:not(.is-cut) img { mix-blend-mode: multiply; filter: none; }
.cc-headart__side { position: absolute; right: 0; bottom: 8%; width: 34%; height: 32%; display: block; }
body.cc-site .cc-headart__side img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 12px 12px rgba(17, 45, 85, 0.26)); }
.cc-crumbs { font-size: var(--cc-fs-small); margin-bottom: 16px; color: var(--cc-ink-soft); }
.cc-crumbs a { color: var(--cc-ink) !important; text-decoration: none; font-weight: 600; }
.cc-crumbs a:hover { color: var(--cc-ctl) !important; text-decoration: underline; }
.cc-crumbs .sep { margin-inline: 8px; opacity: 0.6; }
@media (max-width: 860px) { .cc-pagehead--art .cc-pagehead__grid { grid-template-columns: minmax(0, 1fr) 150px; align-items: start; gap: 16px; } .cc-headart { width: 150px; } .cc-headart__side { display: none; } }
@media (max-width: 560px) { .cc-pagehead--art .cc-pagehead__grid { grid-template-columns: 1fr; } .cc-headart { display: none; } .cc-pagehead .cc-actions .cc-btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- Motion (Round 1.3) ----------
 * Hero: CSS only, starts with the first paint; the text is never hidden. The product group fades in while settling 14 px
 * onto the floor (0.12-0.98 s); the mark's ring draws behind it along its own centre line (a mask over the untouched
 * official path, 0.06-1.16 s) and the corner settles into place (to 1.4 s). No parallax, no bounce.
 * [data-cc-draw]: the same ring draw when the element scrolls into view (class .is-drawn from cc-core.js).
 * Category explorer + professional section: cc-motion.js (GSAP) - see that file.
 * Reduced motion: everything is shown in its final state. */
.cc-mark__trace { stroke-dasharray: 100 140; stroke-dashoffset: 0; } /* gap longer than the path, and hidden states start at 104 (off the path), so no round-cap dot shows before the draw */
@media (prefers-reduced-motion: no-preference) {
  .cc-js [data-cc-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 650ms var(--cc-ease-out), transform 650ms var(--cc-ease-out); transition-delay: var(--cc-delay, 0ms); }
  .cc-js [data-cc-reveal].is-in { opacity: 1; transform: none; }
  .cc-hero__mark .cc-mark__trace { animation: cc-trace 1100ms cubic-bezier(0.65, 0, 0.35, 1) 60ms both; }
  .cc-hero__mark .cc-mark__corner { animation: cc-corner 640ms var(--cc-ease-out) 760ms both; }
  .cc-hero__field { animation: cc-field 900ms var(--cc-ease-out) both; }
  /* the product group arrives together: one short fade while settling 14 px onto the floor (no scale, no bounce);
     the tight stagger reads as one movement and hides small differences in image load time */
  .cc-hero__prod { animation: cc-arrive 720ms var(--cc-ease-out) both; animation-delay: 120ms; }
  .cc-hero__prod--chair { animation-delay: 150ms; }
  .cc-hero__prod--boot { animation-delay: 200ms; }
  .cc-hero__prod--bp { animation-delay: 240ms; }
  .cc-hero__prod--tens { animation-delay: 260ms; }
  .cc-js [data-cc-draw] .cc-mark__trace { transition: stroke-dashoffset 1400ms cubic-bezier(0.65, 0, 0.25, 1) 80ms; }
  .cc-js [data-cc-draw] .cc-mark__corner { transition: opacity 600ms var(--cc-ease-out) 950ms, transform 760ms var(--cc-ease-out) 950ms; }
  .cc-js [data-cc-draw]:not(.is-drawn) .cc-mark__trace { stroke-dashoffset: 104; }
  .cc-js [data-cc-draw]:not(.is-drawn) .cc-mark__corner { opacity: 0; transform: translate(-2.4px, 2.4px); }
}
@keyframes cc-trace { from { stroke-dashoffset: 104; } to { stroke-dashoffset: 0; } }
@keyframes cc-corner { from { opacity: 0; transform: translate(-2.4px, 2.4px); } to { opacity: 1; transform: none; } }
@keyframes cc-field { from { clip-path: inset(0 0 0 100% round 56px 0 0 56px); } to { clip-path: inset(0 0 0 0 round 56px 0 0 56px); } }
@keyframes cc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cc-rise { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes cc-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { body.cc-site *, body.cc-site *::before, body.cc-site *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; } }

/* toast (add to cart feedback) */
.cc-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 300; transform: translate(-50%, 140%); background: var(--cc-navy); color: #fff; border-radius: 999px; padding: 12px 14px 12px 20px; display: flex; gap: 14px; align-items: center; font-weight: 600; box-shadow: var(--cc-shadow-float); transition: transform 360ms var(--cc-ease-out); max-width: calc(100% - 32px); }
.cc-toast.is-shown { transform: translate(-50%, 0); }
.cc-toast a { color: var(--cc-navy) !important; background: var(--cc-mint); border-radius: 999px; padding: 8px 14px; text-decoration: none; white-space: nowrap; }
