/* Same visual language as Temu Travel (tripay.co): a white page, soft shadows, no outlines,
   playful primaries (blue, pink, yellow, green, purple) rotating across repeated items,
   and soft yellow / mint bands between sections. Fonts swapped for Cyrillic-capable ones. */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800&family=Onest:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff; --paper: #ffffff; --surface: #ffffff; --surface-2: #fafaff;
  --ink: #1c1b3a; --muted: #5e6178; --line: #eceaf3; --line-strong: #dcd9e8;
  --sky: #2f6bff; --sky-soft: #eef3ff;
  --pink: #e8336f; --pink-soft: #ffeef4;
  --yellow: #ffc83d; --yellow-soft: #fff7de;
  --green: #0e9f6e; --mint-soft: #e6f8f0;
  --purple: #7a5cfa; --purple-soft: #f1edff;
  --accent: var(--pink); --accent-ink: #fff; --accent-soft: var(--pink-soft); --accent-deep: #cc2059;
  --ok: var(--green); --night: #1c1b3a;
  --radius: 22px; --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(28 27 58 / .06), 0 2px 8px rgb(28 27 58 / .05);
  --shadow: 0 1px 2px rgb(28 27 58 / .05), 0 10px 30px rgb(28 27 58 / .07);
  --shadow-lg: 0 2px 4px rgb(28 27 58 / .05), 0 22px 50px rgb(28 27 58 / .12);
  /* names used by page-level styles */
  --pop-sm: var(--shadow-sm); --pop: var(--shadow); --pop-lg: var(--shadow-lg);
  --sun: var(--yellow); --sun-soft: var(--yellow-soft); --grape-soft: var(--purple-soft);
  --bounce: ease;
  --f-display: Nunito, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: Onest, "Helvetica Neue", Arial, system-ui, sans-serif;
  --display: var(--f-display); --font: var(--f-body);
  --wrap: 1160px; --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--f-body); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin: .1em 0 .35em; }
h2 { font-weight: 700; font-size: 1.25rem; margin: 0 0 .6em; }
h3 { font-weight: 700; }
a { color: var(--sky); }
img, canvas { max-width: 100%; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { font: 600 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, #fff 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.25rem/1 var(--f-display); letter-spacing: -0.02em; }
.logo-mark, .logo-mark svg { width: 38px; height: 38px; display: block; flex: none; }
nav { display: flex; gap: clamp(12px, 2.4vw, 28px); flex: 1; align-items: center; overflow-x: auto; scrollbar-width: none; }
nav::-webkit-scrollbar { display: none; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--ink); }
nav a.on { color: var(--ink); border-bottom-color: var(--pink); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--pink); color: #fff; font: 600 .95rem/1 var(--f-body); padding: .75em 1.15em; border-radius: 999px; transition: transform .15s ease; }
.cart-link:hover { transform: translateY(-1px); }
.cart-link svg { width: 17px; height: 17px; }
.cart-badge { background: #fff; color: var(--pink); border-radius: 999px; font-size: .74rem; font-weight: 700; padding: 1px 7px; }
@media (max-width: 720px) {
  .bar { justify-content: space-between; padding-block: 10px; }
  header.site nav { display: none; }
  .logo { font-size: 1.15rem; }
  .logo-mark, .logo-mark svg { width: 34px; height: 34px; }
  .cart-link { padding: .65em 1em; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
.tabbar { display: none; }
@media (max-width: 720px) {
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgb(255 255 255 / .97);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
  .tabbar a { flex: 1; min-width: 0; display: grid; justify-items: center; gap: 3px; padding: 6px 2px 5px; text-decoration: none; color: var(--muted);
    font: 600 .66rem/1.1 var(--f-body); letter-spacing: -.01em; text-align: center; border-radius: 12px; -webkit-tap-highlight-color: transparent; }
  .tabbar svg { width: 23px; height: 23px; }
  .tabbar a, .tabbar a.on { border: 0; white-space: nowrap; }
  .tabbar span { max-width: 100%; }
  .tabbar a.on { color: var(--pink); }
  .tabbar a.on svg { background: var(--pink-soft); border-radius: 10px; padding: 2px 8px; width: 39px; box-sizing: border-box; }
  .tabbar a:active { background: var(--surface-2); }
}

/* ---------- layout ---------- */
main { padding: 32px 0 72px; overflow-x: clip; }
.card { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 22px; }
.two { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
label { display: block; font-size: .875rem; font-weight: 600; margin: 14px 0 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft); }
input[type=color] { padding: 3px; height: 42px; cursor: pointer; }
input[type=range] { padding: 0; border: 0; box-shadow: none; accent-color: var(--sky); }
input[type=checkbox], input[type=radio] { accent-color: var(--sky); width: 17px; height: 17px; }
input[type=file] { padding: 8px; background: var(--surface-2); }
.row { display: flex; gap: 10px; } .row > * { flex: 1; min-width: 0; }
@media (max-width: 480px) { .row { flex-wrap: wrap; } .row > * { flex: 1 1 100%; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; border: 0; font: 600 .95rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px var(--sky); }
.btn.primary { background: var(--pink); color: #fff; box-shadow: none; }
.btn.primary:hover { background: var(--accent-deep); }
.btn.dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn.lg { padding: 1em 1.6em; font-size: 1rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.drop { display: block; border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 40px 16px; text-align: center; cursor: pointer; background: var(--surface-2); transition: border-color .15s, background .15s; }
.drop::before { content: ''; display: block; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 18px; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12'/%3E%3C/svg%3E") center/24px no-repeat; }
.drop:hover, .drop.over { border-color: var(--sky); background: var(--sky-soft); }
.drop strong { display: block; font: 700 1.08rem/1.3 var(--f-display); margin-bottom: 4px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { font: 600 .88rem/1 var(--f-body); padding: .65em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.seg button:hover { border-color: var(--line-strong); }
.seg button.on { background: var(--sky); border-color: var(--sky); color: #fff; }

.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin: 18px 0; }
.total b { font: 700 1.5rem/1 var(--f-display); font-variant-numeric: tabular-nums; }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .2s ease; z-index: 60; box-shadow: var(--shadow-lg); font-weight: 500; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--yellow); font-weight: 700; }

/* ---------- photo list / editor bits ---------- */
.thumbs { display: grid; gap: 12px; margin-top: 16px; }
.thumb { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 10px; box-shadow: var(--shadow-sm); }
.thumb img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.thumb .opts { display: grid; grid-template-columns: 1fr 1fr 80px; gap: 6px; margin-top: 4px; }
.thumb .opts select, .thumb .opts input { padding: 7px 9px; font-size: .875rem; border-radius: 10px; }
.thumb .x { border: 0; background: var(--surface-2); font-size: 1.2rem; cursor: pointer; color: var(--muted); width: 34px; height: 34px; border-radius: 50%; }
.thumb .x:hover { background: var(--pink-soft); color: var(--pink); }
.warn { color: #b35c00; font-size: .8rem; }
@media (max-width: 560px) { .thumb .opts { grid-template-columns: 1fr 1fr; } }

.stage { position: relative; background: #24233f; border-radius: var(--radius); overflow: hidden; touch-action: none; user-select: none; }
.stage canvas { display: block; width: 100%; height: auto; cursor: grab; }
.stage canvas:active { cursor: grabbing; }

.status { display: inline-block; padding: .35em .8em; border-radius: 999px; font: 600 .78rem/1 var(--f-body); }
.status.new { background: var(--yellow-soft); color: #8a6100; } .status.printing { background: var(--sky-soft); color: var(--sky); }
.status.ready { background: var(--mint-soft); color: var(--green); } .status.shipped { background: var(--purple-soft); color: var(--purple); }
.status.delivered { background: var(--mint-soft); color: var(--green); } .status.cancelled { background: var(--pink-soft); color: var(--pink); }

table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- home ---------- */
.band { padding-block: clamp(64px, 9vw, 104px); }
.band.yellow { background: var(--yellow-soft); }
.band.mint { background: var(--mint-soft); }
.band.sky { background: var(--sky-soft); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 700; margin: 0; }
.section-head p { color: var(--muted); max-width: 60ch; margin: 0; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 7vw, 88px); }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.2rem); font-weight: 700; margin: 18px 0 20px; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero h1 em.b { color: var(--sky); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; margin: 0 0 30px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

.collage { position: relative; aspect-ratio: 1.08; max-width: 540px; justify-self: center; width: 100%; }
.collage::before { content: ''; position: absolute; inset: 8% 4% 4% 8%; border-radius: 40px; background: var(--yellow-soft); }
.collage > :not(.chip) { position: absolute; box-shadow: var(--shadow-lg); }
.collage .print { background: #fff; padding: 3.2% 3.2% 11%; border-radius: 8px; }
.collage .print div { width: 100%; height: 100%; border-radius: 4px; overflow: hidden; }
.collage .p1 { width: 48%; height: 58%; left: 4%; top: 6%; transform: rotate(-6deg); }
.collage .p2 { width: 44%; height: 50%; left: 44%; top: 0; transform: rotate(5deg); }
.collage .pp { width: 25%; height: 32%; left: 7%; top: 61%; transform: rotate(3deg); background: #fff; padding: 2%; border-radius: 6px; }
.collage .pp canvas { width: 100%; height: 100%; display: block; }
.collage .card-mock { width: 57%; left: 37%; top: 59%; transform: rotate(-3deg); border-radius: 8px; overflow: hidden; line-height: 0; }
.collage .card-mock canvas { width: 100%; }
.collage .chip { position: absolute; right: 2%; top: 47%; background: #fff; border-radius: 999px; padding: 9px 15px 9px 9px; font: 600 .84rem/1.2 var(--f-body); display: flex; align-items: center; gap: 8px; white-space: nowrap; z-index: 2; box-shadow: var(--shadow-lg); }
.collage .chip i { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-style: normal; font-size: .8rem; }

.facts { border-block: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px; border-inline-start: 1px solid var(--line); display: grid; gap: 6px; }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact b { font: 700 clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: .9rem; }
.fact:nth-child(1) b { color: var(--sky); } .fact:nth-child(2) b { color: var(--pink); }
.fact:nth-child(3) b { color: var(--green); } .fact:nth-child(4) b { color: var(--purple); }
@media (max-width: 760px) {
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 20px 14px; }
  .fact:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }
.service { display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 0; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service .art { height: 190px; position: relative; overflow: hidden; display: grid; place-items: center; }
.service .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service .tag { font: 700 .74rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.service:nth-child(1) .tag { color: var(--sky); } .service:nth-child(2) .tag { color: var(--pink); } .service:nth-child(3) .tag { color: var(--green); }
.service h3 { font-size: 1.35rem; margin: 0; }
.service p { color: var(--muted); margin: 0; font-size: .95rem; }
.service ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; font-size: .93rem; color: var(--muted); }
.service li::before { content: "●"; font-size: .6em; vertical-align: .2em; color: var(--pink); margin-inline-end: .6em; }
.service .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.service .from { font-size: .85rem; color: var(--muted); }
.service .from b { display: block; font: 700 1.25rem/1.2 var(--f-display); color: var(--ink); }
.service .go { font: 600 .95rem/1 var(--f-body); color: var(--sky); }
.service:hover .go { color: var(--pink); }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }
.why-item { display: grid; gap: 12px; align-content: start; }
.why-item svg { width: 64px; height: 64px; padding: 15px; border-radius: 20px; color: var(--sky); background: var(--sky-soft); }
.why-item:nth-child(2) svg { color: var(--pink); background: var(--pink-soft); }
.why-item:nth-child(3) svg { color: var(--green); background: var(--mint-soft); }
.why-item:nth-child(4) svg { color: var(--purple); background: var(--purple-soft); }
.why-item h3 { font-size: 1.3rem; margin: 0; }
.why-item p { color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 16px; font: 700 1.2rem/1 var(--f-display); color: #fff; background: var(--sky); }
.step-card:nth-child(2)::before { background: var(--pink); } .step-card:nth-child(3)::before { background: var(--green); } .step-card:nth-child(4)::before { background: var(--purple); }
.step-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }
.prices .card h3 { margin: 0 0 12px; font-size: 1.2rem; }
.prices .card .tag { font: 700 .74rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.prices .card:nth-child(1) .tag { color: var(--sky); } .prices .card:nth-child(2) .tag { color: var(--pink); } .prices .card:nth-child(3) .tag { color: var(--green); }
.prices table td { padding: 8px 0; }
.prices table td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices table tr:last-child td { border-bottom: 0; }

.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 1.08rem/1.4 var(--f-body); padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--sky); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 65ch; }

.cta { border-radius: 28px; padding: clamp(28px, 6vw, 56px); background: var(--sky); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 700; margin: 0 0 8px; color: #fff; }
.cta p { margin: 0; color: #dbe6ff; }
.cta .btn { background: #fff; color: var(--ink); box-shadow: none; }
.cta .btn:hover { background: var(--yellow); }

/* ---------- footer ---------- */
footer.site { background: var(--night); color: rgb(255 255 255 / .7); font-size: .92rem; padding: 56px 0 28px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { footer.site .cols { grid-template-columns: 1fr 1fr; } footer.site .cols > :first-child { grid-column: 1 / -1; } }
footer.site a.logo { color: #fff; margin-bottom: 12px; display: inline-flex; padding: 0; }
footer.site h4 { color: #fff; margin: 4px 0 12px; font: 600 .95rem/1 var(--f-body); }
footer.site a { color: rgb(255 255 255 / .7); text-decoration: none; display: block; padding: 4px 0; }
footer.site a:hover { color: #fff; }
footer.site .legal { border-top: 1px solid rgb(255 255 255 / .1); margin-top: 32px; padding-top: 18px; font-size: .84rem; color: rgb(255 255 255 / .45); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* hints that only make sense with a mouse / keyboard vs. a touch screen */
.touch-only { display: none; }
@media (hover: none) and (pointer: coarse) { .touch-only { display: revert; } p.touch-only { display: block; } .mouse-only { display: none !important; } }
