/* ==========================================================================
   Premium Foto Studio — независимая вёрстка
   ========================================================================== */

:root {
  --primary: #006747;        /* основной зелёный (заголовки, кнопки) */
  --primary-dark: #004d35;
  --olive: #8CAB18;          /* акцент */
  --forest: #335E23;         /* доп. зелёный */
  --mint: #E5F9F2;           /* фон карточек */
  --bg: #FAFAFA;             /* фон страницы */
  --text: #4b4a4a;           /* основной текст */
  --text-soft: #6b6a6a;
  --heading: #063a2b;
  --white: #ffffff;
  --border: #dbeee6;

  --font-heading: "Noto Serif", serif;
  --font-body: "Nobile", serif;
  --font-ui: "Inter", sans-serif;

  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-btn: 10px;

  --shadow-card: 0 10px 30px rgba(0, 51, 34, 0.08);
  --shadow-card-hover: 0 16px 40px rgba(0, 51, 34, 0.14);

  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Мягкий зелёный градиентный фон на всю страницу (как в оригинале на Gamma) */
  background-color: #dff0dc;
  background-image:
    radial-gradient(ellipse 900px 700px at 8% 0%, rgba(206, 245, 225, 0.9), transparent 60%),
    radial-gradient(ellipse 800px 900px at 100% 15%, rgba(196, 236, 214, 0.95), transparent 55%),
    radial-gradient(ellipse 1000px 700px at 90% 95%, rgba(213, 244, 180, 0.85), transparent 55%),
    radial-gradient(ellipse 900px 700px at 0% 100%, rgba(190, 228, 186, 0.9), transparent 55%),
    linear-gradient(160deg, #d7efd8 0%, #cdeedd 35%, #d9f2c9 70%, #cfeccd 100%);
  background-attachment: fixed;
  background-size: cover;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 16px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4b7a6a;
  background: #c9fceb;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--olive);
  margin-right: 7px;
  vertical-align: middle;
}

.section { padding: 88px 0; }
/* Фон-градиент теперь общий для всей страницы (см. body) — секции остаются прозрачными,
   так же как на оригинальном сайте. Следующим этапом добавим больше зелёного акцента внутри блоков. */
.section--alt { background: transparent; }
.section-intro { max-width: 680px; margin: 0 0 44px; }
.section-intro--wide { max-width: none; }
.section-head { max-width: 720px; margin: 0 0 48px; text-align: center; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--olive));
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0,103,71,0.22);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,103,71,0.32); }
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,103,71,0.22); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 250, 240, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--heading);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav-links a:hover { border-color: var(--olive); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--heading); margin: 5px 0; transition: .2s; }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 40px 0 70px;
  overflow: visible;
}
.hero .container {
  max-width: var(--container);
  display: grid;
  grid-template-columns: 445px 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.hero-media {
  width: 100%;
  aspect-ratio: 442 / 373;
  overflow: hidden;
  /* асимметричное скругление: как на оригинале — большая дуга снизу справа */
  border-radius: 22px 22px 190px 22px;
  box-shadow: var(--shadow-card);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-text h1 { margin-bottom: 18px; }
.hero-kicker {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.hero-kicker strong { color: var(--heading); font-weight: 700; }
.hero .btn-row { margin-top: 0; }
.hero .btn { padding: 12px 22px; font-size: 0.92rem; }

/* Cards / grids -------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 51, 34, 0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(0, 103, 71, 0.15); }
.card .icon { font-size: 1.6rem; margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }

.section--alt .card { background: var(--white); }
.section--alt .included-card--solid,
.section--alt .usp-list--solid { background: var(--primary); }

/* USP section ---------------------------------------------------------------- */
.usp-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 36px 0; }
.usp-list { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-card); }
.usp-list h4 { color: var(--primary); margin-bottom: 18px; }
.usp-list ul { list-style: none; margin: 0; padding: 0; }
.usp-list li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.usp-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--olive); font-weight: 700;
}
/* Первая колонка в парных сетках — залита фирменным зелёным (как в оригинале) */
.usp-list--solid, .included-card--solid {
  background: var(--primary);
  color: rgba(255,255,255,0.92);
}
.usp-list--solid h4, .included-card--solid h4 { color: var(--white); }
.usp-list--solid li::before, .included-card--solid li::before { color: #7fe6c2; }
blockquote.pull-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--heading);
  border-left: 4px solid var(--olive);
  padding: 6px 0 6px 24px;
  margin: 36px 0;
  position: relative;
}
blockquote.pull-quote::before {
  content: "“";
  position: absolute;
  left: 16px; top: -0.35em;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--olive);
  opacity: 0.35;
  line-height: 1;
  pointer-events: none;
}

/* Process steps ---------------------------------------------------------------- */
.step-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--olive);
  box-shadow: var(--shadow-card);
  padding: 26px 26px 26px 22px;
}
.step-card h4 { margin-bottom: 10px; }

/* Services ----------------------------------------------------------------------- */
.service-card { display: flex; flex-direction: column; }
.service-card-media {
  margin: -30px -28px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--mint);
}
.service-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card ul { list-style: none; margin: 0 0 20px; padding: 0; flex-grow: 1; }
.service-card li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 0.95rem; color: var(--text-soft); }
.service-card li::before { content: "–"; position: absolute; left: 0; color: var(--olive); }
.service-price {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.note-callout {
  margin-top: 20px;
  background: var(--mint);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--forest);
}

/* Included / checklists ----------------------------------------------------------- */
.included-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.included-lists .card ul { list-style: none; margin: 0; padding: 0; }
.included-lists .card li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.included-lists .card li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.included-lists .included-card--solid li::before { color: #7fe6c2; }
.subhead { margin-top: 56px; }
.small-card h4 { margin-bottom: 8px; font-size: 1.05rem; }
.small-card p { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 0; }

/* Portfolio ------------------------------------------------------------------------ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.portfolio-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
  position: relative;
}
.portfolio-grid figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,51,34,0.35) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
.portfolio-grid figure:hover::after { opacity: 1; }
.portfolio-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.portfolio-grid figure:hover img { transform: scale(1.06); }
.portfolio-note { text-align: center; color: var(--text-soft); margin: 32px 0; }

/* Testimonials ----------------------------------------------------------------------- */
.testi-grid { grid-template-columns: repeat(3, 1fr); }
.testi-card {
  position: relative;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.7);
  overflow: visible;
}
.testi-card::before,
.testi-card::after {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--white);
  opacity: 0.85;
  position: absolute;
  pointer-events: none;
  text-shadow: 0 2px 6px rgba(0,51,34,0.15);
}
.testi-card::before { content: "“"; top: -14px; left: 12px; }
.testi-card::after { content: "”"; bottom: -34px; right: 16px; }
.testi-card h4 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.testi-card .stars { font-size: 0.85em; letter-spacing: 1px; }
.testi-card p { font-style: italic; color: var(--text-soft); font-size: 0.95rem; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--olive));
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  box-shadow: 0 4px 10px rgba(0,103,71,0.25);
}

.consent-note {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 8px;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--forest);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  text-align: center;
}
.stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--primary);
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.stat .stat-number::after {
  content: "";
  display: block;
  width: 28px; height: 3px;
  background: var(--olive);
  border-radius: 999px;
  margin: 8px auto 0;
}
.stat .stat-label {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* FAQ --------------------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
}
.faq-question .plus { font-size: 1.3rem; color: var(--olive); transition: transform .25s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 24px;
}
.faq-answer p { padding-bottom: 20px; margin: 0; color: var(--text-soft); }

/* Final CTA ------------------------------------------------------------------------------ */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--forest) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(255,255,255,0.85); max-width: 560px; margin-left: auto; margin-right: auto; }
.final-cta .btn-row { justify-content: center; }
.final-cta .btn-outline { border-color: var(--white); color: var(--white); }
.final-cta .btn-outline:hover { background: var(--white); color: var(--primary); }
.final-cta .btn-primary { background: var(--white); color: var(--primary); }
.final-cta .btn-primary:hover { background: rgba(255,255,255,0.88); }

/* Footer ------------------------------------------------------------------------------------ */
.site-footer {
  background: var(--heading);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.footer-grid img { border-radius: var(--radius-lg); }
.site-footer h3 { color: var(--white); }
.footer-contacts p { margin: 0 0 10px; font-family: var(--font-ui); font-size: 0.95rem; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* Mobile menu ------------------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: var(--white);
  box-shadow: -10px 0 30px rgba(0,0,0,0.12);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .3s ease;
  padding: 90px 32px 32px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .nav-links { flex-direction: column; gap: 22px; font-size: 1.05rem; }

.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border: none;
  background: var(--mint);
  color: var(--heading);
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, transform .2s ease;
}
.mobile-menu-close:hover { background: var(--primary); color: var(--white); transform: rotate(90deg); }

/* Затемнение фона позади мобильного меню — клик по нему тоже закрывает меню */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 58, 43, 0.35);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

/* Scroll reveal ------------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .grid-6, .usp-lists, .included-lists, .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .site-header .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .grid-6, .usp-lists, .included-lists, .footer-grid { grid-template-columns: 1fr; }
  .testi-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { text-align: center; }
  .final-cta { padding: 44px 24px; }
  .btn-row { justify-content: center; }

  /* Hero на мобильном: картинка на всю ширину экрана (edge-to-edge), текст ниже по центру */
  .hero { padding: 0 0 50px; }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  .hero-media {
    width: 100%;
    aspect-ratio: 572 / 455;
    border-radius: 0 0 120px 0;
    box-shadow: none;
  }
  .hero-text { padding: 28px 24px 0; }
  .hero-kicker { text-align: left; }
  .hero h1 { text-align: left; }
  .hero .btn-row { flex-direction: column; }
  .hero .btn { width: 100%; padding: 15px 22px; font-size: 1rem; }
}
