/* Прим.Студио — сайт студии. Цвета: ночное море, бирюза залива, тёплый песок. */
@font-face { font-family: 'Unbounded'; font-weight: 200 900; font-display: swap; src: url(assets/fonts/unbounded-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 200 900; font-display: swap; src: url(assets/fonts/unbounded-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(assets/fonts/manrope-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(assets/fonts/manrope-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0e1b26;
  --ink-2: #13293a;
  --sea: #0f6e7a;
  --sea-2: #18a3a6;
  --sand: #e8b86b;
  --paper: #f4f1ea;
  --card: #ffffff;
  --text: #1c2730;
  --muted: #5b6873;
  --line: #e2ddd2;
  --radius: 14px;
  --head: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 600; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; max-width: 22ch; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sea); margin-bottom: 18px; }
.sub { color: var(--muted); max-width: 70ch; }
.note { color: var(--muted); font-size: 15px; margin-top: 24px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 700 16px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s, border-color .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--sand); color: var(--ink); }
.btn-main:hover { background: #f0c682; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; background: rgba(14, 27, 38, .92); backdrop-filter: blur(10px); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 18px/1 var(--head); text-decoration: none; letter-spacing: -.01em; }
.logo-mark { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 50% 120%, var(--sea-2) 0 45%, transparent 46%), radial-gradient(circle at 70% 30%, var(--sand) 0 18%, transparent 19%), var(--ink-2); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--sand); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: #fff; margin: auto; position: relative; transition: .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }

/* первый экран */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 500px at 85% 10%, rgba(24, 163, 166, .28), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(232, 184, 107, .14), transparent 60%),
  linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--sea-2); }
.hero h1 em { font-style: normal; color: var(--sand); }
.lead { font-size: 19px; color: rgba(255, 255, 255, .82); max-width: 34em; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero-shots { position: relative; margin: 0; aspect-ratio: 1 / .92; }
.frame { position: absolute; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.frame-bar { display: flex; gap: 6px; padding: 9px 12px; background: #e9e6df; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c3b8; }
.frame img { width: 100%; aspect-ratio: 1100 / 760; object-fit: cover; object-position: top; }
.frame-back { width: 74%; right: 0; top: 0; opacity: .9; transform: rotate(2deg); }
.frame-front { width: 78%; left: 0; top: 16%; }
.phone { position: absolute; width: 23%; right: 4%; bottom: 0; border-radius: 22px; border: 6px solid #0a131b; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.5); background: #0a131b; }
.phone img { aspect-ratio: 420 / 860; object-fit: cover; object-position: top; }
.hero-shots figcaption { position: absolute; left: 0; bottom: -40px; font-size: 13px; color: rgba(255,255,255,.6); }

.facts { background: var(--ink-2); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 26px 20px 28px 0; }
.facts-grid b { display: block; font: 600 22px/1.2 var(--head); color: var(--sand); margin-bottom: 4px; }
.facts-grid span { color: rgba(255,255,255,.72); font-size: 15px; }

/* секции */
.section { padding: 96px 0; }
.section-alt { background: #ebe6db; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--line); position: relative; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--sand); font: 600 16px/1 var(--head); margin-bottom: 16px; }
.steps p, .card p, .price p { color: var(--muted); font-size: 16px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--line); }
.card h3::before { content: ''; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--sea-2); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips span { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; box-shadow: 0 10px 30px rgba(14, 27, 38, .12); }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.price { background: var(--card); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.price b { font: 600 22px/1.2 var(--head); color: var(--ink); }
.price-accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-accent b { color: var(--sand); } .price-accent p { color: rgba(255,255,255,.75); }

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font: 600 18px/1.4 var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--sea); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 65ch; }

.cta { padding: 0 0 96px; }
.cta-box { background: linear-gradient(135deg, var(--sea) 0%, var(--ink) 100%); color: #fff; border-radius: 24px; padding: 64px clamp(24px, 6vw, 72px); }
.cta-box h2 { max-width: 20ch; }
.cta-box p { color: rgba(255,255,255,.8); max-width: 56ch; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.todo { color: var(--sand); font-weight: 600; }

.foot { background: var(--ink); color: rgba(255,255,255,.75); padding: 48px 0 32px; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.foot .logo { color: #fff; margin-bottom: 12px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { text-decoration: none; } .foot-links a:hover { color: var(--sand); }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin: 8px 0 0; font-size: 13px; color: rgba(255,255,255,.5); }

.doc h1 { font-size: clamp(26px, 3.5vw, 38px); }
.doc h2 { font-size: 20px; margin-top: 32px; max-width: none; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shots { max-width: 560px; }
  .steps, .cards, .prices { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: var(--ink); padding: 8px 16px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .burger { display: block; margin-left: auto; }
  .top .btn-sm { display: none; }
  .hero { padding: 48px 0 80px; }
  .section { padding: 64px 0; }
  .steps, .cards, .cards-2, .prices, .gallery, .foot .wrap { grid-template-columns: 1fr; }
  .facts-grid div { padding: 18px 12px 18px 0; }
  .actions .btn { width: 100%; }
}
