/* ==========================================================================
   YiYo Lighting — design system
   Hand-compiled token CSS (no CDN, no external font host).
   ========================================================================== */

:root {
  /* --- brand palette: pulled from the product photography (black reflectors,
         white housings, warm 3000K beams on a grey ceiling) ----------------- */
  --brand-950: #0b0d10;
  --brand-900: #121519;
  --brand-850: #181c22;
  --brand-800: #1f242b;
  --brand-700: #2b323b;
  --brand-600: #3c454f;
  --brand-500: #566270;
  --brand-400: #7c8794;
  --brand-300: #a6aeb9;
  --brand-200: #ccd2d9;
  --brand-100: #e6e9ed;
  --brand-050: #f4f6f8;

  /* accent is lifted straight out of the YiYo mark (the red swoosh) */
  --accent-700: #9c0e19;
  --accent-600: #c31421;
  --accent-500: #e01b29;
  --accent-400: #ef5a63;
  --accent-300: #f79aa0;
  --accent-100: #fbdcde;
  --accent-050: #fdf3f4;

  /* warm light tint, used for beam/glow accents in imagery-led blocks */
  --glow-500: #f2a53c;
  --glow-100: #fdeccf;

  --ok-600: #1f7a4d;
  --warn-600: #b45309;

  /* --- semantic ------------------------------------------------------------ */
  --bg: #ffffff;
  --bg-alt: var(--brand-050);
  --bg-invert: var(--brand-950);
  --surface: #ffffff;
  --surface-2: var(--brand-050);
  --surface-3: var(--brand-100);
  --line: #e2e6ea;
  --line-strong: var(--brand-200);
  --line-invert: rgba(255, 255, 255, .14);

  --ink: var(--brand-900);
  --ink-2: var(--brand-600);
  --ink-3: var(--brand-500);
  --ink-invert: #ffffff;
  --ink-invert-2: rgba(255, 255, 255, .72);

  --link: var(--brand-800);
  --link-hover: var(--accent-600);

  /* --- type ---------------------------------------------------------------- */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.3125rem;
  --fs-2xl: 1.625rem;
  --fs-3xl: 2.0625rem;
  --fs-4xl: 2.625rem;
  --fs-5xl: 3.25rem;

  --lh-tight: 1.14;
  --lh-snug: 1.28;
  --lh-normal: 1.62;

  --tracking-tight: -0.021em;
  --tracking-wide: 0.08em;
  --tracking-caps: 0.13em;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* --- space --------------------------------------------------------------- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  --wrap: 1240px;
  --wrap-narrow: 820px;
  --gutter: 24px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(11, 13, 16, .06);
  --shadow-sm: 0 2px 6px rgba(11, 13, 16, .07);
  --shadow: 0 8px 24px rgba(11, 13, 16, .09);
  --shadow-lg: 0 18px 48px rgba(11, 13, 16, .14);
  --shadow-ring: 0 0 0 1px var(--line);

  --header-h: 74px;
  --topbar-h: 36px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .22s;
  --dur-slow: .5s;
  --z-header: 60;
  --z-mega: 70;
  --z-float: 80;
}

/* ==========================================================================
   Self-hosted type
   ========================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-var.woff2") format("woff2");
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::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-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4, h5 {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15em; }
li { margin-bottom: var(--sp-2); }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-10) 0; }
:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sp-20); }
.section--tight { padding-block: var(--sp-12); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-invert); color: var(--ink-invert); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--ink-invert); }
.section--dark p { color: var(--ink-invert-2); }

.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.between { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-6); flex-wrap: wrap; }

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: var(--sp-3);
}
.section--dark .eyebrow { color: var(--accent-400); }
.lead { font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-sm); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  letter-spacing: .01em;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent-600); color: #fff; }
.btn--primary:hover { background: var(--accent-500); color: #fff; }
.btn--dark { background: var(--brand-900); color: #fff; }
.btn--dark:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--brand-900); color: var(--ink); }
.btn--on-dark { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.06); }
.btn--on-dark:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--sm { padding: 8px 14px; font-size: var(--fs-sm); }
.btn svg { width: 17px; height: 17px; flex: none; }

.textlink { font-weight: var(--fw-semibold); color: var(--accent-700); display: inline-flex; gap: 6px; align-items: center; }
.textlink svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.textlink:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar {
  background: var(--brand-950);
  color: var(--ink-invert-2);
  font-size: var(--fs-xs);
  height: var(--topbar-h);
  display: flex; align-items: center;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); }
.topbar a { color: var(--ink-invert-2); }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; gap: var(--sp-5); align-items: center; list-style: none; margin: 0; padding: 0; }
.topbar__list li { margin: 0; }

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: var(--sp-6);
  height: var(--header-h);
}
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 46px; width: auto; }

.mainnav { margin-left: auto; }
.mainnav > ul {
  display: flex; align-items: center; gap: var(--sp-1);
  list-style: none; margin: 0; padding: 0;
}
.mainnav > ul > li { position: static; }
.mainnav > ul > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--ink);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.mainnav > ul > li > a:hover,
.mainnav > ul > li:hover > a { color: var(--accent-600); background: var(--surface-2); }
.mainnav .caret { width: 11px; height: 11px; opacity: .55; }
.header-cta { flex: none; }

/* ---- simple dropdown ---------------------------------------------------- */
.mainnav .has-sub { position: relative; }
.mainnav .subnav {
  position: absolute; top: 100%; left: 0; min-width: 236px;
  list-style: none; margin: 0; padding: var(--sp-2);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); z-index: var(--z-mega);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.mainnav .has-sub:hover > .subnav,
.mainnav .has-sub:focus-within > .subnav { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mainnav .subnav li { margin: 0; }
.mainnav .subnav a {
  display: block; padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap;
}
.mainnav .subnav a:hover { background: var(--surface-2); color: var(--accent-700); }

/* ---- mega menu ---------------------------------------------------------- */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  z-index: var(--z-mega);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.has-mega:hover > .mega,
.has-mega:focus-within > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mega__inner {
  max-width: var(--wrap); margin-inline: auto; padding: var(--sp-8) var(--gutter);
  display: grid; grid-template-columns: 1.15fr 1.15fr 1.15fr 1.4fr; gap: var(--sp-8);
  max-height: min(72vh, 560px); overflow-y: auto;
}
.mega__col h4 {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps);
  color: var(--ink-3); margin-bottom: var(--sp-3);
}
.mega__col ul { list-style: none; margin: 0; padding: 0; }
.mega__col li { margin-bottom: 2px; }
.mega__col a {
  display: block; padding: 6px 8px; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mega__col a:hover { background: var(--surface-2); color: var(--accent-700); }
.mega__feature { border-left: 1px solid var(--line); padding-left: var(--sp-8); }
.mega__cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.mega__card { display: block; }
.mega__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.mega__card span { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--ink-2); font-weight: var(--fw-medium); }
.mega__card:hover span { color: var(--accent-700); }

/* ---- mobile nav --------------------------------------------------------- */
.navtoggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer; color: var(--ink);
}
.navtoggle svg { width: 20px; height: 20px; }
.mobilenav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobilenav.is-open { display: block; }
.mobilenav ul { list-style: none; margin: 0; padding: 0; }
.mobilenav > ul > li > a { display: block; padding: 13px var(--gutter); border-bottom: 1px solid var(--line); font-weight: var(--fw-semibold); }
.mobilenav ul ul a { display: block; padding: 9px var(--gutter) 9px calc(var(--gutter) + 16px); font-size: var(--fs-sm); color: var(--ink-2); border-bottom: 1px solid var(--line); }

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.hero { position: relative; background: var(--brand-950); overflow: hidden; }
.hero__slides { position: relative; min-height: clamp(520px, 74vh, 760px); }
.hero__slide {
  position: absolute; inset: 0;
  display: grid; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease), visibility var(--dur-slow);
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transform: scale(1.04);
  transition: transform 7s linear;
}
.hero__slide.is-active img.hero__bg { transform: scale(1); }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(8, 10, 13, .93) 0%, rgba(8, 10, 13, .8) 38%, rgba(8, 10, 13, .42) 70%, rgba(8, 10, 13, .55) 100%),
    linear-gradient(to top, rgba(8, 10, 13, .65), rgba(8, 10, 13, .1) 48%);
}
.hero__body { position: relative; z-index: 2; padding-block: var(--sp-20); max-width: 700px; }
.hero__body .eyebrow { color: var(--accent-400); }
.hero__body h1 { color: #fff; font-size: var(--fs-5xl); margin-bottom: var(--sp-5); }
.hero__body p { color: rgba(255, 255, 255, .86); font-size: var(--fs-lg); margin-bottom: var(--sp-8); }
.hero__dots { position: absolute; bottom: var(--sp-8); left: 0; right: 0; z-index: 3; }
.hero__dots .wrap { display: flex; gap: var(--sp-2); }
.hero__dot {
  width: 38px; height: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .32); border-radius: var(--radius-full);
  transition: background var(--dur) var(--ease);
}
.hero__dot[aria-selected="true"] { background: var(--accent-500); }

.pagehead { background: var(--brand-950); color: #fff; position: relative; overflow: hidden; }
.pagehead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.pagehead__inner { position: relative; z-index: 2; padding-block: var(--sp-16); max-width: 780px; }
.pagehead h1 { color: #fff; }
.pagehead p { color: rgba(255, 255, 255, .8); font-size: var(--fs-lg); margin: 0; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.crumbs { font-size: var(--fs-xs); color: var(--ink-3); padding-block: var(--sp-4); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent-600); }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { background: var(--surface-2); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body h3 { font-size: var(--fs-md); margin: 0; }
.card__body p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.card__meta { margin-top: auto; padding-top: var(--sp-3); font-size: var(--fs-xs); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 10px; }
.card__meta b { color: var(--ink-2); font-weight: var(--fw-semibold); }

.tile {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 260px; background: var(--brand-900);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform var(--dur-slow) var(--ease), opacity var(--dur) var(--ease); }
.tile:hover img { transform: scale(1.05); opacity: .75; }
.tile__body { position: relative; z-index: 2; padding: var(--sp-6); display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px;
  background: linear-gradient(to top, rgba(8,10,13,.9), rgba(8,10,13,.1) 62%); }
.tile__body h3 { color: #fff; margin: 0 0 4px; font-size: var(--fs-lg); }
.tile__body p { color: rgba(255,255,255,.78); margin: 0; font-size: var(--fs-sm); }

.prop { border-top: 2px solid var(--brand-900); padding-top: var(--sp-4); }
.prop svg { width: 26px; height: 26px; color: var(--accent-600); margin-bottom: var(--sp-3); }
.prop h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.prop p { font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }

.stat { text-align: left; }
.stat b { display: block; font-size: var(--fs-3xl); font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); color: #fff; line-height: 1.1; }
.stat span { font-size: var(--fs-sm); color: var(--ink-invert-2); }

/* ==========================================================================
   Product detail
   ========================================================================== */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--sp-12); align-items: start; }
.gallery__main { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); }
.gallery__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-2); margin-top: var(--sp-3); }
.gallery__thumbs button { padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); cursor: pointer; }
.gallery__thumbs button[aria-selected="true"] { border-color: var(--accent-500); }
.gallery__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.spectable { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spectable tr:nth-child(even) { background: var(--surface-2); }
.spectable th, .spectable td { text-align: left; padding: 11px var(--sp-5); font-size: var(--fs-sm); border-bottom: 1px solid var(--line); }
.spectable tr:last-child th, .spectable tr:last-child td { border-bottom: 0; }
.spectable th { width: 44%; color: var(--ink-3); font-weight: var(--fw-medium); }
.spectable td { font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-050); color: var(--accent-700);
  border: 1px solid var(--accent-100);
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
}
.badge--plain { background: var(--surface-2); color: var(--ink-2); border-color: var(--line); }

.prose h2 { font-size: var(--fs-2xl); margin-top: var(--sp-10); }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--sp-8); }
.prose p, .prose li { color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--sp-5) 0; font-weight: var(--fw-semibold); list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-600); font-size: var(--fs-xl); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); padding-bottom: var(--sp-5); margin: 0; }

/* ==========================================================================
   Contact blocks
   ========================================================================== */
.contactcard { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-6); background: var(--surface); }
.contactcard h3 { font-size: var(--fs-md); }
.contactcard a { font-weight: var(--fw-semibold); word-break: break-word; }
.contactcard ul { list-style: none; margin: 0; padding: 0; }
.contactcard ul li { margin: 0; border-bottom: 1px solid var(--line); }
.contactcard ul li:last-child { border-bottom: 0; }
.contactcard ul a { display: block; padding: 9px 0; font-size: var(--fs-sm); }
.contactcard .spectable { border: 0; }
.contactcard .spectable th, .contactcard .spectable td { padding-inline: 0; }

.cta-band { background: var(--brand-950); color: #fff; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: var(--ink-invert-2); max-width: 60ch; }

/* ---- floating contact --------------------------------------------------- */
.floatbar { position: fixed; right: 18px; bottom: 22px; z-index: var(--z-float); display: flex; flex-direction: column; gap: 10px; }
.floatbtn {
  width: 52px; height: 52px; border-radius: var(--radius-full);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  color: #fff;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.floatbtn:hover { transform: translateY(-2px) scale(1.04); color: #fff; filter: brightness(1.07); }
.floatbtn svg { width: 24px; height: 24px; }
.floatbtn--mail { background: var(--accent-600); }
.floatbtn--tel { background: var(--brand-800); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brand-950); color: var(--ink-invert-2); padding-top: var(--sp-20); font-size: var(--fs-sm); }
.site-footer h4 { color: #fff; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); margin-bottom: var(--sp-4); }
.site-footer a { color: var(--ink-invert-2); }
.site-footer a:hover { color: var(--accent-400); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: var(--sp-8); }
.footer-logo img { height: 42px; width: auto; margin-bottom: var(--sp-4); }
.footer-bottom { margin-top: var(--sp-16); border-top: 1px solid var(--line-invert); padding-block: var(--sp-6); display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--fs-xs); }

/* ==========================================================================
   Utilities
   ========================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.fill { width: 100%; }
.divider { height: 1px; background: var(--line); margin-block: var(--sp-12); }
.notice { background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: var(--radius); padding: var(--sp-5); font-size: var(--fs-sm); color: var(--accent-700); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  :root { --wrap: 1140px; --fs-5xl: 2.875rem; }
  .mega__inner { grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: var(--sp-6); }
}

@media (max-width: 1120px) {
  :root { --gutter: 20px; }
  .mainnav > ul > li > a { padding: 10px 9px; font-size: var(--fs-sm); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-grid > :nth-child(4) { display: none; }
}

@media (max-width: 1024px) {
  .header-cta { display: none; }
  .mega__inner { grid-template-columns: 1fr 1fr 1.2fr; max-height: 64vh; }
  .mega__feature { grid-column: span 3; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: var(--sp-5); }
  .mega__cards { grid-template-columns: repeat(4, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp { grid-template-columns: 1fr; gap: var(--sp-8); }
  :root { --fs-4xl: 2.25rem; --fs-5xl: 2.5rem; --fs-3xl: 1.875rem; }
}

@media (max-width: 900px) {
  .mainnav { display: none; }
  .navtoggle { display: inline-flex; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .footer-grid > :nth-child(4) { display: block; }
  .section { padding-block: var(--sp-16); }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; --fs-4xl: 1.9375rem; --fs-5xl: 2.125rem; --fs-3xl: 1.625rem; --fs-2xl: 1.375rem; }
  .brand img { height: 38px; }
  .topbar { font-size: 11px; }
  .topbar .wrap > span { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar__list { gap: var(--sp-4); }
  .hero__slides { min-height: 620px; }
  .hero__body { padding-block: var(--sp-12) calc(var(--sp-16) + 16px); }
  .hero__body p { font-size: var(--fs-md); margin-bottom: var(--sp-6); }
  .hero__body .btn { padding: 10px 16px; font-size: var(--fs-sm); }
  .grid-2 { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .floatbar { bottom: 76px; right: 14px; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .card__body { padding: var(--sp-4); }
  .footer-grid { grid-template-columns: 1fr; }
  .between { align-items: flex-start; }
  .btn { padding: 11px 18px; }
  .hero__dots { bottom: var(--sp-5); }
}

@media (max-width: 400px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__slide img.hero__bg { transform: none; }
}

@media print {
  .site-header, .topbar, .floatbar, .site-footer, .hero__dots { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* === review-patch enrich (senkosteel-inspired layout density) === */
:root{--fp-ink:#0B1220;--fp-blue:#1E5AA8;--fp-blue-soft:#8FB1DD;--fp-muted:#5B6B7C;--fp-bg:#F5F7FA;--fp-line:#D7DEE7;--fp-max:1160px;--fp-s-4:1rem;--fp-s-5:1.5rem;--fp-s-6:2rem;--fp-s-7:3rem;--fp-s-8:4rem;--fp-s-9:5rem}
.full-bleed,.hero.full-bleed,.hero-full,.banner-full{position:relative;isolation:isolate;overflow:hidden;min-height:100vh;min-height:70vh;background-size:cover;background-position:center}
.hero.full-bleed{display:flex;align-items:flex-end;color:#fff;background:#0B1220}
.hero.full-bleed .hero-media,.hero-full .hero-media{position:absolute;inset:0;z-index:-2}
.hero.full-bleed .hero-media img,.hero-full .hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.hero.full-bleed::after,.hero-full::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgba(11,18,32,.78),rgba(11,18,32,.45) 55%,rgba(11,18,32,.55));pointer-events:none}
.hero.full-bleed .hero-inner,.hero.full-bleed .wrap{position:relative;z-index:1;padding:var(--fp-s-9) 1.25rem var(--fp-s-8);max-width:760px}
.hero.full-bleed h1{color:#fff;font-size:clamp(1.75rem,4vw,3rem);line-height:1.15;margin:0 0 1rem}
.hero.full-bleed p,.hero.full-bleed .hero-lead{color:#D5DFEB;font-size:1.05rem;line-height:1.6;max-width:44em}
.hero-strip{background:rgba(255,255,255,.07);border-top:1px solid rgba(255,255,255,.14)}
.hero-strip .wrap,.fp-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:0;max-width:var(--fp-max);margin:0 auto;padding:0 1.25rem}
.hero-strip div,.fp-strip>div{padding:1.25rem 1.25rem 1.25rem 0;border-right:1px solid rgba(255,255,255,.12)}
.hero-strip div:last-child,.fp-strip>div:last-child{border-right:0}
.fp-section{padding:var(--fp-s-8) 1.25rem;background:#fff}
.fp-section.alt{background:var(--fp-bg)}
.fp-wrap{max-width:var(--fp-max);margin:0 auto}
.fp-section h2{font-size:clamp(1.35rem,2.5vw,1.85rem);margin:0 0 1rem;color:var(--fp-ink)}
.fp-section .lead{color:var(--fp-muted);font-size:1.05rem;line-height:1.65;max-width:48em;margin:0 0 1.75rem}
.fp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem}
.fp-card{background:#fff;border:1px solid var(--fp-line);border-radius:10px;overflow:hidden;box-shadow:0 1px 2px rgba(11,18,32,.04)}
.fp-card img{width:100%;height:180px;object-fit:cover;display:block;background:#e8eef5}
.fp-card .body{padding:1rem 1.05rem 1.2rem}
.fp-card h3{margin:0 0 .4rem;font-size:1rem;color:var(--fp-ink)}
.fp-card p{margin:0;color:var(--fp-muted);font-size:.92rem;line-height:1.5}
.fp-split{display:grid;grid-template-columns:1.05fr .95fr;gap:2rem;align-items:center}
.fp-split img{width:100%;border-radius:12px;object-fit:cover;max-height:420px}
.fp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-top:1.5rem}
.fp-facts div{background:#fff;border:1px solid var(--fp-line);border-radius:10px;padding:1rem 1.1rem}
.fp-facts strong{display:block;font-size:1.35rem;color:var(--fp-blue);margin-bottom:.25rem}
.fp-cta{background:var(--fp-ink);color:#fff;padding:var(--fp-s-8) 1.25rem;text-align:center}
.fp-cta h2{color:#fff;margin:0 0 .75rem}
.fp-cta p{color:#D5DFEB;max-width:40em;margin:0 auto 1.25rem;line-height:1.6}
.fp-btn{display:inline-block;background:var(--fp-blue);color:#fff;padding:.85rem 1.35rem;border-radius:8px;text-decoration:none;font-weight:600}
@media (max-width:860px){
  .fp-split{grid-template-columns:1fr}
  .hero-strip .wrap,.fp-strip{grid-template-columns:1fr 1fr}
  .hero.full-bleed{min-height:60vh}
}
@media (max-width:560px){
  .hero-strip .wrap,.fp-strip{grid-template-columns:1fr}
}


/* cify-nav-bullets-fix-20260924 */
nav ul, .nav ul, .nav-list, .nav-ul, .nav__list, ul.nav { list-style: none; }
nav li, .nav li, .nav-list > li, .nav-ul > li, .nav__list > li, ul.nav > li { list-style: none; }
.nav__item, .site-header, .header { overflow: visible; }

/* cify-rtl-skiplink-fix-20260925 */
[dir="rtl"] .skip-link:not(:focus),[dir="rtl"] .skip:not(:focus),[dir="rtl"] .sr-only,[dir="rtl"] .visually-hidden{left:auto!important;right:-9999px!important}
