@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #16211e;
  --ink-soft: #52605c;
  --forest: #123b31;
  --forest-deep: #0b2d25;
  --paper: #f3f0e8;
  --paper-light: #fbfaf6;
  --sage: #cbd8ca;
  --sage-light: #e3e9df;
  --terracotta: #b94f38;
  --terracotta-dark: #963824;
  --sand: #e8d2ad;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(22, 33, 30, 0.14);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 12px;
  --page-gutter: clamp(18px, 3vw, 42px);
  --section-space: clamp(82px, 10vw, 148px);
  --compact-space: clamp(58px, 7vw, 96px);
  --content-width: 1240px;
  --hero-content-width: clamp(1240px, 87.5vw, 1680px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-padding-top: 92px;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Onest", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 6.25vw, 6.5rem);
  font-weight: 620;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2.5rem, 4.6vw, 5.4rem);
  font-weight: 580;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.6vw, 1.72rem);
  font-weight: 610;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

p {
  margin-bottom: 1em;
}

:focus-visible {
  outline: 3px solid #f6b5a3;
  outline-offset: 4px;
}

.page-shell {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  margin-bottom: -84px;
  padding: 12px var(--page-gutter) 0;
  color: var(--white);
}

.header-shell {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, var(--content-width));
  min-height: 72px;
  padding: 8px 10px 8px 14px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(7, 33, 27, .94);
  box-shadow: 0 14px 40px rgba(5, 27, 22, .18);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  backdrop-filter: saturate(120%) blur(14px);
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 580;
  line-height: 1.12;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: clamp(14px, 1.65vw, 26px);
  font-size: 0.88rem;
}

.desktop-nav a {
  position: relative;
  padding-inline: 2px;
  opacity: 1;
}

.desktop-nav a::after {
  position: absolute;
  right: 2px;
  bottom: 7px;
  left: 2px;
  height: 1px;
  background: rgba(255, 255, 255, .72);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  opacity: 1;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.desktop-nav a,
.phone-link,
.text-action,
.site-footer a {
  transition: opacity 180ms ease;
}

.desktop-nav a,
.phone-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.desktop-nav a:hover,
.phone-link:hover,
.text-action:hover,
.site-footer a:hover {
  opacity: 0.68;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-messenger-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.phone-link {
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 580;
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  align-items: center;
  gap: 12px;
}

.mobile-quick-actions {
  display: none;
  align-items: center;
  gap: 2px;
}

.quick-action {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .9);
  place-items: center;
  transition: color 180ms ease, background 180ms ease;
}

.quick-action:hover,
.quick-action:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.quick-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.quick-action-telegram {
  color: #2aabee;
}

.quick-action-telegram svg {
  fill: currentColor;
  stroke: none;
}

.quick-action-max img {
  width: 22px;
  height: 22px;
}

.menu-icon {
  display: grid;
  width: 25px;
  gap: 6px;
}

.menu-icon i {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon i:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon i:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  padding: 118px var(--page-gutter) 34px;
  background: var(--forest-deep);
}

.mobile-menu nav {
  display: grid;
  gap: 12px;
  margin-bottom: 38px;
}

.mobile-menu nav a {
  padding-block: 4px;
  font-size: clamp(1.75rem, 8vw, 2.7rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.mobile-phone {
  display: block;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  min-height: max(760px, 96svh);
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(5, 27, 22, .91) 0%, rgba(5, 27, 22, .78) 37%, rgba(5, 27, 22, .18) 68%, rgba(5, 27, 22, .09) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--hero-content-width));
  min-height: max(760px, 96svh);
  padding-top: 142px;
  padding-bottom: 38px;
  flex-direction: column;
  justify-content: space-between;
}

.hero-copy {
  width: min(780px, 66%);
  margin-top: auto;
  margin-bottom: clamp(58px, 9vh, 110px);
}

.hero-copy > p {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.45;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 650;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-light {
  background: var(--paper-light);
  color: var(--forest-deep);
}

.button-light:hover {
  background: var(--sand);
}

.button-primary {
  background: var(--terracotta);
  color: var(--white);
}

.button-accent {
  background: var(--terracotta);
  color: var(--white);
}

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

.text-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 580;
}

.hero-facts {
  display: grid;
  width: 100%;
  max-width: 1440px;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hero-facts div {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.hero-facts strong {
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-facts span {
  color: rgba(255, 255, 255, .68);
  font-size: 0.86rem;
}

.intro {
  display: grid;
  padding-block: var(--section-space);
  grid-template-columns: repeat(12, 1fr);
  column-gap: 28px;
  row-gap: 72px;
}

.intro-heading {
  grid-column: 1 / span 5;
}

.intro-copy {
  grid-column: 7 / -1;
}

.intro-copy p:last-child {
  max-width: 620px;
  color: var(--ink-soft);
}

.large-copy {
  margin-bottom: 28px;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.experience-block {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 18px;
}

.experience-block div {
  display: flex;
  min-height: 178px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--sage-light);
  flex-direction: column;
  justify-content: space-between;
}

.experience-block div:nth-child(2) {
  background: var(--sand);
}

.experience-block div:nth-child(3) {
  background: var(--forest);
  color: var(--white);
}

.experience-block strong {
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.experience-block span {
  font-size: 0.95rem;
}

.medicines {
  padding-block: var(--section-space);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--forest-deep);
  color: var(--white);
}

.medicines-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
}

.medicines-title {
  grid-column: 1 / span 5;
}

.medicines-title p {
  max-width: 460px;
  color: rgba(255, 255, 255, .66);
  font-size: 1.05rem;
}

.medicine-list {
  display: grid;
  grid-column: 7 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 46px 38px;
  align-items: start;
}

.medicine-list article {
  min-height: 138px;
}

.medicine-list p {
  max-width: 32ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 1rem;
}

.acceptance-panel {
  display: grid;
  grid-column: 1 / -1;
  min-height: 340px;
  margin-top: 84px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--sage);
  color: var(--ink);
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.45fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}

.acceptance-media {
  min-height: 292px;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 10px);
  background: #d8d5ca;
}

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

.acceptance-content {
  display: grid;
  padding: clamp(8px, 2vw, 24px) clamp(10px, 2vw, 28px) clamp(8px, 2vw, 24px) 0;
  align-content: center;
  gap: 28px;
}

.acceptance-panel ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 22px;
}

.acceptance-panel li {
  color: #35433f;
}

.acceptance-panel strong {
  color: var(--ink);
}

.acceptance-panel .button {
  width: max-content;
  margin-top: 0;
}

.process {
  padding-block: var(--section-space);
}

.process-heading {
  display: grid;
  margin-bottom: 58px;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px 18px;
  align-items: start;
}

.process-heading h2 {
  grid-column: 1 / span 9;
  margin-bottom: 0;
}

.process-heading p {
  grid-column: 1 / span 6;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.process-stage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.step {
  display: flex;
  min-height: 320px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--paper-light);
  grid-column: span 5;
  flex-direction: column;
  justify-content: space-between;
}

.step:nth-child(2) {
  background: var(--sand);
}

.step:nth-child(3) {
  background: var(--sage);
}

.step:nth-child(4) {
  background: #dd8b72;
}

.step-wide {
  grid-column: span 7;
}

.step span {
  color: rgba(22, 33, 30, .34);
  font-size: 3.4rem;
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 1;
}

.step p {
  max-width: 42ch;
  margin-bottom: 0;
  color: #47534f;
  font-size: 1rem;
}

.care-section {
  padding-block: var(--compact-space);
  background: var(--terracotta);
  color: var(--white);
}

.care-layout {
  display: grid;
  min-height: 780px;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.care-image {
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}

.care-image img {
  width: 100%;
  max-height: 720px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.care-copy > p {
  max-width: 580px;
  margin-bottom: 54px;
  color: rgba(255, 255, 255, .92);
  font-size: 1.1rem;
}

.care-copy {
  grid-column: 2;
  grid-row: 1;
}

.benefit-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 42px;
}

.benefit-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
}

.geography {
  display: grid;
  padding-block: var(--section-space);
  grid-template-columns: repeat(12, 1fr);
  gap: 36px;
}

.geography-copy {
  grid-column: 1 / span 5;
}

.geography-copy p {
  max-width: 470px;
  color: var(--ink-soft);
}

.city-field {
  display: flex;
  grid-column: 7 / -1;
  align-content: flex-start;
  align-items: baseline;
  gap: 12px 17px;
  flex-wrap: wrap;
}

.city-field span {
  padding: 2px 0;
  font-size: 1rem;
  font-weight: 540;
}

.city-field .city-lg {
  padding: 2px 0;
  color: var(--terracotta-dark);
  font-size: clamp(1.3rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.city-field .city-xl {
  padding: 2px 0;
  color: var(--forest);
  font-size: clamp(2rem, 3.8vw, 4.2rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.geography-note {
  grid-column: 7 / -1;
  max-width: 600px;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.reviews {
  padding-block: var(--compact-space);
  overflow: hidden;
  background: var(--sage);
}

.reviews-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(44px, 6vw, 82px);
  align-items: center;
}

.reviews-heading h2 {
  max-width: 440px;
  font-size: clamp(2.4rem, 3.5vw, 4rem);
}

.review-controls {
  display: flex;
  margin-top: 32px;
  align-items: center;
  gap: 14px;
}

.review-button {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-light);
  font-size: 1.3rem;
  transition: transform 180ms ease, background 180ms ease;
}

.review-button:hover {
  transform: translateY(-2px);
  background: var(--sand);
}

.review-status {
  min-width: 52px;
  margin: 0;
  text-align: center;
  font-size: 1rem;
}

.review-viewport {
  min-height: 300px;
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--paper-light);
  box-shadow: 0 18px 60px rgba(22, 33, 30, .08);
  touch-action: pan-y;
}

.review {
  animation: none;
}

.review[hidden] {
  display: none;
}

.review + .review {
  margin-top: 72px;
}

.js .review.is-active {
  animation: reviewIn 450ms var(--ease) both;
}

.js .review + .review {
  margin-top: 0;
}

.review blockquote {
  margin-bottom: 32px;
  font-size: clamp(1.35rem, 1.6vw, 1.75rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.review-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

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

.review-author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author p {
  display: grid;
  margin-bottom: 0;
  gap: 1px;
}

.review-author span {
  color: var(--ink-soft);
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid rgba(22, 33, 30, 0.14);
  white-space: nowrap;
}

.review-rating span {
  color: var(--terracotta-dark);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.review-rating strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
}

@keyframes reviewIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq {
  display: grid;
  padding-block: var(--section-space);
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
}

.faq-heading {
  grid-column: 1 / span 5;
}

.faq-heading h2 {
  max-width: 500px;
  font-size: clamp(2.75rem, 4vw, 4.6rem);
  line-height: 0.98;
}

.faq-heading p {
  max-width: 380px;
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  grid-column: 6 / -1;
  gap: 12px;
}

.faq-list details {
  padding: 23px 25px;
  border-radius: 16px;
  background: var(--paper-light);
}

.faq-list details[open] {
  background: var(--sand);
}

.faq-list summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.08rem;
  font-weight: 610;
  list-style: none;
}

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

.faq-list summary span {
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 360;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 65ch;
  margin: 14px 46px 3px 0;
  color: #46514e;
}

.contact {
  padding: clamp(76px, 7vw, 112px) 0 clamp(48px, 4.5vw, 72px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--forest-deep);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .82fr);
  column-gap: clamp(44px, 6vw, 88px);
  row-gap: 28px;
  align-items: start;
}

.contact-copy {
  grid-column: 1;
  grid-row: 1;
}

.contact-copy > p {
  max-width: 630px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 1.08rem;
}

.contact-channels {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.contact-channels a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 84px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  align-items: center;
  gap: 12px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-channels a:nth-child(1) {
  grid-column: 1 / span 3;
  grid-row: 1;
}

.contact-channels a:nth-child(2) {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.contact-channels a:nth-child(3) {
  grid-column: 3 / span 2;
  grid-row: 2;
}

.contact-channels a:nth-child(4) {
  grid-column: 5 / span 2;
  grid-row: 2;
}

.contact-channels a:nth-child(5) {
  grid-column: 4 / span 3;
  grid-row: 1;
}

.contact-channels a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .16);
}

.channel-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .11);
  place-items: center;
}

.channel-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.channel-icon-max {
  background: rgba(255, 255, 255, .11);
}

.channel-icon-max img {
  width: 26px;
  height: 26px;
}

.channel-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.contact-channels .channel-copy small {
  color: rgba(255, 255, 255, .52);
  font-size: 0.73rem;
}

.contact-channels .channel-copy strong {
  overflow-wrap: anywhere;
  font-size: 0.93rem;
  font-weight: 580;
}

.channel-arrow {
  color: rgba(255, 255, 255, .42);
  font-size: 1.05rem;
  transition: color 180ms ease, transform 180ms ease;
}

.contact-channels a:hover .channel-arrow {
  color: var(--white);
  transform: translate(2px, -2px);
}

.assessment-form {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  max-width: 510px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--radius-lg);
  background: var(--paper-light);
  color: var(--ink);
  justify-self: end;
}

.field {
  display: grid;
  margin-bottom: 22px;
  gap: 8px;
}

.field label {
  font-size: 0.83rem;
  font-weight: 610;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 0;
  border-radius: 10px;
  outline: 2px solid transparent;
  background: #ece8df;
  resize: vertical;
  transition: outline-color 180ms ease, background 180ms ease;
}

.field textarea {
  min-height: 120px;
}

.field input:focus,
.field textarea:focus {
  outline-color: var(--terracotta);
  background: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #68716d;
  opacity: 1;
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.site-footer {
  padding-block: 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: var(--forest-deep);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.footer-main > p {
  max-width: 400px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .6);
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-self: end;
  justify-content: flex-end;
  gap: 6px clamp(18px, 2vw, 30px);
  font-size: 0.88rem;
}

.footer-main nav a {
  display: flex;
  min-height: 32px;
  align-items: center;
}

.footer-bottom {
  display: flex;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  justify-content: space-between;
  color: rgba(255, 255, 255, .64);
  font-size: 0.82rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-open .header-actions {
    opacity: 0;
    pointer-events: none;
  }

  .care-layout {
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .header-actions {
    display: none;
  }

  .mobile-quick-actions {
    display: flex;
    margin-left: auto;
  }

  .menu-toggle {
    margin-left: 0;
  }

  .hero {
    min-height: 850px;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(5, 27, 22, .48) 0%, rgba(5, 27, 22, .46) 36%, rgba(5, 27, 22, .93) 73%, rgba(5, 27, 22, .98) 100%);
  }

  .hero-content {
    min-height: 850px;
    padding-top: 120px;
  }

  .hero-copy {
    width: min(100%, 680px);
    margin-top: auto;
    margin-bottom: 48px;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
    gap: 20px 26px;
  }

  .intro-heading,
  .intro-copy,
  .medicines-title,
  .medicine-list,
  .geography-copy,
  .city-field,
  .geography-note,
  .faq-heading,
  .faq-list {
    grid-column: 1;
  }

  .intro,
  .medicines-layout,
  .geography,
  .faq {
    grid-template-columns: 1fr;
  }

  .intro,
  .geography,
  .faq {
    row-gap: 44px;
  }

  .medicine-list {
    margin-top: 22px;
  }

  .acceptance-panel {
    margin-top: 60px;
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .acceptance-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .acceptance-content {
    padding: 0 12px 12px;
  }

  .process-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-heading h2,
  .process-heading p {
    grid-column: 1;
  }

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

  .step,
  .step-wide {
    grid-column: span 1;
  }

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

  .care-copy,
  .care-image {
    grid-column: 1;
    grid-row: auto;
  }

  .care-image {
    width: min(70%, 520px);
  }

  .care-copy {
    max-width: 760px;
  }

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

  .review-controls {
    margin-top: 28px;
  }

  .review-viewport {
    min-height: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .contact-copy,
  .assessment-form,
  .contact-channels {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-copy {
    order: 1;
  }

  .assessment-form {
    order: 2;
  }

  .contact-channels {
    order: 3;
  }

  .footer-main {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .footer-main nav {
    grid-column: 1 / -1;
    justify-self: start;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --radius-lg: 24px;
    --radius-md: 18px;
  }

  body {
    font-size: 16px;
  }

  .contact {
    padding: 64px 0 42px;
  }

  .contact-layout {
    row-gap: 24px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.55rem);
    letter-spacing: -0.06em;
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.65rem);
  }

  .header-shell {
    min-height: 64px;
    padding: 6px 8px 6px 10px;
    border-radius: 14px;
  }

  .site-header {
    margin-bottom: -72px;
    padding: 8px 10px 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero,
  .hero-content {
    min-height: 790px;
  }

  .hero-content {
    padding-top: 98px;
    padding-bottom: 28px;
  }

  .hero-copy {
    margin-bottom: 38px;
  }

  .hero-copy > p {
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .hero-buttons {
    align-items: stretch;
    gap: 16px;
    flex-direction: column;
  }

  .text-action {
    min-height: 44px;
    align-content: center;
  }

  .hero-facts {
    gap: 14px;
  }

  .hero-facts strong {
    font-size: 1.2rem;
  }

  .hero-facts span {
    font-size: 0.72rem;
  }

  .intro {
    row-gap: 34px;
  }

  .experience-block {
    grid-template-columns: 1fr;
  }

  .experience-block div {
    min-height: 138px;
  }

  .medicine-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .medicine-list article {
    min-height: 0;
  }

  .acceptance-panel {
    display: flex;
    margin-top: 48px;
    padding: 18px;
    flex-direction: column;
    gap: 24px;
  }

  .acceptance-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .acceptance-content {
    padding: 0 8px 8px;
    gap: 26px;
  }

  .acceptance-panel .button {
    width: 100%;
    margin-top: 0;
  }

  .process-heading {
    margin-bottom: 40px;
  }

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

  .step,
  .step-wide {
    min-height: 0;
    padding: 22px;
    grid-column: 1;
    gap: 52px;
  }

  .step span {
    font-size: 2.7rem;
  }

  .care-image {
    width: 100%;
  }

  .benefit-copy {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .city-field {
    gap: 8px;
  }

  .city-field span,
  .city-field .city-lg,
  .city-field .city-xl {
    padding: 2px 0;
    font-size: 1rem;
    letter-spacing: 0;
  }

  .city-field .city-xl {
    color: var(--forest);
    font-size: 1.4rem;
  }

  .city-field .city-lg {
    color: var(--terracotta-dark);
    font-size: 1.05rem;
  }

  .review-viewport {
    padding: 28px 24px;
  }

  .review blockquote {
    margin-bottom: 28px;
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .review-author img {
    width: 56px;
    height: 56px;
  }

  .review-footer {
    gap: 12px;
  }

  .review-rating {
    gap: 7px;
    padding-left: 12px;
  }

  .review-rating span {
    font-size: 0.64rem;
  }

  .faq-list details {
    padding: 18px;
  }

  .faq-list summary {
    font-size: 1rem;
  }

  .faq-list details p {
    margin-right: 0;
  }

  .contact-channels {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-channels a:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
    min-height: 68px;
    padding: 10px 12px;
  }

  .contact-channels .channel-copy small {
    display: none;
  }

  .assessment-form {
    padding: 24px 18px;
  }

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

  .footer-main nav {
    justify-self: start;
    gap: 4px 20px;
  }

  .footer-bottom {
    gap: 6px;
    margin-top: 20px;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .brand-name {
    display: none;
  }
}

@media (max-width: 390px) {
  .review-footer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-rating {
    width: max-content;
    margin-left: 70px;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 390px) {
  .acceptance-panel .button {
    padding-inline: 14px;
    font-size: 0.92rem;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
  }

  .review p {
    flex-direction: column;
    gap: 1px;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
