/* ===== 15 Nov: professional polish. Loaded last. Footer, front page hero and steps,
   closing band, prices (three plans + questions), About and Contact layouts. ===== */

/* ---- Footer: four columns and a bottom line ---- */
.footer.ft { display: block; padding-top: 40px; padding-bottom: 24px; margin-top: 30px; }
.ft-cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
.ft-brand strong { display: block; font-size: 1.15rem; color: var(--text); margin-bottom: 6px; }
.ft-brand p { margin: 0; font-size: 1rem; color: var(--text-2); max-width: 280px; line-height: 1.5; }
.ft-col h4 { font-size: .82rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.ft-col a { display: block; padding: 5px 0; font-size: 1rem; color: var(--text-2); }
.ft-col a:hover { color: var(--primary-text); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .92rem; color: var(--muted); }
.ft-bottom span a { margin-left: 14px; color: var(--muted); }
@media (max-width: 860px) { .ft-cols { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }

/* ---- Front page: hero with picture ---- */
.fp .fp-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 34px; align-items: center; padding: 44px 40px; }
.fp .fp-hero h1 { font-size: 2.5rem; line-height: 1.15; margin: 0 0 14px; }
.fp .fp-hero p { font-size: 1.2rem; line-height: 1.5; margin: 0 0 24px; }
.fp-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.fp-hero-btns .btn { min-height: 54px; padding: 12px 26px; font-size: 1.08rem; }
.fp-hero-pic { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; border: 4px solid #fff; box-shadow: 0 18px 40px rgba(90, 60, 80, .18); }
@media (max-width: 860px) {
  .fp .fp-hero { grid-template-columns: 1fr; padding: 28px 22px; gap: 22px; }
  .fp .fp-hero h1 { font-size: 1.8rem; }
  .fp .fp-hero p { font-size: 1.08rem; }
  .fp-hero-btns .btn { width: 100%; justify-content: center; }
}

/* ---- Front page: how an episode works (three steps) ---- */
.fp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 48px; }
.fp-step { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.fp-step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--text); color: #fff; font-weight: 700; font-size: 1.15rem; }
.fp-step h3 { font-size: 1.2rem; margin: 14px 0 6px; }
.fp-step p { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.fp-how { margin-bottom: 48px; }
@media (max-width: 860px) { .fp-steps { grid-template-columns: 1fr; gap: 12px; margin-bottom: 34px; } }

/* ---- Closing band (front page, About) ---- */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 34px 38px; border-radius: 20px; background: var(--text); color: #fff; margin: 0 0 10px; }
.cta-band h2 { color: #fff; font-size: 1.7rem; margin: 0 0 4px; }
.cta-band p { margin: 0; font-size: 1.1rem; color: rgba(255, 255, 255, .82); }
.cta-band .btn { min-height: 54px; padding: 12px 28px; font-size: 1.08rem; }
@media (max-width: 700px) { .cta-band { padding: 26px 22px; } .cta-band h2 { font-size: 1.4rem; } .cta-band .btn { width: 100%; justify-content: center; } }

/* ---- Prices: three plans, questions ---- */
.price-page { max-width: 1120px; }
.price-page > h1, .price-page > .acc-lead { text-align: center; }
.price-page > .acc-lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.price-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; align-items: stretch; }
.price-card .card-body { padding: 30px 28px; }
.price-card { border-radius: 18px; }
.price-best { border-width: 2px; border-color: var(--primary); box-shadow: var(--shadow-lg); }
.price-list { font-size: 1.05rem; }
.price-card a.price-btn { display: flex; align-items: center; box-sizing: border-box; margin-top: auto; }
.faq { max-width: 780px; margin: 48px auto 0; }
.faq h2 { font-size: 1.6rem; text-align: center; margin: 0 0 18px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-size: 1.12rem; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 22px 20px; font-size: 1.08rem; line-height: 1.6; }
.price-page .acc-small { text-align: center; }

/* ---- About and Contact ---- */
.doc.doc-wide { max-width: 1000px; }
.doc-hero { border-radius: 20px; padding: 44px 40px; margin-bottom: 34px; background: linear-gradient(110deg, #fbd3d9 0%, #f3e6ef 50%, #c9dde6 100%); }
.doc .doc-hero h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 12px; }
.doc-hero p { font-size: 1.25rem; margin: 0; max-width: 640px; }
.doc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; margin-bottom: 14px; }
.doc-split h2:first-child, .doc-wide > h2:first-child { margin-top: 0; }
.doc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 0 0 34px; }
.doc-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); font-size: 1.05rem; line-height: 1.55; }
.doc-tile h3 { font-size: 1.2rem; margin: 14px 0 6px; }
.doc-tile p { margin: 0 0 8px; }
.doc-tile p:last-child { margin-bottom: 0; }
.doc-tile .fp-ic { display: inline-flex; }
@media (max-width: 860px) { .doc-hero { padding: 28px 22px; } .doc .doc-hero h1 { font-size: 1.8rem; } .doc-hero p { font-size: 1.1rem; } .doc-split { grid-template-columns: 1fr; gap: 0; } }

/* ---- Phones: the course menu goes above the page (a later rule in canva.css kept it beside the page) ---- */
@media (max-width: 900px) {
  .cv { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cv-side, .cv-main { min-width: 0; }
}
