@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/playfair-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/playfair-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+2116;
}

:root {
  --bg: #f4f7f4;
  --bg-muted: #e9efea;
  --ink: #15211a;
  --ink-soft: #5b6a61;
  --line: #e2e7e3;
  --accent: #15683c;
  --accent-dark: #0f4a2a;
  --accent-soft: #e7f1ea;
  --highlight: #5b54c9;
  --highlight-soft: #ecebf9;
  --card-bg: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 20px 46px -30px rgba(21, 33, 26, 0.35);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dur: 0.6s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.4em; }
p { margin: 0 0 1em; color: var(--ink-soft); }

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(3%, -4%) rotate(8deg); }
}
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 3%) scale(1.06); }
}

/* Nav */
.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px clamp(20px, 5vw, 64px);
}
.topnav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.topnav-links { display: flex; gap: clamp(14px, 3vw, 32px); font-size: 0.92rem; }
.topnav-links a { position: relative; color: var(--ink-soft); transition: color 0.25s; padding-bottom: 3px; }
.topnav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right 0.3s var(--ease);
}
.topnav-links a:hover { color: var(--ink); }
.topnav-links a:hover::after { right: 0; }

/* Hero */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  top: -140px; right: -80px;
  animation: floatSlow 18s var(--ease) infinite;
}
.hero::after {
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--highlight-soft) 0%, transparent 72%);
  opacity: 0.5;
  bottom: -100px; left: 8%;
  animation: float 14s var(--ease) infinite;
}
.hero-content { position: relative; z-index: 1; padding: clamp(56px, 9vw, 108px) clamp(20px, 6vw, 72px); max-width: 760px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem;
  color: var(--accent-dark); margin-bottom: 16px;
  background: var(--accent-soft); padding: 6px 14px; border-radius: var(--radius-sm);
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--ink); margin-bottom: 18px; }
.hero-about { color: var(--ink-soft); max-width: 52ch; font-size: 1.05rem; }

/* Sections */
.section { position: relative; padding: clamp(56px, 9vw, 120px) clamp(20px, 6vw, 72px); max-width: 1280px; margin: 0 auto; }
.section--muted { background: var(--bg-muted); max-width: none; }
.section--muted > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.6em; position: relative; display: inline-block; }
.section h2::after {
  content: ""; position: absolute; left: 2px; bottom: -8px; width: 46px; height: 3px;
  background: var(--accent); border-radius: 2px;
}

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease);
}
.tile:hover { transform: translateY(-6px); }
.tile-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.08) rotate(0.4deg); }
.tile-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(0deg, rgba(12, 11, 24, 0.86) 0%, rgba(12, 11, 24, 0.18) 55%, transparent 75%);
  color: #fff;
}
.tile-label h3 { color: #fff; margin-bottom: 6px; font-size: 1.4rem; }
.tile-label p { color: #d9d8ec; font-size: 0.9rem; margin-bottom: 12px; }
.tile-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; opacity: 0; transform: translateY(6px); transition: all 0.4s var(--ease); font-weight: 600; color: #fff; }
.tile:hover .tile-arrow { opacity: 1; transform: translateY(0); }
.tiles > *:nth-child(1) { transition-delay: 0s; }
.tiles > *:nth-child(2) { transition-delay: 0.08s; }
.tiles > *:nth-child(3) { transition-delay: 0.16s; }

/* Breadcrumbs / page header */
.breadcrumbs { padding: 20px clamp(20px, 6vw, 72px) 0; font-size: 0.85rem; color: var(--ink-soft); max-width: 1280px; margin: 0 auto; }
.breadcrumbs a { color: var(--ink-soft); border-bottom: 1px solid transparent; }
.breadcrumbs a:hover { color: var(--accent); border-color: var(--accent); }
.page-header { padding: 24px clamp(20px, 6vw, 72px) 40px; max-width: 1280px; margin: 0 auto; }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-header time {
  display: inline-block; color: var(--accent-dark); background: var(--accent-soft);
  font-size: 0.78rem; letter-spacing: 0.06em; margin-bottom: 12px; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-sm);
}
.page-header p { max-width: 60ch; }

/* Shoot list (category page) */
.shoot-list { padding: 0 clamp(20px, 6vw, 72px) 80px; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.shoot-card {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 16px;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.shoot-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.shoot-card-main { aspect-ratio: 4 / 3; overflow: hidden; }
.shoot-card-side { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.shoot-card-img { position: relative; background-size: cover; background-position: center; overflow: hidden; height: 100%; }
.shoot-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.9s var(--ease); }
.shoot-card:hover .shoot-card-img img { transform: scale(1.06); }
.shoot-card-info { padding: 22px 26px 22px 6px; display: flex; flex-direction: column; justify-content: center; }
.shoot-card-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.shoot-card-info time { color: var(--accent-dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; display: block; }
.shoot-card-info p { font-size: 0.92rem; margin: 0; }

/* Lightbox grid (shoot page) */
.lightbox-grid {
  padding: 0 clamp(20px, 6vw, 72px) 80px;
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.lightbox-item {
  border: none; padding: 0; cursor: zoom-in; background: none;
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3/4;
  box-shadow: 0 1px 0 var(--line);
}
.lightbox-thumb { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease); }
.lightbox-item:hover .lightbox-thumb img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 11, 20, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-full {
  max-width: 90vw; max-height: 86vh; border-radius: var(--radius-sm);
  transform: scale(0.96); transition: transform 0.35s var(--ease);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.lightbox.is-open .lightbox-full { transform: scale(1); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.1); color: #fff;
  border: none; border-radius: var(--radius-sm); width: 48px; height: 48px;
  font-size: 1.1rem; cursor: pointer; transition: background 0.25s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Pricing */
.price-group { margin-bottom: 44px; }
.price-group h3 { font-size: 1.5rem; margin-bottom: 4px; }
.price-subtitle { color: var(--accent-dark); font-size: 0.9rem; margin-bottom: 20px; font-weight: 600; }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.price-card {
  position: relative;
  background: var(--card-bg); border-radius: var(--radius); padding: 28px 22px 22px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.price-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--line);
}
.price-card--highlight::before { background: var(--highlight); }
.price-card--highlight { border-color: var(--highlight); box-shadow: 0 24px 50px -26px rgba(91, 84, 201, 0.35); }
.price-card-name { font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-badge {
  display: inline-block; background: var(--highlight); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
}
.price-card-price { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 14px; }
.price-old { font-size: 0.9rem; color: var(--ink-soft); text-decoration: line-through; font-family: var(--sans); }
.price-card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 0.9rem; }
.price-card li { margin-bottom: 6px; }
.price-notes { list-style: none; padding: 0; margin: 30px 0 0; color: var(--ink-soft); font-size: 0.88rem; display: flex; flex-direction: column; gap: 6px; }
.price-notes li::before { content: "– "; color: var(--accent); font-weight: 700; }

/* Contacts */
.contacts { display: flex; flex-wrap: wrap; gap: 14px 18px; font-size: 1.05rem; }
.contacts a {
  border: 1px solid var(--line); padding: 10px 20px; border-radius: var(--radius-sm);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.contacts a:hover { color: var(--accent-dark); border-color: var(--accent); background: var(--accent-soft); }

.site-footer { max-width: 1280px; margin: 0 auto; padding: 18px clamp(20px, 6vw, 72px) 28px; color: var(--ink-soft); font-size: 0.82rem; text-align: center; }

/* Reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .hero::after { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tile-img img, .shoot-card-img img, .lightbox-thumb img { transition: none; }
}

@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr; }
  .shoot-card { grid-template-columns: 1fr; }
  .shoot-card-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; aspect-ratio: 4/1.6; }
  .shoot-card-main { aspect-ratio: 4/3; }
}

@media (max-width: 560px) {
  .topnav-links { gap: 14px; font-size: 0.82rem; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
