  /* ---------- Reset ---------- */
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  img, svg { display: block; max-width: 100%; }
  button, input, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: none; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }

  /* ---------- Tokens ---------- */
  :root {
    /* Brand green palette (corporate color #34c924) */
    --green-50:  #E8F8E3;
    --green-100: #CCEFC0;
    --green-200: #A8E498;
    --green-300: #82D86E;
    --green-400: #5DD64F;
    --green-500: #34c924;  /* primary */
    --green-600: #2BAA1D;
    --green-700: #228B17;
    --green-800: #1A6D11;
    --green-900: #114709;

    /* Semantic — light theme */
    --c-bg: #FAFAF9;
    --c-surface: #FFFFFF;
    --c-surface-alt: #F2F4EF;
    --c-text: #0F172A;
    --c-body: #334155;
    --c-muted: #64748B;
    --c-border: #E2E8F0;
    --c-border-soft: #EFEFEC;

    /* Accent */
    --c-accent: var(--green-500);
    --c-accent-soft: var(--green-400);
    --c-accent-hover: var(--green-600);
    --c-accent-tint: var(--green-50);
    --c-accent-rgb: 52, 201, 36;

    /* Deep dark — used for dark sections, primary buttons, header logo bg */
    --c-primary: #0F172A;
    --c-primary-soft: #1E293B;
    --c-on-primary: #FFFFFF;
    --c-on-primary-muted: #94A3B8;
    --c-on-primary-soft: #CBD5E1;
    --c-on-primary-icon-bg: rgba(255, 255, 255, 0.06);

    /* Footer */
    --c-footer: #0A0F1C;
    --c-footer-text: #94A3B8;
    --c-footer-muted: #64748B;
    --c-footer-border: rgba(255, 255, 255, 0.06);
    --c-footer-icon-bg: rgba(255, 255, 255, 0.06);

    /* Backdrop */
    --c-header-bg: rgba(250, 250, 249, 0.85);

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --sh-md: 0 6px 24px -8px rgba(15, 23, 42, 0.12);
    --sh-lg: 0 24px 64px -20px rgba(15, 23, 42, 0.25);
    --sh-card: 0 1px 0 rgba(15,23,42,0.04), 0 1px 2px rgba(15,23,42,0.04), 0 12px 32px -16px rgba(15,23,42,0.12);

    --container: 1200px;
    --gutter: clamp(20px, 4vw, 40px);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

    color-scheme: light;
  }

  /* ---------- Dark theme ---------- */
  [data-theme="dark"] {
    --c-bg: #0B100E;
    --c-surface: #131A16;
    --c-surface-alt: #161F19;
    --c-text: #F1F5F2;
    --c-body: #C5CFC7;
    --c-muted: #8B948D;
    --c-border: #2A332C;
    --c-border-soft: #1F2722;

    /* Brighter green for dark backgrounds */
    --c-accent: #4ADE36;
    --c-accent-soft: #6FE85B;
    --c-accent-hover: #5DE848;
    --c-accent-tint: rgba(74, 222, 54, 0.12);
    --c-accent-rgb: 74, 222, 54;

    /* Dark sections — slightly elevated above body bg for contrast */
    --c-primary: #1A2520;
    --c-primary-soft: #243029;
    --c-on-primary: #F1F5F2;
    --c-on-primary-muted: #8B948D;
    --c-on-primary-soft: #C5CFC7;
    --c-on-primary-icon-bg: rgba(255, 255, 255, 0.06);

    --c-footer: #050807;
    --c-footer-text: #8B948D;
    --c-footer-muted: #5A625C;
    --c-footer-border: rgba(255, 255, 255, 0.04);
    --c-footer-icon-bg: rgba(255, 255, 255, 0.04);

    --c-header-bg: rgba(11, 16, 14, 0.78);

    --sh-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --sh-md: 0 6px 24px -8px rgba(0, 0, 0, 0.55);
    --sh-lg: 0 24px 64px -20px rgba(0, 0, 0, 0.7);
    --sh-card: 0 1px 0 rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.3), 0 12px 32px -16px rgba(0,0,0,0.5);

    color-scheme: dark;
  }

  /* ---------- Base ---------- */
  body {
    font-family: var(--font);
    color: var(--c-body);
    background: var(--c-bg);
    font-size: 17px;
    overflow-x: hidden;
  }
  h1, h2, h3, h4 { color: var(--c-text); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
  h1 { font-size: clamp(40px, 6.4vw, 64px); letter-spacing: -0.035em; }
  h2 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -0.03em; }
  h3 { font-size: 22px; letter-spacing: -0.02em; }
  h4 { font-size: 16px; letter-spacing: -0.01em; }
  p { color: var(--c-body); }

  .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
  .section { padding: clamp(64px, 9vw, 120px) 0; }
  .section--alt { background: var(--c-surface-alt); }
  .section--dark { background: var(--c-primary); color: var(--c-on-primary-soft); }
  .section--dark h2, .section--dark h3 { color: var(--c-on-primary); }

  .section__head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
  .section__head p { margin-top: 16px; color: var(--c-muted); font-size: 18px; }

  .eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--c-accent);
    padding: 6px 12px;
    background: var(--c-accent-tint);
    border-radius: 999px;
    margin-bottom: 16px;
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px;
    border-radius: var(--r-sm);
    font-weight: 600; font-size: 15px;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
    border: 1px solid transparent;
  }
  .btn:active { transform: translateY(1px); }
  .btn--primary { background: var(--c-primary); color: var(--c-on-primary); }
  .btn--primary:hover { background: var(--c-primary-soft); box-shadow: var(--sh-md); }
  .btn--accent { background: var(--c-accent); color: #fff; }
  .btn--accent:hover { background: var(--c-accent-soft); box-shadow: 0 8px 24px -8px rgba(var(--c-accent-rgb), 0.45); }
  .btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-border); }
  .btn--ghost:hover { background: var(--c-surface); border-color: var(--c-text); }
  .btn--sm { padding: 10px 18px; font-size: 14px; }
  .btn--full { width: 100%; padding: 16px 24px; }

  /* ---------- Header ---------- */
  .header {
    position: sticky; top: 0; z-index: 50;
    background: var(--c-header-bg);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
  }
  .header.is-scrolled { border-bottom-color: var(--c-border); }
  .header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
    gap: 32px;
  }
  .logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--c-text); letter-spacing: -0.02em; font-size: 20px; }
  .logo__mark { width: 32px; height: 32px; border-radius: 8px; background: var(--c-primary); display: grid; place-items: center; color: var(--c-accent); }
  .nav { display: flex; align-items: center; gap: 28px; }
  .nav a { font-size: 15px; font-weight: 500; color: var(--c-body); transition: color .15s; }
  .nav a:hover { color: var(--c-accent); }
  .header__actions { display: flex; align-items: center; gap: 12px; }
  .header__phone { font-weight: 600; color: var(--c-text); font-size: 15px; }
  .menu-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; color: var(--c-text); }
  .menu-toggle:hover { background: var(--c-surface-alt); }

  /* Theme toggle */
  .theme-toggle {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--c-text);
    transition: background .15s, color .15s;
  }
  .theme-toggle:hover { background: var(--c-surface-alt); color: var(--c-accent); }
  .theme-toggle__icon { width: 18px; height: 18px; display: none; }
  [data-theme="light"] .theme-toggle__icon--moon { display: block; }
  [data-theme="dark"] .theme-toggle__icon--sun { display: block; }
  /* Fallback if data-theme not set: show moon (default light look) */
  html:not([data-theme]) .theme-toggle__icon--moon { display: block; }

  /* Language switcher */
  .lang { position: relative; }
  .lang__toggle {
    display: inline-flex; align-items: center; gap: 4px;
    height: 40px; padding: 0 10px;
    border-radius: 10px;
    color: var(--c-text); font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
    transition: background .15s, color .15s;
  }
  .lang__toggle:hover { background: var(--c-surface-alt); color: var(--c-accent); }
  .lang__toggle svg { width: 14px; height: 14px; opacity: 0.7; }
  .lang__menu {
    position: absolute; top: calc(100% + 6px); right: 0;
    min-width: 140px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-md);
    padding: 6px;
    display: none;
    z-index: 60;
  }
  .lang__menu.is-open { display: block; }
  .lang__item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px; font-weight: 500; color: var(--c-text);
    cursor: pointer;
    transition: background .12s, color .12s;
    background: transparent; border: 0; text-align: left;
  }
  .lang__item:hover { background: var(--c-surface-alt); }
  .lang__item.is-active { color: var(--c-accent); font-weight: 600; }
  .lang__item.is-active::after { content: '✓'; font-weight: 700; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 112px);
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(900px 500px at 80% -10%, rgba(var(--c-accent-rgb), 0.10), transparent 60%),
      radial-gradient(700px 400px at 5% 0%, rgba(15, 23, 42, 0.05), transparent 60%);
    pointer-events: none;
  }
  .hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
  }
  .hero__chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 8px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    font-size: 13px; font-weight: 500; color: var(--c-body);
    box-shadow: var(--sh-sm);
  }
  .hero__chip span.dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
  .hero h1 { margin-top: 24px; }
  .hero h1 em { color: var(--c-accent); font-style: normal; }
  .hero__sub { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); color: var(--c-muted); max-width: 540px; }
  .hero__actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
  .hero__stats {
    margin-top: 48px;
    display: grid; grid-template-columns: repeat(3, auto);
    gap: 32px;
    border-top: 1px solid var(--c-border);
    padding-top: 28px;
  }
  .hero__stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--c-text); letter-spacing: -0.03em; line-height: 1; }
  .hero__stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--c-muted); }

  /* Hero visual — Alpaca illustration */
  .hero__visual {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    position: relative;
  }
  .alpaca-illo { width: 100%; height: auto; display: block; }

  /* Alpaca colors */
  .alpaca-illo {
    --ap-fluff-light: #FFFCF3;
    --ap-fluff-dark:  #F1E5CC;
    --ap-outline:     #C9B791;
    --ap-pink:        #FFB5C5;
    --ap-blush:       #FFB5C5;
    --ap-dark:        #1A1F2E;
    --ap-ear-inner:   #FFC8D5;
    --ap-shadow:      rgba(15, 23, 42, 0.10);
    /* Floating product cards (sit on page bg, must adapt to theme) */
    --ap-card-bg:     #FFFFFF;
    --ap-card-ink:    #1A1F2E;
  }
  [data-theme="dark"] .alpaca-illo {
    --ap-fluff-light: #F2EAD3;
    --ap-fluff-dark:  #D9C9A6;
    --ap-outline:     #8F7E5E;
    --ap-dark:        #0F1218;
    --ap-shadow:      rgba(0, 0, 0, 0.5);
    --ap-card-bg:     #1E2823;
    --ap-card-ink:    #C8E5C3;
  }

  /* SVG transform setup */
  .alpaca-illo .ap-character,
  .alpaca-illo .ap-head,
  .alpaca-illo .ap-eyes,
  .alpaca-illo .ap-ear,
  .alpaca-illo .ap-bag,
  .alpaca-illo .ap-tuft {
    transform-box: fill-box;
    transform-origin: center;
  }

  /* Animations */
  .alpaca-illo .ap-character {
    transform-origin: center bottom;
    animation: ap-breathe 4.8s ease-in-out infinite;
  }
  @keyframes ap-breathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-2px) scaleY(1.015) scaleX(1.008); }
  }

  .alpaca-illo .ap-head {
    transform-origin: center bottom;
    animation: ap-head-sway 9s ease-in-out infinite;
  }
  @keyframes ap-head-sway {
    0%, 100% { transform: rotate(-1.5deg); }
    50% { transform: rotate(1.5deg); }
  }

  .alpaca-illo .ap-tuft {
    transform-origin: center bottom;
    animation: ap-tuft-bob 4s ease-in-out infinite;
  }
  @keyframes ap-tuft-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1.5px); }
  }

  .alpaca-illo .ap-eyes {
    animation: ap-blink 6s ease-in-out infinite;
  }
  @keyframes ap-blink {
    0%, 91%, 95%, 100% { transform: scaleY(1); }
    93% { transform: scaleY(0.05); }
  }

  .alpaca-illo .ap-ear--l {
    transform-origin: center bottom;
    animation: ap-twitch-l 7s ease-in-out infinite;
  }
  @keyframes ap-twitch-l {
    0%, 78%, 82%, 86%, 100% { transform: rotate(0); }
    80% { transform: rotate(-7deg); }
    84% { transform: rotate(3deg); }
  }
  .alpaca-illo .ap-ear--r {
    transform-origin: center bottom;
    animation: ap-twitch-r 8.5s ease-in-out infinite 2s;
  }
  @keyframes ap-twitch-r {
    0%, 68%, 72%, 76%, 100% { transform: rotate(0); }
    70% { transform: rotate(7deg); }
    74% { transform: rotate(-3deg); }
  }

  .alpaca-illo .ap-bag {
    transform-origin: center;
    animation: ap-bag-bob 4.8s ease-in-out infinite;
  }
  @keyframes ap-bag-bob {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-1.5px) rotate(0.4deg); }
  }

  /* Disable alpaca animations on mobile */
  @media (max-width: 768px) {
    .alpaca-illo .ap-character,
    .alpaca-illo .ap-head,
    .alpaca-illo .ap-tuft,
    .alpaca-illo .ap-eyes,
    .alpaca-illo .ap-ear--l,
    .alpaca-illo .ap-ear--r,
    .alpaca-illo .ap-bag {
      animation: none;
    }
  }

  /* ---------- Products ---------- */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  .product-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    padding: 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    overflow: hidden;
  }
  .product-card::after {
    content: '';
    position: absolute; right: -40px; top: -40px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, var(--c-accent-tint), transparent 60%);
    opacity: 0; transition: opacity .25s;
  }
  .product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card); border-color: var(--c-border); }
  .product-card:hover::after { opacity: 1; }
  .product-card__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--c-primary);
    color: var(--c-accent-soft);
    display: grid; place-items: center;
    margin-bottom: 20px;
    position: relative; z-index: 1;
  }
  .product-card h3 { margin-bottom: 10px; position: relative; z-index: 1; }
  .product-card p { color: var(--c-muted); font-size: 15px; position: relative; z-index: 1; }
  .product-card__list {
    margin-top: 14px;
    display: flex; flex-wrap: wrap; gap: 6px;
    position: relative; z-index: 1;
  }
  .product-card__list span {
    font-size: 12px; font-weight: 500;
    padding: 4px 10px;
    background: var(--c-surface-alt);
    color: var(--c-body);
    border-radius: 999px;
  }

  /* ---------- Advantages ---------- */
  .advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .advantage-card {
    background: var(--c-surface);
    border-radius: var(--r-md);
    padding: 28px;
    border: 1px solid var(--c-border-soft);
    transition: transform .25s ease, box-shadow .25s;
  }
  .advantage-card:hover { transform: translateY(-3px); box-shadow: var(--sh-card); }
  .advantage-card__num {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 16px;
    font-weight: 700; font-size: 13px;
    color: var(--c-accent);
    letter-spacing: 0.08em;
  }
  .advantage-card__num::before {
    content: ''; width: 28px; height: 1px; background: var(--c-accent);
  }
  .advantage-card h3 { font-size: 19px; margin-bottom: 10px; }
  .advantage-card p { color: var(--c-muted); font-size: 15px; }

  /* ---------- Delivery ---------- */
  .delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .delivery-card {
    background: var(--c-surface);
    border-radius: var(--r-lg);
    padding: 36px;
    border: 1px solid var(--c-border-soft);
    box-shadow: var(--sh-card);
  }
  .delivery-card--dark { background: var(--c-primary); color: var(--c-on-primary-soft); border-color: transparent; }
  .delivery-card--dark h3 { color: var(--c-on-primary); }
  .delivery-card--dark .delivery-card__icon { background: rgba(var(--c-accent-rgb), 0.18); color: var(--c-accent-soft); }
  .delivery-card__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--c-accent-tint);
    color: var(--c-accent);
    display: grid; place-items: center;
    margin-bottom: 24px;
  }
  .delivery-card h3 { font-size: 24px; margin-bottom: 8px; }
  .delivery-card__lead { font-size: 15px; margin-bottom: 24px; }
  .delivery-card--dark .delivery-card__lead { color: var(--c-on-primary-muted); }
  .delivery-list { display: grid; gap: 14px; margin-top: 8px; }
  .delivery-list li {
    display: flex; gap: 12px;
    font-size: 15px;
    align-items: flex-start;
  }
  .delivery-list svg { flex-shrink: 0; margin-top: 4px; color: var(--c-accent); }
  .delivery-card--dark .delivery-list svg { color: var(--c-accent-soft); }
  .pickup-meta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
    display: grid; gap: 8px;
    font-size: 14px;
  }
  .pickup-meta strong { color: var(--c-text); }

  .map {
    margin-top: 28px;
    aspect-ratio: 16 / 7;
    background: var(--c-surface-alt);
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    display: grid; place-items: center;
    color: var(--c-muted); font-size: 14px;
    border: 1px dashed var(--c-border);
  }
  .map iframe { width: 100%; height: 100%; border: 0; }

  /* ---------- Reviews ---------- */
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .review-card {
    background: var(--c-surface);
    border-radius: var(--r-md);
    padding: 32px;
    border: 1px solid var(--c-border-soft);
    display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s;
  }
  .review-card:hover { transform: translateY(-3px); box-shadow: var(--sh-card); }
  .review-card__stars { color: var(--c-accent); margin-bottom: 16px; letter-spacing: 2px; font-size: 16px; }
  .review-card blockquote {
    font-size: 16px;
    color: var(--c-body);
    line-height: 1.65;
    flex: 1;
  }
  .review-card__author {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--c-border);
    display: flex; align-items: center; gap: 14px;
  }
  .review-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700; font-size: 16px;
    flex-shrink: 0;
  }
  .review-card__name { font-weight: 600; color: var(--c-text); font-size: 15px; }
  .review-card__role { font-size: 13px; color: var(--c-muted); margin-top: 2px; }

  /* ---------- Contact ---------- */
  .section--contact { background: var(--c-primary); color: var(--c-on-primary-soft); }
  .section--contact h2 { color: var(--c-on-primary); }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
  }
  .contact-info .eyebrow { background: rgba(var(--c-accent-rgb), 0.18); }
  .contact-info p { color: var(--c-on-primary-muted); font-size: 17px; margin-top: 16px; max-width: 420px; }
  .contact-list {
    margin-top: 36px;
    display: grid; gap: 18px;
  }
  .contact-list li {
    display: flex; align-items: center; gap: 14px;
    font-size: 15px; color: var(--c-on-primary-soft);
  }
  .contact-list a { color: var(--c-on-primary-soft); transition: color .15s; }
  .contact-list a:hover { color: var(--c-accent-soft); }
  .contact-list__icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--c-on-primary-icon-bg);
    color: var(--c-accent-soft);
    display: grid; place-items: center;
    flex-shrink: 0;
  }

  .contact-form {
    background: var(--c-surface);
    border-radius: var(--r-lg);
    padding: 36px;
    box-shadow: var(--sh-lg);
    color: var(--c-body);
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
  .form-field > span { font-size: 13px; font-weight: 600; color: var(--c-text); }
  .form-field input, .form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--r-sm);
    border: 1px solid var(--c-border);
    background: var(--c-bg);
    font-size: 15px;
    color: var(--c-text);
    transition: border-color .15s, background .15s, box-shadow .15s;
    font-family: inherit;
  }
  .form-field textarea { resize: vertical; min-height: 110px; }
  .form-field input:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    background: var(--c-surface);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
  }
  .form-note { margin-top: 14px; font-size: 12px; color: var(--c-muted); text-align: center; line-height: 1.5; }
  .form-success {
    display: none;
    padding: 18px 20px;
    background: #ECFDF5;
    color: #065F46;
    border-radius: var(--r-sm);
    font-size: 14px;
    text-align: center;
    border: 1px solid #A7F3D0;
    margin-bottom: 16px;
  }
  .form-success.is-visible { display: block; }

  /* ---------- Footer ---------- */
  .footer {
    background: var(--c-footer);
    color: var(--c-footer-text);
    padding: 64px 0 32px;
  }
  .footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }
  .footer .logo { color: #fff; }
  .footer .logo__mark { background: var(--c-footer-icon-bg); }
  .footer__brand p { margin-top: 18px; font-size: 14px; max-width: 320px; color: var(--c-footer-muted); }
  .footer__col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
  .footer__col a, .footer__col p { display: block; font-size: 14px; color: var(--c-footer-text); margin-bottom: 10px; transition: color .15s; }
  .footer__col a:hover { color: var(--c-accent-soft); }
  .footer__bottom {
    padding-top: 24px;
    border-top: 1px solid var(--c-footer-border);
    font-size: 13px; color: var(--c-footer-muted);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  }

  /* ---------- Animations on scroll ---------- */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }

  /* Mobile menu drawer — hidden on desktop, shown via media query on mobile */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 72px; right: 0; bottom: 0; left: 0;
    background: var(--c-bg);
    z-index: 40;
    padding: 32px var(--gutter);
    flex-direction: column; gap: 8px;
    border-top: 1px solid var(--c-border);
    transform: translateY(-110%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .mobile-nav.is-open { transform: translateY(0); }
  .mobile-nav a:not(.btn) {
    padding: 14px 0;
    font-size: 18px; font-weight: 500;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border-soft);
  }
  .mobile-nav .btn { margin-top: 16px; }

  /* ---------- Mobile ---------- */
  @media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { max-width: 460px; margin: 0 auto; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  }
  @media (max-width: 768px) {
    .nav, .header__phone { display: none; }
    .menu-toggle { display: grid; place-items: center; }
    .mobile-nav { display: flex; }
    .header__inner { gap: 12px; }
    .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .hero__stat strong { font-size: 24px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .delivery-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer__inner { grid-template-columns: 1fr; gap: 28px; }
    .contact-form { padding: 24px; }
    .delivery-card { padding: 28px; }
    .review-card { padding: 24px; }
    .product-card { padding: 24px; }
    .advantage-card { padding: 24px; }
    .hero__visual { max-width: 360px; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
  }

/* ============================================================
 * CATALOG / CART / CHECKOUT
 * ============================================================ */

/* Cart icon in header */
.cart-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--c-text);
  transition: background .15s, color .15s;
}
.cart-btn:hover { background: var(--c-surface-alt); color: var(--c-accent); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--c-accent);
  color: #fff;
  font-size: 11px; font-weight: 700;
  display: none;
  align-items: center; justify-content: center;
  line-height: 1;
}
.cart-btn__count[data-show="1"] { display: flex; }

/* Page hero (slim variant for catalog/cart/checkout) */
.page-head {
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 40px);
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-border-soft);
}
.page-head__inner { display: flex; flex-direction: column; gap: 14px; }
.page-head .breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-size: 13px; color: var(--c-muted);
}
.page-head .breadcrumb a { color: var(--c-muted); transition: color .15s; }
.page-head .breadcrumb a:hover { color: var(--c-accent); }
.page-head .breadcrumb svg { width: 12px; height: 12px; opacity: 0.6; }
.page-head h1 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.025em;
}
.page-head__sub { color: var(--c-muted); font-size: 17px; max-width: 640px; }

/* Toolbar (filter + search) */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  padding: 24px 0;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-body);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.filter-chip:hover { color: var(--c-accent); border-color: var(--c-accent); }
.filter-chip.is-active {
  background: var(--c-primary);
  color: var(--c-on-primary);
  border-color: var(--c-primary);
}
.search-box {
  position: relative;
  min-width: 240px;
}
.search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  font-size: 14px;
  color: var(--c-text);
  transition: border-color .15s;
}
.search-box input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(var(--c-accent-rgb), 0.15);
}
.search-box svg {
  position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--c-muted);
  pointer-events: none;
}

/* Catalog grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  padding-bottom: 80px;
}
.catalog-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card);
  border-color: var(--c-border);
}
.catalog-card__img {
  aspect-ratio: 1;
  background: var(--c-surface-alt);
  display: grid; place-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--c-border-soft);
}
.catalog-card__img svg { width: 100%; height: 100%; max-width: 160px; }
.catalog-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.catalog-card__title { font-size: 15px; font-weight: 700; color: var(--c-text); margin-bottom: 6px; line-height: 1.3; }
.catalog-card__desc { font-size: 13px; color: var(--c-muted); line-height: 1.5; flex: 1; }
.catalog-card__sku { font-size: 11px; color: var(--c-muted); margin-top: 8px; letter-spacing: 0.05em; }
.catalog-card__footer {
  padding: 14px 18px;
  border-top: 1px solid var(--c-border-soft);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.catalog-card__price {
  font-size: 18px; font-weight: 800; color: var(--c-text);
  letter-spacing: -0.02em;
}
.catalog-card__price span { font-size: 12px; color: var(--c-muted); font-weight: 500; margin-left: 4px; }
.catalog-card__add {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  background: var(--c-accent);
  color: #fff;
  font-size: 13px; font-weight: 600;
  transition: background .15s, transform .1s;
}
.catalog-card__add:hover { background: var(--c-accent-hover); }
.catalog-card__add:active { transform: scale(0.96); }
.catalog-card__add svg { width: 14px; height: 14px; }

.empty {
  padding: 80px 20px;
  text-align: center;
  color: var(--c-muted);
}
.empty h3 { font-size: 22px; color: var(--c-text); margin-bottom: 12px; }
.empty p { margin-bottom: 24px; }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--c-primary);
  color: var(--c-on-primary);
  padding: 14px 22px;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--sh-lg);
  z-index: 100;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast svg { width: 16px; height: 16px; color: var(--c-accent-soft); }

/* Cart page */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding: 32px 0 80px;
  align-items: start;
}
.cart-list {
  background: var(--c-surface);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 16px;
  padding: 18px;
  align-items: center;
  border-bottom: 1px solid var(--c-border-soft);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row__img {
  width: 88px; height: 88px;
  background: var(--c-surface-alt);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  padding: 10px;
}
.cart-row__img svg { width: 100%; height: 100%; max-width: 64px; }
.cart-row__title { font-size: 14px; font-weight: 600; color: var(--c-text); margin-bottom: 4px; }
.cart-row__sku { font-size: 12px; color: var(--c-muted); }
.cart-row__price { font-size: 13px; color: var(--c-muted); margin-top: 4px; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-surface);
}
.qty button {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--c-text);
  transition: background .15s;
}
.qty button:hover { background: var(--c-surface-alt); color: var(--c-accent); }
.qty input {
  width: 40px; height: 32px;
  text-align: center;
  border: 0;
  background: transparent;
  font-size: 14px; font-weight: 600;
  color: var(--c-text);
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-row__total {
  font-size: 16px; font-weight: 700; color: var(--c-text);
  min-width: 100px; text-align: right;
}
.cart-row__remove {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--c-muted);
  transition: background .15s, color .15s;
}
.cart-row__remove:hover { background: var(--c-surface-alt); color: #DC2626; }
.cart-row__remove svg { width: 16px; height: 16px; }

.summary {
  background: var(--c-surface);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.summary h3 { font-size: 16px; margin-bottom: 18px; }
.summary__row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--c-body);
  margin-bottom: 10px;
}
.summary__row--total {
  border-top: 1px solid var(--c-border);
  padding-top: 16px; margin-top: 16px;
  font-size: 18px; font-weight: 700; color: var(--c-text);
}
.summary__btn {
  width: 100%;
  margin-top: 20px;
}

/* Checkout page */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 32px 0 80px;
  align-items: start;
}
.checkout-section {
  background: var(--c-surface);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: 28px;
  margin-bottom: 20px;
}
.checkout-section h2 { font-size: 18px; margin-bottom: 6px; }
.checkout-section__sub { font-size: 13px; color: var(--c-muted); margin-bottom: 20px; }

.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.delivery-option {
  padding: 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.delivery-option:hover { border-color: var(--c-accent); }
.delivery-option input { display: none; }
.delivery-option:has(input:checked),
.delivery-option.is-active {
  border-color: var(--c-accent);
  background: var(--c-accent-tint);
}
.delivery-option__title { font-size: 14px; font-weight: 600; color: var(--c-text); margin-bottom: 4px; }
.delivery-option__meta { font-size: 12px; color: var(--c-muted); }

/* Bank selector */
.banks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bank {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .15s, transform .1s, background .15s;
  background: var(--c-surface);
}
.bank:hover { border-color: var(--c-accent); transform: translateY(-1px); }
.bank input { display: none; }
.bank:has(input:checked),
.bank.is-active {
  border-color: var(--c-accent);
  background: var(--c-accent-tint);
}
.bank__logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-weight: 800; font-size: 13px;
  color: #fff;
  letter-spacing: -0.02em;
}
.bank__logo--kaspi { background: #F14635; }
.bank__logo--halyk { background: #009A44; }
.bank__logo--bcc   { background: #003C71; }
.bank__logo--jusan { background: #1A1A1A; color: #FFD60A; }
.bank__name { font-size: 14px; font-weight: 600; color: var(--c-text); }
.bank__meta { font-size: 12px; color: var(--c-muted); margin-top: 2px; }

/* Payment modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 40px;
  max-width: 440px; width: 100%;
  text-align: center;
  box-shadow: var(--sh-lg);
}
.modal__icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  background: var(--c-accent-tint);
  color: var(--c-accent);
}
.modal__icon svg { width: 36px; height: 36px; }
.modal__icon--loading { background: var(--c-surface-alt); }
.modal__icon--loading svg { animation: spin 1s linear infinite; color: var(--c-text); }
@keyframes spin { to { transform: rotate(360deg); } }
.modal h3 { font-size: 22px; margin-bottom: 10px; }
.modal p { color: var(--c-muted); font-size: 15px; margin-bottom: 24px; }
.modal__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.demo-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--c-accent-tint);
  border-radius: var(--r-sm);
  font-size: 12px;
  color: var(--c-body);
  border-left: 3px solid var(--c-accent);
}
.demo-note strong { color: var(--c-text); }

/* Responsive */
@media (max-width: 900px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .delivery-options, .banks { grid-template-columns: 1fr; }
  .cart-row {
    grid-template-columns: 72px 1fr;
    grid-template-areas: "img info" "img qty" "total remove";
    gap: 10px;
  }
  .cart-row__img { width: 72px; height: 72px; grid-area: img; }
  .cart-row__info { grid-area: info; }
  .cart-row .qty { grid-area: qty; justify-self: start; }
  .cart-row__total { grid-area: total; text-align: left; }
  .cart-row__remove { grid-area: remove; justify-self: end; }
}
