/* 30.10: общий стиль новых страниц сайта Розалии (витрина /, /tetrad, /podarki) — тот же, что на /uslugi (wow.css):
   изумруд и золото с обложки, светлый текст как имя на обложке, заголовки — текст в тонкой золотой рамочке. */
@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap; src: url("/fonts/oswald-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap; src: url("/fonts/oswald-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-display: swap; src: url("/fonts/montserrat-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-display: swap; src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --gold-1: #fae2aa;
  --gold-2: #f0c584;
  --gold-3: #cc9654;
  --g: 240, 197, 132;
  --gold-text: linear-gradient(180deg, #fbe7b4 0%, #f3cd8a 45%, #cf9a56 78%, #f0d397 100%);
  --em-2: #143a2d;
  --em-3: #0c241b;
  --ink: #0b2018;
  --text: #f2ead5;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { background: var(--em-3); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font: 400 16px/1.6 "Montserrat", -apple-system, sans-serif; overflow-x: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(80% 45% at 75% 18%, rgba(52, 112, 86, 0.5), transparent 70%),
    radial-gradient(70% 40% at 10% 85%, rgba(var(--g), 0.07), transparent 70%),
    linear-gradient(180deg, var(--em-2) 0%, #10301f 55%, var(--em-3) 100%);
}
a { color: inherit; }
main { max-width: 520px; margin: 0 auto; padding: 0 16px 110px; }
section { padding: 30px 0 6px; }
p { margin: 0 0 12px; }

.gold { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.plate { margin: 0 auto 18px; padding: 14px 16px 13px; border: 1px solid rgba(var(--g), 0.75); border-radius: 14px; text-align: center; background: rgba(2, 18, 12, 0.22); }
.plate h2 { margin: 0; font: 500 24px/1.2 "Oswald", "Arial Narrow", sans-serif; letter-spacing: 0.02em; text-transform: uppercase; }
.back { display: inline-block; margin: 16px 0 0; font-size: 14px; color: var(--gold-2); text-decoration: none; }
.kicker { margin: 0 0 8px; font: 500 13px/1.3 "Montserrat", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); }

/* телефон с экраном тетради */
.phone {
  position: relative;
  width: 250px;
  margin: 26px auto 26px;
  padding: 9px;
  border-radius: 36px;
  background: #0a1712;
  border: 1px solid rgba(var(--g), 0.75);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.95), 0 0 50px -16px rgba(var(--g), 0.35);
}
.phone img { display: block; width: 100%; aspect-ratio: 390 / 595; object-fit: cover; object-position: top; border-radius: 28px; }

/* кнопки: обе залитые и мягко пульсируют — видно, что на них нажимают */
.btns { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  max-width: 340px;
  padding: 16px 20px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font: 800 13px/1.2 "Montserrat", sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s var(--ease);
}
.btn:active { transform: scale(0.97); }
/* главная — золотая: пульсирует свечением, по ней пробегает блик */
.btn-gold { color: var(--ink); background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 45%, var(--gold-3) 100%); animation: pulse-gold 2.4s ease-in-out infinite; }
.btn-gold::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent); transform: skewX(-20deg); animation: shine 4.5s var(--ease) infinite 1.5s; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 10px 28px -10px rgba(var(--g), 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6); transform: scale(1); }
  50% { box-shadow: 0 10px 30px -8px rgba(var(--g), 0.95), 0 0 26px 2px rgba(250, 226, 170, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6); transform: scale(1.025); }
}
/* вторая — светлая кремово-золотая, от неё расходится кольцо */
.btn-light { color: var(--ink); background: linear-gradient(135deg, #fff3d6 0%, var(--gold-1) 55%, #f3d49c 100%); animation: pulse-ring 2.4s ease-out infinite 1.2s; }
@keyframes pulse-ring {
  0% { box-shadow: 0 8px 20px -10px rgba(var(--g), 0.7), 0 0 0 0 rgba(250, 226, 170, 0.6); }
  70%, 100% { box-shadow: 0 8px 20px -10px rgba(var(--g), 0.7), 0 0 0 12px rgba(250, 226, 170, 0); }
}
.note { margin: 2px 0 0; font-size: 13px; opacity: 0.75; text-align: center; }

/* плитки витрины и карточки подарков */
.tiles { display: flex; flex-direction: column; gap: 14px; }
.tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  border: 1px solid rgba(var(--g), 0.75);
  border-radius: 16px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(var(--g), 0.12), transparent 60%), rgba(2, 18, 12, 0.3);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tile:active { transform: scale(0.98); }
.tile .ico { flex: 0 0 56px; height: 56px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(var(--g), 0.8); border-radius: 50%; box-shadow: 0 0 18px -6px rgba(var(--g), 0.45); }
.tile .ico svg { width: 26px; height: 26px; stroke: var(--gold-2); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { margin: 0 0 3px; font: 500 21px/1.15 "Oswald", sans-serif; letter-spacing: 0.03em; text-transform: uppercase; }
.tile p { margin: 0; font-size: 13.5px; line-height: 1.45; opacity: 0.9; }
.tile .go { margin-left: auto; color: var(--gold-2); font-size: 26px; line-height: 1; }

/* «Написать мне» — три мессенджера */
.write { display: flex; gap: 10px; justify-content: center; }
.write a { flex: 1; max-width: 160px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border: 1px solid rgba(var(--g), 0.6); border-radius: 14px; background: rgba(2, 18, 12, 0.3); text-decoration: none; color: var(--gold-1); font-weight: 700; font-size: 14px; -webkit-tap-highlight-color: transparent; }
.write a:active { transform: scale(0.97); }
.write b { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); color: var(--ink); font: 800 12px/1 "Montserrat", sans-serif; }

footer { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(var(--g), 0.25); text-align: center; font-size: 13px; opacity: 0.85; }
footer p { margin: 0 0 8px; }
footer a { color: var(--gold-2); text-decoration: none; }

/* появление при прокрутке */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* кнопки внизу экрана (телефон) */
.sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; max-width: 496px; margin: 0 auto; display: flex; gap: 10px; transform: translateY(160%); transition: transform 0.5s var(--ease); }
.sticky.show { transform: none; }
.sticky .btn { flex: 1; width: auto; padding: 15px 10px; font-size: 12.5px; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .btn-gold, .btn-light, .btn-gold::after { animation: none; }
}
