/* Сайт nursia.cz. Палитра и скругления — те же, что в приложении (packages/shared/src/theme.css). */
:root { --bg: #EEF5F1; --ink: #22332C; --muted: #5E6B66; --accent: #17603F; --deep: #17493A; --soft: #E4F0E9; --mint: #D9EDE2; --peach: #FBE3DA; --coral: #E2735A; --card: #fff; --line: #E3EDE7; --r: 28px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 'Golos Text', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
svg { display: block; }
.wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.06; font-weight: 800; color: var(--deep); margin: 0 0 18px; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; font-weight: 800; color: var(--deep); margin: 0 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 26em; }
.sub, .note { color: var(--muted); margin: 0 0 26px; }
.note { margin: 18px 0 0; font-size: 15px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; color: var(--deep); text-decoration: none; }
.brand img { border-radius: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--deep); }

/* шапка */
.top { position: relative; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; margin-top: 14px; background: var(--card); border-radius: 22px; }
.top .btn { padding: 11px 20px; font-size: 15px; }
.lang { margin-left: auto; position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 500; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang[open] summary, .lang summary:hover { background: var(--soft); }
.lang nav { position: absolute; right: 0; top: calc(100% + 6px); display: grid; min-width: 170px; padding: 6px; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(23, 73, 58, .16); }
.lang nav a { padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 15px; }
.lang nav a[aria-current] { background: var(--soft); color: var(--deep); font-weight: 700; }

/* первый экран */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; padding: 40px 8px 30px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store img { display: block; height: 52px; width: auto; }
.soon { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.art { position: relative; display: grid; place-items: center; min-height: 620px; }
.blob { position: absolute; border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; background: var(--mint); }
.blob.peach { background: var(--peach); }
.art .blob.peach { width: 340px; height: 340px; right: 2%; top: 5%; }
.art .blob.mint { width: 310px; height: 310px; left: 3%; bottom: 3%; border-radius: 45% 55% 48% 52% / 55% 45% 55% 45%; }
.sprig { position: absolute; width: 110px; pointer-events: none; }
.sprig svg { width: 100%; height: auto; }
.art .sprig.a { right: 1%; bottom: 5%; transform: rotate(18deg); }
.art .sprig.b { left: 5%; top: 8%; width: 84px; transform: rotate(-24deg); }
/* телефон: --s — ширина экрана, от неё считается «островок» */
.phone { --s: 250px; --pad: 11px; position: relative; width: calc(var(--s) + var(--pad) * 2); padding: var(--pad); border-radius: 50px; background: #17201C; box-shadow: 0 30px 60px rgba(23, 73, 58, .26); transform: rotate(5deg); }
.phone img { display: block; width: 100%; border-radius: 40px; }
.phone::before { content: ''; position: absolute; z-index: 1; left: 50%; top: calc(var(--pad) + var(--s) * .033); width: calc(var(--s) * .282); height: calc(var(--s) * .08); transform: translateX(-50%); border-radius: 999px; background: #0B0F0D; }
.chip { position: absolute; left: 0; top: 44%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 10px; background: #fff; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--deep); box-shadow: 0 14px 30px rgba(23, 73, 58, .16); }
.chip svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 3; }

/* блоки */
.card { background: var(--card); border-radius: var(--r); padding: clamp(22px, 4vw, 40px); margin-block: 20px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; text-align: center; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.steps p { margin: 0; color: var(--muted); max-width: 17em; }
.circle { display: grid; place-items: center; flex: none; width: 78px; height: 78px; border-radius: 50%; background: var(--peach); color: var(--deep); }
.circle svg { width: 34px; height: 34px; }
.steps li:nth-child(3) .circle { background: var(--mint); }
.steps .next { justify-content: flex-start; padding-top: 26px; color: #A9C4B6; }
.steps .next svg { width: 26px; height: 26px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid li { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 12px; border: 1.5px solid var(--line); border-radius: 20px; font-weight: 700; text-align: center; }
.ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--peach); color: var(--coral); }
.ico svg { width: 30px; height: 30px; }
.grid li:nth-child(even) .ico { background: var(--mint); color: var(--accent); }
.duo { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: center; }
.duo.flip { grid-template-columns: 1.15fr .85fr; }
.duo p { color: var(--muted); margin: 0 0 22px; }
.pic { position: relative; display: grid; place-items: center; min-height: 270px; }
.pic .blob { width: min(300px, 82%); aspect-ratio: 1; }
.pic > img { position: relative; max-width: 86%; }
.pic .sprig.a { left: 2%; bottom: 0; width: 76px; transform: rotate(-16deg); }
.pic .sprig.b { right: 2%; bottom: 0; width: 76px; transform: rotate(16deg); }
.badge { display: flex; gap: 12px; align-items: center; margin: 0 !important; padding: 16px 18px; background: var(--soft); border-radius: 18px; color: var(--deep) !important; font-weight: 500; }
.badge svg { flex: none; width: 30px; height: 30px; color: var(--accent); }
.phone.mini { --s: 154px; --pad: 7px; border-radius: 32px; transform: rotate(-5deg); box-shadow: 0 22px 44px rgba(23, 73, 58, .22); }
.phone.mini img { border-radius: 26px; }
.pro .pic { min-height: 330px; }
.q { border: 1.5px solid var(--line); border-radius: 16px; padding: 15px 18px; margin-top: 10px; }
.q summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; }
.q summary::-webkit-details-marker { display: none; }
.q summary svg { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .15s; }
.q[open] summary svg { transform: rotate(180deg); }
.q p { margin: 10px 0 0; color: var(--muted); }

/* подвал */
.foot { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding: 26px 30px; margin-block: 20px 34px; background: var(--card); border-radius: var(--r); color: var(--muted); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--deep); }
.foot .mailto { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 70px; color: var(--deep); font-weight: 500; text-decoration: none; }
.foot .mailto svg { width: 18px; height: 18px; }
.foot p { margin: 0; width: 100%; font-size: 14px; }
.foot .sprig { right: 6px; bottom: -64px; width: 86px; transform: rotate(14deg); }

/* условия, защита данных, поддержка */
.doc { background: var(--card); border-radius: var(--r); padding: clamp(22px, 5vw, 48px); margin-block: 20px; max-width: 820px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc h2 { font-size: 22px; margin-top: 28px; }
.doc .badge { margin: 18px 0 !important; }
.mail a { font-size: 24px; font-weight: 800; }
.asof { margin-top: 28px; padding-top: 16px; border-top: 1.5px solid var(--line); color: var(--muted); font-size: 15px; }
.docs { display: grid; gap: 10px; margin-top: 22px; }
.docs a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 18px; color: var(--muted); text-decoration: none; }
.docs a:hover { border-color: var(--accent); }
.docs b { display: block; color: var(--deep); font-size: 18px; }
.docs svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
.points { padding-left: 1.3em; }
.points li { margin: 10px 0; padding-left: 4px; }

/* заглушка вместо главной */
.stub { display: grid; grid-template-rows: 1fr auto; min-height: 100vh; min-height: 100dvh; }
.stub main { position: relative; display: grid; place-items: center; overflow: hidden; padding: 24px; }
.stub .mark { position: relative; text-align: center; }
.stub .mark img { border-radius: 24px; box-shadow: 0 18px 40px rgba(23, 73, 58, .18); }
.stub h1 { margin: 20px 0 16px; font-size: clamp(56px, 13vw, 104px); }
.stub .pill { display: inline-block; margin: 0; padding: 10px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 20px; font-weight: 700; }
.stub .blob.peach { width: min(46vw, 430px); aspect-ratio: 1; right: 7%; top: 9%; }
.stub .blob.mint { width: min(42vw, 390px); aspect-ratio: 1; left: 7%; bottom: 8%; border-radius: 45% 55% 48% 52% / 55% 45% 55% 45%; }
.stub .sprig.a { right: 12%; bottom: 12%; width: 120px; transform: rotate(18deg); }
.stub .sprig.b { left: 12%; top: 12%; width: 96px; transform: rotate(-24deg); }
.stub footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; padding: 18px; font-size: 14px; }
.stub footer a { color: var(--muted); text-decoration: none; }

@media (max-width: 760px) {
  .hero, .duo, .duo.flip { grid-template-columns: 1fr; }
  .hero { padding: 28px 4px 12px; gap: 8px; }
  .art { min-height: 0; padding: 34px 0 20px; }
  .art .blob.peach { width: 250px; height: 250px; }
  .art .blob.mint { width: 230px; height: 230px; }
  .phone { --s: 214px; }
  .phone.mini { --s: 154px; }
  .chip { left: 2%; top: 40%; font-size: 14px; }
  .steps { grid-template-columns: 1fr; gap: 4px; text-align: left; }
  .steps li { flex-direction: row; align-items: flex-start; }
  .steps .next { padding: 0 0 0 26px; }
  .steps .next svg { transform: rotate(90deg); }
  .circle { width: 64px; height: 64px; }
  .circle svg { width: 28px; height: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .duo { gap: 18px; }
  .duo.flip .pic { order: -1; }
  .top { padding: 10px 10px 10px 14px; }
  .top .btn { display: none; }               /* значки сторов и так сразу под заголовком */
  .foot { padding: 22px 20px; }
  .foot .mailto { margin-left: 0; }
}
@media (max-width: 400px) {
  .store img { height: 46px; }
}
