:root {
  --page: #f6f2ea;
  --surface: #fffdf9;
  --surface-soft: #ebe4d9;
  --ink: #202823;
  --ink-soft: #566158;
  --muted: #7b837a;
  --brand: #2f5f55;
  --brand-dark: #173b35;
  --accent: #b79668;
  --accent-soft: #e7dac6;
  --line: rgba(32, 40, 35, 0.12);
  --shadow: 0 26px 80px rgba(42, 55, 47, 0.13);
  --shadow-soft: 0 16px 48px rgba(42, 55, 47, 0.09);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 0%, rgba(183, 150, 104, 0.22), transparent 31rem),
    linear-gradient(180deg, #faf7f1 0%, var(--page) 52%, #f7f4ee 100%);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

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

.section { padding: 104px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

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

h1, h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 { max-width: 840px; font-size: clamp(50px, 7.5vw, 96px); }
h2 { font-size: clamp(36px, 4.6vw, 62px); }
h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.18; }
p { color: var(--ink-soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.service-bar {
  color: rgba(255, 255, 255, 0.84);
  background: var(--brand-dark);
  font-size: 13px;
}

.service-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.logo-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(23, 59, 53, 0.22);
}

.logo-mark svg { width: 24px; height: 24px; fill: currentColor; }
.logo strong, .logo small { display: block; }
.logo strong { font-size: 18px; letter-spacing: -0.02em; }
.logo small { color: var(--muted); font-size: 12px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  color: var(--ink-soft);
  background: rgba(255, 253, 249, 0.64);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-dark);
  background: var(--accent-soft);
}

.header-phone {
  display: grid;
  min-width: max-content;
  text-align: right;
}

.header-phone span { color: var(--muted); font-size: 12px; }
.header-phone strong { color: var(--brand-dark); font-size: 18px; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 84px;
}

.hero::after {
  position: absolute;
  right: -14vw;
  top: 90px;
  width: 48vw;
  height: 48vw;
  min-width: 460px;
  min-height: 460px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(47, 95, 85, 0.16), transparent 62%),
    repeating-linear-gradient(135deg, rgba(47,95,85,0.09) 0 1px, transparent 1px 20px);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 410px;
  gap: 56px;
  align-items: center;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 34px;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.trust-row,
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(183, 150, 104, 0.72);
  outline-offset: 3px;
}
.button-primary { color: #fff; background: var(--brand-dark); box-shadow: 0 18px 42px rgba(23, 59, 53, 0.24); }
.button-secondary { color: var(--brand-dark); background: rgba(255,255,255,0.62); border-color: var(--line); }

.arrival-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin-top: 18px;
  padding: 13px 17px 13px 13px;
  color: var(--brand-dark);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.94), rgba(231, 218, 198, 0.72));
  border: 1px solid rgba(183, 150, 104, 0.38);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 18px 44px rgba(42, 55, 47, 0.11);
}

.arrival-badge__icon {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(23, 59, 53, 0.2);
}

.arrival-badge__icon .icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}

.arrival-badge strong,
.arrival-badge small { display: block; }

.arrival-badge strong {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.arrival-badge small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.discount-badge {
  margin-top: 12px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.96), rgba(183, 150, 104, 0.2));
  border-color: rgba(183, 150, 104, 0.48);
}

.discount-badge .arrival-badge__icon {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-shell {
  display: inline-grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--brand-dark);
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.92), rgba(231, 218, 198, 0.58));
  border: 1px solid rgba(183, 150, 104, 0.34);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 14px 34px rgba(42, 55, 47, 0.1);
}

.icon-shell .icon { font-size: 27px; }

.trust-row { margin-top: 34px; }
.trust-row span,
.contact-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: var(--ink-soft);
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-panel,
.service-card,
.law-card,
.penalty-card,
.partners-panel,
.price-card,
.advantages-grid article,
.faq-list details,
.contact-form {
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(32, 40, 35, 0.11);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.hero-panel::before {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(183, 150, 104, 0.34);
  border-radius: 28px;
  content: "";
}

.hero-panel > *:not(.photo-frame--hero) {
  position: relative;
  z-index: 1;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.28), rgba(23, 59, 53, 0.08)),
    radial-gradient(circle at 28% 24%, rgba(183, 150, 104, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.74), rgba(231, 218, 198, 0.52));
  border: 1px solid rgba(183, 150, 104, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), var(--shadow-soft);
}

.photo-frame::before {
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(255, 253, 249, 0.44);
  border-radius: inherit;
  content: "";
}

.photo-frame::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 86px;
  height: 86px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(47, 95, 85, 0.11), transparent 67%);
  border-radius: 50%;
  content: "";
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame--placeholder {
  display: grid;
  place-items: center;
  color: rgba(23, 59, 53, 0.54);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.photo-frame--hero {
  z-index: 1;
  min-height: 286px;
  margin: -12px -12px 20px;
  background:
    linear-gradient(180deg, rgba(23, 59, 53, 0.06), rgba(23, 59, 53, 0.18)),
    radial-gradient(circle at 30% 20%, rgba(255, 253, 249, 0.78), transparent 30%),
    linear-gradient(145deg, rgba(231, 218, 198, 0.72), rgba(183, 150, 104, 0.28));
  border-radius: 30px;
}

.photo-frame--about {
  width: 116px;
  height: 116px;
  border-radius: 24px;
}

.photo-frame--contact {
  width: min(100%, 360px);
  aspect-ratio: 16 / 10;
  margin-top: 28px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
}

.panel-topline,
.badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  color: var(--brand-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.panel-list,
.warning-list,
.partners-list,
.price-card ul {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.panel-list li,
.warning-list li,
.partners-list li,
.price-card li {
  position: relative;
  padding-left: 26px;
  margin-top: 11px;
  color: var(--ink-soft);
}

.panel-list li::before,
.partners-list li::before,
.price-card li::before {
  position: absolute;
  left: 0;
  color: var(--brand);
  content: "✓";
  font-weight: 900;
}

.warning-list li::before {
  position: absolute;
  left: 0;
  color: #a06a34;
  content: "—";
  font-weight: 900;
}

.panel-phone {
  display: inline-flex;
  margin-top: 26px;
  color: var(--brand-dark);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head--split {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
  align-items: end;
  max-width: none;
}
.section-head--split > p { margin-bottom: 28px; }

.service-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  padding: 30px;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card--large { grid-row: span 2; color: #fff; background: linear-gradient(150deg, var(--brand-dark), var(--brand)); }
.service-card--large p { color: rgba(255,255,255,0.78); }
.service-card--large a { color: #f4dfbd; font-weight: 800; }
.service-card > * { position: relative; z-index: 1; }
.service-card--with-paw::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 88px;
  height: 72px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 72%, currentColor 0 19px, transparent 20px),
    radial-gradient(circle at 22% 38%, currentColor 0 10px, transparent 11px),
    radial-gradient(circle at 43% 24%, currentColor 0 11px, transparent 12px),
    radial-gradient(circle at 64% 24%, currentColor 0 11px, transparent 12px),
    radial-gradient(circle at 82% 38%, currentColor 0 10px, transparent 11px);
  color: rgba(47, 95, 85, 0.08);
  content: "";
  transform: rotate(-12deg);
}
.service-card--large.service-card--with-paw::after { color: rgba(255, 253, 249, 0.12); }
.card-number { display: block; margin-bottom: 58px; color: var(--accent); font-weight: 900; letter-spacing: 0.12em; }

.law,
.process,
.faq { background: rgba(235, 228, 217, 0.44); }

.process {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(250, 247, 241, 0.42), rgba(246, 242, 234, 0.82));
}

.process::before {
  position: absolute;
  top: 44px;
  right: max(-110px, calc((100vw - 1180px) / 2 - 150px));
  z-index: 0;
  width: min(58vw, 760px);
  height: min(52vw, 660px);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(246, 242, 234, 0.72) 0%, rgba(246, 242, 234, 0.2) 42%, rgba(246, 242, 234, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.08), rgba(23, 59, 53, 0.06)),
    url("assets/photos/process-pet.jpg") center 42% / cover no-repeat;
  border-radius: 52px 0 0 52px;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 249, 0.46), 0 32px 90px rgba(42, 55, 47, 0.14);
  content: "";
}

.process::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 79% 30%, rgba(255, 253, 249, 0.32), transparent 22rem),
    radial-gradient(circle at 12% 76%, rgba(183, 150, 104, 0.15), transparent 24rem),
    linear-gradient(90deg, rgba(246, 242, 234, 0.96) 0%, rgba(246, 242, 234, 0.76) 46%, rgba(246, 242, 234, 0.24) 100%);
  content: "";
}

.process .section-head,
.process .timeline {
  position: relative;
  z-index: 1;
}

.process .section-head {
  max-width: 760px;
}

.law-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 20px;
  align-items: stretch;
}

.law-intro {
  padding: 38px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-dark), #2c5c52);
  border-radius: var(--radius-xl);
}
.law-intro h2 { color: #fff; }
.law-intro p, .law-intro .eyebrow { color: rgba(255,255,255,0.82); }
.law-card, .penalty-card { padding: 30px; border-radius: var(--radius-lg); }
.penalty-card dl, .penalty-card dd { margin: 0; }
.penalty-card div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.penalty-card div:last-child { border-bottom: 0; }
.penalty-card dt { color: var(--muted); }
.penalty-card dd { font-weight: 900; white-space: nowrap; }

.about-grid,
.faq-layout,
.contacts-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.text-block p { font-size: 18px; }
.pet-note {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
  padding: 18px 20px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(183, 150, 104, 0.26);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.pet-note p { margin: 0; color: var(--brand-dark); font-weight: 750; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.proof-grid span { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink-soft); }
.proof-grid strong { display: block; color: var(--brand-dark); }

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

.timeline article {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.92), rgba(250, 247, 241, 0.76));
  border: 1px solid rgba(183, 150, 104, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 14px 34px rgba(42, 55, 47, 0.1);
}

.timeline-step {
  position: relative;
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--brand-dark);
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid rgba(47, 95, 85, 0.2);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68), 0 12px 30px rgba(42, 55, 47, 0.08);
}

.timeline-step .icon { font-size: 28px; }

.step-number {
  position: absolute;
  right: -7px;
  top: -8px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border: 2px solid rgba(255, 253, 249, 0.9);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.partners-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  padding: 42px;
  border-radius: var(--radius-xl);
}

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

.price-card,
.advantages-grid article {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.price-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.price-card--featured:hover { transform: translateY(-16px); }

.price-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.price-card__head h3 { margin-bottom: 0; }

.price-icon { color: var(--brand); }

.price-card--featured {
  color: #fff;
  background: linear-gradient(150deg, var(--brand-dark), #255248);
  transform: translateY(-12px);
}
.price-card--featured p, .price-card--featured li { color: rgba(255,255,255,0.78); }
.price-card--featured .price-icon {
  color: #f4dfbd;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 223, 189, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 18px 38px rgba(0, 0, 0, 0.14);
}
.price { margin: 14px 0 18px; color: var(--brand-dark); font-size: 38px; font-weight: 850; letter-spacing: -0.055em; }
.price-card--featured .price { color: #fff; }
.price-card a { display: inline-flex; margin-top: 18px; color: var(--brand); font-weight: 850; }
.price-card--featured a { color: #f4dfbd; }
.advantages-grid { grid-template-columns: repeat(4, 1fr); }

.faq-list { display: grid; gap: 12px; }
.faq-list details { overflow: hidden; border-radius: var(--radius-md); box-shadow: none; }
.faq-list summary {
  position: relative;
  padding: 22px 56px 22px 24px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  position: absolute;
  right: 24px;
  top: 22px;
  color: var(--brand);
  content: "+";
  font-size: 24px;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 24px 24px; }

.contacts {
  color: #fff;
  background:
    radial-gradient(circle at 15% 18%, rgba(231, 218, 198, 0.18), transparent 28rem),
    linear-gradient(145deg, #142f2b, var(--brand-dark));
}
.contacts h2, .contacts h3 { color: #fff; }
.contacts p, .contacts .eyebrow { color: rgba(255,255,255,0.78); }
.contact-card { align-self: center; }
.big-phone { display: inline-flex; margin: 16px 0 24px; color: #fff; font-size: clamp(34px, 4vw, 52px); font-weight: 850; letter-spacing: -0.055em; }
.contacts .contact-meta span { color: #f3dfbf; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }
.contact-meta .icon { width: 17px; height: 17px; }

.contact-form { display: grid; gap: 16px; padding: 32px; color: var(--ink); border-radius: var(--radius-xl); }
.form-head h3 { margin-bottom: 6px; color: var(--ink); }
.form-head p, .form-message { margin: 0; color: var(--muted); font-size: 14px; }
.contact-form label span { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: 14px; font-weight: 800; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--ink);
  background: #fbf8f2;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 95, 85, 0.13); }
.consent { display: flex; align-items: flex-start; gap: 10px; }
.consent input { width: auto; margin-top: 5px; }
.consent a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.form-message.is-error { color: #9f2f2f; }

.privacy-page { padding-top: 84px; }
.privacy-card {
  max-width: 900px;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.privacy-card h1 { font-size: clamp(42px, 6vw, 72px); }
.privacy-card h2 { margin-top: 34px; font-size: clamp(26px, 3vw, 38px); }
.privacy-card a:not(.button) { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 760px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 4px 0 0; font-size: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .button { min-height: 46px; padding: 0 18px; }

.site-footer { color: rgba(255,255,255,0.78); background: #102722; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; padding: 30px 0; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.footer-inner a:hover { color: #fff; }

@media (max-width: 1120px) {
  .main-nav { gap: 2px; }
  .main-nav a { padding: 8px 9px; font-size: 13px; }
  .hero-grid, .about-grid, .faq-layout, .contacts-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 620px; }
  .service-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .advantages-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .law-layout, .partners-panel, .section-head--split { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 82px; }
  .container { width: min(100% - 32px, 1180px); }
  .service-bar { display: none; }
  .header-inner { min-height: 76px; }
  .menu-toggle { display: block; }
  .header-phone { margin-left: auto; }
  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .hero { padding: 76px 0 66px; }
  .section { padding: 76px 0; }
  .photo-frame--hero { margin: -6px -6px 18px; }
  .service-card--large { grid-row: auto; }
  .card-number { margin-bottom: 34px; }
  .price-card--featured,
  .price-card--featured:hover { transform: none; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 26px, 1180px); }
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .logo small, .header-phone span { display: none; }
  .header-phone strong { font-size: 0; }
  .header-phone strong::after { content: "Позвонить"; font-size: 14px; }
  .header-phone { padding: 10px 12px; color: #fff; background: var(--brand-dark); border-radius: 999px; }
  .hero-actions, .button { width: 100%; }
  .arrival-badge { width: 100%; align-items: flex-start; padding: 12px; border-radius: 20px; }
  .arrival-badge__icon { width: 42px; height: 42px; border-radius: 15px; }
  .arrival-badge strong { font-size: 19px; }
  .service-grid, .pricing-grid, .advantages-grid, .timeline, .proof-grid { grid-template-columns: 1fr; }
  .photo-frame--hero { min-height: 220px; }
  .pet-note { grid-template-columns: 1fr; text-align: left; }
  .photo-frame--about { width: 104px; height: 104px; }
  .photo-frame--contact { width: 100%; }
  .process::before {
    top: 34px;
    right: -78px;
    width: min(92vw, 520px);
    height: 360px;
    opacity: 0.72;
    background:
      linear-gradient(180deg, rgba(246, 242, 234, 0.06), rgba(246, 242, 234, 0.58)),
      linear-gradient(90deg, rgba(246, 242, 234, 0.2), rgba(246, 242, 234, 0.02)),
      url("assets/photos/process-pet.jpg") center 38% / cover no-repeat;
    border-radius: 36px 0 0 36px;
  }
  .process::after {
    background:
      linear-gradient(180deg, rgba(246, 242, 234, 0.58) 0%, rgba(246, 242, 234, 0.82) 320px, rgba(246, 242, 234, 0.94) 100%),
      radial-gradient(circle at 74% 12%, rgba(255, 253, 249, 0.34), transparent 17rem);
  }
  .hero-panel, .law-intro, .law-card, .penalty-card, .partners-panel, .price-card, .contact-form { padding: 24px; border-radius: 24px; }
  .penalty-card div, .footer-inner { flex-direction: column; }
  .big-phone, .panel-phone { font-size: 30px; }
  .cookie-banner { left: 13px; right: 13px; bottom: 13px; grid-template-columns: 1fr; }
  .cookie-actions { justify-content: stretch; }
  .privacy-card { padding: 26px; border-radius: 24px; }
}