/* =========================================================
   Sections
   Process, engagement plans, FAQ, contact
   ========================================================= */
/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; counter-reset: s; }
.step { padding: 28px 24px 30px; position: relative; }
.step + .step { border-left: 1px solid var(--line); }
.step-when { font: 500 12px var(--mono); color: var(--brand); background: var(--brand-50); padding: 4px 8px; border-radius: 6px; }
.step-n { position: absolute; top: 26px; right: 24px; font: 500 13px var(--mono); color: var(--text-3); }
.step h3 { margin: 22px 0 8px; font-size: 21px; }
.step p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.step ul { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); display: grid; gap: 7px; font-size: 13.5px; color: var(--text-2); }
.step li { display: flex; gap: 8px; align-items: center; }
.step li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan-top h3 { font-size: 22px; }
.plan-len { font: 500 12px var(--mono); color: var(--text-2); background: var(--surface-2); padding: 4px 8px; border-radius: 6px; }
.plan > p { color: var(--text-2); font-size: 14.5px; margin: 12px 0 22px; line-height: 1.55; }
.plan-price { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-price b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.plan-price small { font-size: 13px; color: var(--text-3); }
.plan-price .per { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-3); margin-left: 2px; }
.price-was { display: block; font-size: 14px; color: var(--text-3); text-decoration-thickness: 1.5px; text-decoration-color: var(--xmas-red); }
.plan ul { margin: 20px 0 28px; display: grid; gap: 10px; font-size: 14px; color: var(--text-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231d5fd6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { margin-top: auto; }
.plan-hot { content-visibility: visible; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.plan-badge { position: absolute; top: -11px; left: 28px; font-size: 12px; font-weight: 500; color: #fff; background: var(--brand); padding: 3px 10px; border-radius: 99px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq .sec-head { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex-shrink: 0; background: linear-gradient(var(--text-2), var(--text-2)) center/12px 1.5px no-repeat, linear-gradient(var(--text-2), var(--text-2)) center/1.5px 12px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 40px 24px 0; font-size: 15.5px; line-height: 1.65; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: clamp(72px, 10vw, 120px) var(--pad); background:
  radial-gradient(ellipse 60% 80% at 0% 0%, rgba(29,95,214,.10), transparent 60%), var(--bg); }
.cta h2 { font-size: clamp(34px, 4.4vw, 56px); }
.cta-copy p { color: var(--text-2); font-size: 17px; margin: 18px 0 26px; max-width: 46ch; }
.cta-points { display: grid; gap: 10px; font-size: 15px; color: var(--text-2); }
.cta-points li { display: flex; gap: 10px; align-items: center; }
.cta-points .i { color: var(--green); }
.cta-links { display: grid; gap: 10px; margin-top: 30px; font-size: 15px; font-weight: 500; }
.cta-links a, .cta-links span { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.cta-links a { border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: border-color .2s; }
.cta-links a:hover { border-color: var(--text); }
.cta-links .i { width: 18px; height: 18px; color: var(--brand); fill: currentColor; }
.cta-links span { color: var(--text-2); }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; max-width: 480px; }
.founder { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease); }
.founder:hover { border-color: var(--line-2); transform: translateY(-2px); }
.fd-av { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--slate); color: #fff; font: 500 14px var(--brandfont); letter-spacing: .04em; }
.fd-txt { display: grid; min-width: 0; line-height: 1.3; }
.fd-txt b { font-size: 15px; font-weight: 600; }
.fd-txt small { font-size: 12.5px; color: var(--text-3); }
.fd-li { width: 18px; height: 18px; margin-left: auto; flex-shrink: 0; color: #0a66c2; }
@media (max-width: 480px) { .founders { grid-template-columns: 1fr; } }
.cta-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; align-content: start; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--text); }
.cta-form input, .cta-form select, .cta-form textarea { font-size: 15px; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); transition: border-color .2s, box-shadow .2s; resize: vertical; width: 100%; }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29,95,214,.15); }
.cta-form textarea::placeholder { color: var(--text-3); }
.f-note { font-size: 12.5px; color: var(--text-3); text-align: center; }

/* ---------- Contact form status ---------- */
.f-status { display: none; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.f-status.show { display: flex; }
.f-status.ok { background: #effaf2; color: #166534; border: 1px solid #cfeedb; }
.f-status.err { background: #fdf0f0; color: #9b1c1c; border: 1px solid #f5d0d0; }
.cta-form button[disabled] { opacity: .7; cursor: progress; }
.cta-form [aria-invalid="true"] { border-color: #dc3d3d; box-shadow: 0 0 0 3px rgba(220,61,61,.12); }

@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq, .cta { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .plans { grid-template-columns: minmax(0, 640px); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .f-row { grid-template-columns: 1fr; }
}

/* ---------- Christmas offer (Build plan) ---------- */
:root { --xmas-red: #c8102e; --xmas-green: #1f7a4d; --xmas-gold: #e0a526; }
.plan-xmas { padding-top: 58px; background: linear-gradient(180deg, #fff7f7 0%, var(--surface) 38%); }
.plan-xmas .plan-badge { z-index: 2; top: -13px; background: var(--xmas-red); box-shadow: 0 4px 12px -4px rgba(200,16,46,.5); }
.xmas-garland { position: absolute; top: -8px; left: -6px; width: calc(100% + 12px); height: auto; z-index: 1; overflow: visible; pointer-events: none; }
.xmas-garland .g-strand { fill: none; stroke: var(--xmas-green); stroke-width: 5; stroke-linecap: round; }
.xmas-garland .g-2 { stroke: #2e9e63; stroke-width: 2; stroke-dasharray: 3 5; }
.xmas-garland .g-strings path { stroke: #9aa3ad; stroke-width: 1; }
.xmas-garland .g-bow { fill: var(--xmas-red); }
.xmas-garland circle[class^="b-"] { stroke: rgba(255,255,255,.7); stroke-width: 1.2; transform-box: fill-box; transform-origin: 50% -70%; animation: bauble 3.2s ease-in-out infinite; }
.b-red { fill: var(--xmas-red); } .b-gold { fill: var(--xmas-gold); animation-delay: -.8s !important; } .b-blue { fill: var(--brand); animation-delay: -1.6s !important; }
@keyframes bauble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.xmas-flake { position: absolute; color: #9fbbe8; opacity: .55; pointer-events: none; }
.xmas-flake.f1 { width: 22px; height: 22px; top: 50%; right: 16px; }
.xmas-flake.f2 { width: 14px; height: 14px; bottom: 120px; right: 44px; opacity: .4; }
.xmas-flake.f3 { width: 18px; height: 18px; bottom: 84px; right: 20px; opacity: .35; }
@media (prefers-reduced-motion: reduce) { .xmas-garland circle[class^="b-"] { animation: none; } }
