@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #12365f;
  --navy-deep: #0a2545;
  --navy-soft: #42678e;
  --blue-bg: #eaf0f8;
  --blue-pale: #f5f8fc;
  --coral: #f24f4f;
  --coral-dark: #dc373b;
  --green: #1f9d59;
  --text: #142b48;
  --muted: #5b6d84;
  --line: #d9e3ef;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(17, 48, 82, 0.16);
  --shadow-soft: 0 10px 30px rgba(17, 48, 82, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.86), transparent 30%),
    linear-gradient(135deg, #d7e1ef 0%, #eef3fa 48%, #d8e4f2 100%);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(242, 79, 79, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1240px, calc(100% - 42px));
  margin: 28px auto;
  overflow: clip;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

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

.site-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.site-shell main {
  margin-top: 18px;
  overflow: clip;
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 205px;
  height: auto;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  position: relative;
  padding-block: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 2px;
  left: 50%;
  height: 2px;
  background: var(--coral);
  content: "";
  transition: left 180ms ease, right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  right: 0;
  left: 0;
}

.header-phone {
  display: inline-flex;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  gap: 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(18, 54, 95, 0.2);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone::before {
  content: "☎";
  font-size: 18px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  place-items: center;
  color: var(--navy);
  background: var(--blue-pale);
  border-radius: 12px;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-open .menu-toggle {
  color: var(--white);
  background: var(--navy);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 23px;
  height: 2px;
  background: currentColor;
  border-radius: 9px;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -7px;
}

.menu-toggle span::after {
  position: absolute;
  top: 7px;
}

.nav-open .menu-toggle span {
  background: transparent;
}

.nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.section {
  padding: 78px 0;
}

.section--soft {
  background: var(--blue-pale);
}

.section--navy {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.08), transparent 35%),
    linear-gradient(135deg, var(--navy-deep), #173f6c);
}

.section-heading {
  display: grid;
  max-width: 740px;
  margin: 0 auto 38px;
  gap: 10px;
  text-align: center;
}

.section-heading--left {
  margin-inline: 0;
  text-align: left;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-deep);
  line-height: 1.2;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section--navy h2,
.section--navy h3,
.section--navy .section-heading p:not(.eyebrow) {
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 590px;
  align-items: center;
  overflow: hidden;
  background: #fbfcfe;
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 38%, rgba(255, 255, 255, 0.48) 62%, rgba(255, 255, 255, 0.04) 100%);
  content: "";
  pointer-events: none;
}

.hero__media {
  position: absolute;
  right: 0;
  width: 72%;
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(660px, 62%);
  padding: 68px 0;
}

.hero__lead {
  max-width: 600px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.heart {
  color: var(--coral);
}

.check-list {
  display: grid;
  margin: 0 0 30px;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 17px;
}

.check-list li::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  content: "✓";
  font-size: 14px;
  font-weight: 800;
}

.hero__actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button--primary {
  color: var(--white);
  background: linear-gradient(180deg, #ff5959, var(--coral-dark));
  box-shadow: 0 10px 20px rgba(220, 55, 59, 0.25);
}

.button--navy {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 10px 20px rgba(18, 54, 95, 0.2);
}

.button--telegram {
  color: var(--white);
  background: #229ed9;
  box-shadow: 0 10px 20px rgba(34, 158, 217, 0.2);
}

.button--max {
  color: var(--white);
  background: linear-gradient(135deg, #7056ff, #3e78ff);
  box-shadow: 0 10px 20px rgba(79, 99, 255, 0.2);
}

.button--ghost {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.hero__direct {
  display: flex;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 18px;
}

.hero__direct a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(18, 54, 95, 0.3);
  text-underline-offset: 4px;
}

.trust-strip {
  display: grid;
  padding: 22px 0;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: flex;
  min-height: 46px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--navy);
  text-align: center;
  font-weight: 700;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 12px;
  font-size: 19px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(17, 48, 82, 0.15);
}

.service-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-bg);
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.service-card__image img.service-card__image--faces {
  object-position: center 35%;
}

.service-card:hover .service-card__image img {
  transform: scale(1.035);
}

.service-card__body {
  display: flex;
  min-height: 220px;
  padding: 22px;
  flex: 1;
  flex-direction: column;
}

.service-card__body p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.service-card__body .service-card__price {
  margin-bottom: 9px;
  color: var(--coral);
  font-weight: 800;
}

.service-card__link {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  padding: 0 24px;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  background: linear-gradient(135deg, #ff8582, #ef706c);
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(255, 114, 118, 0.28);
  font-size: 14px;
  font-weight: 800;
  transition: filter 180ms ease, transform 180ms ease;
}

.service-card__link:hover {
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.service-card__link::after {
  content: none;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card {
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.work-card__images {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--white);
  border-radius: 12px;
}

.work-card__image {
  position: relative;
  min-width: 0;
}

.work-card__image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.work-card__label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  color: var(--white);
  background: rgba(10, 37, 69, 0.88);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.work-card__image:last-child .work-card__label {
  right: 12px;
  left: auto;
  background: rgba(31, 157, 89, 0.9);
}

.work-card h3 {
  margin: 16px 4px 2px;
}

.work-card p {
  margin: 0 4px 4px;
  color: var(--muted);
  font-size: 14px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.price-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--navy));
  content: "";
}

.price-card__value {
  display: block;
  margin: 12px 0 15px;
  color: var(--coral-dark);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
}

.price-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.factor-grid,
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.factor-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.factor-card,
.service-list__item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.factor-card strong,
.service-list__item strong {
  display: block;
  color: var(--navy);
}

.factor-card p,
.service-list__item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-action {
  display: flex;
  margin-top: 28px;
  justify-content: center;
}

.testimonial {
  display: flex;
  min-height: 230px;
  padding: 24px;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.testimonial__stars {
  margin-bottom: 15px;
  color: #f6a821;
  letter-spacing: 0.08em;
}

.testimonial__service {
  margin: -4px 0 11px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonial blockquote {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 15px;
}

.testimonial footer {
  margin-top: auto;
  color: var(--navy);
  font-weight: 800;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  padding: 28px 24px 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step-card__number {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border-radius: 50%;
  font-weight: 800;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background:
    linear-gradient(90deg, rgba(10, 37, 69, 0.97) 0%, rgba(10, 37, 69, 0.9) 48%, rgba(10, 37, 69, 0.42) 100%),
    var(--service-image, none) center / cover no-repeat;
}

.service-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.service-hero h1,
.service-hero .hero__lead,
.service-hero .check-list li,
.service-hero .breadcrumb,
.service-hero .breadcrumb a {
  color: var(--white);
}

.service-hero .check-list {
  grid-template-columns: repeat(3, auto);
  gap: 12px 24px;
}

.service-hero .check-list li::before {
  color: var(--navy-deep);
  background: var(--white);
}

.breadcrumb {
  display: flex;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb span::before {
  margin-right: 8px;
  content: "/";
  opacity: 0.7;
}

.price-highlight {
  display: grid;
  padding: 32px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.price-highlight__value {
  margin: 0;
  color: var(--coral-dark);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
}

.price-highlight__meta {
  margin: 8px 0 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  max-width: 860px;
  margin-inline: auto;
  gap: 12px;
}

.faq-list details {
  padding: 0 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq-list summary {
  position: relative;
  padding: 20px 36px 20px 0;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  content: "+";
  font-size: 24px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin-bottom: 20px;
  color: var(--muted);
}

.seo-block {
  padding: 34px;
  background: var(--blue-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.seo-block h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.seo-block p {
  color: var(--muted);
}

.seo-block p:last-child {
  margin-bottom: 0;
}

.cta-panel {
  display: grid;
  padding: 42px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep), #1d4d82);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
  color: var(--white);
}

.cta-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel .button--ghost {
  color: var(--navy);
}

.job-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.job-perk {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.job-perk strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #071f3a;
}

.footer-main {
  display: grid;
  padding: 52px 0 38px;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 46px;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-main h2,
.footer-main h3 {
  color: var(--white);
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  padding: 20px 0;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  z-index: 150;
  display: grid;
  padding: 22px;
  place-items: center;
  inset: 0;
}

.contact-modal__backdrop {
  position: absolute;
  background: rgba(3, 18, 34, 0.72);
  backdrop-filter: blur(7px);
  inset: 0;
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 34px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.contact-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: var(--blue-pale);
  border-radius: 50%;
  cursor: pointer;
  font-size: 23px;
}

.contact-modal h2 {
  padding-right: 40px;
  font-size: 30px;
}

.contact-modal p {
  color: var(--muted);
}

.contact-modal__actions {
  display: grid;
  gap: 12px;
}

.mobile-cta {
  display: none;
}

.no-js .menu-toggle,
.no-js .mobile-nav {
  display: none;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 18px;
  }

  .header-phone {
    padding-inline: 14px;
  }

  .brand img {
    width: 176px;
  }

  .job-perks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .site-header .header-phone {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transition: max-height 220ms ease, opacity 180ms ease;
  }

  .nav-open .mobile-nav {
    max-height: 470px;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav__inner {
    display: grid;
    padding: 18px 0 24px;
    gap: 3px;
  }

  .mobile-nav a {
    padding: 11px 0;
    color: var(--navy);
    font-weight: 700;
  }

  .mobile-nav .button {
    margin-top: 8px;
    color: var(--white);
  }

  .hero__content {
    width: min(680px, 72%);
  }

  .services-grid,
  .price-grid,
  .factor-grid,
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
    background: var(--white);
  }

  .site-shell {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header {
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
  }

  .site-shell main {
    margin-top: 0;
    border-radius: 0;
  }

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

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 168px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero::after {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 48%, rgba(255, 255, 255, 0.18) 72%, rgba(255, 255, 255, 0) 100%);
  }

  .hero__content {
    width: 100%;
    min-height: 720px;
    padding: 45px 0 320px;
  }

  .hero__media {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 420px;
  }

  .hero__media img {
    object-position: 64% center;
  }

  h1 {
    font-size: clamp(36px, 11vw, 49px);
  }

  .hero__actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__direct {
    display: none;
  }

  .trust-strip {
    padding: 0 16px;
    grid-template-columns: 1fr;
  }

  .trust-item {
    justify-content: flex-start;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .services-grid,
  .works-grid,
  .price-grid,
  .factor-grid,
  .service-list,
  .testimonials-grid,
  .steps-grid,
  .job-perks,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .service-card__body {
    min-height: 0;
  }

  .work-card__image img {
    height: 190px;
  }

  .service-hero {
    padding: 54px 0 52px;
    background-position: 68% center;
  }

  .service-hero .check-list {
    grid-template-columns: 1fr;
  }

  .price-highlight,
  .cta-panel {
    padding: 28px 22px;
    grid-template-columns: 1fr;
  }

  .seo-block {
    padding: 26px 20px;
  }

  .footer-brand {
    grid-column: auto;
  }

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

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr) 52px 52px;
    gap: 9px;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px rgba(10, 37, 69, 0.13);
    backdrop-filter: blur(12px);
  }

  .mobile-cta .button {
    min-height: 52px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .mobile-cta .mobile-cta__messenger {
    width: 52px;
    min-width: 52px;
    padding: 0;
    border-radius: 11px;
  }

  .mobile-cta .mobile-cta__messenger--telegram {
    background: #229ed9;
    box-shadow: 0 8px 18px rgba(34, 158, 217, 0.28);
  }

  .mobile-cta .mobile-cta__messenger--max {
    background: linear-gradient(135deg, #7056ff, #3e78ff);
    box-shadow: 0 8px 18px rgba(79, 99, 255, 0.28);
  }

  .mobile-cta__messenger img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
  }

  .mobile-cta--job {
    grid-template-columns: 1fr;
  }
}

/* Clean service hero: white content surface with a soft image reveal on the right. */
.service-hero {
  min-height: 560px;
  padding: 0;
  isolation: isolate;
  background: #fff;
  box-shadow: none;
}

.service-hero::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 68%;
  content: "";
  background: var(--service-image, none) center / cover no-repeat;
}

.service-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 38%,
    rgba(255, 255, 255, 0.98) 47%,
    rgba(255, 255, 255, 0.82) 58%,
    rgba(255, 255, 255, 0.34) 70%,
    rgba(255, 255, 255, 0) 84%
  );
}

.service-hero > .container {
  position: relative;
  z-index: 2;
}

.service-hero__content {
  width: min(56%, 640px);
  padding: 94px 0 48px;
}

.service-hero h1,
.service-hero .hero__lead,
.service-hero .check-list li,
.service-hero .breadcrumb,
.service-hero .breadcrumb a {
  color: var(--navy);
  text-shadow: none;
}

.service-back {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: max(24px, calc((100% - var(--container)) / 2));
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d9e1ec;
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(34, 60, 94, 0.1);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-back:hover {
  color: var(--coral-dark);
  border-color: var(--coral);
  transform: translateX(-2px);
}

.service-back:focus-visible {
  outline: 3px solid rgba(255, 114, 118, 0.3);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .service-hero__content {
    width: min(68%, 610px);
  }

  .service-back {
    left: 24px;
  }
}

@media (max-width: 720px) {
  .service-hero {
    min-height: 700px;
  }

  .service-hero::before {
    top: auto;
    width: 100%;
    height: 46%;
    background-position: 68% center;
  }

  .service-hero::after {
    background: linear-gradient(
      180deg,
      #fff 0%,
      #fff 52%,
      rgba(255, 255, 255, 0.98) 60%,
      rgba(255, 255, 255, 0.42) 78%,
      rgba(255, 255, 255, 0.08) 100%
    );
  }

  .service-hero__content {
    width: 100%;
    padding: 82px 0 250px;
  }

  .service-back {
    top: 18px;
    left: 18px;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 151px;
  }

  .hero__content {
    min-height: 760px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .work-card__image img {
    height: 155px;
  }

  .contact-modal__dialog {
    padding: 28px 20px 22px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Content-rich service pages sourced from the approved Miro boards. */
.service-list__item {
  display: flex;
  min-height: 164px;
  flex-direction: column;
}

.service-list__price {
  display: block;
  margin-top: 16px;
  color: var(--coral-dark);
  font-size: 22px;
  font-weight: 800;
}

.service-list__price small {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.service-list__item p {
  margin-top: auto;
  padding-top: 8px;
}

.work-card--detailed {
  max-width: 920px;
  margin-inline: auto;
  padding: 18px;
}

.work-card--detailed .work-card__image img {
  height: clamp(220px, 31vw, 370px);
}

.work-card__content {
  padding: 8px 4px 2px;
}

.work-card__content h3 {
  margin: 16px 0 10px;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 30px);
}

.work-card__content p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.case-meta {
  display: flex;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.case-meta span,
.case-meta strong {
  padding: 9px 13px;
  border-radius: 999px;
  background: #eef2f8;
  color: var(--navy);
  font-size: 13px;
}

.case-meta strong {
  background: var(--blush);
  color: var(--coral-dark);
}

.case-stack {
  display: flex;
  max-width: 920px;
  margin: 22px auto 0;
  flex-direction: column;
  gap: 22px;
}

.work-card--pending-media {
  width: 100%;
}

.work-card--pending-media .work-card__image img {
  height: clamp(220px, 31vw, 370px);
}

.work-card--pending-media .eyebrow {
  margin: 0 0 9px;
  font-size: 12px;
}

.work-card--pending-media h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 30px);
}

.work-card--pending-media p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.work-card--pending-media .work-card__content > strong {
  display: inline-block;
  margin-top: 4px;
  color: var(--coral-dark);
  font-size: 20px;
}

.case-photo-slots {
  gap: 8px;
  background: #eef2f8;
}

.case-photo-slot {
  display: flex;
  min-height: clamp(220px, 31vw, 370px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(229, 234, 245, 0.9)),
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(34, 60, 94, 0.05) 16px 32px);
  border: 1px dashed #b9c4d6;
  text-align: center;
}

.case-photo-slot span {
  font-size: 18px;
  font-weight: 800;
}

.case-photo-slot small {
  color: var(--muted);
  font-size: 13px;
}

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

.steps-grid--four .step-card {
  padding-inline: 20px;
}

@media (max-width: 980px) {
  .steps-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .steps-grid--four {
    grid-template-columns: 1fr;
  }

  .work-card--detailed .work-card__images {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .work-card--detailed .work-card__image img {
    height: 220px;
  }

  .work-card--pending-media .work-card__image img {
    height: 220px;
  }

  .work-card--detailed .work-card__image:last-child .work-card__label {
    right: auto;
    left: 12px;
  }

  .case-photo-slot {
    min-height: 220px;
  }
}

/* Figma-aligned treatment for the detailed and SEO pages. */
:root {
  --navy: #223c5e;
  --navy-deep: #183553;
  --navy-soft: #42678e;
  --blue-bg: #eef1f8;
  --blue-pale: #fff8f7;
  --coral: #ff7276;
  --coral-dark: #ec6d69;
  --text: #223c5e;
  --muted: #586b82;
  --line: #d4dae6;
  --shadow: 4px 4px 22px rgba(0, 0, 0, 0.13);
  --shadow-soft: 4px 4px 18px rgba(0, 0, 0, 0.11);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 10px;
  --container: 1120px;
}

body {
  color: var(--navy);
  background: #c4cae1;
  line-height: 1.55;
}

.site-shell {
  width: min(1210px, calc(100% - 64px));
  margin: 36px auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-header {
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fdfdfe;
  box-shadow: var(--shadow);
}

.site-shell main {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.header-inner {
  min-height: 96px;
  padding-inline: 10px;
  gap: 28px;
}

.brand img {
  width: 265px;
}

.desktop-nav {
  gap: 28px;
}

.desktop-nav a {
  color: var(--navy);
  font-size: 20px;
  font-weight: 500;
}

.header-phone {
  min-width: 236px;
  min-height: 48px;
  justify-content: center;
  background: linear-gradient(135deg, #315b8c, #244972);
  font-size: 17px;
  font-weight: 600;
}

.header-phone::before {
  display: none;
}

.header-contacts {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.header-contacts .header-phone {
  min-width: 190px;
}

.header-messenger {
  display: inline-flex;
  min-width: 40px;
  min-height: 42px;
  padding-inline: 7px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 9px;
  box-shadow: 0 6px 14px rgba(34, 60, 94, 0.18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-messenger img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.header-messenger--telegram {
  background: #229ed9;
}

.header-messenger--max {
  min-width: 42px;
  background: linear-gradient(135deg, #7056ff, #3e78ff);
}

.header-messenger--max img {
  width: 23px;
  height: 23px;
  filter: brightness(0) invert(1);
}

.header-messenger:hover {
  color: #fff;
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.mobile-nav__contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.section {
  padding: 58px 0;
}

.section--soft {
  background: #fff8f7;
}

.section--navy {
  color: var(--navy);
  background: #fff;
}

.section--navy h2,
.section--navy h3,
.section--navy .section-heading p:not(.eyebrow) {
  color: var(--navy);
}

.section-heading {
  max-width: none;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
}

.section-heading::before,
.section-heading::after {
  height: 1px;
  content: "";
  background: var(--line);
}

.section-heading > * {
  grid-column: 2;
}

.section-heading h2 {
  margin: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 740px;
  margin-inline: auto;
}

.eyebrow {
  color: var(--coral-dark);
}

.service-hero {
  min-height: 538px;
  background-color: #fff;
  background-position: right center;
}

.service-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.62) 48%, rgba(255, 255, 255, 0.18) 100%),
    var(--service-image, none) center / cover no-repeat;
  opacity: 0.72;
}

.service-hero__content {
  width: min(58%, 650px);
  padding: 57px 0 42px;
}

.service-back {
  top: 12px;
  min-height: 34px;
  padding-inline: 12px;
  border-radius: 9px;
  font-size: 13px;
}

.service-hero h1,
.service-hero .hero__lead,
.service-hero .check-list li,
.service-hero .breadcrumb,
.service-hero .breadcrumb a {
  color: var(--navy);
}

.button--primary,
.button--telegram,
.button--max {
  background: linear-gradient(135deg, #ff8582, #ef706c);
  box-shadow: 0 10px 22px rgba(255, 114, 118, 0.28);
}

.button--navy,
.button--ghost {
  color: #fff;
  background: linear-gradient(135deg, #315b8c, #244972);
  border-color: transparent;
}

.service-card,
.price-card,
.factor-card,
.service-list__item,
.testimonial,
.step-card,
.faq-list details,
.job-perk {
  border-color: #ffd5d3;
  border-radius: 8px;
  background: #ffe5e3;
  box-shadow: 4px 5px 12px rgba(0, 0, 0, 0.13);
}

.service-card__body {
  background: #ffe5e3;
}

.service-card h2 {
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.work-card {
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.price-highlight,
.cta-panel,
.seo-block {
  border: 1px solid #ffd5d3;
  border-radius: 12px;
  background: #fff3f2;
}

.cta-panel,
.cta-panel h2 {
  color: var(--navy);
}

.cta-panel p {
  color: var(--muted);
}

.cta-panel .button--ghost {
  color: #fff;
}

.site-footer {
  color: var(--navy);
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: var(--shadow);
}

.footer-main {
  display: none;
}

.footer-bottom {
  display: grid;
  min-height: 116px;
  padding-block: 28px;
  justify-content: center;
  gap: 5px;
  border-top: 1px solid #edf0f5;
  font-size: 13px;
  text-align: center;
}

.footer-bottom span:last-child {
  color: #9eaabd;
  font-size: 11px;
}

@media (max-width: 1350px) and (min-width: 921px) {
  .header-inner {
    padding-inline: 18px;
    gap: 14px;
  }

  .brand img {
    width: 225px;
  }

  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 16px;
  }

  .header-contacts .header-phone {
    min-width: 174px;
    padding-inline: 14px;
    font-size: 15px;
  }
}

@media (max-width: 1120px) {
  .brand img {
    width: 225px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 17px;
  }

  .header-phone {
    min-width: 180px;
    font-size: 15px;
  }

  .header-inner {
    gap: 18px;
  }

  .header-messenger {
    min-width: 42px;
    min-height: 42px;
    padding-inline: 7px;
  }

  .header-messenger--max {
    min-width: 42px;
  }
}

@media (min-width: 921px) and (max-width: 1240px) {
  .header-inner {
    gap: 18px;
  }

  .brand img {
    width: 225px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 17px;
  }

  .header-phone {
    min-width: 180px;
    font-size: 15px;
  }

  .header-messenger {
    min-width: 42px;
    min-height: 42px;
    padding-inline: 7px;
  }
}

@media (max-width: 920px) {
  .site-header .header-contacts {
    display: none;
  }

  .mobile-nav {
    position: static;
    display: none;
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  .nav-open .mobile-nav {
    display: block;
    max-height: none;
  }

  .mobile-nav__inner {
    padding: 0 0 24px;
    gap: 8px;
  }

  .mobile-nav a,
  .mobile-nav .button {
    display: block;
    margin: 0;
    padding: 13px 15px;
    color: var(--navy);
    background: #f3f5fa;
    border-radius: 9px;
    font-weight: 600;
  }

  .site-shell {
    width: min(1210px, calc(100% - 32px));
    margin: 16px auto 94px;
  }

  .header-inner {
    min-height: 82px;
    padding-inline: 18px;
  }

  .brand img {
    width: 218px;
  }

  .service-hero {
    min-height: 570px;
  }

  .service-hero__content {
    width: min(78%, 650px);
  }
}

@media (max-width: 520px) {
  .mobile-nav__contacts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(1210px, calc(100% - 20px));
    margin-top: 10px;
  }

  .site-shell main {
    margin-top: 12px;
  }

  .brand img {
    width: 185px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading::before,
  .section-heading::after {
    display: none;
  }

  .section-heading > * {
    grid-column: 1;
  }

  .service-hero {
    min-height: 590px;
    background-position: 65% bottom;
  }

  .service-hero::before {
    background:
      linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.96) 42%, rgba(255, 255, 255, 0.5) 72%, rgba(255, 255, 255, 0.12) 100%),
      var(--service-image, none) 68% center / cover no-repeat;
  }

  .service-hero__content {
    width: 100%;
    padding-top: 68px;
  }

  .service-back {
    top: 12px;
  }
}

/* Service options: clean photo above a separate text panel. */
.service-list__item--media {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #ffe5e3;
  border-color: var(--line);
}

.service-list__title {
  display: block;
  order: 2;
  padding: 20px 20px 0;
  text-align: left;
  background: #ffe5e3;
  font-size: 18px;
  line-height: 1.2;
}

.service-list__media {
  display: block;
  order: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 31%;
}

.service-list__item--media::after {
  display: none;
}

.service-list__content {
  display: flex;
  order: 3;
  width: 100%;
  flex: 1;
  flex-direction: column;
  margin-top: 0;
  padding: 8px 20px 22px;
  background: #ffe5e3;
}

.service-list__item--media .service-list__price {
  margin-top: 0;
}

.service-list__item--media p {
  margin-top: 0;
  padding-top: 10px;
}

/* Reviews page: compact before/after showcase across every service. */
.results-showcase {
  scroll-margin-top: 24px;
}

.results-showcase__nav {
  display: flex;
  margin: 0 auto 8px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.results-showcase__nav a {
  padding: 10px 15px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(30, 55, 89, 0.07);
}

.results-showcase__nav a:hover,
.results-showcase__nav a:focus-visible {
  color: var(--white);
  background: var(--coral-dark);
  border-color: var(--coral-dark);
}

.result-group {
  padding-top: 48px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.result-group__heading {
  display: flex;
  margin-bottom: 22px;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.result-group__heading > div {
  max-width: 760px;
}

.result-group__heading .eyebrow {
  margin-bottom: 7px;
}

.result-group__heading h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
}

.result-group__heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.result-group__heading > a {
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: var(--coral-dark);
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.result-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #ffd5d3;
  border-radius: 10px;
  box-shadow: 4px 5px 12px rgba(0, 0, 0, 0.11);
}

.result-card__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  background: #dce3ee;
}

.result-card__images .work-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.result-card__images .work-card__label {
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  font-size: 10px;
}

.result-card__images .work-card__image:last-child .work-card__label {
  right: 8px;
  left: auto;
}

.result-card__body {
  display: flex;
  padding: 18px;
  flex: 1;
  flex-direction: column;
}

.result-card__body h4 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.result-card__body > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.result-card__footer {
  display: flex;
  padding-top: 13px;
  margin-top: auto;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  transform: translateY(10px);
}

.result-card__footer span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.result-card__footer strong {
  color: var(--coral-dark);
  font-size: 14px;
  line-height: 1.25;
  text-align: right;
}

@media (max-width: 980px) {
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .result-group {
    padding-top: 36px;
    margin-top: 36px;
  }

  .result-group__heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

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

  .result-card__body {
    padding: 17px;
  }
}

/* SEO-friendly price directory and transparent order calculations. */
.price-catalog {
  scroll-margin-top: 24px;
}

.price-catalog__nav {
  display: flex;
  margin: 0 auto 8px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.price-catalog__nav a {
  padding: 10px 15px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(30, 55, 89, 0.07);
}

.price-catalog__nav a:hover,
.price-catalog__nav a:focus-visible {
  color: var(--white);
  background: var(--coral-dark);
  border-color: var(--coral-dark);
}

.price-category {
  padding-top: 44px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.price-category__heading {
  display: flex;
  margin-bottom: 20px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.price-category__heading > div {
  max-width: 790px;
}

.price-category__heading .eyebrow {
  margin-bottom: 7px;
}

.price-category__heading h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.15;
}

.price-category__heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.price-category__heading > a {
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: var(--coral-dark);
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.price-services {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.price-service {
  display: flex;
  min-width: 0;
  padding: 16px 17px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border: 1px solid #ffd5d3;
  border-radius: 8px;
  box-shadow: 0 5px 12px rgba(30, 55, 89, 0.07);
}

.price-service > div {
  min-width: 0;
}

.price-service strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.3;
}

.price-service span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.price-service b {
  max-width: 145px;
  flex: 0 0 auto;
  color: var(--coral-dark);
  font-size: 14px;
  line-height: 1.25;
  text-align: right;
}

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

.calculation-card {
  padding: 24px;
  background: #fff3f2;
  border: 1px solid #ffd5d3;
  border-radius: 12px;
  box-shadow: 4px 5px 12px rgba(0, 0, 0, 0.09);
}

.calculation-card__label {
  margin: 0 0 7px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.calculation-card h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 22px;
}

.calculation-card__formula {
  display: flex;
  padding: 13px 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.calculation-card__formula i {
  color: var(--coral-dark);
  font-style: normal;
}

.calculation-card__total {
  display: flex;
  margin: 16px 0 10px;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy);
}

.calculation-card__total strong {
  color: var(--coral-dark);
  font-size: 27px;
}

.calculation-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .price-category__heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .price-services,
  .calculation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .price-category {
    padding-top: 34px;
    margin-top: 34px;
  }

  .price-service {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .price-service b {
    max-width: none;
    text-align: left;
  }

  .calculation-card {
    padding: 20px;
  }
}
