:root {
  --color-text: #101419;
  --color-muted: #5b6570;
  --color-blue: #0066fe;
  --color-blue-dark: #004ecc;
  --color-line: #dbe2e8;
  --color-soft: #eef6fc;
  --color-white: #ffffff;
  --shadow-soft: 0 16px 48px rgba(16, 20, 25, 0.06);
  --radius: 12px;
  --radius-lg: 24px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: 'Manrope', sans-serif;
  line-height: 1.55;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: var(--radius);
}

/* Site Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 226, 232, 0.72);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.site-header.is-visible {
  pointer-events: auto;
}

.site-header.is-sticky {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 1px;
  font-size: 13px;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 700;
}

.brand-text span {
  color: var(--color-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a,
.phone-link {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.phone-link:hover {
  color: var(--color-blue);
}

.header-contact {
  display: grid;
  justify-items: end;
  gap: 2px;
  font-size: 13px;
  color: var(--color-muted);
}

.phone-link {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.nav-toggle {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 27px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  color: var(--color-white);
  background: var(--color-blue);
  box-shadow: 0 10px 24px rgba(58, 92, 120, 0.15);
}

.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(58, 92, 120, 0.25);
}

.btn-outline {
  color: var(--color-text);
  border: 1px solid var(--color-line);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.btn-outline-white {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}

.btn-wide {
  width: 100%;
  color: var(--color-white);
  background: var(--color-blue-dark);
  border-radius: var(--radius);
}

.btn-wide:hover {
  background: var(--color-blue);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 780px;
  padding: 160px 0 80px;
  overflow: hidden;
  background: var(--color-white);
}

.hero-container-rel {
  position: relative;
}

.hero-photo {
  position: absolute;
  top: -160px;
  bottom: -80px;
  right: 0;
  width: 53%;
  z-index: 0;
}

.hero-photo::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.9) 15%, rgba(255, 255, 255, 0) 40%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: grayscale(1);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content {
  flex: 1;
  max-width: 640px;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-blue);
}

h1 .highlight, h2 .highlight, h2 .highlight-inline {
  color: inherit;
}

h2 {
  color: var(--color-blue);
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 17px;
  color: var(--color-muted);
  line-height: 1.6;
}

.hero-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 36px;
  list-style: none;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
}

.hero-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  border: 1.5px solid var(--color-blue);
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233a5c78" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') center center / 10px no-repeat;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-card {
  flex: 0 0 240px;
  align-self: flex-start;
  display: grid;
  gap: 12px;
  margin-top: 350px;
  margin-right: 40px;
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.hero-card strong {
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.hero-card .city {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 48px 0;
  scroll-margin-top: 88px;
}

h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

/* Value Section */
.value-section {
  background: var(--color-white);
  padding: 48px 0 36px;
}

.value-section h2 {
  max-width: 860px;
  margin: 0 auto 50px;
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.value-item {
  padding: 0 32px;
  border-left: 1px solid var(--color-line);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.value-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.value-item:last-child {
  padding-right: 0;
}

.line-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--color-blue);
}

.line-icon svg,
.line-icon img {
  width: 100%;
  height: 100%;
}

.value-item h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.value-item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0;
}

/* Doctor Section */
.doctor-section {
  background: var(--color-white);
  padding: 48px 0;
}

.doctor-card {
  display: flex;
  align-items: stretch;
  background: var(--color-soft);
  border-radius: 24px;
  overflow: hidden;
  min-height: 580px;
}

.doctor-photo {
  flex: 0 0 45%;
  position: relative;
  z-index: 1;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1);
}

.doctor-copy {
  flex: 1;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.doctor-copy h2 {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 800;
}

.doctor-copy h2 .highlight-inline {
  color: var(--color-blue);
}

.doctor-copy p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.doctor-copy p strong {
  color: var(--color-text);
  font-weight: 700;
}

.doctor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid var(--color-line);
  padding-top: 24px;
  gap: 20px;
}

.doctor-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doctor-meta strong {
  font-size: 17px;
  color: var(--color-text);
  font-weight: 700;
}

.doctor-meta span {
  font-size: 13px;
  color: var(--color-muted);
}

.doctor-signature-container {
  width: 140px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signature-svg {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

/* Services Section */
.services-section {
  background: var(--color-white);
  padding: 60px 0;
}

.section-heading.centered {
  text-align: center;
  margin-bottom: 44px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 32px;
  background: var(--color-soft);
  border: none;
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--color-blue);
  flex-shrink: 0;
  margin-bottom: 16px;
}

.service-icon svg,
.service-icon img {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}

.service-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0;
}

/* Process Section */
.process-section {
  padding: 60px 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 40px 0 0 0;
  list-style: none;
}

.process-list li {
  padding: 0 16px;
  border-left: 1px solid var(--color-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.process-list li:first-child {
  border-left: 0;
}

.process-figure {
  position: relative;
  margin-bottom: 16px;
}

.icon-circle {
  width: 110px;
  height: 110px;
  border: 1px solid #eaf0f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon {
  width: 50px;
  height: 50px;
  margin: 0;
}

.process-figure span {
  position: absolute;
  top: 0px;
  left: -12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1;
  background: var(--color-white);
  padding: 0 6px;
  margin: 0;
  z-index: 2;
}

.process-list strong {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.4;
}

.process-emphasis {
  background: var(--color-soft);
  justify-content: center;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 32px 24px !important;
}

.process-emphasis .emphasis-num {
  font-size: 54px;
  line-height: 1;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 4px;
}

.process-emphasis .emphasis-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.process-emphasis .emphasis-desc {
  font-size: 11px;
  line-height: 1.3;
  color: var(--color-muted);
  font-weight: 400;
}

/* Result Section */
.result-section {
  position: relative;
  background: #0f1113;
  color: var(--color-white);
  padding: 100px 0;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.result-container-rel {
  position: relative;
  z-index: 2;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 60px;
}

.result-copy {
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.result-copy h2 {
  margin-bottom: 18px;
  color: var(--color-white);
}

.result-copy h2 .highlight {
  color: #5d8cb3;
}

.result-copy p {
  font-size: 16px;
  color: #d7dde2;
  margin-bottom: 24px;
}

.result-list {
  display: grid;
  gap: 12px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.result-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #d7dde2;
}

.result-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #5d8cb3;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235d8cb3" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') center center / 10px no-repeat;
  flex: 0 0 20px;
}

.result-visual {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50vw;
  right: max(20px, calc(50vw - 590px));
  z-index: 0;
}

.result-visual::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to left, rgba(15, 17, 19, 0) 50%, #0f1113 100%);
}

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

/* Price & Calm Section */
.price-section {
  background: var(--color-white);
  padding: 48px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
}

.price-box h2,
.calm-box h2 {
  font-size: 26px;
  margin-bottom: 28px;
}

.price-list {
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  position: relative;
  font-size: 15px;
}

.price-list li span {
  background: var(--color-white);
  padding-right: 8px;
  z-index: 1;
}

.price-list li strong {
  background: var(--color-white);
  padding-left: 8px;
  z-index: 1;
  color: var(--color-blue-dark);
  font-weight: 700;
  white-space: nowrap;
}

.price-list li::after {
  content: "";
  position: absolute;
  bottom: 17px;
  left: 0;
  right: 0;
  border-bottom: 1px dotted var(--color-line);
  z-index: 0;
}

.btn-price {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 28px;
  border-radius: 28px;
  font-size: 15px;
}

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

.calm-grid article {
  padding: 32px;
  background: var(--color-soft);
  border: none;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: auto;
}

.calm-icon {
  width: 30px;
  height: 30px;
  color: var(--color-blue);
}

.calm-icon svg,
.calm-icon img {
  width: 100%;
  height: 100%;
}

.calm-content strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 700;
}

.calm-content span {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-muted);
}

/* Reviews Section */
.reviews-section {
  background: var(--color-soft);
  padding: 48px 0;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 40px;
}

.reviews-title-block {
  max-width: 620px;
}

.reviews-title-block h2 {
  margin-bottom: 0;
}

.rating-row {
  display: flex;
  gap: 28px;
}

.rating-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--color-muted);
}

.rating-item strong {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
}

.reviews-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.slider-arrow:hover {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.review-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  flex-grow: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.review-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.25s ease;
}

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

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-soft);
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.review-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-content p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0;
  font-style: normal;
}

.review-content cite {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-text);
  font-style: normal;
}

.review-content .review-full-text {
  display: none;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0;
  font-style: normal;
}

.review-content .review-ellipsis {
  display: inline;
  font-weight: bold;
  color: var(--color-blue);
}

.review-card:hover .review-full-text {
  display: block;
}

.review-card:hover .review-ellipsis {
  display: none;
}

/* Contacts & Map Section */
.contact-section {
  background: var(--color-white);
  padding: 48px 0;
}

.contact-grid-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr 1fr;
  background: var(--color-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-card {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 60px clamp(30px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  border: 0;
  border-radius: 0;
}

.footer-logo {
  width: 240px;
  height: auto;
  object-fit: contain;
  margin-top: -60px;
  margin-bottom: -60px;
  margin-left: -28px;
}

.contact-card h2 {
  font-size: 22px;
  line-weight: 1.2;
  margin: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}

.contact-details p {
  margin: 0;
}

.footer-phone {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin: 4px 0;
}

.socials {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.social-link {
  font-weight: 700;
  text-decoration: underline;
}

.contact-details .hours {
  color: rgba(255,255,255,0.85);
  display: block;
}

.appointment-form {
  padding: 60px clamp(30px, 4vw, 50px);
  background: var(--color-white);
  display: grid;
  align-content: start;
  gap: 20px;
  border: 0;
  border-radius: 0;
}

.appointment-form h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.appointment-form label {
  display: grid;
  gap: 6px;
  color: var(--color-muted);
  font-size: 13px;
}

.appointment-form input[type="text"],
.appointment-form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #c6d0d8;
  border-radius: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

.appointment-form input:focus {
  border-color: var(--color-blue);
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
}

.consent input {
  margin-top: 3px;
}

.consent span {
  font-size: 12px;
  line-height: 1.4;
}

.hidden-field {
  display: none;
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
}

.appointment-info-text {
  font-size: 11.5px;
  line-height: 1.45;
  color: #777777 !important;
  margin-top: 10px;
  text-align: center;
  font-style: italic;
}

.form-status.error {
  color: #b03838;
}

.form-status.success {
  color: #2b7a4b;
}

.map-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  height: auto;
  min-height: 450px;
}

.map-container {
  width: 100%;
  height: 100%;
}

/* Legal Section */
.legal-section {
  background: var(--color-white);
  padding: 48px 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.legal-card {
  padding: 30px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.doc-panel,
.rights-panel {
  padding: 0;
  background: transparent;
  border: none;
}

.legal-card--wide {
  grid-column: span 2;
}

.org-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.org-info-grid p {
  margin-bottom: 10px;
}

.org-info-grid p:last-child {
  margin-bottom: 0;
}

.legal-card h3,
.doc-panel h3,
.rights-panel h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--color-blue-dark);
}

.legal-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--color-muted);
}

.legal-card p strong {
  color: var(--color-text);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.doc-panel,
.rights-panel {
  margin-top: 40px;
}

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

.doc-grid a {
  padding: 14px 18px;
  color: var(--color-blue-dark);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.doc-grid a:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  transform: translateY(-1px);
}

.rights-panel p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.rights-panel p:last-child {
  margin-bottom: 0;
}

/* Site Footer */
.site-footer {
  padding: 30px 0;
  color: #8c9ea8;
  background: #0f1113;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--color-white);
  text-decoration: underline;
}

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Cosmetology Section */
.cosmetology-section {
  background: var(--color-white);
  padding: 48px 0;
}

.cosmetology-card {
  display: grid;
  grid-template-columns: 24% 28% 18% 30%;
  align-items: stretch;
  background: var(--color-soft);
  border-radius: 24px;
  overflow: hidden;
  min-height: auto;
  padding: 0;
}

.cosmetology-photo {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cosmetology-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1);
  display: block;
}

.cosmetology-info-col {
  padding: 48px 24px 48px 32px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.cosmetology-info-col h2 {
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.25;
  margin-bottom: 24px;
}

.cosmetology-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cosmetology-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cosmetology-checklist li p {
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
  color: #101419;
}

.cosmetology-check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #101419;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.cosmetology-check-icon svg {
  width: 100%;
  height: 100%;
}

.nested-bullet-list {
  margin: 8px 0 0 0;
  padding-left: 20px;
  list-style: disc;
  font-size: 13px;
  line-height: 1.5;
  color: #101419;
}

.cosmetology-quote-col {
  padding: 24px 10px;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.cosmetology-quote-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cosmetology-quote-card .quote-icon-wrap {
  color: #101419;
  opacity: 0.8;
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
}

.cosmetology-quote-card .quote-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke-width: 2px;
}

.cosmetology-quote-card .quote-text {
  font-size: 12px;
  line-height: 1.5;
  font-style: italic;
  color: #101419;
  margin: 0 0 16px 0;
}

.cosmetology-quote-card .quote-author {
  font-size: 12px;
  font-weight: 700;
  color: #101419;
  margin-top: 16px;
  font-style: normal;
}

.cosmetology-consult-col {
  padding: 24px 24px 24px 10px;
  display: flex;
  align-items: stretch;
  z-index: 2;
}

.consult-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.consult-card h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-venice-blue) !important;
  margin-bottom: 12px;
  line-height: 1.35;
}

.consult-card p {
  font-size: 13px;
  color: #555555 !important;
  margin-bottom: 12px;
  line-height: 1.4;
}

.consult-tech-list {
  font-size: 12px;
  color: #222222;
  margin-bottom: 16px;
  list-style: disc;
  padding-left: 16px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.consult-tech-list li {
  font-weight: 600;
}

.consult-tech-list span {
  color: #666666 !important;
  font-weight: 400;
}

.consult-warning-small {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-venice-blue) !important;
  margin-bottom: 12px !important;
}



.consult-btn {
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
  white-space: normal;
  text-align: center;
  font-size: 13px !important;
  padding: 8px 12px !important;
}

.consult-btn .btn-arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* Services Grid Panel */
.cosmetology-services-panel {
  background: var(--color-soft);
  border-radius: 24px;
  padding: 48px 48px;
  margin-top: 40px;
}

.services-panel-header {
  margin-bottom: 40px;
}

.services-panel-header h2 {
  font-size: clamp(24px, 2.2vw, 32px);
  margin-top: 8px;
}

.services-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.services-panel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-icon-img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-text strong {
  font-size: 14.5px;
  font-weight: 700;
  color: #101419;
}

.item-text span {
  font-size: 11.5px;
  color: #101419;
  opacity: 0.85;
}

.services-panel-warning {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #101419;
  border-radius: 8px;
  padding: 12px 18px;
  margin-top: 40px;
  font-size: 13px;
  font-weight: 600;
  color: #101419;
}

.services-panel-warning .warning-icon-wrap {
  display: flex;
  align-items: center;
}

.services-panel-warning svg {
  width: 16px;
  height: 16px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .header-contact {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 600px);
  }

  .hero-card {
    display: none;
  }

  .doctor-copy {
    padding: 20px 0;
  }

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

  .value-item {
    padding: 24px;
    border-left: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .value-item:nth-child(even) {
    border-left: 1px solid var(--color-line);
  }

  .value-item:nth-child(3),
  .value-item:nth-child(4) {
    border-bottom: 0;
  }

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

  .process-list li {
    border-bottom: 1px solid var(--color-line);
  }

  .process-list li:nth-child(5),
  .process-list li:nth-child(6),
  .process-list li:nth-child(7) {
    border-bottom: 0;
  }

  .process-list li:nth-child(5) {
    border-left: 0;
  }

  .contact-grid-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .appointment-form {
    padding: 50px 40px;
  }

  .map-card {
    min-height: 385px;
  }
}

@media (max-width: 991px) {
  /* Responsive stacking for Doctor, Cosmetology, and Result sections */
  .doctor-section,
  .cosmetology-section,
  .result-section {
    min-height: auto;
    padding: 0 0 60px 0;
    display: block;
  }

  .doctor-photo,
  .cosmetology-photo {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 450px;
    z-index: 1;
    margin-bottom: 30px;
  }

  .result-visual {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    margin-left: 0;
    height: auto;
    z-index: 1;
    margin-bottom: 30px;
  }

  .result-visual img {
    height: auto !important;
  }

  .doctor-photo::after {
    background: linear-gradient(to bottom, rgba(237, 245, 250, 0) 50%, var(--color-soft) 100%);
  }

  .cosmetology-photo::after {
    background: linear-gradient(to bottom, rgba(237, 245, 250, 0) 50%, var(--color-soft) 100%);
  }

  .result-visual::after {
    background: linear-gradient(to bottom, rgba(15, 17, 19, 0) 50%, #0f1113 100%);
  }

  .doctor-grid,
  .cosmetology-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .doctor-copy,
  .cosmetology-info,
  .cosmetology-services,
  .result-copy {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

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

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

  .result-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .review-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    gap: 20px;
  }
  .review-grid::-webkit-scrollbar {
    display: none;
  }
  .review-card {
    flex: 0 0 calc(50% - 10px);
    scroll-snap-align: start;
    display: flex !important;
  }

  .hero-photo {
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }

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

  .legal-card--wide {
    grid-column: auto;
  }

  .org-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  /* Specific overrides for Doctor Card in responsive mode */
  .doctor-section {
    padding: 60px 0;
  }
  .doctor-card {
    flex-direction: column;
    min-height: auto;
    border-radius: 16px;
  }
  .doctor-photo {
    width: 100% !important;
    height: 350px !important;
    flex: none !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
  }
  .doctor-photo::after {
    display: none !important;
  }
  .doctor-copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 32px 24px !important;
    flex: none !important;
  }

  /* Specific overrides for Cosmetology Card in responsive mode */
  .cosmetology-section {
    padding: 60px 0;
  }
  .cosmetology-card {
    display: flex;
    flex-direction: column;
    min-height: auto;
    border-radius: 16px;
  }
  .cosmetology-photo {
    width: 100% !important;
    height: 350px !important;
    flex: none !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
  }
  .cosmetology-photo::after {
    display: none !important;
  }
  .cosmetology-info-col {
    padding: 32px 24px !important;
  }
  .cosmetology-quote-col {
    border-left: none !important;
    border-top: 1px solid rgba(16, 20, 25, 0.15) !important;
    padding: 32px 24px !important;
  }
  .cosmetology-consult-col {
    padding: 16px 24px 32px !important;
  }
  .cosmetology-services-panel {
    padding: 32px 24px !important;
    border-radius: 16px !important;
  }
  .services-panel-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    z-index: 101;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: calc(100vh - 72px) !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 18px;
    z-index: 100;
    overflow-y: auto;
  }

  body.menu-open .site-nav {
    transform: translateX(0);
  }

  body.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    padding-top: 72px;
    min-height: auto;
    background: var(--color-white);
  }

  .hero-photo {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 300px;
    margin-bottom: 30px;
  }

  .hero-photo::before {
    background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 100%);
  }

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

  .hero-content {
    padding-top: 0;
  }

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

  .value-item {
    border-left: 0 !important;
    border-bottom: 1px solid var(--color-line) !important;
    padding: 24px 0;
  }

  .value-item:last-child {
    border-bottom: 0 !important;
  }

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

  .process-list li {
    border-left: 0 !important;
    border-bottom: 1px solid var(--color-line) !important;
    padding: 20px 0;
  }

  .process-list li:last-child {
    border-bottom: 0 !important;
  }

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

  .services-panel-grid {
    grid-template-columns: 1fr !important;
  }

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

  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .rating-row {
    width: 100%;
    justify-content: space-between;
  }

  .review-card {
    flex: 0 0 100%;
  }

  .slider-arrow {
    display: none !important;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 576px) {
  /* Typography */
  body {
    font-size: 13.5px !important;
  }
  h1 {
    font-size: 23px !important;
  }
  h2 {
    font-size: 19px !important;
  }
  h3 {
    font-size: 15px !important;
  }
  .hero-lead {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  .btn {
    font-size: 12.5px !important;
    padding: 12px 24px !important;
  }

  /* Form & Contact Card Padding */
  .contact-card,
  .appointment-form {
    padding: 32px 20px !important;
  }

  /* Section Padding reduction on mobile */
  .section,
  .value-section,
  .doctor-section,
  .cosmetology-section,
  .price-section,
  .reviews-section,
  .contact-section,
  .legal-section {
    padding: 36px 0 !important;
  }

  /* Footer logo adjustments to fit card width and center perfectly */
  .footer-logo {
    width: 180px !important;
    margin-top: -30px !important;
    margin-bottom: -30px !important;
    margin-left: -20px !important;
  }

  /* Adjust hero-photo height for smaller screens */
  .hero-photo {
    height: 220px !important;
  }

  /* Adjust process figure spacing */
  .process-list li {
    padding: 16px 0 !important;
  }

  /* Stacked Price List on Mobile */
  .price-list li {
    display: block !important;
    padding: 10px 0 !important;
  }
  .price-list li::after {
    display: none !important;
  }
  .price-list li span {
    display: block !important;
    padding-right: 0 !important;
    margin-bottom: 4px !important;
    background: transparent !important;
  }
  .price-list li strong {
    display: block !important;
    padding-left: 0 !important;
    background: transparent !important;
    text-align: left !important;
  }

  .review-card {
    padding: 20px 16px !important;
  }
}
