/* Студия «ДВА» — видеосъёмка торжеств */

:root {
  --bg: #fbf6ef;
  --bg-soft: #f5e9e1;
  --bg-card: #ffffff;
  --line: rgba(61, 50, 38, 0.10);
  --text: #3d352c;
  --text-dim: #9a8e83;
  --gold: #b9854a;
  --gold-soft: #ecd3a6;
  --gold-dim: #d8b988;
  --gold-deep: #8c6328;
  --rose: #e7b9b1;
  --sage: #b6c7ac;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-deep); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 22px 32px;
  background: rgba(251, 246, 239, 0.85);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(6px);
  padding: 14px 32px;
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.12em;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 22px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(231, 185, 177, 0.45), transparent 55%),
    linear-gradient(180deg, #fffdfa 0%, #fbf1e6 65%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(61,50,38,0.035) 0 2px, transparent 2px 6px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 88px);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 36px;
}

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold-soft);
  color: #4a3826;
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fffbf5;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 2;
}

.scroll-cue::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-cue 2s infinite;
}

@keyframes scroll-cue {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

/* ===== Section base ===== */
section { padding: 110px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 16px;
}

.section-head p { color: var(--text-dim); margin: 0; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 28px;
  box-shadow: 0 2px 10px rgba(61, 50, 38, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: 0 10px 24px rgba(61, 50, 38, 0.08);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--gold);
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 0 0 12px;
}

.service-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
}

/* ===== About ===== */
.about {
  background: var(--bg-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.about h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 22px;
}

.about p { color: var(--text-dim); }

.about-video {
  width: 100%;
  display: block;
  margin-top: 24px;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(61, 50, 38, 0.05);
  background: #000;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 20px;
  text-align: center;
}

.stat .num {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.stat .label {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ===== Portfolio ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  cursor: default;
}

.portfolio-item .ph {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.portfolio-item video.ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40,30,22,0.28);
  transition: transform 0.25s ease, background 0.25s ease;
}

.portfolio-item .play svg { width: 18px; height: 18px; fill: #fff; }

.portfolio-item:hover .play {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(185,133,74,0.45);
}

.portfolio-item .meta {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(40,30,22,0.78) 80%);
}

.portfolio-item .meta h3 {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 4px;
  color: #fff8f0;
}

.portfolio-item .meta span {
  font-size: 12.5px;
  color: #e8ddd3;
  letter-spacing: 0.04em;
}

/* gradient placeholders, no external images */
.ph-1 { background: linear-gradient(135deg, #f3d9d4, #e8c2bb); }
.ph-2 { background: linear-gradient(135deg, #dce7d5, #bfd3b6); }
.ph-3 { background: linear-gradient(135deg, #f6e6c8, #ecd2a0); }
.ph-4 { background: linear-gradient(135deg, #dce3ee, #c3cfe3); }
.ph-5 { background: linear-gradient(135deg, #fbe3d8, #f5c9b8); }
.ph-6 { background: linear-gradient(135deg, #e9d6d1, #c7d6be); }

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 0 12px;
}

.process-step .step-num {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--gold);
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 16px;
  margin: 0 0 8px;
  letter-spacing: 0.03em;
}

.process-step p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}

/* ===== Contacts ===== */
.contacts {
  background: var(--bg-soft);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-list .label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-list .value { font-size: 16px; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px;
  box-shadow: 0 2px 10px rgba(61, 50, 38, 0.05);
}

.contact-form h3 {
  font-family: var(--serif);
  margin: 0 0 8px;
  font-size: 22px;
}

.contact-form p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 24px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  margin-bottom: 18px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
}

.contact-form button {
  width: 100%;
  cursor: pointer;
  background: var(--gold-soft);
  border: none;
  color: #4a3826;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}

.contact-form button:hover { background: var(--gold); color: #fffbf5; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

.site-footer .footer-links {
  margin-top: 10px;
}

.site-footer .footer-links a {
  margin: 0 10px;
  color: var(--text-dim);
}

.site-footer .footer-links a:hover { color: var(--gold); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services-grid,
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .services-grid,
  .portfolio-grid,
  .process-grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .site-header { padding: 16px 20px; }
}

/* mobile nav */
.nav-links.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: rgba(251,246,239,0.97);
  padding: 20px 24px;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
