/* Salonzapse Radost — design system. Style: Spring bloom. */
:root {
  --burgundy: #7a1f3d;
  --burgundy-dark: #591730;
  --rose: #e08aa0;
  --rose-light: #f7d9e2;
  --champagne: #f6e9d7;
  --green: #4f7a5c;
  --green-light: #cfe3d2;
  --ink: #2a1a20;
  --paper: #fffaf4;
  --max: 1200px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -20px rgba(89, 23, 48, .35);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

html, body { overflow-x: clip; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.1; }
p { margin: 0 0 1em; }
a { color: var(--burgundy); text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- layout helpers ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.flow > * + * { margin-top: 1em; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s, border-color .3s, transform .15s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  z-index: -1;
  transition: left .35s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--burgundy); color: #fff; }
.btn-primary::before { background: var(--burgundy-dark); }
.btn-primary:hover::before { left: 0; }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-ghost::before { background: var(--rose-light); }
.btn-ghost:hover::before { left: 0; }
.btn-light { background: var(--paper); color: var(--burgundy); }
.btn-light::before { background: var(--rose-light); }
.btn-light:hover::before { left: 0; }
.btn-small { padding: 9px 18px; min-height: 36px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 244, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rose-light);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.logo-word { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); white-space: nowrap; }
.logo-word em { font-style: normal; color: var(--burgundy); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-weight: 600; color: var(--ink); position: relative; padding: 4px 0; }
.site-nav a:not(.nav-cart)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--burgundy); transition: width .25s;
}
.site-nav a:not(.nav-cart):hover::after, .site-nav a.active::after { width: 100%; }
.nav-cart { display: inline-flex; align-items: center; gap: 6px; color: var(--burgundy); }
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--burgundy); color: #fff; font-size: .72rem; font-weight: 700;
}
.nav-cart.bump { animation: bump .4s ease; }
@keyframes bump { 0%,100%{transform:scale(1)} 40%{transform:scale(1.25)} }
.nav-close { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px; gap: 22px; box-shadow: var(--shadow);
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s ease, visibility .35s;
    z-index: 60;
  }
  .site-nav.open { transform: translateX(0); visibility: visible; }
  .nav-close { display: block; position: absolute; top: 20px; right: 20px; background: none; border: none; cursor: pointer; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 8vw, 90px) 0 clamp(60px, 10vw, 110px);
}
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  letter-spacing: -.01em;
}
.hero-title .accent { color: var(--burgundy); font-style: italic; }
.hero-lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 42ch; color: #4a3238; }
.hero-visual { position: relative; aspect-ratio: 1/1; }
.hero-visual img {
  width: 90%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow); position: relative; z-index: 2;
}
.hero-shape {
  position: absolute; pointer-events: none; z-index: 1;
  will-change: transform;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; margin: 0 auto; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(50px, 9vw, 90px) 0 clamp(32px, 5vw, 56px);
  text-align: left; background: linear-gradient(180deg, var(--rose-light), transparent);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.page-hero p { max-width: 60ch; color: #4a3238; }

.breadcrumbs { font-size: .85rem; color: #7a5a62; margin-bottom: 14px; }
.breadcrumbs a { color: inherit; text-decoration: underline; }
.breadcrumbs .sep { margin: 0 6px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px) scale(.98); clip-path: inset(10% 0 0 0); transition: opacity .7s ease, transform .7s ease, clip-path .7s ease; }
.reveal.in-view { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.reveal-1.in-view { transition-delay: .05s; }
.reveal-2.in-view { transition-delay: .15s; }
.reveal-3.in-view { transition-delay: .25s; }
.reveal-4.in-view { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-shape, .nav-cart.bump { transition: none !important; animation: none !important; }
}

/* ---------- section divider / grain ---------- */
.divider { display: block; width: 100%; height: 48px; color: var(--rose-light); }
.grain-overlay {
  position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none;
  z-index: 1; opacity: .05; mix-blend-mode: multiply;
}

/* ---------- product card / grid ---------- */
.product-strip, .product-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 28px -18px rgba(89,23,48,.4);
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card-media { display: block; overflow: hidden; aspect-ratio: 4/3; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-card-media img { transform: scale(1.08); }
.product-card-body { padding: 18px 20px 22px; }
.product-card-cat { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.product-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.product-card-body h3 a { color: var(--ink); }
.product-card-desc { font-size: .92rem; color: #5c444b; }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 10px; }
.product-card-price { font-weight: 700; color: var(--burgundy); }

@media (max-width: 640px) {
  .product-strip.scroll-snap {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px;
  }
  .product-strip.scroll-snap .product-card { min-width: 78vw; scroll-snap-align: start; }
}

/* ---------- product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.product-detail-info .price-tag { font-size: 1.6rem; font-weight: 700; color: var(--burgundy); }
.product-detail-meta { display: flex; gap: 20px; margin: 16px 0; flex-wrap: wrap; }
.product-detail-meta span { display: inline-flex; align-items: center; gap: 6px; color: #5c444b; font-size: .92rem; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- signature feature: PASOMETAR ---------- */
.pasometer { background: var(--champagne); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); position: relative; overflow: hidden; }
.pasometer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.pasometer fieldset { border: none; padding: 0; margin: 0 0 18px; }
.pasometer legend { font-weight: 700; margin-bottom: 10px; font-family: var(--font-display); }
.pasometer-options { display: flex; flex-wrap: wrap; gap: 10px; }
.pasometer-options label {
  border: 1.5px solid var(--rose); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: .92rem;
  transition: background .2s, color .2s;
}
.pasometer-options input { position: absolute; opacity: 0; pointer-events: none; }
.pasometer-options input:checked + span, .pasometer-options label:has(input:checked) {
  background: var(--burgundy); color: #fff; border-color: var(--burgundy);
}
.pasometer-result { background: #fff; border-radius: var(--radius-sm); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.pasometer-result .big { font-size: 2.4rem; font-family: var(--font-display); color: var(--burgundy); display: block; }
@media (max-width: 760px) { .pasometer-grid { grid-template-columns: 1fr; } }

/* ---------- cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--rose-light); text-align: left; }
.cart-table .qty-input { width: 56px; padding: 6px; border-radius: 8px; border: 1px solid var(--rose); font: inherit; }
.cart-summary { background: var(--champagne); border-radius: var(--radius); padding: 24px; margin-top: 24px; max-width: 360px; margin-left: auto; }
.cart-summary .total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; margin-top: 10px; }
.cart-empty { text-align: center; padding: 60px 0; color: #7a5a62; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid #d9c3c9;
  background: #fff; accent-color: var(--burgundy);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--burgundy); }
.field-error { color: var(--burgundy-dark); font-size: .84rem; min-height: 1.2em; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.4em; font-weight: 600; }
.form-msg.success { color: var(--green); }
.form-msg.error { color: var(--burgundy-dark); }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-info li { display: flex; gap: 10px; align-items: flex-start; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- notices / legal ---------- */
.notice {
  border-radius: var(--radius-sm); padding: 16px 20px; border-left: 4px solid var(--green);
  background: var(--green-light); margin-bottom: 20px;
}
.notice.warn { border-color: var(--burgundy); background: var(--rose-light); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.2em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.legal-toc { background: var(--champagne); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; }
.legal-toc a { color: var(--ink); font-weight: 600; }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 70ch; }
.faq-item { border: 1.5px solid var(--rose-light); border-radius: var(--radius-sm); padding: 4px 20px; background: #fff; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--burgundy); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 16px; color: #4a3238; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.error-page .big { font-family: var(--font-display); font-size: clamp(5rem, 15vw, 9rem); color: var(--burgundy); margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--burgundy); color: var(--rose-light); padding: 56px 0 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.2fr 1.6fr 1.2fr; gap: 36px; }
.footer-brand p { color: var(--rose-light); opacity: .85; }
.footer-logo { color: #fff; }
.footer-logo em { color: var(--champagne); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-cols h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer-cols a, .site-footer a { display: block; color: var(--rose-light); opacity: .85; margin-bottom: 8px; }
.footer-cols a:hover, .site-footer a:hover { opacity: 1; text-decoration: underline; }
.newsletter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-row input { flex: 1; min-width: 160px; padding: 12px 14px; border-radius: var(--radius-sm); border: none; font: inherit; }
.footer-bottom {
  max-width: var(--max); margin: 36px auto 0; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.18);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; opacity: .85;
}
.footer-contact { display: flex; align-items: center; gap: 6px; }
@media (max-width: 760px) { .footer-inner, .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 640px; margin: 0 auto;
  background: var(--burgundy-dark); color: #fdf4f6; border-radius: var(--radius); padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .btn-ghost { color: #fff; border-color: #fff; }
.cookie-actions { display: flex; gap: 10px; }

/* ---------- toast ---------- */
.sr-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 100; font-weight: 600;
}
.sr-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; }
.muted { color: #7a5a62; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; background: var(--green-light); color: var(--green);
  border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 700;
}

/* COMPONENTS: .container - centered max-width wrapper
COMPONENTS: .section - vertical section spacing
COMPONENTS: .grid / .grid-2 / .grid-3 - responsive grid layouts
COMPONENTS: .flow - vertical rhythm spacing for stacked children
COMPONENTS: .stack / .cluster - flex layout helpers
COMPONENTS: .btn / .btn-primary / .btn-ghost / .btn-light / .btn-small - button variants with fill-sweep hover
COMPONENTS: .site-header / .header-inner / .logo / .logo-mark / .logo-word - site header & logo
COMPONENTS: .nav-toggle / .site-nav / .nav-close / .nav-cart / .cart-count - navigation & cart indicator
COMPONENTS: .hero / .hero-inner / .hero-title / .hero-lede / .hero-visual / .hero-shape - home hero split layout
COMPONENTS: .page-hero - inner page hero band
COMPONENTS: .breadcrumbs - breadcrumb trail
COMPONENTS: .reveal / .reveal-1..4 - scroll reveal animation + stagger
COMPONENTS: .divider - decorative SVG section divider
COMPONENTS: .grain-overlay - fixed texture overlay
COMPONENTS: .product-strip / .product-grid / .product-card - service listing grid & card
COMPONENTS: .product-detail / .product-detail-media / .product-detail-info - service detail layout
COMPONENTS: .pasometer / .pasometer-grid / .pasometer-options / .pasometer-result - signature feature widget
COMPONENTS: .cart-table / .cart-summary / .cart-empty - cart/checkout layout
COMPONENTS: .form-grid / .field / .field-error / .hp-field / .form-msg - form components
COMPONENTS: .contact-layout / .contact-info - contact page layout
COMPONENTS: .notice - inline callout box (default/warn)
COMPONENTS: .prose - readable long-form legal text
COMPONENTS: .legal-toc - table of contents box for legal pages
COMPONENTS: .faq / .faq-item - accordion FAQ using details/summary
COMPONENTS: .about-grid - about page split layout
COMPONENTS: .error-page - 404 page layout
COMPONENTS: .site-footer / .footer-inner / .footer-cols / .newsletter-form / .footer-bottom - site footer
COMPONENTS: .cookie-banner / .cookie-actions - cookie consent banner
COMPONENTS: .sr-toast - transient toast notification
COMPONENTS: .badge / .muted / .text-center / .mt-lg - small utilities */
