/* ============================================================
   ЧИСТЫЙ КРИСТАЛЛ — Styles
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--c-ink);
  background: var(--c-ivory);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* мягкая «бумажная» текстура поверх фона */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.container--tight { max-width: var(--container-tight); }
.section { padding-block: var(--space-section); position: relative; }

.eyebrow {
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-xwide);
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
}
.eyebrow::before {
  content: "";
  width: 2.2em; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2.2em; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: var(--leading-snug); letter-spacing: 0.005em; }

.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--text-h2); line-height: var(--leading-tight); margin-top: 1rem; color: var(--c-ink); }
.section__title em { font-style: italic; color: var(--gold-deep); }
.section__intro { margin-top: 1.25rem; color: var(--c-ink-soft); font-size: var(--text-lead); line-height: 1.55; }

.text-gold { color: var(--gold-deep); }

/* ---------- Diamond emblem (SVG sprite) ---------- */
.diamond { display: block; color: var(--gold); }
.diamond use { vector-effect: non-scaling-stroke; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -24px var(--gold-glow); }

.btn--ghost {
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-3px); }

.btn--light { background: #fff; color: var(--c-ink); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
  padding-block: 1.25rem;
}
.header.is-scrolled {
  background: rgba(250, 248, 243, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--c-line), var(--shadow-sm);
  padding-block: 0.75rem;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand .diamond { width: 30px; height: 27px; color: var(--gold); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink);
  line-height: 1;
}
.brand__name span { color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav__links { display: flex; gap: 2rem; }
.nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding-block: 0.25rem;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--c-ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; }
.nav__toggle span {
  display: block; width: 22px; height: 1.6px; margin: 4px auto;
  background: var(--c-ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(7rem, 12vh, 11rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 70vw; max-width: 900px; aspect-ratio: 1;
  right: -12vw; top: 8%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 62%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__title {
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--c-ink);
}
.hero__title span { display: block; }
.hero__title .line-2 { color: var(--gold-deep); font-style: italic; font-weight: 500; }
.hero__lead {
  margin-top: 1.8rem;
  max-width: 30em;
  font-size: var(--text-lead);
  color: var(--c-ink-soft);
  line-height: 1.55;
}
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta {
  margin-top: 2.8rem;
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--c-line);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--c-ink);
  line-height: 1;
}
.hero__stat span { font-size: 0.82rem; color: var(--c-muted); letter-spacing: 0.04em; }

/* Hero visual — большой бриллиант */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 360px; transform: translate3d(0, var(--py, 0), 0); will-change: transform; }
.hero__diamond {
  width: min(78%, 420px);
  aspect-ratio: 120 / 110;
  color: var(--gold);
  filter: drop-shadow(0 30px 50px var(--gold-glow));
  animation: float 7s var(--ease) infinite;
}
.hero__diamond .facet-stroke { stroke-width: 2; }
.hero__halo {
  position: absolute;
  width: 86%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  animation: spin 38s linear infinite;
}
.hero__halo::before {
  content: "";
  position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px dashed var(--gold-light);
  opacity: 0.55;
}
.sparkle {
  position: absolute;
  color: var(--gold-light);
  animation: twinkle 3.5s ease-in-out infinite;
}
.sparkle svg { width: 100%; height: 100%; }
.sparkle.s1 { width: 26px; height: 26px; top: 12%; left: 16%; animation-delay: 0s; }
.sparkle.s2 { width: 16px; height: 16px; top: 24%; right: 14%; animation-delay: .8s; }
.sparkle.s3 { width: 20px; height: 20px; bottom: 18%; left: 22%; animation-delay: 1.6s; }
.sparkle.s4 { width: 13px; height: 13px; bottom: 28%; right: 20%; animation-delay: 2.3s; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--c-muted);
}
.scroll-cue__line { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--gold); animation: drop 2.2s var(--ease) infinite;
}

@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(1.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%,100% { opacity: 0.25; transform: scale(0.8) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
@keyframes drop { 0% { top: -50%; } 60%,100% { top: 100%; } }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy { background: var(--c-cream); }
.philosophy__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.philosophy__quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem);
  line-height: 1.28;
  color: var(--c-ink);
  font-style: italic;
  position: relative;
}
.philosophy__quote::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-light);
  position: absolute;
  top: -2.4rem; left: -0.5rem;
  line-height: 1;
}
.philosophy__quote b { color: var(--gold-deep); font-weight: 600; font-style: normal; }
.philosophy__body p { color: var(--c-ink-soft); margin-bottom: 1.2rem; }
.philosophy__body p:last-child { margin-bottom: 0; }
.philosophy__sign { margin-top: 1.8rem; display: flex; align-items: center; gap: 0.8rem; color: var(--gold-deep); font-weight: 600; }
.philosophy__sign .diamond { width: 22px; height: 20px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.feature {
  text-align: center;
  padding: 2.4rem 1.4rem;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.feature__icon {
  width: 58px; height: 58px;
  margin: 0 auto 1.3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-cream), #fff);
  border: 1px solid var(--c-line);
  color: var(--gold-deep);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.92rem; color: var(--c-muted); line-height: 1.5; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.product {
  --acc: var(--gold);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product:hover .pack { transform: scale(1.015); }
.product:hover .pack__ribbon { filter: brightness(1.08); }

/* --- Упаковка (CSS-копия флоупака) --- */
.pack {
  position: relative;
  aspect-ratio: 4 / 3.4;
  padding: 2.2rem 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: transform var(--dur-slow) var(--ease);
  background: linear-gradient(160deg, #ffffff 0%, #f7f2e9 100%);
}
/* рифлёные «края» флоупака */
.pack::before, .pack::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 16px;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.06) 0 1px, transparent 1px 4px);
  opacity: 0.7;
}
.pack::before { left: 0; box-shadow: inset 6px 0 10px -6px rgba(0,0,0,0.12); }
.pack::after  { right: 0; box-shadow: inset -6px 0 10px -6px rgba(0,0,0,0.12); }

.pack__emblem { width: 92px; height: 84px; color: var(--acc); margin-bottom: 1.1rem; }
.pack__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.12em;
  line-height: 1.15;
  color: var(--gold-deep);
  text-transform: uppercase;
}
.pack__type { margin-top: 0.45rem; font-size: 0.82rem; letter-spacing: 0.05em; color: var(--c-ink-soft); }
.pack__weight {
  margin-top: auto;
  padding-top: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--c-ink);
}
/* угловая лента-claim */
.pack__ribbon {
  position: absolute;
  top: 26px; right: -52px;
  width: 200px;
  transform: rotate(45deg);
  background: var(--acc);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 0;
  line-height: 1.3;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,0.35);
}

/* Тёмная упаковка (дегтярное) */
.pack--dark { background: linear-gradient(160deg, #232323 0%, #0c0c0c 100%); }
.pack--dark::before, .pack--dark::after { background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 4px); }
.pack--dark .pack__brand { color: var(--gold-light); }
.pack--dark .pack__type { color: #cfc6b3; }
.pack--dark .pack__weight { color: #f2ead7; }
.pack--dark .pack__emblem { color: var(--gold); }
.pack--dark .pack__ribbon { background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); color: #1a1a1a; }

/* Цветочная упаковка (для посуды) */
.pack--floral { background:
  radial-gradient(circle at 12% 18%, rgba(190,128,135,0.16), transparent 26%),
  radial-gradient(circle at 88% 82%, rgba(150,160,90,0.16), transparent 26%),
  radial-gradient(circle at 85% 15%, rgba(170,150,200,0.14), transparent 24%),
  linear-gradient(160deg, #fffdf9, #f6f0e8); }

.product__info { padding: 1.6rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.product__name { font-size: var(--text-h3); margin-bottom: 0.6rem; }
.product__name .accent { color: var(--acc); }
.product__desc { color: var(--c-ink-soft); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.2rem; }
.product__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.product__tags li {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--c-ink-soft);
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  padding: 0.35em 0.85em;
  border-radius: 100px;
}

/* ============================================================
   QUALITY (тёмная сцена)
   ============================================================ */
.quality {
  background:
    radial-gradient(circle at 80% 10%, rgba(181,137,75,0.16), transparent 45%),
    linear-gradient(160deg, var(--c-night-2), var(--c-night));
  color: #efe7d6;
}
.quality__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.quality .eyebrow { color: var(--gold-light); }
.quality .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.quality__title { font-size: var(--text-h2); color: #fff; line-height: var(--leading-tight); margin: 1rem 0 1.4rem; }
.quality__title em { color: var(--gold-light); font-style: italic; }
.quality__text { color: #c9c0ae; font-size: var(--text-base); line-height: 1.75; margin-bottom: 1.1rem; }
.quality__list { display: grid; gap: 1.1rem; margin-top: 2rem; }
.quality__item { display: flex; gap: 1rem; align-items: flex-start; }
.quality__item .diamond { width: 22px; height: 20px; color: var(--gold-light); flex: none; margin-top: 0.2rem; }
.quality__item h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.15rem; }
.quality__item p { font-size: 0.9rem; color: #b3aa98; line-height: 1.5; }

.quality__showcase {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
}
.quality__showcase .diamond { width: 55%; color: var(--gold); filter: drop-shadow(0 20px 40px rgba(181,137,75,0.35)); }
.quality__badge {
  position: absolute;
  bottom: 8%; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(20,17,13,0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(220,194,144,0.3);
  border-radius: 100px;
  padding: 0.6rem 1.3rem;
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--gold-light);
}

/* ============================================================
   MISSION / CHARITY
   ============================================================ */
.mission { background: var(--c-cream); }
.mission__intro { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.mission__intro p { color: var(--c-ink-soft); font-size: var(--text-lead); line-height: 1.6; }
.mission__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.help-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.help-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.help-card__icon { width: 46px; height: 46px; color: var(--gold-deep); margin-bottom: 1.1rem; }
.help-card__icon svg { width: 100%; height: 100%; }
.help-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.help-card p { font-size: 0.88rem; color: var(--c-muted); line-height: 1.5; }
.mission__note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 0.9rem + 1vw, 1.6rem);
  color: var(--c-ink);
}
.mission__note b { color: var(--gold-deep); font-style: normal; font-weight: 600; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta {
  position: relative;
  text-align: center;
  background:
    radial-gradient(circle at 50% -20%, var(--gold-glow), transparent 55%),
    var(--c-ivory);
}
.cta__diamond { width: 50px; height: 46px; color: var(--gold); margin: 0 auto 1.6rem; }
.cta__title { font-size: var(--text-h2); line-height: var(--leading-tight); margin-bottom: 1.1rem; }
.cta__title em { font-style: italic; color: var(--gold-deep); }
.cta__text { max-width: 540px; margin: 0 auto 2.2rem; color: var(--c-ink-soft); font-size: var(--text-lead); line-height: 1.5; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--c-night); color: #c9c0ae; padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__top { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand .diamond { color: var(--gold-light); }
.footer__tagline { margin-top: 1.2rem; font-size: 0.92rem; line-height: 1.7; color: #a79e8c; max-width: 30ch; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; }
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a, .footer__col li { font-size: 0.92rem; color: #b3aa98; transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.8rem; font-size: 0.82rem; color: #8a8270; }
.footer__bottom a:hover { color: var(--gold-light); }
.footer__socials { display: flex; gap: 0.8rem; }
.footer__socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer__socials a:hover { border-color: var(--gold-light); background: rgba(220,194,144,0.1); transform: translateY(-3px); }
.footer__socials svg { width: 17px; height: 17px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { order: -1; min-height: 280px; }
  .hero__diamond { width: min(56%, 300px); }
  .philosophy__grid, .quality__grid { grid-template-columns: 1fr; }
  .features__grid, .mission__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 1.3rem;
    position: absolute; top: 100%; right: clamp(1.25rem, 4vw, 3rem); left: clamp(1.25rem, 4vw, 3rem);
    margin-top: 0.8rem; padding: 1.8rem;
    background: rgba(250,248,243,0.97); backdrop-filter: blur(14px);
    border: 1px solid var(--c-line); border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav.is-open .btn { display: inline-flex; justify-content: center; }
  .hero__meta { gap: 1.4rem; }

  /* --- фикс переполнения на мобильных --- */
  .hero { display: block; overflow: clip; }
  .hero__grid { gap: 1.5rem; min-width: 0; max-width: 100%; }
  .hero__grid > *, .hero__content { min-width: 0; }
  .hero__content > * { max-width: 100%; }
  .hero__lead { max-width: 100%; }
  .hero__eyebrow { display: flex; flex-wrap: wrap; }
  .eyebrow { letter-spacing: 0.16em; flex-wrap: wrap; }
  .hero__title { letter-spacing: 0; overflow-wrap: anywhere; }
}

@media (max-width: 560px) {
  .features__grid, .mission__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
