/* =====================================================
   Владимир Шаповалов — видео и фото для храма
   ===================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Design tokens ---------- */
:root {
  --bg: #0e0c09;
  --bg-soft: #17130f;
  --panel: #1e1912;
  --panel-2: #241e15;
  --line: rgba(244, 238, 224, 0.10);
  --line-strong: rgba(244, 238, 224, 0.18);

  --text: #f3ede0;
  --text-muted: #c7bda6;
  --text-faint: #8f8570;

  --cream: #efe8d8;
  --cream-2: #e4dbc4;
  --ink: #201a12;

  --gold: #c8983f;
  --gold-bright: #e3b768;
  --gold-dim: #8a6a30;

  --tone-1: linear-gradient(150deg, #3a2c17, #16110b);
  --tone-2: linear-gradient(150deg, #2f2418, #120e09);
  --tone-3: linear-gradient(150deg, #362617, #14100a);
  --tone-4: linear-gradient(150deg, #24211a, #100e0a);
  --tone-5: linear-gradient(150deg, #332a1c, #15120c);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 24px 60px -30px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-serif: "Playfair Display", "PT Serif", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;

  --header-h: 84px;
  --bottom-nav-h: 64px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }

section { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.eyebrow--gold { color: var(--gold-bright); }
.eyebrow--footer { color: var(--gold-bright); margin-bottom: 10px; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  color: var(--text);
}
.section-head__text {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 52ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 16px; height: 16px; }

.btn--gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #1c1305; }
.btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(200, 152, 63, 0.55); }

.btn--outline { border: 1.5px solid var(--line-strong); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.btn--ghost-light { border: 1.5px solid rgba(243, 237, 224, 0.35); color: var(--text); }
.btn--ghost-light:hover { border-color: var(--text); background: rgba(243, 237, 224, 0.08); }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #000; }

.btn--block { width: 100%; margin-top: 28px; }
.btn--small { padding: 11px 20px; font-size: 13.5px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(14, 12, 9, 0.85), rgba(14, 12, 9, 0));
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(14, 12, 9, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright);
  flex-shrink: 0;
}
.brand__mark .icon { width: 16px; height: 16px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-family: var(--font-serif); font-size: 16px; font-weight: 600; }
.brand__role { font-size: 12px; color: var(--text-faint); }

.header__contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; margin-left: auto; margin-right: 8px; }
.header__phone { font-weight: 700; font-size: 15px; }
.header__phone:hover { color: var(--gold-bright); }
.header__ip { font-size: 12px; color: var(--text-faint); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 82% 8%, rgba(200, 152, 63, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 700px at 10% 100%, rgba(200, 152, 63, 0.08), transparent 60%),
    linear-gradient(160deg, #14100b 0%, #0e0c09 55%, #0a0806 100%);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 3px);
  opacity: .5;
}
.hero__vignette {
  position: absolute; inset: 0;
  box-shadow: inset 0 -160px 160px -120px rgba(0,0,0,0.7);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 80px; }

.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 6px 0 24px;
  max-width: 15ch;
}
.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__tags { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__tags li {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 14px;
  border-radius: var(--radius-pill);
  background: rgba(243, 237, 224, 0.05);
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 600;
  color: var(--text);
}
.hero__tags .icon { color: var(--gold-bright); width: 18px; height: 18px; }

/* ---------- Media placeholder tiles ---------- */
.media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.media__gradient { position: absolute; inset: 0; z-index: 0; }
.media__gradient[data-tone="1"] { background: var(--tone-1); }
.media__gradient[data-tone="2"] { background: var(--tone-2); }
.media__gradient[data-tone="3"] { background: var(--tone-3); }
.media__gradient[data-tone="4"] { background: var(--tone-4); }
.media__gradient[data-tone="5"] { background: var(--tone-5); }
.media__gradient::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(120deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px);
}
.media__icon {
  position: relative; z-index: 1;
  width: 15%; height: 15%;
  min-width: 26px; min-height: 26px;
  max-width: 44px; max-height: 44px;
  color: rgba(243, 237, 224, 0.35);
  transition: transform .5s var(--ease), color .5s var(--ease);
}
.media:hover .media__icon { transform: scale(1.12); color: rgba(227, 183, 104, 0.55); }

.media__photo {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.media:hover .media__photo { transform: scale(1.05); }

.media--video { aspect-ratio: 16 / 9; background: var(--ink); }
.media__iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.media--tile { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--portrait .media__photo { object-position: 50% 20%; }
.media__caption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  font-family: var(--font-serif);
  font-size: 18px;
  display: flex; flex-direction: column; gap: 2px;
}
.media__caption span { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Badges ---------- */
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
  background: var(--panel-2);
  color: var(--text);
}
.badge .icon { width: 14px; height: 14px; color: var(--gold-bright); }
.badge--outline { background: transparent; border: 1px solid var(--line-strong); color: var(--gold-bright); }

/* ---------- Intro / quick CTA ---------- */
.intro { padding: 100px 0; background: var(--bg); }
.intro__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: stretch; }

.intro__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
}
.intro__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  color: var(--text);
}
.intro__links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.intro__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.intro__link .icon { color: var(--ink); }
.intro__link:hover { background: var(--gold-bright); transform: translateY(-2px); }

.intro__media .media { height: 100%; }

/* ---------- Services ---------- */
.services { position: relative; padding: 100px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.service-card__body { padding: 28px 28px 30px; }
.service-card__body h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.service-card__body p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 20px; }

/* ---------- Gallery ---------- */
.gallery { position: relative; padding: 100px 0; background: var(--bg); }
.gallery__group { margin-top: 64px; }
.gallery__group:first-of-type { margin-top: 0; }
.gallery__group-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.gallery__group-head h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__grid .media--tile { border-radius: var(--radius-sm); }
.gallery__grid .media--tile { cursor: zoom-in; }

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  align-items: center; justify-content: center;
  background: rgba(10, 8, 6, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox__img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: scale(.97);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.lightbox.is-ready .lightbox__img { opacity: 1; transform: scale(1); }
.lightbox__close,
.lightbox__nav {
  position: fixed;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(243, 237, 224, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--gold-bright); color: var(--ink); border-color: transparent; }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

@media (max-width: 768px) {
  .lightbox__close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ---------- Principles ---------- */
.principles { position: relative; padding: 100px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.principle-card {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.principle-card:hover { transform: translateY(-6px); }
.principle-card__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 24px;
  letter-spacing: .1em;
}
.principle-card__icon { color: var(--gold-bright); width: 26px; height: 26px; margin-bottom: 18px; }
.principle-card h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.principle-card p { color: var(--text-muted); font-size: 14px; }
.principle-card--accent {
  background: linear-gradient(160deg, var(--gold-dim), #1a1206);
  border-color: transparent;
}
.principle-card--accent .principle-card__num,
.principle-card--accent .principle-card__icon { color: var(--cream); }
.principle-card--accent h3 { color: var(--cream); }
.principle-card--accent p { color: rgba(239, 232, 216, 0.8); }

/* ---------- Reviews ---------- */
.reviews { position: relative; padding: 100px 0; background: var(--bg); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px dashed var(--line-strong);
  display: flex; flex-direction: column; gap: 20px;
}
.review-card__quote { color: var(--gold-dim); width: 30px; height: 30px; }
.review-card__text { color: var(--text-muted); font-size: 15px; flex: 1; }
.review-card__author { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-card__name { font-weight: 700; font-family: var(--font-serif); font-size: 16px; }
.review-card__meta { font-size: 13px; color: var(--text-faint); }
.reviews__note { margin-top: 32px; text-align: center; color: var(--text-faint); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--cream); padding: 90px 0 calc(90px + var(--bottom-nav-h)); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.footer__spacer { margin-top: 36px; }
.footer__big { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--cream); }
.footer__big .icon { color: var(--gold-bright); }
.footer__big:hover { color: var(--gold-bright); }
.footer__name { font-family: var(--font-serif); font-size: 20px; font-weight: 600; }
.footer__name--link { display: inline-block; transition: color .25s var(--ease); }
.footer__name--link:hover { color: var(--gold-bright); }
.footer__socials { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__social {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(239, 232, 216, 0.2);
  font-size: 13.5px; font-weight: 700;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.footer__social:hover { background: rgba(239, 232, 216, 0.08); border-color: var(--gold-bright); color: var(--gold-bright); }
.footer__col--brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; }
.footer__brand { font-family: var(--font-serif); font-size: 20px; font-weight: 600; }
.footer__ip, .footer__copy { font-size: 13px; color: rgba(239, 232, 216, 0.55); }

/* ---------- Bottom sticky nav ---------- */
.bottom-nav {
  position: fixed; left: 24px; right: 24px; bottom: 20px; z-index: 90;
  height: var(--bottom-nav-h);
  display: flex; align-items: center; gap: 6px;
  max-width: 620px; margin: 0 auto;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(30, 25, 18, 0.85);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.bottom-nav__top {
  width: calc(var(--bottom-nav-h) - 12px); height: calc(var(--bottom-nav-h) - 12px);
  border-radius: 50%;
  background: var(--panel-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.bottom-nav__top:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.bottom-nav__links { display: flex; align-items: center; justify-content: space-evenly; flex: 1; padding: 0 6px; }
.bottom-nav__links a {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 700;
  color: var(--text-muted);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.bottom-nav__links a:hover,
.bottom-nav__links a.is-active { color: var(--ink); background: var(--gold-bright); }

/* ---------- Scroll reveal: simple fade + rise, no flicker ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Decorative candle glow (ambient, wide screens only) ---------- */
.candle-fx {
  display: none;
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.candle-fx--left { left: clamp(16px, calc((100% - 1200px) / 2 - 46px), 120px); }
.candle-fx--right { right: clamp(16px, calc((100% - 1200px) / 2 - 46px), 120px); }

.candle-flame { position: relative; display: block; width: 14px; height: 24px; }

.candle-flame__glow {
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 183, 104, .6), rgba(227, 183, 104, .12) 55%, rgba(227, 183, 104, 0) 72%);
  filter: blur(5px);
  animation: candle-glow 2.8s ease-in-out infinite;
  animation-delay: var(--flame-delay, 0s);
}
.candle-flame__core {
  position: absolute;
  left: 50%; bottom: 0;
  width: 9px; height: 17px;
  margin-left: -4.5px;
  background: linear-gradient(180deg, #fff3d6 0%, #f4bb64 32%, #c8983f 68%, rgba(200, 152, 63, 0) 100%);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  transform-origin: 50% 100%;
  animation: candle-breathe 2.4s ease-in-out infinite;
  animation-delay: var(--flame-delay, 0s);
}
@keyframes candle-glow {
  0%, 100%  { opacity: .55; transform: scale(1); }
  35%       { opacity: .95; transform: scale(1.24); }
  70%       { opacity: .72; transform: scale(1.06); }
}
@keyframes candle-breathe {
  0%, 100%  { transform: scaleY(1) scaleX(1) rotate(0deg); }
  25%       { transform: scaleY(1.14) scaleX(.94) rotate(-3deg); }
  50%       { transform: scaleY(.93) scaleX(1.05) rotate(2deg); }
  75%       { transform: scaleY(1.09) scaleX(.96) rotate(-1.5deg); }
}
@media (min-width: 1440px) and (prefers-reduced-motion: no-preference) {
  .candle-fx { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; animation: none; }
}

/* ---------- Phone / email — click to copy ---------- */
.phone-copy,
.email-copy {
  cursor: pointer;
  position: relative;
  outline: none;
}
.phone-copy:focus-visible,
.email-copy:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 2px var(--gold-bright);
}

@media (hover: hover) and (pointer: fine) {
  .phone-copy,
  .email-copy { transition: color .2s var(--ease), opacity .2s var(--ease); }

  .header__phone.phone-copy::after,
  .footer__big.phone-copy::after,
  .footer__big.email-copy::after {
    content: "";
    display: inline-block;
    width: 14px; height: 14px;
    margin-left: 9px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3b768' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='1.6'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }

  .phone-copy:hover,
  .email-copy:hover { color: var(--gold-bright); }
  .footer__big.phone-copy:hover,
  .footer__big.email-copy:hover { color: var(--gold-bright); }

  .header__phone.phone-copy:hover::after,
  .footer__big.phone-copy:hover::after,
  .footer__big.email-copy:hover::after {
    opacity: 1;
    transform: translateY(0);
  }
}

.copy-toast {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 20;
}
.copy-toast.visible { opacity: 1; transform: translateX(-50%) translateY(-2px); }

.phone-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(-6px) scale(.96);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  z-index: 30;
  display: none;
  overflow: hidden;
  min-width: 218px;
  opacity: 0;
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}
.phone-menu.open { display: block; opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }

.phone-menu button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.phone-menu button + button { border-top: 1px solid var(--line); }
.phone-menu button .icon { color: var(--gold-bright); flex-shrink: 0; }
.phone-menu button:hover,
.phone-menu button:active { background: var(--panel-2); color: var(--gold-bright); }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { order: -1; }
  .intro__media .media { aspect-ratio: 16 / 9; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .principles__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; align-items: flex-start; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .header__contact { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid,
  .gallery__grid--three { grid-template-columns: repeat(2, 1fr); }
  .principles__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .intro__card { padding: 32px; }
  .intro__links { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col--brand { grid-column: auto; }
  .bottom-nav { left: 12px; right: 12px; }
  .bottom-nav__links a { padding: 10px 8px; font-size: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .brand__role { display: none; }
  .gallery__grid,
  .gallery__grid--three { grid-template-columns: repeat(2, 1fr); }
  .bottom-nav__links a { letter-spacing: -0.01em; }
}
