:root {
  --white: #ffffff;
  --bg: #f6fafb;
  --bg-soft: #eef8f5;
  --text: #173044;
  --muted: #647789;
  --blue: #1874d2;
  --blue-dark: #115494;
  --blue-soft: #eaf4ff;
  --cyan: #28a7c8;
  --green: #20b486;
  --green-soft: #e8f8f2;
  --line: #dce8ef;
  --shadow: 0 18px 42px rgba(19, 48, 68, 0.1);
  --shadow-soft: 0 10px 28px rgba(19, 48, 68, 0.08);
  --radius: 12px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(32, 180, 134, 0.1), transparent 30%),
    var(--bg);
  line-height: 1.6;
}

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

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

[hidden] {
  display: none !important;
}

button,
input,
select {
  font: inherit;
}

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

.section {
  padding: 96px 0;
  scroll-margin-top: 84px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(220, 232, 239, 0.78);
  backdrop-filter: blur(18px);
}

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

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

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 12px 24px rgba(24, 116, 210, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #294a62;
  font-weight: 700;
  font-size: 15px;
}

.nav__menu a {
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__menu a:hover {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.nav__menu-cta {
  display: none;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgba(24, 116, 210, 0.26);
}

.btn--soft {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.86);
}

.btn--success {
  color: var(--white);
  background: var(--green);
}

.btn--outline {
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.icon-wrap {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 14px;
}

.icon-wrap svg,
[data-lucide],
.lucide,
.fa-brands {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
}

.fa-brands {
  display: inline-grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, #123a55 0%, #1e6988 52%, #bfe8df 100%);
}

.hero__media,
.hero__media img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.36;
  filter: saturate(0.72) contrast(0.95);
}

.hero__overlay {
  background:
    radial-gradient(circle at 78% 18%, rgba(32, 180, 134, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(14, 54, 78, 0.97) 0%, rgba(21, 91, 120, 0.88) 48%, rgba(20, 78, 104, 0.48) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: max(20px, calc((100vw - var(--container)) / 2));
}

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

.hero .eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  color: #b9ffe9;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  overflow-wrap: normal;
}

.hero__text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 690px;
  margin-top: 42px;
}

.hero__stat {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 34px rgba(10, 38, 58, 0.14);
}

.hero__stat [data-lucide],
.hero__stat .lucide {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: #61e3ba;
}

.hero__stat strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.section__head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section__head--left {
  margin-left: 0;
  text-align: left;
}

.section__head h2,
.contacts__info h2 {
  margin: 0;
  color: #102d42;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section__head p:not(.eyebrow),
.contacts__info li {
  color: var(--muted);
}

.section__head p:not(.eyebrow) {
  font-size: 17px;
}

.cards,
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card,
.process-step,
.vision-test,
.form,
.map-placeholder {
  background: var(--white);
  border: 1px solid rgba(220, 232, 239, 0.94);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-height: 250px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 116, 210, 0.24);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.process {
  background: var(--white);
}

.process-steps {
  grid-template-columns: repeat(3, 1fr);
}

.process-step {
  min-height: 210px;
  padding: 26px;
}

.process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
}

.process-step h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.screening-section {
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding-bottom: 64px;
}

.appointment {
  background: var(--bg);
  border-top: 1px solid rgba(220, 232, 239, 0.72);
  padding-top: 64px;
}

.screening-layout,
.appointment__layout,
.contacts__layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: center;
}

.screening-info {
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: 36px 30px;
  background: rgba(255, 255, 255, 0.48);
  border-left: 4px solid var(--green);
  border-radius: 0 22px 22px 0;
}

.screening-info h2 {
  margin: 0;
  color: #102d42;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.screening-info p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.screening-panel {
  min-width: 0;
}

.screening-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
  overflow: hidden;
  background: #eef3f6;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.screening-tab {
  min-height: 58px;
  padding: 12px 16px;
  color: #294a62;
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.screening-tab:hover,
.screening-tab.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.screening-tab-panel[hidden] {
  display: none;
}

.note {
  padding: 16px 18px;
  color: #245e50;
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  border-radius: 16px;
}

.note--info {
  margin-top: 14px;
  color: #1f3a59;
  background: var(--blue-soft);
  border-left-color: var(--blue);
  font-size: 15px;
}

.note--info strong {
  color: var(--blue-dark);
}

.vision-test {
  padding: 30px;
}

.vision-test__top,
.vision-test__actions {
  margin-bottom: 22px;
}

.vision-test__actions:has(+ .result[hidden]) {
  margin-bottom: 0;
}

.vision-test__screen[hidden] + .vision-test__actions[hidden] + .result {
  margin-top: 24px;
}

.vision-test__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vision-test__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-weight: 700;
}

.link-button {
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.progress {
  height: 7px;
  margin: 18px 0 24px;
  overflow: hidden;
  background: #e6f0f7;
  border-radius: 999px;
}

.progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--blue));
  border-radius: inherit;
  transition: width 0.35s ease;
}

.vision-test__screen {
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: 28px;
  margin-bottom: 22px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(32, 180, 134, 0.12), transparent 36%),
    #f8fcff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.acuity-screen {
  min-height: 300px;
}

.vision-test__hint {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.vision-line {
  align-self: start;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #102c43;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
  transition: opacity 0.22s ease, transform 0.22s ease, font-size 0.22s ease;
}

.acuity-optotype {
  align-self: start;
  min-width: 120px;
  min-height: 120px;
  display: grid;
  place-items: center;
  color: #05080c;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: 900;
  line-height: 1;
  transition: opacity 0.22s ease, transform 0.22s ease, font-size 0.22s ease;
}

.acuity-optotype[data-direction="right"] {
  transform: rotate(0deg);
}

.acuity-optotype[data-direction="down"] {
  transform: rotate(90deg);
}

.acuity-optotype[data-direction="left"] {
  transform: rotate(180deg);
}

.acuity-optotype[data-direction="up"] {
  transform: rotate(270deg);
}

.vision-line.is-changing {
  opacity: 0;
}

.direction-actions {
  min-height: 230px;
  display: grid;
  grid-template-columns: repeat(3, 78px);
  grid-template-rows: repeat(3, 78px);
  justify-content: center;
  align-content: center;
  gap: 18px;
  margin-bottom: 0;
}

.direction-button {
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid rgba(24, 116, 210, 0.18);
  border-radius: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.direction-button:hover {
  transform: translateY(-2px);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--shadow-soft);
}

.direction-button [data-lucide],
.direction-button .lucide {
  width: 34px;
  height: 34px;
  stroke-width: 2.8;
}

.direction-button--up {
  grid-column: 2;
  grid-row: 1;
}

.direction-button--left {
  grid-column: 1;
  grid-row: 2;
}

.direction-button--right {
  grid-column: 3;
  grid-row: 2;
}

.direction-button--down {
  grid-column: 2;
  grid-row: 3;
}

.result {
  padding: 24px;
  background: #f8fcff;
  border: 1px solid var(--line);
  border-radius: 18px;
  animation: fadeUp 0.35s ease both;
}

.result__badge {
  display: inline-flex;
  padding: 6px 10px;
  color: var(--blue-dark);
  background: #e7f3ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.result h3 {
  margin: 14px 0 8px;
  font-size: 28px;
}

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

.result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contrast-question {
  margin: 0 0 18px;
  color: #102d42;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

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

.contrast-card {
  min-height: 170px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contrast-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 116, 210, 0.28);
  box-shadow: var(--shadow-soft);
}

.contrast-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.color-test__screen {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 20px;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 22% 18%, rgba(24, 116, 210, 0.09), transparent 30%),
    radial-gradient(circle at 84% 26%, rgba(242, 154, 82, 0.1), transparent 28%),
    #fbfdff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.rabkin-plate {
  width: min(100%, 360px);
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 26px rgba(19, 48, 68, 0.12);
}

.color-test__options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.color-test__option {
  min-height: 54px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.color-test__option:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 116, 210, 0.28);
  box-shadow: var(--shadow-soft);
}

.eye-care {
  background: var(--white);
  border-top: 1px solid rgba(220, 232, 239, 0.72);
}

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

.care-card {
  min-height: 230px;
  padding: 26px;
  background: #fbfdff;
  border: 1px solid rgba(220, 232, 239, 0.94);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.care-card h3 {
  margin: 22px 0 10px;
  color: #102d42;
  font-size: 21px;
  line-height: 1.25;
}

.care-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.care-card--accent {
  background: var(--green-soft);
  border-color: rgba(32, 180, 134, 0.26);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
}

.form label {
  display: grid;
  gap: 8px;
  color: #294a62;
  font-weight: 700;
}

.form input,
.form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.12);
}

.form .btn,
.form__message {
  grid-column: 1 / -1;
}

.form__message {
  margin: 0;
  padding: 14px 16px;
  color: #155f46;
  background: rgba(67, 197, 143, 0.14);
  border: 1px solid rgba(67, 197, 143, 0.36);
  border-radius: 14px;
  font-weight: 700;
}

.appointment__quick {
  margin-top: 18px;
}

.contacts {
  background: var(--white);
  border-top: 1px solid rgba(220, 232, 239, 0.72);
}

.contacts__layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.contacts__info ul {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.contacts__info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contacts__info li [data-lucide],
.contacts__info li .lucide,
.contacts__info li .fa-brands {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  color: var(--green);
}

.contacts__info li .fa-whatsapp {
  color: #20b486;
}

.contacts__info strong {
  color: var(--text);
}

.map-placeholder {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23, 105, 224, 0.08), rgba(67, 197, 143, 0.16)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(23, 105, 224, 0.05) 18px 19px);
}

.map-card {
  min-height: 380px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(232, 248, 242, 0.82)),
    linear-gradient(135deg, rgba(24, 116, 210, 0.08), rgba(32, 180, 134, 0.16));
}

.map-card__pin {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(24, 116, 210, 0.22);
}

.map-card__pin [data-lucide],
.map-card__pin .lucide {
  width: 28px;
  height: 28px;
}

.map-card h3 {
  margin: 0;
  color: #102d42;
  font-size: 32px;
  line-height: 1.1;
}

.map-card p:not(.eyebrow) {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.map-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.map-card__hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer {
  color: rgba(255, 255, 255, 0.86);
  background: #0c2e4c;
}

.footer__content {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

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

@media (max-width: 980px) {
  .nav {
    position: relative;
  }

  .nav__toggle {
    display: block;
    order: 3;
  }

  .nav__cta {
    display: none;
  }

  .nav__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid rgba(220, 232, 239, 0.96);
    border-radius: 18px;
    box-shadow: 0 22px 46px rgba(16, 45, 66, 0.16);
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav__menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav__menu a:not(.nav__menu-cta):not(:last-child) {
    border-bottom: 1px solid rgba(220, 232, 239, 0.74);
    border-radius: 0;
  }

  .nav__menu-cta {
    display: inline-flex;
    justify-content: center;
    min-height: 50px;
    margin-top: 10px;
    padding: 13px 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), #1d9cdf);
    border-radius: 14px;
  }

  .nav__menu-cta::after {
    display: none;
  }

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

  .nav.is-open .nav__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.is-open .nav__toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.is-open .nav__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

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

  .screening-layout,
  .appointment__layout,
  .contacts__layout {
    grid-template-columns: 1fr;
  }

  .screening-info {
    border-left: 4px solid var(--green);
    border-radius: 22px;
  }

  .contacts__info li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }

  .contacts__info li [data-lucide],
  .contacts__info li .lucide,
  .contacts__info li .fa-brands {
    margin-top: 0;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .screening-section {
    padding-bottom: 44px;
  }

  .appointment {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .contacts {
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .appointment__layout,
  .contacts__layout {
    width: min(calc(100% - 34px), var(--container));
    gap: 28px;
  }

  .appointment .section__head {
    margin-bottom: 0;
  }

  .appointment .section__head h2,
  .contacts__info h2 {
    font-size: 30px;
    line-height: 1.14;
  }

  .appointment .section__head p:not(.eyebrow) {
    margin-bottom: 0;
  }

  .appointment__quick {
    width: 100%;
    margin-top: 22px;
  }

  .contacts__info ul {
    margin-top: 22px;
  }

  .contacts__info li {
    min-height: 58px;
    align-items: center;
    padding: 14px 0;
  }

  .contacts__info li [data-lucide],
  .contacts__info li .lucide,
  .contacts__info li .fa-brands {
    width: 22px;
    height: 22px;
    align-self: start;
    margin-top: 2px;
  }

  .hero {
    min-height: 680px;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(7, 45, 83, 0.94), rgba(13, 80, 124, 0.78));
  }

  .hero__content {
    width: min(calc(100% - 28px), 760px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__text {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .hero__stats,
  .cards,
  .process-steps,
  .care-grid,
  .screening-tabs,
  .contrast-grid,
  .form {
    grid-template-columns: 1fr;
  }

  .vision-test,
  .screening-info,
  .form,
  .service-card,
  .process-step,
  .care-card {
    padding: 22px;
  }

  .vision-test__actions,
  .result__actions,
  .map-card__actions,
  .hero__actions,
  .footer__content {
    align-items: stretch;
    flex-direction: column;
  }

  .vision-test__actions .btn,
  .result__actions .btn,
  .map-card__actions .btn,
  .hero__actions .btn,
  .appointment__quick {
    width: 100%;
  }

  .footer {
    background:
      linear-gradient(180deg, #0d3a5d 0%, #092c49 100%);
  }

  .footer__content {
    min-height: auto;
    padding: 28px 0 24px;
    align-items: flex-start;
    gap: 18px;
  }

  .footer__content strong {
    display: block;
    color: var(--white);
    font-size: 17px;
    line-height: 1.3;
  }

  .footer p {
    max-width: 330px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.55;
  }

  .footer__content span {
    width: 100%;
    padding-top: 16px;
    color: rgba(255, 255, 255, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 14px;
  }

  .color-test__screen {
    min-height: 300px;
    padding: 16px;
  }

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

  .direction-actions {
    grid-template-columns: repeat(3, 64px);
    grid-template-rows: repeat(3, 64px);
    min-height: 210px;
    gap: 14px;
  }

  .direction-button {
    border-radius: 12px;
  }

  .direction-button [data-lucide],
  .direction-button .lucide {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 420px) {
  .brand strong {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 29px;
  }

  .vision-line {
    word-break: break-word;
  }
}
