/* CrystalFlower — premium floral boutique */

:root {
  --bg: #f3f0ea;
  --bg-elevated: rgba(251, 249, 245, 0.78);
  --ink: #141210;
  --ink-soft: #3f3b36;
  --ink-muted: #7a736a;
  --line: rgba(20, 18, 16, 0.09);
  --gold: #a2875c;
  --gold-deep: #6f5a3c;
  --gold-soft: rgba(162, 135, 92, 0.14);
  --powder: #c9b5ad;
  --footer: #0f0e0d;
  --footer-ink: #ebe6df;
  --shadow: 0 22px 60px rgba(20, 18, 16, 0.1);
  --shadow-soft: 0 10px 30px rgba(20, 18, 16, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --container: min(1180px, calc(100% - 2.75rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at 8% -8%, rgba(201, 181, 173, 0.16), transparent 55%),
    radial-gradient(900px 480px at 92% 0%, rgba(162, 135, 92, 0.1), transparent 50%),
    linear-gradient(180deg, #f7f4ee 0%, var(--bg) 28%, #f1ebe3 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    transform 0.45s var(--ease),
    background-color 0.45s var(--ease),
    color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.btn--primary {
  background: var(--ink);
  color: #f8f5f0;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.18);
}

.btn--primary:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(125, 106, 74, 0.28);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #f8f5f0;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn--ghost-header {
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(26, 26, 26, 0.14);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--ghost-header:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.btn--order {
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(20, 18, 16, 0.22);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.btn--order:hover {
  background: var(--ink);
  color: #f8f5f0;
  border-color: var(--ink);
  transform: translateY(-1px);
}

body.is-cart-open {
  overflow: hidden;
}

/* Header */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition:
    background-color 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: var(--bg-elevated);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(26, 26, 26, 0.04);
}

.header.is-scrolled .logo,
.header.is-scrolled .nav__link,
.header.is-scrolled .nav__hours {
  color: var(--ink);
}

.header:not(.is-scrolled) .logo,
.header:not(.is-scrolled) .nav__link,
.header:not(.is-scrolled) .nav__hours {
  color: #f7f4ef;
}

.header:not(.is-scrolled) .btn--ghost-header {
  border-color: rgba(255, 255, 255, 0.35);
  color: #f7f4ef;
  background: rgba(255, 255, 255, 0.08);
}

.header:not(.is-scrolled) .btn--ghost-header:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.header:not(.is-scrolled) .burger span,
.header:not(.is-scrolled) .cart-btn {
  color: #f7f4ef;
}

.header:not(.is-scrolled) .burger span {
  background: #f7f4ef;
}

.header:not(.is-scrolled) .cart-btn {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.header.is-scrolled .cart-btn {
  color: var(--ink);
}

.header__inner {
  width: var(--container);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.3s var(--ease);
}

.logo:hover {
  opacity: 0.72;
}

.nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

.nav__link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__hours {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-left: 1.25rem;
  border-left: 1px solid currentColor;
  opacity: 0.7;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 26, 0.14);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  transition:
    transform 0.35s var(--ease),
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.cart-btn:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  background: var(--gold-soft);
}

.cart-btn__count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold-deep);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

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

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

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f8f5f0;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, 0.55) 0%, rgba(12, 11, 10, 0.2) 38%, rgba(12, 11, 10, 0.8) 100%),
    linear-gradient(95deg, rgba(12, 11, 10, 0.58), transparent 58%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) 0 6.5rem;
  max-width: 40rem;
  margin-left: max(calc((100% - min(1180px, calc(100% - 2.75rem))) / 2), 1.25rem);
}

.hero__brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 9vw, 5.1rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: #fff;
  animation: fadeUp 1s var(--ease) both;
}

.hero__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 20ch;
  color: rgba(255, 252, 248, 0.92);
  animation: fadeUp 1s var(--ease) 0.12s both;
}

.hero__subtitle {
  margin: 0 0 2rem;
  max-width: 34ch;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(248, 245, 240, 0.82);
  animation: fadeUp 1s var(--ease) 0.22s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: fadeUp 1s var(--ease) 0.32s both;
}

.hero__scroll {
  position: absolute;
  right: max(1.25rem, calc((100% - min(1160px, calc(100% - 2.5rem))) / 2));
  bottom: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.7);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(248, 245, 240, 0.7), transparent);
  transform-origin: top;
  animation: scrollPulse 2.2s var(--ease) infinite;
}

/* Sections */

.section-head {
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-lead {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 38ch;
}

.catalog-count {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Catalog */

.catalog {
  padding: 5.5rem 0 4.5rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs__btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.tabs__btn:hover {
  border-color: rgba(156, 134, 96, 0.45);
  color: var(--ink);
}

.tabs__btn.is-active {
  background: var(--ink);
  color: #f8f5f0;
  border-color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.variety-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin: -0.65rem 0 1.75rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.variety-tabs::-webkit-scrollbar {
  display: none;
}

.variety-tabs[hidden] {
  display: none;
}

.variety-tabs__btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.variety-tabs__btn:hover {
  border-color: rgba(156, 134, 96, 0.35);
}

.variety-tabs__btn.is-active {
  background: transparent;
  border-color: var(--gold);
  color: var(--ink);
}

.catalog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.product {
  display: flex;
  flex-direction: column;
  background: rgba(252, 250, 246, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    opacity 0.4s var(--ease);
}

.product.is-hidden {
  display: none;
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(145deg, #e7e1d8, #d9d2c8);
}

.product__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(251, 249, 245, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    transform 0.9s var(--ease),
    opacity 0.45s var(--ease);
}

.product__media img.is-loaded {
  opacity: 1;
}

.product:hover .product__media img {
  transform: scale(1.05);
}

.product__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.2rem 1.3rem;
  flex: 1;
}

.product__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.18;
}

.product__meta {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.product__note {
  margin: 0.15rem 0 0;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.45;
}

.product__footer {
  margin-top: auto;
  padding-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product__price {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Cart drawer */

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 19, 18, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(100%, 420px);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(248, 246, 242, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(26, 26, 26, 0.12);
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}

.cart-drawer.is-open {
  transform: none;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.25rem 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
}

.cart-drawer__close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}

.cart-drawer__close:hover {
  background: var(--gold-soft);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-empty {
  margin: auto 0;
  text-align: center;
  color: var(--ink-muted);
  font-weight: 300;
  padding: 2rem 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cart-item__media {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e8e3dc;
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__title {
  margin: 0 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.25;
}

.cart-item__price {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1rem;
  line-height: 1;
  transition: background-color 0.25s var(--ease);
}

.qty-btn:hover {
  background: var(--gold-soft);
}

.qty-value {
  min-width: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-item__remove {
  margin-left: 0.25rem;
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cart-item__sum {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.cart-drawer__foot {
  padding: 1rem 1.25rem 1.4rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.75);
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.cart-total strong {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.cart-checkout {
  width: 100%;
  margin-bottom: 0.65rem;
}

.cart-clear {
  width: 100%;
  min-height: 40px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-clear:hover {
  color: var(--ink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 300;
  transform: translateX(-50%) translateY(12px);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.92);
  color: #f8f5f0;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

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

/* About */

.about {
  padding: 2rem 0 5.5rem;
}

.about__grid {
  display: grid;
  gap: 2rem;
}

.about__text {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 42ch;
}

.about__facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about__facts li {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.about__fact-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.about__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */

.footer {
  background: var(--footer);
  color: var(--footer-ink);
  padding: 3.5rem 0 2.5rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

.footer__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1c1b19;
  min-height: 320px;
}

.footer__map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(0.2) contrast(1.02) brightness(0.92);
}

.footer__map-label {
  position: absolute;
  left: 1rem;
  bottom: 3.4rem;
  z-index: 2;
  max-width: min(92%, 320px);
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  background: rgba(248, 246, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  color: var(--ink);
}

.footer__map-label-brand {
  margin: 0 0 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.1;
}

.footer__map-label-addr {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.4;
}

.footer__map-link {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(20, 19, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(235, 230, 223, 0.92);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  transition: background-color 0.3s var(--ease);
}

.footer__map-link:hover {
  background: rgba(125, 106, 74, 0.92);
}

.footer__brand {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
}

.footer__lead {
  margin: 0 0 1.75rem;
  color: rgba(235, 230, 223, 0.65);
  font-weight: 300;
  max-width: 28ch;
}

.footer__contacts {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.footer__phone {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}

.footer__phone:hover {
  color: var(--powder);
}

.footer__tg {
  color: var(--powder);
  font-weight: 500;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.footer__tg:hover {
  border-bottom-color: currentColor;
}

.footer__meta {
  margin: 0;
  color: rgba(235, 230, 223, 0.55);
  font-size: 0.9rem;
}

.footer__copy {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(235, 230, 223, 0.4);
}

.footer__credits {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  color: rgba(235, 230, 223, 0.28);
  max-width: 42ch;
  line-height: 1.5;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

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

/* Animations */

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

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-1.5%);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(0.55);
    opacity: 0.25;
  }
}

/* Mobile menu */

@media (max-width: 899px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 1rem auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(255, 253, 250, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav__link,
  .nav__hours {
    color: var(--ink) !important;
    padding: 0.85rem 0.75rem;
  }

  .nav__hours {
    border-left: 0;
    padding-left: 0.75rem;
    opacity: 1;
    border-top: 1px solid var(--line);
    margin-top: 0.35rem;
  }

  .header__actions .btn--ghost-header {
    display: none;
  }

  .hero__scroll {
    display: none;
  }

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

/* Tablet+ */

@media (min-width: 640px) {
  :root {
    --header-h: 80px;
  }

  .header__actions .btn--ghost-header {
    display: inline-flex;
  }

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

  .about__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
  }

  .footer__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
  }

  .footer__map iframe {
    height: 340px;
  }

  .footer__map {
    min-height: 340px;
  }

  .footer__map-label {
    bottom: 3.6rem;
  }
}

@media (max-width: 639px) {
  .footer__map-label {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 3.2rem;
    max-width: none;
  }

  .footer__map-link {
    left: 0.75rem;
    right: auto;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .burger {
    display: none;
  }

  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .hero__content {
    padding-bottom: 7.5rem;
  }
}

@media (min-width: 1100px) {
  .catalog__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__content {
    max-width: 42rem;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
