/* ==========================================================================
   EcomCreator — style.css
   Dark premium • gradient granat→cyan • Poppins
   ========================================================================== */

:root {
  /* Kolory bazowe */
  --bg:          #0B0B12;
  --bg-2:        #0E0E17;
  --surface:     #14141F;
  --surface-2:   #1B1B29;
  --border:      rgba(255, 255, 255, 0.08);
  --border-2:    rgba(255, 255, 255, 0.14);

  /* Tekst */
  --text:        #EDEDF2;
  --muted:       #9A9AB4;
  --muted-2:     #6E6E86;

  /* Akcent */
  --accent:      #3D6BFF;
  --accent-2:    #22D3EE;
  --grad:        linear-gradient(120deg, #1E3A8A 0%, #3457E6 45%, #22D3EE 100%);
  --grad-soft:   linear-gradient(120deg, rgba(61, 107, 255,.18), rgba(34, 211, 238,.18));

  --radius:      18px;
  --radius-sm:   12px;
  --shadow:      0 24px 60px -20px rgba(0, 0, 0, .7);
  --shadow-glow: 0 20px 60px -12px rgba(61, 107, 255, .45);

  --container:   1180px;
  --ease:        cubic-bezier(.22, 1, .36, 1);
}

/* Reset --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Tło z subtelną poświatą */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 500px at 80% -5%, rgba(61, 107, 255, .18), transparent 60%),
    radial-gradient(600px 450px at 10% 5%, rgba(34, 211, 238, .12), transparent 55%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Przyciski ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: .96rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(61, 107, 255, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-ghost {
  background: rgba(255, 255, 255, .04); color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

/* Header -------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 18, .8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad); font-size: 1rem; box-shadow: 0 6px 18px -6px rgba(61, 107, 255, .8);
}
.brand-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a {
  padding: 9px 14px; border-radius: 100px; color: var(--muted);
  font-size: .95rem; font-weight: 500; white-space: nowrap; transition: color .2s, background .2s;
}
.nav-list a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-list a.active { color: var(--text); background: var(--grad-soft); }
.nav-cta-mobile { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sekcje -------------------------------------------------------------------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 20px;
  background: var(--grad-soft); border: 1px solid var(--border-2);
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text);
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.text-left { text-align: left; margin-left: 0; }

/* Hero ---------------------------------------------------------------------- */
.hero { padding: 90px 0 80px; }
.hero-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; margin-bottom: 22px; letter-spacing: -.035em; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); max-width: 680px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; color: var(--muted-2); font-size: .92rem; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 820px; margin: 66px auto 0;
}
.stat { text-align: center; padding: 22px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.stat .num { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; }
.stat .lbl { color: var(--muted); font-size: .88rem; margin-top: 4px; }

/* Karty usług --------------------------------------------------------------- */
.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); }

.card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px 200px at var(--mx, 50%) 0%, rgba(61, 107, 255,.15), transparent 70%);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  background: var(--grad-soft); border: 1px solid var(--border-2); font-size: 1.55rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .card-list { margin-top: 16px; display: grid; gap: 8px; }
.card .card-list li { color: var(--muted); font-size: .92rem; padding-left: 24px; position: relative; }
.card .card-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }

/* Proces -------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step .step-num {
  font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* Realizacje ---------------------------------------------------------------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.project {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-2); }
.project-media {
  aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative;
  font-weight: 800; font-size: 2rem; letter-spacing: .02em; color: #fff;
}
.project-media.m1 { background: linear-gradient(135deg, #3a2d6b, #3D6BFF 60%, #22D3EE); }
.project-media.m2 { background: linear-gradient(135deg, #16324f, #0a5c6b 60%, #12b0c9); }
.project-media.m3 { background: linear-gradient(135deg, #4a2b52, #a13d7e 60%, #3D6BFF); }
.project-media .ph-tag {
  position: absolute; bottom: 12px; right: 12px; font-size: .72rem; font-weight: 500;
  background: rgba(0,0,0,.35); padding: 4px 10px; border-radius: 100px; backdrop-filter: blur(4px);
}
.project-body { padding: 24px 26px 28px; }
.project-body .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { font-size: .74rem; font-weight: 500; padding: 5px 12px; border-radius: 100px; background: var(--grad-soft); border: 1px solid var(--border); color: var(--text); }
.project-body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.project-body p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.project-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-2); font-size: .95rem; }
.project-link:hover { gap: 12px; }
.project-link { transition: gap .25s var(--ease); }

/* CTA band ------------------------------------------------------------------ */
.cta-band {
  position: relative; border-radius: 28px; padding: 64px 40px; text-align: center; overflow: hidden;
  background: linear-gradient(120deg, rgba(61, 107, 255,.22), rgba(34, 211, 238,.16));
  border: 1px solid var(--border-2);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Formularz ----------------------------------------------------------------- */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 107, 255,.2);
}
.form-note { color: var(--muted-2); font-size: .86rem; margin-top: 4px; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: .96rem; }
.alert-ok { background: rgba(34, 211, 238,.12); border: 1px solid rgba(34, 211, 238,.35); color: #b6f2ff; }
.alert-err { background: rgba(255,90,90,.12); border: 1px solid rgba(255,90,90,.35); color: #ffc4c4; }

/* Kontakt info -------------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 48px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.contact-card .ci { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); font-size: 1.4rem; flex-shrink: 0; }
.contact-card .cl { color: var(--muted); font-size: .84rem; }
.contact-card .cv { font-weight: 600; font-size: 1.05rem; }

/* Konfigurator -------------------------------------------------------------- */
.config-wrap { max-width: 860px; margin: 0 auto; }
.config-progress { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 44px; }
.config-progress .dot { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: .9rem; font-weight: 500; }
.config-progress .dot .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-2); font-size: .85rem; transition: .3s; }
.config-progress .dot.active .n { background: var(--grad); border-color: transparent; color: #fff; }
.config-progress .dot.active { color: var(--text); }
.config-progress .bar { width: 40px; height: 1px; background: var(--border-2); }

.config-step { display: none; animation: fade .4s var(--ease); }
.config-step.active { display: block; }
.config-step h3 { font-size: 1.5rem; margin-bottom: 8px; text-align: center; }
.config-step .sub { color: var(--muted); text-align: center; margin-bottom: 32px; }

.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.opt {
  position: relative; padding: 22px; border-radius: var(--radius); cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--border); transition: .25s var(--ease);
  display: flex; gap: 14px; align-items: flex-start;
}
.opt:hover { border-color: var(--border-2); transform: translateY(-3px); }
.opt input { position: absolute; opacity: 0; }
.opt .opt-ico { font-size: 1.6rem; }
.opt .opt-title { font-weight: 600; }
.opt .opt-desc { color: var(--muted); font-size: .88rem; margin-top: 2px; }
.opt.selected { border-color: var(--accent); background: var(--grad-soft); box-shadow: 0 0 0 3px rgba(61, 107, 255,.15); }
.opt .opt-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-2); display: grid; place-items: center; font-size: .8rem; opacity: 0; transition: .2s; }
.opt.selected .opt-check { opacity: 1; background: var(--grad); border-color: transparent; color: #fff; }

.config-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; }

.result-card { padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-2); }
.result-pkg { font-size: 2rem; font-weight: 800; margin: 4px 0 6px; }
.result-summary { margin: 22px 0; display: grid; gap: 10px; }
.result-summary li { display: flex; gap: 10px; color: var(--muted); }
.result-summary li b { color: var(--text); font-weight: 600; }

/* Footer -------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 66px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer-tagline { color: var(--muted); font-size: .94rem; margin-top: 16px; max-width: 320px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-col .btn { margin-top: 6px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 26px; color: var(--muted-2); font-size: .86rem; flex-wrap: wrap; gap: 8px; }

/* Animacje reveal ----------------------------------------------------------- */
/* Ukrywamy do animacji TYLKO gdy JS jest aktywny — bez JS treść widoczna od razu */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Responsywność ------------------------------------------------------------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 76px 0 auto 0; background: rgba(11,11,18,.97); backdrop-filter: blur(16px);
         border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: transform .35s var(--ease); }
  .nav.open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 14px 20px 24px; gap: 10px; }
  .nav-list a { display: block; padding: 16px 18px; border-radius: 14px; font-size: 1.05rem;
                background: rgba(255,255,255,.03); border: 1px solid var(--border); }
  .nav-list a:hover, .nav-list a.active { background: var(--grad-soft); border-color: var(--border-2); }
  .nav-cta-mobile { display: block; margin-top: 6px; }
  .nav-cta-mobile a { border: none; }
  .nav-cta-mobile .btn { width: 100%; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4, .steps, .projects, .contact-cards { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .section { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4, .steps, .projects, .form-grid, .opt-grid, .contact-cards { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 24px; }
  .config-progress .dot span:not(.n) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Dodatki: klikalne karty, kafelki wyboru, modal
   ========================================================================== */

/* Ikony-cechy w hero (zamiast liczb) */
.stat .feat-ico { font-size: 1.9rem; line-height: 1; }

/* Klikalne karty usług */
.card-clickable { cursor: pointer; }
.card-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  color: var(--accent-2); font-weight: 600; font-size: .92rem; transition: gap .2s var(--ease);
}
.card-clickable:hover .card-cta { gap: 11px; }
.card-clickable:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Kafelki wyboru (konfigurator / dolna sekcja) */
.choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  padding: 26px; width: 100%; border-radius: var(--radius); cursor: pointer;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.choice:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: var(--shadow); }
.choice:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice-ico { font-size: 2rem; }
.choice-title { font-weight: 700; font-size: 1.12rem; color: var(--text); }
.choice-desc { color: var(--muted); font-size: .92rem; }
.choice-cta { color: var(--accent-2); font-weight: 600; font-size: .9rem; margin-top: 4px; }
.choice-lg { padding: 32px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; padding: 40px 16px; overflow-y: auto;
  background: rgba(5, 6, 12, .72); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 560px; margin: auto; padding: 36px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-2); border-radius: 22px; box-shadow: var(--shadow);
  animation: modalIn .35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.8rem; line-height: 1; color: var(--muted); transition: .2s;
}
.modal-close:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.modal .eyebrow { margin-bottom: 0; }
.modal-h { font-size: 1.5rem; margin: 12px 0 6px; }
.modal-sub { color: var(--muted); margin-bottom: 22px; font-size: .96rem; }
.modal-body[hidden] { display: none; }
.modal-form[hidden] { display: none; }
.modal-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.modal-field > label { font-size: .9rem; font-weight: 600; color: var(--text); }
.modal-field input, .modal-field select, .modal-field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; font-family: inherit; font-size: .96rem;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.modal-field textarea { resize: vertical; }
.modal-field input:focus, .modal-field select:focus, .modal-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 107, 255, .2);
}
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-opts { display: grid; gap: 8px; }
.modal-opt {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--border); font-size: .94rem; transition: .2s;
}
.modal-opt input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.modal-opt:hover { border-color: var(--border-2); }
.modal-opt.sel { border-color: var(--accent); background: var(--grad-soft); }
.modal-submit { width: 100%; margin-top: 10px; }
.modal-note { color: var(--muted-2); font-size: .82rem; text-align: center; margin-top: 10px; }
.modal-success { text-align: center; padding: 24px 6px; }
.modal-success[hidden] { display: none; }
.modal-success-ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 2rem; display: grid; place-items: center;
}
.modal-success h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-success p { color: var(--muted); margin-bottom: 22px; }

@media (max-width: 560px) {
  .modal { padding: 26px 20px; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-overlay { padding: 20px 12px; }
}
