:root {
  --bg: #fff7ee;
  --bg-soft: #fff3e6;
  --card: #f7e8d6;
  --text: #5b3a29;
  --muted: #8f7565;
  --accent: #ff7a5c;
  --accent-hover: #ffa08a;
  --border: #ebd7c1;
  --white: #ffffff;
  --footer: #5b3a29;
  --whatsapp: #25d366;
  --telegram: #229ed9;
  --shadow: 0 18px 55px rgba(91, 58, 41, 0.12);
  --container: 1160px;
}

/* Client refinements: cleaner hierarchy, clearer choices and matched columns. */
.hero-home .choice-grid {
  margin-top: 36px;
}

.choice-card.guide:hover {
  border-color: rgba(255, 255, 255, 0.95);
  background: #e96547;
  box-shadow: 0 0 0 3px rgba(244, 119, 91, 0.2), 0 16px 38px rgba(82, 56, 43, 0.14);
}

.tariff-card {
  position: relative;
}

.tariff-card.premium {
  border: 2px solid rgba(244, 119, 91, 0.62);
  box-shadow: 0 18px 42px rgba(244, 119, 91, 0.12);
}

.tariff-recommended {
  position: absolute;
  top: 20px;
  right: 22px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tariff-card.premium .tariff-kicker {
  padding-right: 120px;
}

.tariff-plus {
  display: inline-block;
  margin-right: 3px;
  padding: 3px 7px;
  border-radius: 7px;
  color: #fff;
  background: var(--accent);
  font-size: 0.88em;
  letter-spacing: 0.035em;
}

.work-tariff,
.work-title {
  position: absolute;
  z-index: 3;
  left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  color: var(--text);
  background: rgba(255, 250, 245, 0.9);
  box-shadow: 0 5px 16px rgba(45, 33, 27, 0.13);
  backdrop-filter: blur(9px);
}

.work-tariff {
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work-tariff.premium {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(244, 119, 91, 0.92);
}

.work-title {
  right: 12px;
  bottom: 12px;
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 7px 11px;
  border-radius: 12px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-kicker,
.modal-title {
  margin-left: 0;
  text-align: center;
}

.modal-kicker {
  margin-bottom: 4px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.modal-title {
  margin-bottom: 14px;
}

.order-layout {
  align-items: stretch;
}

.order-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 24px;
}

.application-card {
  position: static;
  height: 100%;
}

.scene-guide {
  flex: 1;
  padding: 28px 30px 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(82, 56, 43, 0.055);
}

.scene-guide-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.scene-guide-number {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 800;
  place-items: center;
}

.scene-guide h3 {
  margin: 0 0 5px;
  font-size: 21px;
  line-height: 1.25;
}

.scene-guide-heading p,
.scene-example p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.scene-duration-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.scene-duration-list div {
  display: flex;
  min-height: 42px;
  padding: 10px 13px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fffaf5;
  font-size: 12px;
}

.scene-duration-list div:last-child {
  grid-column: 1 / -1;
}

.scene-duration-list strong {
  color: #9c3825;
}

.scene-example {
  margin-top: 17px;
  padding: 16px 17px;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: #fff2e9;
}

.scene-example > strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.scene-example p + p {
  margin-top: 7px;
}

.process-heading {
  display: block;
  text-align: center;
}

.process-heading h3 {
  margin: 0;
}

.process-grid {
  gap: 18px;
}

.process-grid article {
  position: relative;
}

.process-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 4;
  top: 50%;
  right: -22px;
  display: grid;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  background: var(--bg);
  font-size: 15px;
  font-weight: 800;
  place-items: center;
  transform: translateY(-50%);
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 9px;
}

@media (hover: hover) and (pointer: fine) {
  .calculator-tariff:hover > span,
  .duration-options label:hover > span,
  .idea-choice label:hover > span,
  .messenger-choice label:hover > span {
    border-color: var(--accent);
    background: #fff0e8;
    box-shadow: 0 6px 16px rgba(82, 56, 43, 0.08);
    transform: translateY(-1px);
  }

  .form-field select:hover,
  .form-field input:hover,
  .form-field textarea:hover {
    border-color: rgba(244, 119, 91, 0.72);
  }

  .calculator-tariff > span,
  .duration-options span,
  .idea-choice span,
  .messenger-choice span {
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }
}

@media (max-width: 900px) {
  .application-card {
    height: auto;
  }

  .process-grid article::after {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .hero-home .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
  }

  .choice-card {
    min-height: 172px;
    padding: 18px 37px 18px 15px;
  }

  .choice-card h2 {
    max-width: 125px;
    font-size: 14px;
  }

  .choice-card p {
    max-width: 130px;
    font-size: 11px;
  }

  .work-title {
    font-size: 11px;
  }

  .tariff-card.premium .tariff-kicker {
    max-width: 150px;
    padding-right: 0;
  }

  .tariff-recommended {
    top: 17px;
    right: 17px;
  }

  .scene-guide {
    padding: 22px 20px;
  }

  .scene-guide-heading {
    gap: 11px;
  }

  .scene-guide-number {
    width: 38px;
    height: 38px;
  }

  .scene-guide h3 {
    font-size: 18px;
  }

  .scene-duration-list {
    grid-template-columns: 1fr;
  }

  .scene-duration-list div:last-child {
    grid-column: auto;
  }

  .modal-kicker {
    margin-left: 0;
  }

  .modal-title {
    text-align: center;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 82px;
  background: var(--bg);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  width: 136px;
  flex: 0 0 auto;
}

.logo img {
  width: 100%;
  height: auto;
}

.main-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 34px;
  transform: translateX(-50%);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.mobile-contact {
  display: none;
}

.header-contact {
  min-width: 124px;
  padding: 11px 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease;
}

.header-contact:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-home {
  padding: 58px 0 34px;
  text-align: center;
}

.hero-home h1 {
  max-width: 720px;
  margin: 0 auto 12px;
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -1.7px;
}

.hero-home p {
  max-width: 690px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.45;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(686px, calc(100% - 40px));
  margin: 48px auto 0;
}

.choice-card {
  position: relative;
  min-height: 152px;
  padding: 24px 56px 22px 24px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 26px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.choice-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 34px rgba(91, 58, 41, 0.08);
}

.choice-card.classic {
  background: var(--card);
}

.choice-card.guide {
  color: var(--white);
  background: var(--accent);
}

.choice-icon {
  display: grid;
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  place-items: center;
  color: var(--accent);
}

.guide .choice-icon {
  color: var(--white);
}

.choice-card h2 {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.choice-card p {
  max-width: 225px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.choice-arrow {
  position: absolute;
  right: 28px;
  bottom: 26px;
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.82);
  place-items: center;
  font-size: 19px;
  transition: transform 180ms ease;
}

.choice-card:hover .choice-arrow {
  transform: translateX(3px);
}

.about {
  padding: 0 0 74px;
  text-align: center;
}

.about h2 {
  margin: 0 0 56px;
  font-size: clamp(29px, 2.6vw, 37px);
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.about-copy {
  max-width: 760px;
  margin: 0 auto 38px;
  font-size: 16px;
  line-height: 1.55;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
}

.stat {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: 12px;
  text-align: left;
}

.stat-icon {
  grid-row: span 2;
  width: 31px;
  height: 31px;
  margin-top: 4px;
  color: var(--accent);
}

.stat strong {
  font-size: 31px;
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.stat span:last-child {
  max-width: 190px;
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  padding: 46px 0;
  color: var(--white);
  background: var(--footer);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-copy,
.footer-links {
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-document-button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  opacity: 1;
  cursor: default;
  font-size: 12px;
  line-height: 1.2;
  transition: border-color 180ms ease, background 180ms ease;
}

.cartoons-page main {
  display: flex;
  flex-direction: column;
}

.cartoons-page .cartoons-hero { order: 1; }
.cartoons-page .tariffs { order: 2; }
.cartoons-page .examples { order: 3; }
.cartoons-page .order-section { order: 4; }
.cartoons-page .reviews-section { order: 5; }
.cartoons-page .faq-section { order: 6; }

.cartoons-hero {
  min-height: 430px;
  padding: 6px 0 20px;
}

.cartoons-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 410px;
}

.cartoons-hero-copy {
  padding-left: 8px;
}

.cartoons-hero h1 {
  max-width: 540px;
  margin: 0 0 38px;
  font-size: clamp(36px, 3.3vw, 47px);
  line-height: 1.12;
  letter-spacing: -1.7px;
}

.cartoons-hero p {
  margin: 0;
  font-size: 21px;
}

.cartoons-hero-visual {
  align-self: end;
}

.cartoons-hero-visual img {
  width: 348px;
  margin: 0 auto;
}

.tariffs {
  padding: 34px 0 62px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
}

.tariffs h2 {
  margin: 0 0 42px;
  font-size: clamp(28px, 2.5vw, 34px);
  line-height: 1.2;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 76px;
  max-width: 990px;
  margin: 0 auto 22px;
}

.tariff-card {
  min-height: 245px;
  padding: 27px 26px;
  border: 2px solid transparent;
  border-radius: 24px;
}

.tariff-card.classic {
  background: var(--bg-soft);
}

.tariff-card.premium {
  border-color: var(--accent);
}

.tariff-card h3 {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.45;
}

.tariff-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.tariff-note {
  margin: 0 auto 12px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

.examples-prompt {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.examples {
  min-height: 500px;
  padding: 76px 0 90px;
  border-top: 1px solid var(--border);
  color: #24201e;
  background: var(--white);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -1.1px;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.examples-heading {
  margin-bottom: 30px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(356px, 100%);
  margin: 0 auto 38px;
  border: 1px solid #23201e;
  border-radius: 2px;
  overflow: hidden;
}

.tab-button {
  min-height: 50px;
  border: 0;
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
}

.tab-button[aria-selected="true"] {
  color: var(--white);
  background: #23201e;
}

.gallery {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.gallery.active {
  display: grid;
}

.work-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 19px;
  background: #ddd;
  cursor: pointer;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 25, 18, 0.05);
  transition: background 180ms ease;
}

.work-card:hover::after {
  background: rgba(40, 25, 18, 0.14);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.work-card:hover img {
  transform: scale(1.025);
}

.work-price {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 12px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  color: #2d211b;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 16px rgba(45, 33, 27, 0.12);
  font-size: 12px;
  line-height: 1.1;
  backdrop-filter: blur(8px);
}

.work-price strong,
.work-price small {
  display: block;
}

.work-price strong {
  font-size: 14px;
  font-weight: 800;
}

.work-price small {
  margin-top: 3px;
  color: #665249;
  font-size: 11px;
  font-weight: 700;
}

.play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(47, 30, 22, 0.18);
  place-items: center;
  transform: translate(-50%, -50%);
}

.play svg {
  width: 18px;
  margin-left: 2px;
}

.guide-empty {
  min-height: calc(100vh - 82px);
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.93);
}

.modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  padding: 52px 38px 20px;
  overflow-y: auto;
  border: 1px solid var(--text);
  border-radius: 27px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.modal-panel.contact-panel {
  width: min(600px, 100%);
  padding: 44px 38px 38px;
  text-align: center;
}

.modal-close {
  position: fixed;
  top: 16px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  width: 29px;
  height: 2px;
  background: #1d1d1d;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-kicker {
  margin: 0 0 2px 94px;
  color: var(--accent);
  font-size: 14px;
}

.modal-title {
  margin: 0 0 10px;
  font-size: 29px;
  line-height: 1.2;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.work-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 28px 18px 22px;
  text-align: center;
}

.work-meta > .meta-item:not(.price-meta) {
  min-width: 0;
  padding: 0 18px;
}

.work-meta > .meta-item:not(.price-meta):not(:nth-child(3)) {
  border-right: 1px solid var(--border);
}

.meta-item strong,
.meta-item span {
  display: block;
}

.meta-item strong {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.meta-item span {
  font-size: 16px;
}

.price-meta {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.price-meta > strong {
  margin-bottom: 13px;
}

.price-meta > strong small {
  color: var(--accent);
  font-size: inherit;
  font-weight: 800;
}

.modal-currency-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 660px;
  margin: 0 auto;
}

.modal-currency-grid span {
  display: grid;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  place-items: center;
}

.modal-cta-title {
  margin: 0 0 2px;
  text-align: center;
  font-size: 23px;
  line-height: 1.3;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 20px;
}

.contact-button {
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--white);
  text-align: center;
  transition: filter 180ms ease, transform 180ms ease;
}

.contact-button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.contact-button.whatsapp {
  background: var(--whatsapp);
}

.contact-button.telegram {
  background: var(--telegram);
}

.modal-footnote {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
}

.contact-panel h2 {
  margin: 0 0 4px;
  font-size: 28px;
}

.contact-panel p {
  margin: 0 0 24px;
  font-size: 15px;
}

.order-section {
  padding: 72px 0 84px;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 8% 13%, rgba(255, 122, 92, 0.1), transparent 25%),
    linear-gradient(180deg, #fff8ef 0%, #fff3e7 100%);
}

.order-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.order-heading .eyebrow {
  margin-bottom: 8px;
}

.order-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.3px;
}

.order-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: start;
  gap: 24px;
}

.calculator-card,
.application-card,
.process-section {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(91, 58, 41, 0.07);
}

.calculator-card {
  padding: 30px;
}

.calculator-block + .calculator-block {
  margin-top: 28px;
}

.calculator-label {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 800;
}

.calculator-tariffs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calculator-tariff,
.duration-options label,
.messenger-choice label {
  cursor: pointer;
}

.calculator-tariff input,
.duration-options input,
.messenger-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calculator-tariff > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #fffaf5;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.calculator-tariff strong {
  font-size: 17px;
}

.calculator-tariff small {
  padding: 4px 8px;
  border-radius: 999px;
  color: #b0442e;
  background: #ffe2d8;
  font-size: 11px;
  font-weight: 800;
}

.calculator-tariff input:checked + span {
  border-color: var(--accent);
  background: #fff1e9;
  box-shadow: 0 0 0 3px rgba(255, 122, 92, 0.12);
}

.calculator-tariff input:focus-visible + span,
.duration-options input:focus-visible + span,
.messenger-choice input:focus-visible + span {
  outline: 3px solid rgba(255, 122, 92, 0.28);
  outline-offset: 2px;
}

.duration-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.duration-options span {
  display: grid;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fffaf5;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  place-items: center;
  transition: border-color 180ms ease, background 180ms ease;
}

.duration-options input:checked + span {
  border-color: var(--accent);
  color: #9c3825;
  background: #ffe3d8;
}

.duration-hint {
  display: flex;
  gap: 12px;
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 17px;
  background: #f8ebdd;
}

.hint-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  place-items: center;
}

.duration-hint strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.duration-hint p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.calculator-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(135deg, #684431, #4d3022);
}

.total-caption {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.total-rub {
  display: block;
  font-size: 30px;
  line-height: 1.15;
}

.total-currencies {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.total-currencies span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.currency-note {
  margin: 8px 4px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.included {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.included h3,
.process-section h3,
.application-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 16px;
  margin: 15px 0;
  font-size: 13px;
  font-weight: 700;
}

.included-grid span::first-letter {
  color: var(--accent);
}

.included > p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  background: #fff6ef;
  font-size: 12px;
}

.process-section {
  margin-top: 24px;
  padding: 26px 28px 28px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.process-grid article {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fffaf5;
}

.process-grid article > span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.process-grid strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.application-card {
  position: sticky;
  top: 18px;
  padding: 28px;
}

.application-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #a83f2a;
  background: #ffe1d6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.application-card > p {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.form-field {
  display: block;
  margin-top: 14px;
}

.form-field > span,
.messenger-choice legend {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: #fffaf5;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field input,
.form-field select {
  min-height: 45px;
  padding: 0 13px;
}

.form-field textarea {
  min-height: 108px;
  padding: 12px 13px;
  resize: vertical;
}

.form-field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 92, 0.1);
}

.messenger-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.no-idea-note {
  margin-top: 18px;
  padding: 14px 15px;
  border: 1px solid #f2c8b7;
  border-radius: 14px;
  background: #fff0e8;
}

.no-idea-note strong,
.no-idea-note span {
  display: block;
}

.no-idea-note strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.no-idea-note span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.idea-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.idea-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
}

.idea-choice label {
  cursor: pointer;
}

.idea-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.idea-choice span {
  display: grid;
  min-height: 43px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fffaf5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  place-items: center;
}

.idea-choice input:checked + span {
  border-color: var(--accent);
  background: #ffe3d8;
}

.idea-choice input:focus-visible + span {
  outline: 3px solid rgba(255, 122, 92, 0.28);
  outline-offset: 2px;
}

.messenger-choice legend {
  grid-column: 1 / -1;
}

.messenger-choice span {
  display: grid;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fffaf5;
  font-size: 12px;
  font-weight: 700;
  place-items: center;
}

.messenger-choice input:checked + span {
  border-color: var(--accent);
  background: #ffe3d8;
}

.application-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--border);
}

.application-summary span {
  color: var(--muted);
  font-size: 11px;
}

.application-summary strong {
  flex: 0 0 auto;
  font-size: 19px;
}

.submit-application {
  width: 100%;
  min-height: 49px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  cursor: pointer;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.submit-application:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.application-card .form-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
}

.reviews-section {
  padding: 82px 0 88px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.review-card {
  min-height: 248px;
  padding: 27px 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 13px 36px rgba(91, 58, 41, 0.06);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-author img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border: 3px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(91, 58, 41, 0.14);
}

.review-author strong,
.review-author span {
  display: block;
}

.review-author strong {
  margin-bottom: 2px;
  font-size: 16px;
}

.review-author span {
  color: var(--muted);
  font-size: 12px;
}

.review-stars {
  margin: 20px 0 10px;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
}

.review-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.reviews-note {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.faq-section {
  padding: 82px 0 92px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fffaf5;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-list details[open] {
  border-color: rgba(255, 122, 92, 0.62);
  box-shadow: 0 9px 26px rgba(91, 58, 41, 0.07);
}

.faq-list summary {
  position: relative;
  padding: 19px 58px 19px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  place-items: center;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 58px 20px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.privacy-note {
  max-width: 820px;
  margin: 18px auto 0;
  padding: 15px 20px;
  border-radius: 14px;
  color: #7d4a38;
  background: #fff0e8;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    height: 72px;
  }

  .logo {
    width: 120px;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 20px;
    background: rgba(255, 247, 238, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
  }

  .main-nav .mobile-contact {
    display: block;
    margin-top: 22px;
    padding: 13px 18px;
    border: 0;
    border-radius: 999px;
    color: var(--text);
    background: var(--accent);
    text-align: center;
  }

  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .cartoons-hero-inner {
    grid-template-columns: 1fr 0.8fr;
  }

  .cartoons-hero h1 {
    font-size: 36px;
  }

  .tariff-grid {
    gap: 28px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-meta {
    padding-inline: 0;
  }

  .order-section {
    padding: 70px 0 80px;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .application-card {
    position: static;
  }

  .reviews-section,
  .faq-section {
    padding: 70px 0 76px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero-home {
    padding: 44px 0 25px;
  }

  .hero-home h1 {
    max-width: 360px;
    margin-bottom: 14px;
    font-size: 31px;
    letter-spacing: -1px;
  }

  .hero-home p {
    max-width: 350px;
    font-size: 14px;
  }

  .choice-grid {
    gap: 10px;
    width: calc(100% - 24px);
    margin-top: 38px;
  }

  .choice-card {
    min-height: 145px;
    padding: 18px 30px 16px 15px;
    border-radius: 20px;
  }

  .choice-icon {
    width: 21px;
    height: 21px;
    margin-bottom: 10px;
  }

  .choice-card h2 {
    max-width: 125px;
    font-size: 14px;
    line-height: 1.22;
  }

  .choice-card p {
    max-width: 130px;
    font-size: 10px;
    line-height: 1.35;
  }

  .choice-arrow {
    right: 12px;
    bottom: 14px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .about {
    padding-bottom: 48px;
  }

  .about h2 {
    max-width: 330px;
    margin: 8px auto 26px;
    font-size: 28px;
  }

  .about-copy {
    margin-bottom: 26px;
    font-size: 14px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 20px;
  }

  .stat {
    grid-template-columns: 34px 1fr;
    justify-content: stretch;
  }

  .stat strong {
    font-size: 28px;
  }

  .footer-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .footer-links {
    display: grid;
    gap: 12px;
    width: 100%;
  }

  .footer-document-button {
    width: 100%;
    min-height: 42px;
    padding-inline: 16px;
    text-align: left;
  }

  .cartoons-hero {
    padding-top: 16px;
  }

  .cartoons-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
  }

  .cartoons-hero-copy {
    padding: 10px 0 0;
  }

  .cartoons-hero h1 {
    max-width: 370px;
    margin: 0 auto 18px;
    font-size: 32px;
  }

  .cartoons-hero p {
    font-size: 16px;
  }

  .cartoons-hero-visual img {
    width: min(260px, 72vw);
    margin-top: 20px;
  }

  .tariffs {
    padding-top: 30px;
  }

  .eyebrow {
    font-size: 18px;
  }

  .tariffs h2 {
    margin-bottom: 26px;
    font-size: 28px;
  }

  .tariff-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tariff-card {
    min-height: 0;
    padding: 23px 20px;
  }

  .examples-prompt {
    font-size: 16px;
  }

  .examples {
    min-height: 420px;
    padding: 54px 0 62px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .section-heading > p:last-child {
    font-size: 13px;
  }

  .tabs {
    margin-bottom: 26px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .work-card {
    border-radius: 13px;
  }

  .work-price {
    bottom: 8px;
    left: 8px;
    padding: 5px 8px;
  }

  .work-price strong {
    font-size: 13px;
  }

  .work-price small {
    font-size: 11px;
  }

  .play {
    width: 38px;
    height: 38px;
  }

  .modal {
    padding: 12px;
  }

  .modal-panel {
    max-height: calc(100vh - 24px);
    padding: 34px 16px 20px;
    border-radius: 22px;
  }

  .modal-close {
    top: 8px;
    right: 8px;
  }

  .modal-kicker {
    margin-left: 0;
    font-size: 12px;
  }

  .modal-title {
    font-size: 23px;
  }

  .work-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 20px 0;
  }

  .work-meta > .meta-item:not(.price-meta) {
    padding: 0 7px;
  }

  .meta-item strong {
    font-size: 14px;
  }

  .meta-item span {
    font-size: 14px;
  }

  .price-meta {
    margin-top: 20px;
    padding-top: 18px;
  }

  .modal-currency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .modal-currency-grid span {
    min-height: 42px;
    font-size: 13px;
  }

  .modal-cta-title {
    font-size: 19px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .contact-button {
    padding: 11px 14px;
    font-size: 14px;
  }

  .modal-footnote {
    font-size: 11px;
  }

  .order-section {
    padding: 54px 0 62px;
  }

  .order-heading {
    margin-bottom: 26px;
  }

  .order-heading h2 {
    font-size: 31px;
  }

  .order-heading > p:last-child {
    font-size: 13px;
  }

  .calculator-card,
  .application-card,
  .process-section {
    border-radius: 21px;
  }

  .calculator-card,
  .application-card {
    padding: 20px;
  }

  .calculator-tariff > span {
    min-height: 60px;
    padding: 12px;
  }

  .calculator-tariff strong {
    font-size: 15px;
  }

  .duration-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-total {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .total-currencies {
    justify-content: flex-start;
  }

  .included-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-section {
    padding: 21px 20px;
  }

  .process-grid {
    gap: 8px;
  }

  .process-grid article {
    display: grid;
    grid-template-columns: 28px 1fr;
    padding: 13px;
  }

  .process-grid article > span {
    grid-row: 1 / 3;
    margin: 2px 0 0;
  }

  .process-grid strong,
  .process-grid p {
    grid-column: 2;
  }

  .reviews-section,
  .faq-section {
    padding: 54px 0 60px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .review-card {
    min-height: 0;
    padding: 22px 20px;
    border-radius: 20px;
  }

  .review-card blockquote {
    font-size: 14px;
  }

  .faq-list summary {
    padding: 17px 54px 17px 17px;
    font-size: 14px;
  }

  .faq-list summary::after {
    right: 14px;
  }

  .faq-list details p {
    padding: 0 18px 18px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Visual refinement: warm editorial studio, clear actions, consistent rhythm. */
:root {
  --bg: #fff9f2;
  --bg-soft: #fff1e6;
  --card: #f8e8d7;
  --text: #52382b;
  --muted: #816b5d;
  --accent: #f4775b;
  --accent-hover: #f58e75;
  --border: #ead8c8;
  --footer: #513327;
  --shadow: 0 20px 55px rgba(82, 56, 43, 0.09);
  --container: 1180px;
}

html {
  scroll-padding-top: 92px;
}

body {
  background: var(--bg);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  height: 82px;
  border-bottom: 1px solid rgba(234, 216, 200, 0.7);
  background: rgba(255, 249, 242, 0.92);
  box-shadow: 0 5px 25px rgba(82, 56, 43, 0.035);
  backdrop-filter: blur(14px);
}

.hero-home {
  padding: 72px 0 60px;
}

.hero-eyebrow,
.choice-label {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-home h1 {
  margin-top: 15px;
  font-weight: 800;
}

.choice-label {
  margin-top: 44px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.choice-grid {
  width: min(760px, calc(100% - 24px));
  gap: 20px;
  margin-top: 16px;
}

.choice-card {
  display: flex;
  min-height: 202px;
  padding: 25px 70px 24px 28px;
  flex-direction: column;
  align-items: flex-start;
  border-color: rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(82, 56, 43, 0.04);
}

.choice-card:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 36px rgba(82, 56, 43, 0.1);
  transform: translateY(-2px);
}

.choice-kicker {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.guide .choice-kicker {
  color: rgba(255, 255, 255, 0.76);
}

.choice-card h2 {
  margin-bottom: 7px;
  font-size: 20px;
  font-weight: 800;
}

.choice-card p {
  max-width: 255px;
  font-size: 14px;
  line-height: 1.4;
}

.choice-price {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 800;
}

.guide .choice-price {
  color: rgba(255, 255, 255, 0.9);
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cartoons-page .cartoons-hero { order: 1; }
.cartoons-page .examples { order: 2; }
.cartoons-page .tariffs { order: 3; }
.cartoons-page .order-section { order: 4; }
.cartoons-page .reviews-section { order: 5; }
.cartoons-page .faq-section { order: 6; }

.cartoons-hero {
  min-height: 500px;
  padding: 62px 0 64px;
  background:
    radial-gradient(circle at 78% 20%, rgba(244, 119, 91, 0.14), transparent 25%),
    linear-gradient(180deg, #fff9f2 0%, #fff5ec 100%);
}

.cartoons-hero-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  min-height: 370px;
}

.cartoons-hero-copy {
  padding-left: 0;
}

.cartoons-hero-copy > .eyebrow {
  margin-bottom: 15px;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.cartoons-hero h1 {
  max-width: 610px;
  margin-bottom: 22px;
  font-size: clamp(39px, 4vw, 56px);
  font-weight: 800;
}

.cartoons-hero-copy > p:not(.eyebrow):not(.hero-note) {
  max-width: 555px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.cartoons-hero-copy .hero-note {
  margin-top: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(244, 119, 91, 0.2);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cartoons-hero-visual img {
  width: min(390px, 100%);
  filter: drop-shadow(0 20px 22px rgba(82, 56, 43, 0.12));
}

.examples {
  padding: 78px 0 84px;
  border-top: 0;
  background: #fff;
}

.examples-heading {
  margin-bottom: 27px;
}

.examples-heading h2 {
  max-width: 690px;
  margin-inline: auto;
}

.tabs {
  margin-bottom: 30px;
  border-color: var(--text);
  border-radius: 999px;
}

.tab-button:first-child {
  border-radius: 999px 0 0 999px;
}

.tab-button:last-child {
  border-radius: 0 999px 999px 0;
}

.gallery {
  gap: 18px;
}

.work-card {
  border-radius: 17px;
  box-shadow: 0 12px 24px rgba(82, 56, 43, 0.1);
}

.work-price {
  bottom: 12px;
  left: 12px;
  padding: 7px 11px;
  border-radius: 13px;
}

.work-price small {
  font-size: 12px;
}

.section-after-link {
  margin-top: 34px;
  text-align: center;
}

.text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.tariffs {
  padding: 76px 0 82px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.tariffs h2 {
  margin-bottom: 34px;
  font-size: clamp(30px, 3vw, 42px);
}

.tariff-grid {
  gap: 22px;
  max-width: 1030px;
}

.tariff-card {
  min-height: 275px;
  padding: 28px 29px;
  border-radius: 21px;
  box-shadow: 0 10px 30px rgba(82, 56, 43, 0.045);
}

.tariff-card.premium {
  background: #fff7f0;
}

.tariff-kicker {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.tariff-card h3 {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.48;
}

.tariff-card ul {
  gap: 11px;
  font-size: 14px;
}

.tariff-note {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.order-section {
  padding: 84px 0 92px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #fff5ec 0%, #ffefe2 100%);
}

.order-heading {
  margin-bottom: 42px;
}

.order-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.order-layout {
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
  gap: 28px;
}

.calculator-card,
.application-card,
.process-section {
  border-color: rgba(234, 216, 200, 0.95);
  box-shadow: 0 16px 44px rgba(82, 56, 43, 0.065);
}

.calculator-card,
.application-card {
  padding: 32px;
}

.calculator-label {
  font-size: 15px;
}

.duration-options span {
  min-height: 48px;
  font-size: 13px;
}

.duration-hint p {
  font-size: 13px;
}

.included-grid {
  font-size: 14px;
}

.included > p {
  font-size: 13px;
}

.application-card > p {
  font-size: 14px;
  line-height: 1.5;
}

.form-field > span,
.messenger-choice legend {
  font-size: 13px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-size: 14px;
}

.form-field small,
.application-card .form-note {
  font-size: 12px;
}

.process-section {
  margin-top: 28px;
  padding: 30px 32px 32px;
}

.process-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.process-heading .eyebrow {
  margin: 0;
  font-size: 13px;
}

.process-heading h3 {
  font-size: 25px;
}

.process-grid {
  gap: 14px;
  margin-top: 23px;
}

.process-grid article {
  min-height: 142px;
  padding: 17px;
}

.process-grid p {
  font-size: 13px;
}

.guide-hero {
  padding: 80px 0 86px;
  background:
    radial-gradient(circle at 85% 15%, rgba(244, 119, 91, 0.16), transparent 25%),
    linear-gradient(180deg, #fff9f2 0%, #fff2e6 100%);
}

.guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 72px;
}

.guide-hero-copy h1 {
  max-width: 700px;
  margin: 12px 0 20px;
  font-size: clamp(39px, 4.4vw, 61px);
  line-height: 1.07;
  letter-spacing: -2px;
}

.guide-lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.guide-cover {
  position: relative;
  width: min(330px, 100%);
  min-height: 410px;
  margin-inline: auto;
  padding: 32px 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px 14px 14px 26px;
  color: #fff8f1;
  background: linear-gradient(150deg, #6d4030 0%, #44291f 100%);
  box-shadow: 22px 22px 0 rgba(244, 119, 91, 0.2), 0 25px 50px rgba(82, 56, 43, 0.2);
}

.guide-cover::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.guide-cover-top {
  position: relative;
  font-size: 24px;
  font-weight: 800;
  line-height: 0.94;
}

.guide-cover-top span {
  font-size: 9px;
  letter-spacing: 0.34em;
}

.guide-cover-mark {
  margin-top: 85px;
  color: var(--accent);
  font-size: 40px;
}

.guide-cover h2 {
  margin: 18px 0 8px;
  font-size: 29px;
  letter-spacing: 0.05em;
}

.guide-cover p {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.guide-cover-line {
  display: block;
  width: 86px;
  height: 2px;
  margin: 45px 0 15px;
  background: var(--accent);
}

.guide-cover small {
  color: rgba(255, 248, 241, 0.72);
  font-size: 12px;
}

.guide-section {
  padding: 86px 0 94px;
  background: #fff;
}

.guide-heading {
  margin-bottom: 38px;
}

.guide-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.guide-module {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: #fffaf6;
}

.guide-module > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.guide-module h3 {
  margin: 40px 0 8px;
  font-size: 19px;
}

.guide-module p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.guide-benefits {
  padding: 78px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.guide-benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 80px;
}

.guide-benefits h2,
.guide-buy h2 {
  max-width: 540px;
  margin: 10px 0 0;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.13;
}

.guide-checklist {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-checklist li {
  position: relative;
  padding: 15px 16px 15px 48px;
  border: 1px solid rgba(234, 216, 200, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.guide-checklist li::before {
  content: "✓";
  position: absolute;
  left: 17px;
  top: 50%;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
  place-items: center;
  transform: translateY(-50%);
}

.guide-buy {
  padding: 86px 0;
  background: #fff;
}

.guide-buy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  align-items: center;
  gap: 70px;
}

.guide-buy-grid > div:first-child > p:last-child {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.guide-price-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--accent);
  border-radius: 22px;
  background: #fff7f0;
  box-shadow: var(--shadow);
}

.guide-price-card > span {
  color: var(--muted);
  font-size: 14px;
}

.guide-price-card strong {
  font-size: 38px;
  line-height: 1.1;
}

.guide-price-card small {
  min-height: 40px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.guide-price-card .button {
  margin-top: 8px;
}

.guide-faq {
  padding-top: 80px;
  background: var(--bg);
}

@media (max-width: 900px) {
  .cartoons-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.78fr);
    gap: 22px;
  }

  .cartoons-hero h1 {
    font-size: 41px;
  }

  .cartoons-hero-copy > p:not(.eyebrow):not(.hero-note) {
    font-size: 16px;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .application-card {
    position: static;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-hero-grid {
    gap: 42px;
  }

  .guide-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-benefits-grid,
  .guide-buy-grid {
    gap: 42px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 72px;
  }

  .hero-home {
    padding: 50px 0 46px;
  }

  .hero-home h1 {
    margin-top: 12px;
    font-size: 31px;
  }

  .hero-home p {
    font-size: 14px;
  }

  .choice-label {
    margin-top: 34px;
  }

  .choice-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .choice-card {
    min-height: 160px;
    padding: 20px 58px 20px 20px;
  }

  .choice-card h2 {
    max-width: none;
    font-size: 18px;
  }

  .choice-card p {
    max-width: 270px;
    font-size: 13px;
  }

  .choice-kicker {
    font-size: 10px;
  }

  .cartoons-hero {
    min-height: 0;
    padding: 43px 0 48px;
  }

  .cartoons-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
  }

  .cartoons-hero-copy > .eyebrow {
    font-size: 11px;
  }

  .cartoons-hero h1 {
    max-width: 370px;
    margin: 10px auto 16px;
    font-size: 32px;
    letter-spacing: -1px;
  }

  .cartoons-hero-copy > p:not(.eyebrow):not(.hero-note) {
    max-width: 360px;
    margin-inline: auto;
    font-size: 15px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    margin-top: 23px;
  }

  .button {
    width: 100%;
  }

  .cartoons-hero-copy .hero-note {
    font-size: 12px;
  }

  .cartoons-hero-visual img {
    width: min(245px, 72vw);
    margin: 24px auto 0;
  }

  .examples,
  .tariffs,
  .order-section,
  .guide-section,
  .guide-buy {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .section-heading h2,
  .tariffs h2 {
    font-size: 29px;
  }

  .section-heading > p:last-child,
  .tariff-note {
    font-size: 13px;
  }

  .tabs {
    width: 100%;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .work-price small {
    font-size: 11px;
  }

  .tariff-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tariff-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .tariff-card h3 {
    font-size: 15px;
  }

  .calculator-card,
  .application-card {
    padding: 21px;
  }

  .calculator-tariff > span {
    min-height: 60px;
  }

  .duration-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .included-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-section {
    padding: 23px 20px 25px;
  }

  .process-heading {
    display: block;
  }

  .process-heading h3 {
    margin-top: 9px;
  }

  .guide-hero {
    padding: 54px 0 64px;
  }

  .guide-hero-grid,
  .guide-benefits-grid,
  .guide-buy-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .guide-hero-copy h1 {
    margin-top: 10px;
    font-size: 34px;
    letter-spacing: -1px;
  }

  .guide-lead {
    font-size: 15px;
  }

  .guide-cover {
    width: min(275px, 82vw);
    min-height: 340px;
    padding: 26px 24px;
  }

  .guide-cover-mark {
    margin-top: 62px;
  }

  .guide-cover h2 {
    font-size: 24px;
  }

  .guide-module-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .guide-module {
    min-height: 0;
    padding: 20px;
  }

  .guide-module h3 {
    margin-top: 25px;
  }

  .guide-benefits {
    padding: 58px 0 62px;
  }

  .guide-benefits h2,
  .guide-buy h2 {
    font-size: 29px;
  }

  .guide-price-card {
    padding: 23px;
  }
}

/* Final cascade overrides for the current client revision. */
.modal-kicker,
.modal-title {
  margin-left: 0;
  text-align: center;
}

.modal-kicker {
  margin-bottom: 4px;
}

.modal-title {
  margin-bottom: 14px;
}

.order-layout {
  align-items: stretch;
}

.order-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 24px;
}

.application-card {
  position: static;
  height: 100%;
}

.process-heading {
  display: block;
  text-align: center;
}

.process-heading h3 {
  margin: 0;
}

.process-grid {
  gap: 18px;
}

@media (max-width: 900px) {
  .application-card {
    height: auto;
  }

  .process-grid article::after {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .hero-home .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
  }

  .choice-card {
    min-height: 172px;
    padding: 18px 37px 18px 15px;
  }

  .choice-card h2 {
    max-width: 125px;
    font-size: 14px;
  }

  .choice-card p {
    max-width: 130px;
    font-size: 11px;
  }

  .tariff-card.premium .tariff-kicker {
    max-width: 150px;
    padding-right: 0;
  }

  .tariff-recommended {
    top: 17px;
    right: 17px;
  }

  .scene-guide {
    padding: 22px 20px;
  }

  .scene-duration-list {
    grid-template-columns: 1fr;
  }

  .scene-duration-list div:last-child {
    grid-column: auto;
  }

  .process-heading h3 {
    margin: 0;
  }
}

/* Revision 8: quieter video labels, compact scene guide and readable workflow. */
.button-primary:hover {
  border-color: #fff;
  color: #fff;
  background: #e96547;
  box-shadow: inset 0 0 0 1px #fff, 0 0 0 3px rgba(244, 119, 91, 0.16), 0 13px 28px rgba(82, 56, 43, 0.14);
}

.work-tariff,
.work-tariff.premium,
.work-title {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(39, 27, 21, 0.32);
  box-shadow: none;
  backdrop-filter: blur(5px);
}

.work-tariff {
  padding: 5px 9px;
  font-size: 11px;
  letter-spacing: 0.055em;
}

.work-title {
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 700;
}

.tariffs-heading {
  margin: 0 auto 34px;
  text-align: center;
}

.tariffs .tariffs-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(31px, 3.4vw, 43px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.tariffs-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.order-heading {
  margin-bottom: 34px;
}

.order-layout {
  align-items: stretch;
}

.application-card {
  height: 100%;
  padding: 28px;
}

.application-card > p {
  margin-bottom: 18px;
}

.application-card .form-field {
  margin-top: 12px;
}

.application-card .no-idea-note {
  margin-top: 14px;
  padding: 12px 14px;
}

.application-card .idea-choice {
  margin-top: 13px;
}

.application-card .messenger-choice {
  margin-top: 14px;
}

.application-card .form-field textarea {
  min-height: 98px;
}

.application-card .application-summary {
  margin-top: 14px;
  padding: 13px 0;
}

.scene-guide {
  flex: 1;
  padding: 22px 24px 23px;
}

.scene-guide-heading {
  display: block;
}

.scene-guide h3 {
  margin: 0;
  font-size: 21px;
}

.scene-duration-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.scene-duration-list div {
  min-height: 40px;
  padding: 8px 10px;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
}

.scene-duration-list div:last-child {
  grid-column: auto;
}

.scene-example {
  margin-top: 12px;
  padding: 12px 14px;
}

.scene-example p {
  font-size: 12px;
  line-height: 1.48;
}

.process-section {
  margin-top: 34px;
  padding: 40px 36px 38px;
  background: rgba(255, 255, 255, 0.82);
}

.process-heading h3 {
  font-size: clamp(30px, 3.2vw, 39px);
  font-weight: 800;
  letter-spacing: -0.8px;
}

.process-grid {
  gap: 22px;
  margin-top: 30px;
}

.process-grid article {
  min-height: 190px;
  padding: 24px 21px 22px;
  border-top: 3px solid var(--accent);
  border-radius: 18px;
  background: #fffaf5;
  box-shadow: 0 10px 24px rgba(82, 56, 43, 0.055);
}

.process-grid article > span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  place-items: center;
}

.process-grid strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.process-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.process-grid article:not(:last-child)::after {
  right: -25px;
  width: 28px;
  height: 28px;
  background: #fffaf5;
}

@media (max-width: 900px) {
  .application-card {
    height: auto;
  }

  .scene-guide {
    flex: 0 0 auto;
  }

  .process-grid article {
    min-height: 175px;
  }
}

@media (max-width: 640px) {
  .tariffs-heading {
    margin-bottom: 26px;
  }

  .tariffs .tariffs-heading h2 {
    font-size: 29px;
  }

  .tariffs-heading p {
    font-size: 14px;
  }

  .scene-guide {
    padding: 20px 18px;
  }

  .application-card {
    padding: 21px;
  }

  .scene-guide h3 {
    font-size: 19px;
  }

  .scene-duration-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-duration-list div:nth-child(n) {
    grid-column: auto;
  }

  .scene-example p {
    font-size: 12px;
  }

  .process-section {
    padding: 30px 20px 26px;
  }

  .process-heading h3 {
    font-size: 29px;
  }

  .process-grid {
    gap: 13px;
    margin-top: 24px;
  }

  .process-grid article {
    min-height: 0;
    padding: 20px;
  }

  .process-grid article > span {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
  }

  .process-grid strong {
    font-size: 17px;
  }

  .process-grid p {
    font-size: 15px;
  }
}
