.own-wrap { width: min(960px, calc(100% - 32px)); margin-inline: auto; }
.own-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid #f0e8ed; font: 500 14px Inter, Arial, sans-serif; }
.own-header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.own-header a { color: #261d24; text-decoration: none; }
.own-header nav { display: flex; gap: 20px; }
.own-brand, .own-phone { font-weight: 700; }
.own-phone { margin-left: auto; white-space: nowrap; }
.own-section { padding-block: clamp(28px, 5vw, 64px); font: 400 16px/1.5 Inter, Arial, sans-serif; }
#services-section, #guarantees-section, #examples, #faq { background: #f8f5f7; }
.own-section h2 { margin: 0 0 24px; color: #261d24; text-wrap: balance; }
.own-section h3 { margin: 0 0 8px; font-size: 18px; }
.own-section p { margin: 0; color: #514851; }
.own-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
.own-card, .own-promo, .own-order { display: block; padding: 22px; border: 1px solid #eee3e7; border-radius: 18px; background: #fff; }
.own-service { color: #261d24; text-decoration: none; }
.own-service:hover, .own-service:focus-visible { border-color: #e8211a; }
.own-service span { display: block; margin-top: 8px; color: #e8211a; }
.own-promo { background: #ffe7e6; }
.own-cta { display: inline-block; margin-top: 16px; text-decoration: none; }
.own-order { max-width: 620px; margin-inline: auto; }
.own-order .editor-entry { margin-bottom: 12px; }
.own-faq { border-bottom: 1px solid #ede1e6; padding: 14px 0; }
.own-faq summary { cursor: pointer; font-weight: 600; }
.own-faq p { margin-top: 8px; }
.own-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.own-consent input { width: 16px; min-height: 16px; }
#service-for-students-section, .own-section, #callback { scroll-margin-top: 84px; }
@media (max-width: 640px) {
  .own-header-row { flex-wrap: wrap; justify-content: space-between; gap: 9px; padding-block: 10px; }
  .own-header nav { order: 3; width: 100%; gap: 14px; }
  .own-phone { margin-left: 0; }
}

.own-consent input[type="checkbox"] { appearance: auto; flex: 0 0 16px; margin: 2px 0 0; padding: 0; }
.service-for-students .own-consent { grid-column: 1 / -1; order: 1; }
.own-order .button-red { margin-top: 14px; }

.own-header-row nav a:hover, .own-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.own-brand { font-size: 16px; }
.own-phone { padding: 8px 12px; border-radius: 10px; background: #ffe7e6; }
.service-for-students .heading-small { max-width: 610px; font-weight: 500; }
.own-grid > * { min-width: 0; }
.own-card { box-sizing: border-box; }
.own-service { display: flex; flex-direction: column; }
.own-service span { margin-top: auto; padding-top: 14px; font-size: 20px; }
.own-service:hover { background: #fff6f5; }
.own-promo { padding: clamp(22px, 4vw, 36px); border-color: #f2d3d1; }
#banners-section .own-promo h3 { color: #76231e; font-size: clamp(21px, 3vw, 28px); }
#reviews .own-card { border-left: 3px solid #ef8a85; }
#request h2 { text-align: center; }
.own-order form > .button-red { width: 100%; }
.own-faq summary { padding: 3px 0; }
.own-faq[open] summary { color: #e8211a; }
.callback-section h2 { font-weight: 700; text-wrap: balance; }
@media (max-width: 640px) {
  .own-phone { padding: 6px 8px; }
  .own-section h2 { margin-bottom: 18px; }
  .own-card, .own-order { padding: 17px; }
}
.own-section h3 { font-weight: 650; }
.own-consent { font: 400 13px/1.45 Inter, Arial, sans-serif; color: #514851; }
.own-consent a { color: #bd1e18; text-underline-offset: 2px; }
.own-consent input { accent-color: #e8211a; }
.has-work-picker { background-image: none !important; }

.own-illustration { display: block; width: 64px; height: 64px; object-fit: contain; object-position: left center; margin-bottom: 14px; }
#manager .own-illustration { width: 100%; height: 136px; object-position: center; }
#guarantees-section .own-illustration { width: 100%; height: 108px; object-position: center; }
.own-promo .own-illustration { float: right; width: clamp(72px, 15vw, 140px); height: auto; margin: 0 0 10px 18px; }
.own-promo { display: flow-root; }
.own-service:nth-child(4n + 1) { background: #e7e5f9; }
.own-service:nth-child(4n + 2) { background: #f9eae5; }
.own-service:nth-child(4n + 3) { background: #e6f1fe; }
.own-service:nth-child(4n + 4) { background: #e6fafa; }
.own-service:hover, .own-service:focus-visible { border-color: #e8211a; }

.button-red .clock path { stroke: currentColor; }
.step-number {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  margin-bottom: 12px; border-radius: 10px; background: #ffe7e6; color: #bd1e18; font-weight: 700;
}
#lead-request { scroll-margin-top: 100px; }
.lead-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.lead-phone {
  display: flex; align-items: center; min-width: 0; width: 100%;
  height: 48px; box-sizing: border-box; border: 1px solid #ded8df;
  border-radius: 12px; background: white; font: 400 16px Inter, Arial, sans-serif;
}
.lead-phone:focus-within { outline: 2px solid #bd1e18; outline-offset: 1px; }
.lead-prefix {
  display: flex; align-items: center; flex-shrink: 0; gap: 8px;
  padding: 0 10px; border-right: 1px solid #e8e2eb; color: #251d2d;
}
.lead-flag {
  display: block; flex: 0 0 24px; width: 24px; height: 15px; border-radius: 2px;
  background: linear-gradient(to bottom, #fff 0 5px, #0039a6 5px 10px, #d52b1e 10px 15px);
  box-shadow: inset 0 0 0 1px #0002;
}
form .lead-phone input[type="tel"] {
  width: 100%; min-width: 0; height: 100%; min-height: 0; padding: 0 10px;
  border: 0; outline: 0; border-radius: 0 12px 12px 0; background: transparent;
  box-shadow: none; font: inherit; color: #251d2d;
}
.example-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.example-list, .example-layout .own-order {
  min-width: 0; margin: 0; padding: clamp(16px, 3vw, 32px);
  border: 1px solid #eee3e7; border-radius: 24px;
}
.example-list { display: grid; align-content: start; gap: 10px; background: #fff; }
.example-item { padding: 15px 18px; border-radius: 14px; background: #f7f5f8; }
.example-item h3 { margin-bottom: 4px; }
.example-layout .own-order { background: #f7f5f8; }
.example-layout .own-order > h3 { margin-bottom: 16px; font-size: 22px; }
@media (max-width: 680px) { .example-layout { grid-template-columns: 1fr; } }

.lead-consents { display: grid; gap: 7px; }
.service-for-students .lead-consents { grid-column: 1 / -1; order: 1; }
.own-consent input[type="checkbox"] { flex: 0 0 17px; width: 17px; height: 17px; }
.lead-prefix { padding-inline: 12px; gap: 7px; }
.lead-phone { border-color: #dadada; }
.lead-phone:focus-within { border-color: #bd1e18; outline: 1px solid #bd1e18; }
.own-order .lead-consents { margin-top: 14px; }
.callback-section .lead-consents { margin-block: 2px; }

.work-timeline {
  max-width: 650px; margin: 0 auto; padding: 0;
  list-style: none; position: relative;
}
.work-step:not(:last-child)::before {
  content: ""; position: absolute; top: 22px; bottom: -22px; left: 21px;
  width: 2px; background: #f3c4c1;
}
.work-step {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px; align-items: start; padding-bottom: 16px;
}
.work-step:last-child { padding-bottom: 0; }
.work-step .step-number {
  position: relative; width: 44px; height: 44px; margin: 0; border-radius: 50%;
  background: #ffe7e6; color: #a71c17; box-shadow: 0 0 0 4px #fff;
}
.work-step-body { padding: 10px 0 8px; }
.work-step-body h3 { margin-bottom: 4px; }
#how-it-works .own-cta { display: table; margin: 22px auto 0; }
form .lead-phone input.lead-number {
  box-sizing: border-box; display: block; margin: 0;
  padding: 0 10px; font: 400 16px/normal Inter, Arial, sans-serif;
  text-indent: 0; vertical-align: middle; appearance: none;
}
form .lead-phone input.lead-number:focus { padding: 0 10px; border: 0; }
form .lead-phone input.lead-number:focus { padding-top: 0 !important; }

#advantages, #services-section, #manager, #faq {
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0;
}
#advantages, #manager, #faq { background: #f5f5f5; }
#advantages .own-card, #manager .own-card { border-color: transparent; border-radius: 24px; }
#services-section { background: #ffe7e6; }
#services-section .own-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#services-section .own-service {
  min-height: 158px; background: #fff; border-radius: 24px; border-color: transparent;
  transition: border-color .18s, box-shadow .18s;
}
#services-section .own-service:is(:hover, :focus-visible) {
  border-color: var(--home-accent); box-shadow: 0 4px 14px #941b1514;
}
#services-section .own-service span {
  align-self: flex-end; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border-radius: 50%;
  background: #f3f3f3; color: #333; margin-top: auto;
}
#services-section .own-service p { margin-bottom: 10px; }
#guarantees-section { background: #fff; }
#guarantees-section .own-grid { grid-template-columns: 1fr; gap: 18px; }
#guarantees-section .own-card {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: center; gap: clamp(16px, 4vw, 48px); border: 0; padding: 0;
}
#guarantees-section .own-card:nth-child(even) .own-illustration { grid-column: 2; grid-row: 1; }
#guarantees-section .own-card:nth-child(even) .guarantee-copy { grid-column: 1; grid-row: 1; }
#guarantees-section .own-illustration { height: clamp(116px, 20vw, 200px); margin: 0; }
.guarantee-copy { background: #f5f5f5; padding: clamp(17px, 3vw, 30px); border-radius: 24px; }
#manager .own-illustration { height: 160px; }
.faq-panel { overflow: hidden; border-radius: 24px; background: #fff; }
.faq-panel .own-faq { padding: 0; border-color: #eee; }
.faq-panel .own-faq:last-child { border-bottom: 0; }
.faq-panel summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 62px; padding: 12px clamp(16px, 3vw, 24px); list-style: none;
}
.faq-panel summary::-webkit-details-marker { display: none; }
.faq-chevron {
  display: grid; place-items: center; flex: 0 0 34px; height: 34px;
  border-radius: 50%; background: #eee; color: #393939;
}
.faq-chevron::before {
  content: ""; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.faq-panel details[open] .faq-chevron::before { transform: translateY(2px) rotate(225deg); }
.faq-panel summary:focus-visible { outline-offset: -3px; }
.faq-panel .own-faq p { margin: 0; padding: 0 clamp(16px, 3vw, 24px) 16px; }
#faq .own-cta { display: table; margin: 22px auto 0; }
@media (max-width: 760px) {
  #services-section .own-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 480px) {
  #services-section .own-service { padding: 13px; }
  #services-section .own-service h3 { font-size: 16px; overflow-wrap: anywhere; }
  #services-section .own-service p { font-size: 14px; }
  #guarantees-section .own-card { grid-template-columns: 1fr; gap: 8px; }
  #guarantees-section .own-card:nth-child(even) .own-illustration,
  #guarantees-section .own-card:nth-child(even) .guarantee-copy { grid-area: auto; }
}

/* Shared spacing and focus states for the landing page. */
.own-section { padding-block: clamp(36px, 5.4vw, 64px); }
.own-section h2 { margin-bottom: clamp(18px, 3vw, 30px); }
.service-for-students .heading-xlarge { text-wrap: balance; }
.service-for-students .heading-small { text-wrap: pretty; }
.service-for-students .form { margin-top: 12px; }
.own-header nav a { padding-block: 6px; }
.own-header a:focus-visible,
.own-section :is(a, summary):focus-visible,
.own-consent input:focus-visible {
  outline: 2px solid #bd1e18; outline-offset: 3px; border-radius: 4px;
}
.own-order #Topic, .own-order #Topic:focus {
  box-sizing: border-box; padding: 0 12px;
  padding-top: 0 !important;
}
.own-order #Topic:focus-visible {
  outline: 2px solid #bd1e18; outline-offset: -2px;
}
.example-layout .own-order > h3 { text-wrap: balance; }
#manager .own-card p, .guarantee-copy p { text-wrap: pretty; }
@media (max-width: 640px) {
  #lead-request, #callback, .own-section { scroll-margin-top: 110px; }
  .service-for-students .form { margin-top: 8px; }
}
@media (min-width: 960px) {
  .service-for-students form#lead-request { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
