/* ============================================================
   SuperVista · styles
   ============================================================ */

:root {
  color-scheme: light;

  /* ---------- paleta de marca ---------- */
  --ink: #07251c;
  --ink-2: #0f3d2f;
  --muted: #527065;
  --mint: #b9f5d9;
  --mint-2: #7ce8b8;
  --lime: #dcffb0;
  --aqua: #c8f4ec;
  --paper: #f4fdf9;
  --white: #ffffff;

  /* ---------- superficies ---------- */
  --surface: var(--paper);
  --surface-raised: var(--white);
  --surface-sunken: #f7fdfa;
  --surface-inverse: var(--ink);
  --surface-glass: rgba(255, 255, 255, 0.65);
  --surface-glass-soft: rgba(255, 255, 255, 0.55);
  --surface-glass-strong: rgba(255, 255, 255, 0.85);
  --surface-card: rgba(255, 255, 255, 0.72);
  --surface-tint: #eafff5;
  --surface-inverse-soft: rgba(255, 255, 255, 0.07);
  --header-bg: rgba(244, 253, 249, 0.6);
  --header-bg-scrolled: rgba(248, 255, 252, 0.88);
  --footer-bg: rgba(250, 255, 252, 0.75);
  --surface-drawer: #fbfffd;
  --media-gradient: linear-gradient(160deg, #effff8, #c9f4de);
  --studio-bg: radial-gradient(circle at 28% 16%, #11523d 0%, transparent 55%),
    radial-gradient(circle at 82% 90%, #0d4232 0%, transparent 50%),
    #07251c;
  --featured-bg: linear-gradient(160deg, #0f4a38, #07251c 75%);
  --cta-bg: var(--ink);
  --toast-bg: var(--ink);
  --toast-text: #eafff5;
  --marquee-bg: var(--ink);
  --marquee-text: #d9ffec;
  --season-bg: linear-gradient(180deg, rgba(185, 245, 217, 0.26), rgba(244, 253, 249, 0) 72%);

  /* ---------- texto ---------- */
  --text: var(--ink);
  --text-soft: #2c4c41;
  --text-muted: var(--muted);
  --text-subtle: #5c776b;
  --text-faint: #5f776d;
  --text-inverse: #eafff5;
  --text-inverse-strong: #ffffff;
  --text-inverse-soft: rgba(217, 255, 236, 0.68);
  --text-inverse-faint: rgba(217, 255, 236, 0.5);

  /* ---------- bordes ---------- */
  --border: rgba(7, 37, 28, 0.1);
  --border-strong: rgba(7, 37, 28, 0.18);
  --border-soft: rgba(15, 107, 79, 0.09);
  --border-accent: rgba(15, 107, 79, 0.24);
  --border-hover: rgba(15, 107, 79, 0.35);
  --border-emphasis: rgba(7, 37, 28, 0.4);
  --border-glass: rgba(255, 255, 255, 0.9);
  --border-inverse: rgba(255, 255, 255, 0.16);

  /* ---------- acciones y acentos ---------- */
  --accent: #0f6b4f;
  --accent-strong: #1b6f53;
  --accent-live: #2f9e78;
  --accent-hover: #0d4032;
  --accent-soft: #eafff5;
  --accent-soft-inverse: rgba(124, 247, 192, 0.14);
  --on-accent: #ffffff;
  --action-bg: var(--ink);
  --action-text: var(--lime);
  --active-bg: var(--ink);
  --active-text: var(--mint);
  --btn-primary-bg: var(--ink);
  --btn-primary-text: #eafff5;
  --btn-primary-hover: #0d4032;
  --btn-primary-accent: var(--lime);
  --focus: #2f9e78;
  --focus-ring: rgba(47, 158, 120, 0.14);
  --danger: #b4472f;
  --success-ring: rgba(185, 245, 217, 0.35);
  --lime-hover: #e8ffc9;

  /* ---------- decoración ---------- */
  --grad: linear-gradient(100deg, #0b3f2f 0%, #1b8f66 48%, #7ccb52 100%);
  --avatar-ink: #08251d;
  --avatar-a: linear-gradient(135deg, #a9f3cd, #5fd7a8);
  --avatar-b: linear-gradient(135deg, #e6ffb8, #c0e86a);
  --avatar-c: linear-gradient(135deg, #c8f4ec, #7fd9c8);
  --star: #4f9c6f;
  --dot: #45c98f;
  --dot-ring: rgba(69, 201, 143, 0.16);
  --pulse-ring: rgba(69, 201, 143, 0.08);
  --glow-1: rgba(157, 255, 209, 0.85);
  --glow-2: rgba(220, 255, 176, 0.7);
  --glow-3: rgba(124, 232, 184, 0.5);
  --halo: radial-gradient(circle at 50% 50%, rgba(124, 247, 192, 0.6), rgba(220, 255, 176, 0.25) 52%, transparent 70%);
  --orbit-line: rgba(15, 107, 79, 0.22);
  --orbit-line-soft: rgba(15, 107, 79, 0.09);
  --orbit-dot: #2f9e78;
  --orbit-dot-alt: #b7e86a;
  --orbit-glow: rgba(47, 158, 120, 0.8);
  --grid-line: rgba(124, 247, 192, 0.055);
  --grid-line-soft: rgba(124, 247, 192, 0.05);
  --studio-glow: rgba(124, 247, 192, 0.28);
  --deco-1: rgba(124, 247, 192, 0.34);
  --deco-2: rgba(220, 255, 176, 0.28);
  --glass-highlight: #ffffff;
  --highlight-soft: rgba(255, 255, 255, 0.08);

  /* ---------- sombras ---------- */
  --shadow-lg: 0 36px 90px -46px rgba(6, 52, 37, 0.55);
  --shadow-md: 0 20px 45px -28px rgba(6, 52, 37, 0.4);
  --shadow-primary: 0 16px 34px -18px rgba(7, 37, 28, 0.65);
  --shadow-primary-hover: 0 20px 40px -18px rgba(15, 107, 79, 0.6);
  --shadow-lime: 0 12px 30px -16px rgba(220, 255, 176, 0.8);
  --shadow-chip: 0 14px 26px -16px rgba(7, 37, 28, 0.9);
  --shadow-action: 0 14px 26px -14px rgba(7, 37, 28, 0.8);
  --shadow-brand: 0 10px 22px -14px rgba(7, 37, 28, 0.8);
  --shadow-drawer: -30px 0 80px rgba(4, 24, 18, 0.28);
  --shadow-toast: 0 20px 44px -20px rgba(4, 24, 18, 0.8);
  --shadow-header: 0 10px 30px -26px rgba(7, 37, 28, 0.5);
  --shadow-filter: 0 30px 50px rgba(0, 0, 0, 0.4);
  --scrollbar: rgba(15, 107, 79, 0.28);
  --overlay: rgba(4, 24, 18, 0.48);

  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;

  --surface: #041a14;
  --surface-raised: #0b2f26;
  --surface-sunken: #061f18;
  --surface-inverse: #0b2f26;
  --surface-glass: rgba(7, 37, 28, 0.62);
  --surface-glass-soft: rgba(7, 37, 28, 0.55);
  --surface-glass-strong: rgba(7, 37, 28, 0.86);
  --surface-card: rgba(11, 47, 38, 0.72);
  --surface-tint: rgba(124, 232, 184, 0.14);
  --surface-inverse-soft: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(4, 26, 20, 0.6);
  --header-bg-scrolled: rgba(4, 26, 20, 0.9);
  --footer-bg: rgba(4, 26, 20, 0.75);
  --surface-drawer: #0b2f26;
  --media-gradient: linear-gradient(160deg, #0b2f26, #061f18);
  --studio-bg: radial-gradient(circle at 28% 16%, #0f4a38 0%, transparent 55%),
    radial-gradient(circle at 82% 90%, #0b3f2f 0%, transparent 50%),
    #041a14;
  --featured-bg: linear-gradient(160deg, #0f4a38, #0b2f26 75%);
  --cta-bg: #0b2f26;
  --toast-bg: #0b2f26;
  --toast-text: #eafff5;
  --marquee-bg: #0b2f26;
  --marquee-text: #d9ffec;
  --season-bg: linear-gradient(180deg, rgba(124, 232, 184, 0.08), rgba(4, 26, 20, 0) 72%);

  --text: #eafff5;
  --text-soft: #cfe9dd;
  --text-muted: #a9c6ba;
  --text-subtle: #8fb3a5;
  --text-faint: #7d9d90;
  --text-inverse: #eafff5;
  --text-inverse-strong: #ffffff;
  --text-inverse-soft: rgba(234, 255, 245, 0.7);
  --text-inverse-faint: rgba(234, 255, 245, 0.5);

  --border: rgba(185, 245, 217, 0.14);
  --border-strong: rgba(185, 245, 217, 0.26);
  --border-soft: rgba(185, 245, 217, 0.1);
  --border-accent: rgba(124, 232, 184, 0.38);
  --border-hover: rgba(124, 232, 184, 0.5);
  --border-emphasis: rgba(185, 245, 217, 0.44);
  --border-glass: rgba(185, 245, 217, 0.24);
  --border-inverse: rgba(185, 245, 217, 0.22);

  --accent: #7ce8b8;
  --accent-strong: #9ff3cf;
  --accent-live: #7ce8b8;
  --accent-hover: #b9f5d9;
  --accent-soft: rgba(124, 232, 184, 0.14);
  --accent-soft-inverse: rgba(124, 247, 192, 0.14);
  --on-accent: #04231b;
  --action-bg: var(--mint);
  --action-text: #04231b;
  --active-bg: var(--mint);
  --active-text: #04231b;
  --btn-primary-bg: var(--mint);
  --btn-primary-text: #04231b;
  --btn-primary-hover: #b9f5d9;
  --btn-primary-accent: #04231b;
  --focus: #9ff3cf;
  --focus-ring: rgba(124, 232, 184, 0.22);
  --danger: #ff9b85;
  --success-ring: rgba(124, 232, 184, 0.2);
  --lime-hover: #e8ffc9;

  --grad: linear-gradient(100deg, #b9f5d9 0%, #7ce8b8 48%, #dcffb0 100%);
  --star: var(--mint-2);
  --dot: var(--mint-2);
  --dot-ring: rgba(124, 232, 184, 0.18);
  --pulse-ring: rgba(124, 232, 184, 0.08);
  --glow-1: rgba(124, 232, 184, 0.32);
  --glow-2: rgba(220, 255, 176, 0.18);
  --glow-3: rgba(124, 232, 184, 0.16);
  --halo: radial-gradient(circle at 50% 50%, rgba(124, 247, 192, 0.28), rgba(220, 255, 176, 0.1) 52%, transparent 70%);
  --orbit-line: rgba(185, 245, 217, 0.2);
  --orbit-line-soft: rgba(185, 245, 217, 0.08);
  --orbit-dot: var(--mint-2);
  --orbit-dot-alt: var(--lime);
  --orbit-glow: rgba(124, 232, 184, 0.8);
  --grid-line: rgba(124, 247, 192, 0.07);
  --grid-line-soft: rgba(124, 247, 192, 0.06);
  --studio-glow: rgba(124, 247, 192, 0.2);
  --deco-1: rgba(124, 247, 192, 0.22);
  --deco-2: rgba(220, 255, 176, 0.16);
  --glass-highlight: rgba(185, 245, 217, 0.18);
  --highlight-soft: rgba(185, 245, 217, 0.1);

  --shadow-lg: 0 36px 90px -46px rgba(0, 0, 0, 0.75);
  --shadow-md: 0 20px 45px -28px rgba(0, 0, 0, 0.65);
  --shadow-primary: 0 16px 34px -18px rgba(0, 0, 0, 0.7);
  --shadow-primary-hover: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  --shadow-lime: 0 12px 30px -16px rgba(124, 232, 184, 0.22);
  --shadow-chip: 0 14px 26px -16px rgba(0, 0, 0, 0.8);
  --shadow-action: 0 14px 26px -14px rgba(0, 0, 0, 0.7);
  --shadow-brand: 0 10px 22px -14px rgba(0, 0, 0, 0.7);
  --shadow-drawer: -30px 0 80px rgba(0, 0, 0, 0.55);
  --shadow-toast: 0 20px 44px -20px rgba(0, 0, 0, 0.9);
  --shadow-header: 0 10px 30px -26px rgba(0, 0, 0, 0.6);
  --shadow-filter: 0 30px 50px rgba(0, 0, 0, 0.65);
  --scrollbar: rgba(124, 232, 184, 0.3);
  --overlay: rgba(0, 0, 0, 0.62);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.5;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4, p, figure, blockquote {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--mint-2);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--surface-inverse);
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 0.9rem;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- atmosphere ---------- */

.page-glow {
  position: fixed;
  z-index: 0;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.55;
}

.page-glow--one {
  top: -220px;
  right: -140px;
  background: radial-gradient(circle, var(--glow-1), transparent 68%);
}

.page-glow--two {
  top: 46%;
  left: -260px;
  background: radial-gradient(circle, var(--glow-2), transparent 68%);
}

.page-glow--three {
  bottom: -200px;
  right: 10%;
  background: radial-gradient(circle, var(--glow-3), transparent 70%);
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 16px 34px -18px var(--shadow-primary);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 20px 40px -18px var(--shadow-primary-hover);
}

.btn--ghost {
  background: var(--surface-glass-soft);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: var(--surface-raised);
  border-color: var(--border-strong);
}

.btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--outline:hover {
  background: var(--surface-raised);
  border-color: var(--border-emphasis);
}

.btn--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 30px -16px var(--shadow-lime);
}

.btn--lime:hover {
  background: var(--lime-hover);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.84rem;
}

.btn--wide {
  width: 100%;
  justify-content: space-between;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -26px var(--shadow-header);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface-inverse);
  color: var(--mint);
  box-shadow: inset 0 1px 0 var(--glass-highlight),
    0 10px 22px -14px var(--shadow-brand);
}

.brand__mark svg {
  width: 27px;
  height: 27px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand__name span {
  color: var(--accent-live);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav > a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 6px 0;
}

.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--mint-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav > a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-glass);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.cart-btn svg {
  width: 20px;
  height: 20px;
}

.cart-btn:hover {
  background: var(--surface-raised);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.cart-btn__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px var(--surface);
}

.cart-btn__count.is-bump {
  animation: bump 0.4s var(--ease);
}

.menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-glass);
  cursor: pointer;
}

.menu-btn span {
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- theme switch ---------- */

.theme-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-glass);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.theme-btn:hover {
  background: var(--surface-raised);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.theme-btn svg {
  width: 20px;
  height: 20px;
}

.theme-btn__moon,
[data-theme="dark"] .theme-btn__sun {
  display: none;
}

[data-theme="dark"] .theme-btn__moon {
  display: block;
}

.nav__theme {
  display: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: 54px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 44px;
  padding-bottom: 68px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-card);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  backdrop-filter: blur(8px);
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 4px var(--dot-ring);
  animation: pulse 2.4s infinite;
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.85rem, 5.5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 500px;
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.avatars {
  display: flex;
  padding-left: 10px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--avatar-ink);
}

.avatar--a {
  background: var(--avatar-a);
}

.avatar--b {
  background: var(--avatar-b);
}

.avatar--c {
  background: var(--avatar-c);
}

.hero__proof-text p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.hero__proof-text strong {
  color: var(--text);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
}

.stars svg {
  width: 15px;
  height: 15px;
}

.hero__proof .stars {
  margin-bottom: 3px;
}

/* hero visual */

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 530px;
}

.hero__halo {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--halo);
  filter: blur(24px);
  z-index: 0;
}

.orbit {
  position: absolute;
  width: 104%;
  aspect-ratio: 1;
  border: 1px dashed var(--orbit-line);
  border-radius: 50%;
  z-index: 1;
  animation: spin 44s linear infinite;
}

.orbit::after {
  content: "";
  position: absolute;
  top: 17%;
  left: 7%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-live);
  box-shadow: 0 0 12px var(--orbit-glow);
}

.orbit--two {
  width: 120%;
  border-style: solid;
  border-color: var(--orbit-line-soft);
  animation-duration: 70s;
  animation-direction: reverse;
}

.orbit--two::after {
  top: auto;
  left: auto;
  bottom: 14%;
  right: 13%;
  width: 7px;
  height: 7px;
  background: var(--orbit-dot-alt);
}

.hero__frame {
  position: relative;
  z-index: 2;
  width: 84%;
  max-width: 456px;
  padding: 10px;
  border-radius: 42px;
  background: var(--surface-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-highlight);
  transform: rotate(-3deg);
  transition: transform 0.6s var(--ease);
  animation: float 7s ease-in-out infinite;
}

.hero__frame:hover {
  transform: rotate(0deg) translateY(-4px);
}

.hero__frame img {
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.chip {
  position: absolute;
  z-index: 3;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--surface-inverse);
  color: var(--lime);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 14px 26px -16px var(--shadow-chip);
}

.chip--top {
  top: 7%;
  right: 1%;
  transform: rotate(4deg);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--surface-glass-strong);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.float-card span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--ink);
  flex: none;
}

.float-card__icon svg {
  width: 19px;
  height: 19px;
}

.float-card--scan {
  left: -3%;
  top: 30%;
}

.float-card--price {
  right: -2%;
  bottom: 12%;
  animation-delay: -3s;
}

.float-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 5px var(--dot-ring);
  flex: none;
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--marquee-bg);
  color: var(--marquee-text);
  padding: 15px 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee__track span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__track i {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--lime);
}

/* ---------- sections ---------- */

.section {
  position: relative;
  padding: 110px 0;
  scroll-margin-top: 92px;
}

.section--studio {
  background: var(--season-bg);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 48px;
}

.section__head h2 {
  margin-top: 14px;
  font-size: clamp(2.05rem, 3.7vw, 3.2rem);
  letter-spacing: -0.04em;
}

.section__head .eyebrow {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--light {
  color: var(--lime);
}

.section__intro {
  max-width: 360px;
  font-size: 0.97rem;
  line-height: 1.72;
  color: var(--text-muted);
  padding-bottom: 6px;
}

.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 56px;
}

.section__head--center .eyebrow::before {
  display: none;
}

.section__head--center .section__intro {
  max-width: 560px;
  padding-bottom: 0;
}

/* ---------- collection ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-glass);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.filter:hover {
  border-color: var(--border-strong);
  background: var(--surface-raised);
  transform: translateY(-1px);
}

.filter.is-active {
  background: var(--active-bg);
  border-color: var(--active-bg);
  color: var(--active-text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  animation: cardIn 0.55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.card__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--media-gradient);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.045) rotate(1deg);
}

.card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface-glass-strong);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card__add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--action-bg);
  color: var(--action-text);
  cursor: pointer;
  box-shadow: 0 14px 26px -14px var(--shadow-brand);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.card__add svg {
  width: 19px;
  height: 19px;
}

.card__add:hover {
  transform: scale(1.09);
  background: var(--accent);
}

.card__body {
  display: flex;
  flex-direction: column;
  padding: 17px 10px 9px;
}

.card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.card__top h3 {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.card__price {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}

.card__meta {
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.swatches {
  display: flex;
  gap: 6px;
}

.swatch-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--border-glass);
  box-shadow: 0 0 0 1px var(--border);
}

.card__badge {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
}

.collection__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.collection__foot p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.collection__foot p span {
  color: var(--accent-live);
  margin-right: 6px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* ---------- studio / customizer ---------- */

.studio {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 26px;
  align-items: stretch;
}

.studio__preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 46px 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-inverse);
  background: var(--studio-bg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--highlight-soft);
}

.studio__preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 78%);
  pointer-events: none;
}

.studio__glow {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--studio-glow), transparent 66%);
  filter: blur(30px);
  animation: pulse-soft 7s ease-in-out infinite;
}

.studio__label {
  position: absolute;
  top: 24px;
  left: 28px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-inverse-faint);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.studio__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.studio__stage {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
}

.studio__stage svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(var(--shadow-filter));
}

.studio__price {
  position: absolute;
  left: 26px;
  bottom: 24px;
  padding: 10px 16px;
  border-radius: 16px;
  border: 1px solid var(--border-inverse);
  background: var(--surface-inverse-soft);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.studio__price span {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-inverse-faint);
}

.studio__price strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-inverse);
}

.studio__engraving {
  position: absolute;
  top: 22px;
  right: 24px;
  max-width: 190px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 2;
}

.studio__panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.control {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.control legend {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.shape-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.shape-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-sunken);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.shape-btn svg {
  width: 46px;
  height: 22px;
  color: var(--text-subtle);
}

.shape-btn span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

.shape-btn:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.shape-btn.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.shape-btn.is-active svg,
.shape-btn.is-active span {
  color: var(--accent);
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid var(--border-glass);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--border);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.swatch:hover {
  transform: scale(1.09);
}

.swatch.is-active {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text);
}

.control__value {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.control--engraving label {
  display: block;
  margin-bottom: 11px;
}

.control--engraving label span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.control--engraving em {
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
}

.engraving-field {
  position: relative;
}

.engraving-field input {
  width: 100%;
  padding: 13px 68px 13px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-sunken);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.engraving-field input::placeholder {
  color: var(--text-faint);
}

.engraving-field input:focus {
  outline: none;
  border-color: var(--accent-live);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.char-count {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: var(--text-subtle);
  pointer-events: none;
}

.studio__panel > .btn {
  margin-top: 2px;
}

.studio__panel .btn span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--btn-primary-accent);
}

.studio__note {
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- benefits ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}

.benefit__icon svg {
  width: 24px;
  height: 24px;
}

.benefit h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.benefit p {
  font-size: 0.87rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.benefit--dark {
  background: var(--surface-inverse);
  border-color: transparent;
  color: var(--text-inverse);
}

.benefit--dark .benefit__icon {
  background: var(--accent-soft-inverse);
  color: var(--lime);
}

.benefit--dark p {
  color: var(--text-inverse-soft);
}

/* ---------- reviews ---------- */

.rating-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 20px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
}

.rating-badge > strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.rating-badge p {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.review blockquote {
  font-size: 0.97rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--text);
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.review figcaption .avatar {
  margin-left: 0;
  border-color: var(--surface-raised);
}

.review figcaption strong {
  display: block;
  font-size: 0.85rem;
}

.review figcaption div span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.review--featured {
  background: var(--featured-bg);
  border-color: transparent;
  color: var(--text-inverse);
}

.review--featured .stars {
  color: var(--lime);
}

.review--featured blockquote {
  color: var(--text-inverse);
}

.review--featured figcaption div span {
  color: var(--text-inverse-faint);
}

/* ---------- cta ---------- */

.section--cta {
  padding: 20px 0 110px;
}

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
  padding: 56px;
  border-radius: var(--radius-xl);
  background: var(--cta-bg);
  color: var(--text-inverse);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-soft) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 78% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 78% 40%, #000, transparent 75%);
  pointer-events: none;
}

.cta__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta__deco--one {
  width: 280px;
  height: 280px;
  right: -60px;
  top: -100px;
  background: radial-gradient(circle, var(--deco-1), transparent 68%);
  filter: blur(40px);
}

.cta__deco--two {
  width: 220px;
  height: 220px;
  right: 18%;
  bottom: -120px;
  background: radial-gradient(circle, var(--deco-2), transparent 68%);
  filter: blur(40px);
}

.cta__copy,
.newsletter {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin: 14px 0 16px;
  font-size: clamp(2rem, 3.3vw, 2.9rem);
  color: var(--text-inverse-strong);
  letter-spacing: -0.04em;
}

.cta__copy p {
  max-width: 430px;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-inverse-soft);
}

.newsletter__field {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border-inverse);
  border-radius: 999px;
  background: var(--surface-inverse-soft);
  backdrop-filter: blur(10px);
}

.newsletter__field input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-inverse-strong);
  outline: none;
}

.newsletter__field input::placeholder {
  color: var(--text-inverse-faint);
}

.newsletter__field .btn {
  flex: none;
  padding: 13px 22px;
}

.newsletter__note {
  margin: 13px 0 0 10px;
  font-size: 0.72rem;
  color: var(--text-inverse-faint);
}

.newsletter__status {
  min-height: 1.2em;
  margin: 6px 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lime);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
  padding: 70px 0 26px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__brand p {
  max-width: 300px;
  margin: 18px 0 20px;
  font-size: 0.89rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.brand--footer .brand__name {
  font-size: 1.22rem;
}

.brand__mark--light {
  background: var(--surface-inverse);
  color: var(--mint);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.socials a {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.socials a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__col h3 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer__col > a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.footer__col > a:hover {
  color: var(--accent);
}

.footer__col--contact p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.footer__badge {
  display: inline-flex;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.footer__bottom a {
  margin-left: 20px;
}

.footer__bottom a:hover {
  color: var(--text);
}

/* ---------- cart ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--overlay);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.overlay.is-visible {
  opacity: 1;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(430px, 100vw);
  height: 100dvh;
  background: var(--surface-drawer);
  box-shadow: -30px 0 80px var(--shadow-drawer);
  transform: translateX(103%);
  transition: transform 0.45s var(--ease);
}

.cart.is-open {
  transform: translateX(0);
}

.cart__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 24px 18px;
  border-bottom: 1px solid var(--border);
}

.cart__head h2 {
  margin-top: 6px;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.cart__head h2 span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-muted);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: var(--accent-soft);
  border-color: var(--border-accent);
}

.cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar) transparent;
}

.cart__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  animation: cardIn 0.35s var(--ease) both;
}

.cart-item img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--accent-soft);
}

.cart-item__info {
  min-width: 0;
}

.cart-item__info strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.cart-item__info > span {
  display: block;
  margin: 3px 0 9px;
  font-size: 0.73rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.qty {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
}

.qty button {
  width: 27px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.qty button:hover {
  background: var(--accent-soft);
}

.qty span {
  width: 24px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.cart-item__price {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
}

.cart-item__remove {
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.7rem;
  color: var(--text-subtle);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cart-item__remove:hover {
  color: var(--danger);
}

.cart-empty {
  padding: 56px 12px;
  text-align: center;
}

.cart-empty__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.cart-empty__icon svg {
  width: 28px;
  height: 28px;
}

.cart-empty h3 {
  font-size: 1.1rem;
}

.cart-empty p {
  max-width: 260px;
  margin: 8px auto 18px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cart__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 12px;
  text-align: center;
}

.cart__success-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 0 10px var(--success-ring);
}

.cart__success-icon svg {
  width: 34px;
  height: 34px;
}

.cart__success h3 {
  font-size: 1.3rem;
}

.cart__success p {
  max-width: 280px;
  margin: 10px 0 6px;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.cart__success code {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  font-size: 0.78rem;
  color: var(--accent);
}

.cart__success .btn {
  margin-top: 22px;
}

.cart__foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface-raised);
}

.cart__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.cart__row strong {
  color: var(--text);
}

.cart__row--total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text);
}

.cart__row--total strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.cart__hint {
  margin: 6px 0 12px;
  font-size: 0.73rem;
  color: var(--accent);
}

.cart__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.cart__secure svg {
  width: 14px;
  height: 14px;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  top: 92px;
  z-index: 200;
  max-width: calc(100vw - 32px);
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--toast-bg);
  color: var(--toast-text);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 20px 44px -20px var(--shadow-toast);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- animations ---------- */

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

.float-card {
  animation-name: floatCard;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--dot-ring); }
  50% { box-shadow: 0 0 0 7px var(--pulse-ring); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ---------- theme transition ---------- */

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    fill 0.3s var(--ease), stroke 0.3s var(--ease) !important;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero__grid {
    gap: 28px;
  }

  .hero__visual {
    min-height: 470px;
  }

  .nav {
    gap: 20px;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__col--contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .header__inner {
    position: relative;
    min-height: 72px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface-drawer);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav > a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav > a::after {
    display: none;
  }

  .nav > a:hover {
    background: var(--accent-soft);
  }

  .nav__cta {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    background: var(--active-bg);
    color: var(--active-text) !important;
    font-weight: 700;
  }

  .nav__cta:hover {
    background: var(--accent) !important;
  }

  .menu-btn {
    display: inline-flex;
  }

  .theme-btn {
    display: none;
  }

  .nav__theme {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--text-soft);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
  }

  .nav__theme:hover {
    background: var(--accent-soft);
    color: var(--text);
  }

  .nav__theme svg {
    width: 18px;
    height: 18px;
    flex: none;
  }

  .header__design {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 9vw, 4.2rem);
  }

  .hero__visual {
    width: 100%;
    max-width: 520px;
    min-height: 460px;
    margin: 0 auto;
  }

  .hero__frame {
    width: 76%;
  }

  .float-card--scan {
    left: 0;
  }

  .float-card--price {
    right: 0;
  }

  .section {
    padding: 80px 0;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 36px;
  }

  .section__head--center {
    align-items: center;
  }

  .section__intro {
    max-width: 560px;
    padding-bottom: 0;
  }

  .studio {
    grid-template-columns: 1fr;
  }

  .studio__preview {
    min-height: 440px;
  }

  .reviews {
    grid-template-columns: 1fr;
  }

  .cta {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 34px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__col--contact {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    min-height: 390px;
  }

  .hero__frame {
    width: 82%;
    padding: 8px;
    border-radius: 30px;
  }

  .hero__frame img {
    border-radius: 24px;
  }

  .chip--top {
    top: 2%;
    right: 0;
  }

  .float-card {
    padding: 9px 12px;
    border-radius: 15px;
  }

  .float-card--scan {
    top: 22%;
    left: -2%;
  }

  .float-card--price {
    bottom: 4%;
    right: -1%;
  }

  .float-card strong {
    font-size: 0.8rem;
  }

  .float-card span {
    font-size: 0.64rem;
  }

  .float-card__icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .section {
    padding: 68px 0;
  }

  .section--cta {
    padding: 8px 0 76px;
  }

  .section__head h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .collection__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .studio__preview {
    min-height: 360px;
    padding: 40px 18px;
    border-radius: 28px;
  }

  .studio__label {
    top: 18px;
    left: 20px;
  }

  .studio__price {
    left: 20px;
    bottom: 18px;
    padding: 8px 13px;
  }

  .studio__price strong {
    font-size: 1.15rem;
  }

  .studio__engraving {
    top: 16px;
    right: 18px;
    max-width: 150px;
  }

  .studio__panel {
    padding: 22px;
    border-radius: 28px;
  }

  .shape-options {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .rating-badge {
    width: 100%;
    justify-content: flex-start;
  }

  .cta {
    padding: 34px 22px;
    border-radius: 30px;
  }

  .newsletter__field {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 22px;
  }

  .newsletter__field input {
    padding: 12px 14px;
  }

  .newsletter__field .btn {
    width: 100%;
  }

  .footer {
    padding: 52px 0 22px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 34px;
  }

  .footer__bottom a {
    margin-left: 0;
    margin-right: 16px;
  }

  .cart__head {
    padding: 20px 18px 14px;
  }

  .cart__body {
    padding: 16px 18px;
  }

  .cart__foot {
    padding: 16px 18px 20px;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .cart-item img {
    width: 64px;
    height: 64px;
  }

  .toast {
    top: 84px;
  }
}

@media (max-width: 380px) {
  .shape-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
