/* ==========================================================================
   MOREVA — Premium photographer site
   Design system: dark cinematic editorial, warm champagne accent
   ========================================================================== */

:root {
  --bg: #0b0a09;
  --bg-alt: #131110;
  --bg-card: #171412;
  --text: #f3ede3;
  --text-muted: #c9bfb1;
  --text-faint: #b0a496;
  --accent: #c9a876;
  --accent-light: #e4cd9c;
  --line: rgba(243, 237, 227, 0.12);
  --line-strong: rgba(243, 237, 227, 0.22);
  --overlay: rgba(9, 8, 7, 0.5);
  --shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  color-scheme: dark;
  cursor: auto;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  cursor: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, summary, [role="tab"] { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
  text-wrap: balance;
}
h1 { line-height: 1.08; }
p { margin: 0 0 1em; color: var(--text-muted); line-height: 1.7; }
::selection { background: var(--accent); color: #14110d; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #14110d;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}
.icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-light);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 0.6em;
}

.lead { font-size: 1.1rem; max-width: 60ch; line-height: 1.75; }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.2; }

section { position: relative; padding: clamp(70px, 10vw, 130px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #16130f; }
.btn-accent:hover { background: var(--accent-light); }
.btn-ghost { border-color: rgba(243,237,227,0.4); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-light); }
.btn-outline { border-color: var(--line-strong); color: var(--text); width: 100%; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); }
.btn-lg { padding: 19px 42px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn .icon { width: 18px; height: 18px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-light);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.text-link:hover { border-color: var(--accent); }
.text-link .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(11, 10, 9, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; letter-spacing: 0.03em; }

.main-nav ul { display: flex; gap: 30px; }
.main-nav ul a {
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right .35s var(--ease);
}
.main-nav ul a:hover { color: var(--text); }
.main-nav ul a:hover::after { right: 0; }

.header-cta { flex-shrink: 0; }
.nav-cta { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
  color: var(--text);
}
.nav-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
}
.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: currentColor;
  pointer-events: none;
  position: relative;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.nav-toggle:hover,
.nav-toggle:focus-visible { color: var(--accent-light); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transform: scale(1.14); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 100% at 85% 0%, rgba(201,168,118,0.14) 0%, transparent 45%),
    linear-gradient(0deg, rgba(9,8,7,0.94) 0%, rgba(9,8,7,0.55) 48%, rgba(9,8,7,0.62) 100%),
    linear-gradient(90deg, rgba(9,8,7,0.78) 0%, rgba(9,8,7,0.42) 42%, rgba(9,8,7,0.18) 70%);
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
}

/* Viewfinder frame */
.hero-frame {
  position: absolute;
  inset: clamp(18px, 3.4vw, 40px);
  z-index: 2;
  pointer-events: none;
}
.hero-frame span { position: absolute; width: 28px; height: 28px; }
.hero-frame span:nth-child(1) { top: 0; left: 0; border-top: 1px solid rgba(243,237,227,0.55); border-left: 1px solid rgba(243,237,227,0.55); }
.hero-frame span:nth-child(2) { top: 0; right: 0; border-top: 1px solid rgba(243,237,227,0.55); border-right: 1px solid rgba(243,237,227,0.55); }
.hero-frame span:nth-child(3) { bottom: 0; left: 0; border-bottom: 1px solid rgba(243,237,227,0.55); border-left: 1px solid rgba(243,237,227,0.55); }
.hero-frame span:nth-child(4) { bottom: 0; right: 0; border-bottom: 1px solid rgba(243,237,227,0.55); border-right: 1px solid rgba(243,237,227,0.55); }

/* Vertical side label */
.hero-side-label {
  position: absolute;
  left: clamp(22px, 4vw, 46px);
  top: 50%;
  z-index: 2;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Rotating badge */
.hero-badge {
  position: absolute;
  right: clamp(20px, 4.5vw, 88px);
  bottom: clamp(120px, 16vw, 170px);
  z-index: 2;
  width: 108px; height: 108px;
  display: none;
  align-items: center;
  justify-content: center;
}
.hero-badge-ring { animation: hero-spin 22s linear infinite; }
.hero-badge-core {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.15rem;
}
@keyframes hero-spin { to { transform: rotate(360deg); } }
@media (min-width: 901px) { .hero-badge { display: flex; } }

.hero-content { position: relative; max-width: 760px; }
.eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 0.6em; }
.eyebrow-row .eyebrow { margin-bottom: 0; }
.eyebrow-line { width: 44px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); flex-shrink: 0; }
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.06;
  margin-bottom: 0.3em;
  color: #f7f2ea;
  text-shadow: 0 6px 32px rgba(0, 0, 0, 0.45);
}
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #ffffff; max-width: 44ch; margin-bottom: 1.8em; font-weight: 400; line-height: 1.5; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 30px; height: 50px;
  margin-left: -15px;
  border: 1px solid rgba(243,237,227,0.4);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 4px; margin-left: -2px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollcue 1.8s infinite var(--ease);
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(20px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); max-width: 14ch; line-height: 1.2; }
.about-points { margin: 2em 0; display: flex; flex-direction: column; gap: 1.1em; }
.about-points li { display: flex; gap: 16px; align-items: flex-start; color: var(--text); font-size: 1.02rem; line-height: 1.55; }
.about-points li span {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 0.95rem;
  flex-shrink: 0;
  padding-top: 2px;
  min-width: 1.6em;
}

/* ---------- Portfolio ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: all .3s var(--ease);
}
.filter-btn:hover,
.filter-btn:focus-visible { color: var(--text); border-color: var(--accent); }
.filter-btn.is-active { background: var(--accent); color: #16130f; border-color: var(--accent); }
.filter-btn.is-active:hover { color: #16130f; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  min-width: 0;
}
.gallery-item.is-hidden { display: none; }
.gallery-item a { display: block; position: relative; height: 100%; overflow: hidden; }
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.gallery-item a:hover img,
.gallery-item a:focus-visible img { transform: scale(1.04); }
.gallery-item a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,8,7,0.82) 0%, rgba(9,8,7,0.12) 42%, transparent 62%);
  pointer-events: none;
}
.gallery-item figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Services ---------- */
.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 2.5rem;
}
.segmented-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: all .3s var(--ease);
}
.segmented-btn.is-active { background: var(--accent); color: #16130f; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: default;
}
.card h3 { font-size: 1.35rem; margin-bottom: 0.2em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; line-height: 1.3; }
.card .tag { font-family: var(--font-body); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); border: 1px solid var(--line-strong); padding: 3px 10px; border-radius: 999px; }
.card .price { font-family: var(--font-display); font-size: 2rem; color: var(--accent-light); margin-bottom: 1.2em; white-space: nowrap; line-height: 1.2; }
.card-list { display: flex; flex-direction: column; gap: 0.7em; margin-bottom: 2em; flex-grow: 1; }
.card-list li {
  padding-left: 28px;
  position: relative;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: currentColor;
  color: var(--accent);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.2 4.2L19 7'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.2 4.2L19 7'/></svg>") center / contain no-repeat;
}
.card-featured { border-color: var(--accent); background: linear-gradient(165deg, rgba(201,168,118,0.1), var(--bg-card) 55%); }
.card-badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--accent); color: #16130f;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 5px 14px; border-radius: 999px;
}

.services-note { margin-top: 2rem; font-size: 0.88rem; color: var(--text-faint); max-width: 65ch; }

.extra-services { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.extra-services h3 { font-size: 1.3rem; margin-bottom: 1.2em; }
.extra-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9em 3em; }
.extra-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-bottom: 0.9em; border-bottom: 1px dashed var(--line);
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.45;
}
.extra-list li span { display: inline-flex; align-items: center; gap: 10px; }
.extra-list .icon { width: 18px; height: 18px; color: var(--accent); }
.extra-list b { color: var(--text); font-weight: 600; white-space: nowrap; }

/* ---------- Process ---------- */
.process { background: var(--bg-alt); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-steps li { position: relative; padding-top: 1.4em; border-top: 1px solid var(--line-strong); }
.step-num { display: block; font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.6rem; margin-bottom: 0.4em; }
.process-steps h3 { font-size: 1.15rem; margin-bottom: 0.4em; line-height: 1.3; }
.process-steps p { font-size: 0.92rem; line-height: 1.65; }

/* ---------- Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card {
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  cursor: default;
}
.adv-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  background: rgba(201,168,118,0.08);
}
.adv-card-icon .icon { width: 20px; height: 20px; }
.adv-card h3 { font-size: 1.15rem; margin-bottom: 0.5em; color: var(--text); line-height: 1.3; }
.adv-card p { font-size: 0.93rem; margin: 0; line-height: 1.65; }

/* ---------- Mentorship ---------- */
.mentorship { background: var(--bg-alt); }
.mentor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mentor-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
  display: flex; flex-direction: column;
  cursor: default;
}
.mentor-card h3 { font-size: 1.05rem; margin-bottom: 0.5em; line-height: 1.35; }
.mentor-card p { font-size: 0.92rem; flex-grow: 1; line-height: 1.65; }
.mentor-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 12px; margin-top: 1.2em; }
.mentor-foot b { color: var(--accent-light); font-size: 1.05rem; white-space: nowrap; flex-shrink: 0; }
.mentor-foot s { color: var(--text-faint); font-size: 0.8rem; white-space: nowrap; }
.mentor-bundle { border-color: var(--accent); background: linear-gradient(165deg, rgba(201,168,118,0.12), var(--bg-card) 60%); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  margin: 0;
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--line);
  cursor: default;
}
.review-card-mark {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}
.review-card p { color: var(--text); font-family: var(--font-display); font-size: 1.08rem; font-style: italic; line-height: 1.6; }
.review-card cite { color: var(--accent-light); font-style: normal; font-size: 0.88rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 320px 1fr; gap: 60px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 1em; font-size: 0.98rem; max-width: 68ch; line-height: 1.7; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; padding: clamp(90px, 12vw, 160px) 0; text-align: center; overflow: hidden; }
.cta-media { position: absolute; inset: 0; z-index: -1; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.cta-media .hero-overlay {
  background:
    linear-gradient(0deg, rgba(9,8,7,0.88) 0%, rgba(9,8,7,0.72) 45%, rgba(9,8,7,0.82) 100%);
}
.cta-content { max-width: 640px; margin-inline: auto; }
.cta-content h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--text); }
.cta-content p { font-size: 1.1rem; margin-bottom: 1.8em; color: var(--text); line-height: 1.65; }

/* ---------- Contacts ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin: 2em 0; }
.contact-list a {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.contact-list a:hover { border-color: var(--accent); background: rgba(201,168,118,0.06); }
.contact-icon { color: var(--accent); width: 22px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.contact-icon svg, .contact-icon .icon { width: 20px; height: 20px; }
.contact-list a:hover .icon-telegram { color: #29a9eb; }
.contact-list a:hover .icon-whatsapp { color: #25d366; }
.social-label { font-size: 0.9rem; color: var(--text-faint); margin-bottom: 0.6em; }
.social-row { display: flex; gap: 14px; flex-wrap: wrap; }
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.social-row a .icon { width: 16px; height: 16px; }
.social-row a:hover { border-color: var(--accent); color: var(--accent-light); background: rgba(201,168,118,0.06); }

.quick-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quick-form h3 { font-size: 1.4rem; margin-bottom: 0.1em; }
.form-hint { font-size: 0.82rem; color: var(--text-faint); margin-bottom: 0.6em; }
.quick-form label { font-size: 0.82rem; color: var(--text-muted); margin-bottom: -8px; }
.quick-form input, .quick-form select, .quick-form textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  resize: vertical;
  color-scheme: dark;
}
.quick-form input:focus, .quick-form select:focus, .quick-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.quick-form select option { background: var(--bg); color: var(--text); }
.quick-form button { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p:last-child { font-size: 0.9rem; max-width: 32ch; }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}
.footer-social .icon { width: 16px; height: 16px; color: var(--accent); }
.footer-nav a:hover, .footer-social a:hover { color: var(--accent-light); }
.footer-legal { border-top: 1px solid var(--line); padding: 24px 0; font-size: 0.84rem; color: var(--text-faint); display: flex; flex-direction: column; gap: 6px; line-height: 1.6; }
.footer-legal p { margin: 0; color: inherit; }
.footer-legal a { color: var(--text-faint); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Sticky CTA rail ---------- */
.sticky-cta {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.sticky-cta-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  margin-bottom: 2px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  min-width: 220px;
}
.sticky-cta-panel[hidden] { display: none; }
.sticky-cta-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.3;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.sticky-cta-panel a:hover { background: rgba(201,168,118,0.1); color: var(--accent-light); }
.sticky-cta-panel .icon { width: 18px; height: 18px; color: var(--accent); }
.sticky-cta-btn {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1a1714;
  border: 1px solid var(--accent);
  color: var(--accent-light);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.sticky-cta-btn .icon { width: 22px; height: 22px; }
.sticky-cta-call {
  background: var(--accent);
  border-color: var(--accent);
  color: #16130f;
}
.sticky-cta-btn:hover,
.sticky-cta-btn.is-open,
.sticky-cta-call:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #16130f;
  transform: translateY(-2px);
}
.sticky-cta-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 7px 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.sticky-cta-btn:hover .sticky-cta-label,
.sticky-cta-btn:focus-visible .sticky-cta-label {
  opacity: 1;
}
.sticky-cta-top[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(9,8,7,0.96);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(90vw, 1000px); max-height: 78vh; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox-caption { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.lightbox-close { position: absolute; top: 24px; right: 28px; background: none; border: none; color: var(--text); font-size: 1.4rem; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text);
  font-size: 2.6rem; padding: 10px 18px; line-height: 1;
  transition: color .3s var(--ease);
}
.lightbox-nav:hover { color: var(--accent); }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 260px 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .mentor-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-side-label, .hero-badge { display: none; }
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 80vw);
    height: 100vh;
    background: var(--bg-alt);
    border-left: 1px solid var(--line);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .main-nav ul a { font-size: 1.1rem; }
  .nav-cta {
    display: inline-flex;
    margin-top: auto;
    width: 100%;
    color: #16130f;
    padding: 15px 30px;
  }
  .nav-cta:hover {
    color: #16130f;
    background: var(--accent-light);
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 320px; }
  .cards-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .mentor-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .extra-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sticky-cta-label { display: none; }
}

@media (max-width: 520px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .gallery { grid-template-columns: 1fr; }
  .lightbox { padding: 16px; }
  .lightbox-nav { font-size: 2rem; padding: 6px 10px; }
  .sticky-cta { right: max(12px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .sticky-cta-btn { width: 48px; height: 48px; }
  .sticky-cta-panel { min-width: 200px; }
}
